plan_task
Analyze a coding task, break it into subtasks with assigned model tiers, and generate an execution plan with parallel waves for efficient agent orchestration.
Instructions
Ask the planner to analyse a coding task, decompose it into subtasks, and assign each subtask a model tier.
Returns an execution plan with:
analysis: the planner's reasoning
subtasks: list with id, description, tier, model, depends_on
waves: groups of subtask IDs that run in parallel
strategy: parallel | sequential | dag
Spawn one agent per subtask. Run waves in order — all subtasks within a wave run in parallel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Caller working directory for routing guard scoping | |
| task | Yes | Full description of the coding task |