Roo-Code/docs
davincidreams 3b3fe80ae1 docs: add PRD for swarm / true multi-agent execution
Captures the full architecture plan for moving Moo Code from sequential
task delegation to genuine concurrent in-process swarm, modelled on the
claude-code teammate/swarm implementation.

Phases:
  P1 - Replace clineStack with concurrent tasks: Map, remove single-open invariant
  P2 - SwarmRegistry, AgentIdentity, round-robin color assignment
  P3 - InMemoryMailbox, idle worker loop, task_assignment/idle_notification
  P4 - LeaderPermissionBridge, worker badge in tool-ask UI
  P5 - FileMailbox with lockfile for cross-process workers
  P6 - CliWorkerBackend, moo-worker entry point, spawn_swarm tool

Includes data model changes, new event names, updated API surface for
spawn_parallel_tasks (concurrent flag) and new spawn_swarm tool spec,
UI changes, phased delivery estimates, and risk/mitigation table.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 02:34:31 -04:00
..
prd-swarm-multi-agent.md docs: add PRD for swarm / true multi-agent execution 2026-04-25 02:34:31 -04:00