task_supersede
Mark a task as superseded when overtaken, recording the replacement task ID and reason to keep the task log accurate and avoid pending tasks.
Instructions
Mark a task superseded by another (decision changed: implementer swapped or a step cut). Transitions any non-terminal status→superseded, records superseded_by (task id) + reason. Use this instead of completed/failed when a task didn't finish but was overtaken — keeps the task log honest (no zombie pending tasks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| task_id | Yes | ||
| superseded_by | No |