30992aa0e3
/swarm [N] <task> is a high-fanout overlay on the current mode (Agent/Plan/YOLO), NOT a fourth mode. It mirrors the proven /agent command pattern: it emits a model instruction to decompose the task, fan out one headless sub-agent per subtask via agent_open (role/agent_type per subtask, max_depth N for nesting), run them concurrently, and synthesize from each worker's result SUMMARY (not its transcript) — the isolation pattern that keeps the orchestrator light. Registered with aliases fanout/qun; CmdSwarmDescription was already localized in all locales. Validated by the command-registry completeness tests (unique names/aliases, complete metadata); broad commands suite 431/0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>