replay_stage
Reset a stage to re-execute it without clearing the pipeline. Preserves notes and logs reasons; requires supervised mode and no completed downstream stages.
Instructions
Reset a single stage to not_started for re-execution without clearing the pipeline.
Only available in supervised mode — too risky for autopilot/assisted. Cannot replay a stage if a downstream stage has already completed (must replay the chain from that point).
Preserves _notes for continuity. Increments the stage's retry_count. Writes a record to _notes._replay_log[].
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": {
"stage_name": "<stage_name>",
"reason": "<reason>"
},
"name": "replay_stage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the replay is needed. | |
| stage_name | Yes | The stage to replay (e.g. 'implement', 'tester'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||