defer_task
Move one or many active tasks to the backlog in a single write. Specify tasks by exact text or index, optionally add a reason and agent tag.
Instructions
Move one or many tasks to the backlog in one write. For several, pass indexes or tasks. Shared reason/agent apply to every item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | One task (exact, else unique substring). One addressing mode. | |
| agent | No | Optional agent id tag written as [agent: id] on touched lines. | |
| index | No | One 1-based position. One addressing mode. | |
| tasks | No | Several task texts (exact, else unique substring). One write. One addressing mode. | |
| expect | No | Optional guard for a single task: current text must match or the edit is refused. Ignored/rejected with tasks/indexes. Agent tags are ignored in the comparison. | |
| reason | No | Optional why, appended to the backlog entry. | |
| indexes | No | Several 1-based positions. Prefer this after get_iteration. One write. One addressing mode. | |
| version | Yes | ||
| plan_path | No | Optional path to PLAN.md (relative to cwd or absolute). Default: walk up from cwd to nearest PLAN.md. |