Subagent-Driven Development: The Inner Loop

How a coordinator dispatches isolated subagents with two-stage review per task

Coordinator Agent Preserves context Subagent Territory Fresh context per dispatch Fix spec gaps Fix quality issues Task complete, next task All done Dispatch Dispatch Dispatch Pass Pass Read Plan Extract all tasks Pick Next Task Craft subagent context Finish Branch Merge / PR / Discard Implementer Subagent TDD: Red / Green / Refactor / Commit RED Failing test GREEN Minimal code REFACTOR Clean + Commit Spec Reviewer Matches the plan? Quality Reviewer Is the code clean? Task Complete Mark done, loop
Interactive Diagram: Hover over components to see details. Press Play to animate the full subagent loop.