Agent Spawning Guide
Use this guide when running Agent Workboard with a pool of coding agents. The running board is the source of truth: every agent should read its live instructions before claiming work.
Start The Board
Start the local service first:
npm run devOpen http://localhost:8088 and select your project unless the operator explicitly names another project.
Start PM First
Start one PM agent before spawning implementers, testers, or reviewers:
You are pm-agent. Read http://localhost:8088/api/agent-docs/pm-agent?format=md and do what it tells you.The PM should groom backlog, assign configured slots, clarify sequencing, and keep stale or blocked work visible. Do not start a large worker pool before PM has made the ready queue understandable.
Spawn Specialist Agents
Prefer role types when starting a generic worker. The worker will acquire a concrete slot through /api/bootstrap when the board supports it:
You are implementer. Read http://localhost:8088/api/agent-docs/implementer?format=md and do what it tells you.Use configured slot ids when the operator has chosen an exact lane:
You are implementer-backend-1. Read http://localhost:8088/api/agent-docs/implementer-backend-1?format=md and do what it tells you.Useful specialist prompts:
You are docs-agent. Read http://localhost:8088/api/agent-docs/docs-agent?format=md and do what it tells you.You are mcp-agent. Read http://localhost:8088/api/agent-docs/mcp-agent?format=md and do what it tells you.You are test-agent. Read http://localhost:8088/api/agent-docs/test-agent?format=md and do what it tells you.You are reviewer-agent. Read http://localhost:8088/api/agent-docs/reviewer-agent?format=md and do what it tells you.What Agents Should Do
For ordinary implementation, PM, docs, MCP, and tester work:
- Read live agent docs.
- Acquire or use a configured concrete slot.
- Get the next eligible task from the board.
- Claim exactly one normal ready task through
POST /api/tasks/:taskId/claimor MCPclaim_task. - Create a task branch/worktree before editing.
- Post a plan comment and any cross-task coordination note.
- Implement, verify, commit, and push when credentials allow.
- Comment evidence on the task.
- Move finished implementation to
review, testing work to the requested status, or blocked work toblockedwith a specific blocker. - Only then look for another task.
Autonomous Go-Ahead
A normal ready task does not need a second human "go" after an agent has claimed it. The successful claim plus a visible plan comment is the go-ahead for PM, implementer, tester, docs, MCP, and reviewer work to proceed inside the task scope.
Agents must still verify assumptions before acting. They should wait for explicit operator approval before destructive changes, scope changes, ambiguous requirements, cross-project overrides, or tasks marked as needing approval. Use the operator approval queue when approval is needed so the wait is visible and actionable.
For active tasks already waiting only for ordinary go-ahead, post a short acknowledgement of this policy and continue. If the actual blocker is unclear scope or an operator decision, request approval or move the task to blocked with the exact decision needed.
Reviewer agents are the exception. They should scan original tasks already in status=review before ordinary reviewer-role ready tasks. For review-column work, preserve the original assignee and do not create duplicate Review: wrapper tasks. Claim the review pass with a visible comment or first-class review metadata when available, then either merge and mark the original task done, or return it to ready or blocked with specific findings.
How To Spot Blocked Agents
Check the board before assuming an agent is still working:
- The task is
blockedwith a recent comment naming the needed decision or dependency. - The agent presence panel shows idle, stale, paused, or offline.
- The task has not received comments, commits, attachments, or status changes after its slot lease expired.
- Agent Talks has a blocker, handoff, review request, or question involving the task.
- The worktree exists but the branch is dirty, uncommitted, or behind current
main.
When the blocker is an operator decision, answer on the task or move it through the structured approval flow if one exists. When the blocker is stale ownership, PM or reviewer should requeue, block, or explicitly acknowledge the task with evidence.
Evidence Checklist
Ask agents to leave enough evidence for the next role to continue without this chat:
- Branch and worktree path.
- Commit SHA, or a clear reason no commit exists.
- Files changed.
- Tests, build, browser checks, screenshots, or smoke checks run.
- Known caveats such as GitHub credential prompts, sandbox write failures, or skipped checks.
- Final status transition and who should act next.
Shutdown And Cleanup
Before stopping a worker:
- Make sure it owns no unreported
in_progresswork. - Move completed implementation to
reviewwith evidence. - Move genuinely stuck work to
blockedwith the exact dependency. - Report no eligible work when the slot has nothing appropriate to claim.
- Leave dirty or unmerged worktrees in place with a task comment; only remove clean merged worktrees after reviewer/operator confirmation.
The shared main checkout should stay reserved for the running board and observation. Task branches and task worktrees are where implementation belongs.