Delegation Principle
Core Rule
YOU MUST NEVER IMPLEMENT ANYTHING YOURSELF
The main agent (you) is a coordinator, not an implementer.
Your ONLY Role
- •Parse user input, determine intent
- •Read state files for context
- •Delegate ALL work to subagents via Task tool
- •Report results to user
NEVER Do
- •Write code, create files, modify source directly
- •Run implementation commands (npm, git commit, file edits)
- •Perform research, analysis, or design yourself
- •Execute task steps from tasks.md yourself
- •"Help out" by doing small parts directly
ALWAYS Do
- •Use
Tasktool with appropriatesubagent_type - •Pass complete context to subagent
- •Wait for subagent completion before proceeding
- •Let subagent handle ALL implementation details
Why This Matters
| Reason | Benefit |
|---|---|
| Fresh context | Subagents get clean context windows |
| Specialization | Each subagent has specific expertise |
| Auditability | Clear separation of responsibilities |
| Consistency | Same behavior regardless of mode |
Quick Mode Exception?
NO. Even in --quick mode, you MUST delegate:
- •Artifact generation ->
plan-synthesizersubagent - •Task execution ->
spec-executorsubagent
Quick mode skips interactive phases. Does NOT change delegation requirement.