edit_task
Edit any field of a task—title, brief, contract, deps, scope, tier, QA, priority, spec, stage, kind, tags, target, type—without changing its ID. Only passed fields change; clearing removes labels.
Instructions
Edit any field of a task — title, brief, contract, deps, scope, tier, qa, priority, spec, stage, kind, tags, target, type. Only the fields passed change; the id is fixed. Rewrites the issue body and labels. Unlike amend_task, it can narrow scope and edit a done task.
To REMOVE a field rather than change it, name it in clear — that is the only way a field:value label comes off an issue without opening the GitHub UI. Setting a field back to its default (tier 3, qa subagent, priority normal, spec settled) also drops its label, since absence already means the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The task id (unchanged). | |
| qa | No | How much review. | |
| deps | No | Ids this task waits on (REPLACES the list). | |
| 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. | |
| type | No | task | target. Promoting to target demands a title and a brief, and refuses build fields — clear scope/contract/tier/qa/stage first. | |
| brief | No | The build brief: the problem and expected solution. | |
| clear | No | Fields to REMOVE outright — the only way a label comes off an issue. Clearing a list empties it. One of: type, target, kind, brief, contract, tier, qa, priority, spec, stage, discovered_from, deps, scope, tags. | |
| scope | No | Folders the task may edit (REPLACES the list). | |
| 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 | Move this under a different roadmap target (re-parents its issue). | |
| 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 (what to account for). | |
| priority | No | How urgent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No |