task_update
Add constraints, write scope, next actions, tags, or risk to a task passport while preserving lifecycle status. Replace next actions to clear stale plans before finalizing.
Instructions
Patch the current Task Passport without changing lifecycle status. List fields (constraints, writeScope, nextActions, tags) append and deduplicate; omitted fields are preserved; empty or no-op updates fail. Pass clearNextActions to replace the next-actions list instead of appending, e.g. to clear a stale plan before finalizing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | No | New risk level for the task. | |
| tags | No | Free-form labels to append. | |
| objective | No | Replacement objective text. | |
| writeScope | No | Repo-relative prefix paths to append to the write scope. A directory path includes its children; globs are not supported. | |
| constraints | No | Constraints to append. | |
| nextActions | No | Next steps to append, or the full replacement list when clearNextActions is true. | |
| clearNextActions | No | Replace the next actions with the provided nextActions (or clear them) instead of appending. |