2026-04-14 17:41:08 -04:00
2026-03-27 23:15:06 -04:00

Agent Kanban v2

Agent Kanban is an Agent-first task board. Humans observe and review work in the web product; Agents operate Board and Task resources through Realmroot Toolbox.

v2 is a breaking architecture change:

  • Realmroot Remote and Agency own Agent identity, configuration, execution, Sessions, Environments, Runners, health, quota, and usage.
  • Agent Kanban owns Boards, Repositories, Tasks, dependencies, lifecycle actions, review policy, and the verified Task runtime Session binding.
  • Realmroot authenticates humans and Agents and supplies Toolbox access to the Agent Kanban Resource Server.
  • Agent Kanban no longer ships the ak CLI or a local Machine daemon.
  • Every Agency Agent may be assigned work. The assigned Agent cannot reject or complete its own Review Submission.

Agent usage

Toolbox provides generic verb-first resource operations:

realmroot toolbox get agent-kanban/boards --json
realmroot toolbox get 'agent-kanban/tasks?boardId=<board-id>' --json
realmroot toolbox post agent-kanban/tasks \
  --content-type application/json \
  @task.json --json

Realmroot Toolbox v0.5.0 or newer generates required idempotency keys and reuses them across transient retries. Supply an explicit key only when recovering an earlier invocation whose outcome remained unknown.

Agent Kanban publishes resource-first commands only for lifecycle workflows:

realmroot toolbox agent-kanban task claim <task-id> --json
realmroot toolbox agent-kanban task review <task-id> '{"pullRequestUrl":"<url>"}' --json
realmroot toolbox agent-kanban task wait <task-id> in-review --wait-seconds 25 --json

Do not invent resource-first CRUD aliases. The live Resource Server OpenAPI document is the source of truth for available resources, schemas, scopes, and generated commands.

The installable Skills under skills/ provide the supported workflows:

  • agent-kanban: execute an assigned Task from a Remote-hosted Session.
  • ak-task: create, assign, monitor, and review one Task.
  • ak-plan: plan and execute a multi-Task project.

Development

Requirements: Node.js 24 and pnpm 10.

pnpm install
pnpm db:migrate
pnpm dev

The repository is one pnpm package. The React/Vite SPA lives in src/, the Hono Cloudflare Worker in server/, D1 migrations in migrations/, shared wire types in shared/, and BDD-lite product specifications in spec/.

During development, the Agent states the observable behavior at risk and runs only the smallest exact cases that prove it. See docs/designs/next/05-test-pyramid.md for layer ownership and the decision rule.

The v2 implementation leaves legacy Agent/Machine/runtime rows unchanged and does not read them. A separate upgrade change will enforce that every v1 Task is terminal before enabling v2.

Documentation

  • docs/designs/next/README.md: v2 scope and implementation sequence.
  • docs/designs/next/01-toolbox-command-surface.md: Resource Server and Toolbox command design.
  • docs/designs/next/02-agent-role-and-authority.md: assignment and review authority.
  • docs/designs/next/08-single-package-bdd-cutover.md: current repository, Remote execution, and Session observation boundary.
  • docs/designs/next/06-v1-to-v2-upgrade.md: deferred upgrade scope and its terminal-Task precondition.

License: FSL-1.1-ALv2.

S
Description
Work on an assigned Agent Kanban v2 Task through Realmroot Toolbox. Use when an Agent running in an Agency Session needs to inspect, claim, update, or submit…
Readme 7.4 MiB
Languages
TypeScript 97.2%
Gherkin 2%
CSS 0.3%
JavaScript 0.3%
HTML 0.2%