aiworkhub_task_supersede
Supersede a stale or active task with a replacement, archive the original as superseded, and optionally record the successor task ID.
Instructions
COORDINATOR WRITE: supersede a stale/active task with a replacement.
Archives the card as superseded (allowed even from processing) and
records the optional replacement task id via by. Full coordinator-
capability gate; atomic; no direct SQLite patching.
Replies with a receipt (aiworkhub.task_supersede_receipt.v1): task_id,
status, card_sha256/card_bytes plus any server-derived keys the core call
attached. include_card = none (default) | summary (baselines and
evidence folded) | full (the exact post-transition card).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>"
},
"name": "aiworkhub_task_supersede"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Id of the replacement task, recorded as superseded_by; it must be an existing task other than task_id and must not create a dependency cycle. Omit for none. With continue_capped it names the successor to create instead. | |
| reason | No | Why the card is being superseded, recorded with the audit event; default empty. | |
| task_id | Yes | Id of the stale or active card to supersede; allowed even while it is processing. | |
| include_card | No | Card view to attach to the receipt: none (default), summary (baselines and evidence folded) or full (the exact post-transition card). | none |
| continue_capped | No | When true, task_id must be a pending card stopped by the reject depth cap whose rework predecessor has a verified sealed delta; a pending successor with the same contract (id by, else <task_id>-c<N>) is created, inherits that delta and the reason as rework feedback, and then supersedes task_id. The reply gains continuation {successor_task_id, predecessor_request_id, delta_digest}; the successor is not launched. Default false leaves the call unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||