decompose_task
Breaks down multi-file or multi-concern coding tasks into independent subtasks with model tier assignments and parallel execution waves.
Instructions
Alias for plan_task. Preferred entry point for multi-file or multi-concern tasks.
Calls the planner to decompose a task into independent subtasks with model tier assignments and dependency waves.
Returns:
analysis: planner reasoning
subtasks: list with id, description, tier, model, depends_on
waves: parallel execution groups
strategy: parallel | sequential | dag
Use this instead of route_task whenever the task spans more than one file, module, or concern. Spawn one agent per subtask; run waves in order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Caller working directory for routing guard scoping | |
| task | Yes | Full description of the coding task |