add_task
Create a task with a unique id, dependencies, scope, and priority. Fails if the id already exists to prevent duplicates.
Instructions
Create a task. deps/scope accept an array or a comma string. Fails if the id exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable unique id. | |
| qa | No | How much review (default subagent). | |
| deps | No | Ids this task waits on. | |
| kind | No | Free-text classifier — feature | bug | chore | yours. | |
| spec | No | Planning lifecycle. | |
| tags | No | Free-form GitHub labels, verbatim and with no `field:` prefix (`frontend`, `security`). REPLACES the list. Adopted from the issue on every pull, so a label added in the web UI flows back. | |
| tier | No | 1-4; how much model the work needs (default 3). | |
| brief | No | The build brief: what it builds toward. | |
| scope | No | Folders the task may edit. | |
| stage | No | Narrative label on a staged deliverable. | |
| title | No | One-line summary. | |
| branch | No | Branch to scope to (optional; the backend decides its use). | |
| target | No | The roadmap target this serves (add_target creates one). Must already exist. | |
| project | No | The project id — an opaque, supplied string, never derived. Omit to use the server's --project-id default. | |
| contract | No | The done-condition, turned into a failing test first. | |
| priority | No | How urgent (default normal). | |
| discovered_from | No | Parent task, when split out mid-build. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No |