remove_task
Delete one or multiple tasks from a PLAN.md file in a single write. Address tasks by exact/unique text or 1-based indexes to remove them from the plan.
Instructions
Delete one or many tasks in one write. For several, pass indexes or tasks. Resolve-all then drop (indexes do not shift).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | One task (exact, else unique substring). One addressing mode. | |
| 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. | |
| 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. |