swarm: native interruptibility for dispatched agent workers #107
Reference in New Issue
Block a user
Delete Branch "worktree-agent-a6177cda24c71d1df"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preserving uncommitted work found in an open worktree during a worktree audit. Cancellation-token control channel checked at every step boundary lets a coordinator PAUSE/RESUME/REDIRECT/KILL a running worker mid-task instead of waiting for the whole (possibly wrong) plan to finish. Bounded purviews mean no half-committed state to unwind on interrupt. Includes a proof harness comparing a broken non-interruptible worker against the new one under identical kill/redirect/pause timing. Note: distinct from the already-preserved wt/swarm-ccr orchestrator (PR #102, fan-out/converge dispatch) — this is single-worker interruptibility, a complementary mechanism, not a duplicate.