ddflow_task_add
Add a task to a phase with dependencies and write globs. Setting write globs lets parallel agents work safely without conflicts.
Instructions
Add a task to a phase. ALWAYS set globs to the paths this task will write: they are what lets two agents work in parallel safely, and an unset glob means the conflict detector cannot protect you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Short stable id, e.g. 'P2.T1'. | |
| body | No | Detail and acceptance criteria. | |
| tags | No | Comma-separated tags. | |
| globs | No | Comma-separated path globs this task writes. | |
| needs | No | Comma-separated ids this task depends on. | |
| phase | No | Owning phase id. Give this OR `parent`. | |
| title | No | One-line description. | |
| parent | No | Owning phase id OR another TASK's id — a task parent makes this a SUB-TASK, which carries its own globs and dependencies and runs in parallel with its siblings like any other task. Same field as `phase`; both names exist because the CLI has both, and an argument that exists in one surface and not the other is a trap. | |
| priority | No | Lower is offered first (default 100). |