Interrupt and kill switch

A always-present stop that halts the run, states what already happened, and offers to undo it.

Run #882Close stale tickets · production Running
Tool calls live
  1. checkpoint(0) saved
  2. list_tickets(no_reply>14d) 140 found
MClosing tickets with no reply in 14 days
0 of 140 closed
Emails sent
0
Now
Starting…
Finishes
in about 30 s

Try it: Hit Stop (or Esc) while Milky is closing tickets. The in-flight call is cancelled, and you get an exact account of what happened with a way to undo it or resume.

In the wild

How one product ships this pattern. Click a screenshot to enlarge it.

Warp agent conversation mid-run: a completed find command, a 'Generating command...' step, and a 'Warping...' status line with a small stop button marked with a square and Ctrl-C at the right.
Warp
A stop control (Ctrl-C) stays next to the 'Warping...' status for the whole run, so the agent can be halted at any step.
Source: Warp docs ↗

When to use

Long multi-step runs, and anything touching production systems.

Seen in

Claude Code Esc-to-interrupt, Cursor stop generation, Devin pause, Runway cancel render.

For engineers

Propagate cancellation to tool executors; record a checkpoint so the user can resume rather than redo.

Build prompt

A neutral, component-only prompt for a coding agent. Edit the stack block or anything else to fit your project, then copy it.

Download this prompt as Markdown, or every prompt as JSON for an agent.

Critique checklist for governors

0 of 4 checked

These questions apply to every pattern in this family. Ticks are saved in this browser.