interrupt_story
Stop a running agent, checkpoint its work, and mark the story as resumable to avoid restarting from scratch. Use to pause a story and continue later without losing progress.
Instructions
Stop a dispatched agent and leave its story resumable.
Sends SIGTERM to the agent's process (a no-op if it has already exited), commits any uncommitted work in its worktree as a checkpoint, and marks the story "interrupted" rather than "failed" so a later dispatch_story call resumes it instead of starting over. The worktree and branch are left in place.
Acquires _plan_lock for the same reason dispatch_story does - two MCP
servers can race here too, with one calling interrupt while the other
calls dispatch on the same story, producing a manifest write race that
leaves the worktree in an inconsistent state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_name | Yes | ||
| story_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||