You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Esc / Ctrl+C in the composer stops the live turn #478
Claude Code: Esc cancels the current turn (Grok flipped this a few times; current Grok 1.0.1: Esc on the cancel panel closes the panel and keeps the turn; Ctrl+C / Stop kills it). Double-Esc is rewind when idle. The common contract people have is: one key stops the agent.
Solenta today
Stop is a click on the status strip (`ThreadView` `onStopRun`). Composer Escape only closes popovers (`useEscapeClose`, mention/command/model menus). There is no document-level Esc or Ctrl+C → `stopRun` while a turn is live.
#315 (absolute stop) is about the backend actually dying. This ticket is the key.
Why it matters
You look up from the composer, the agent is about to `rm` something, and you hit Esc. Today nothing happens. That is how unsupervised damage lands.
Scope
While the thread is working and no menu is open: Esc calls `stopRun`. If the composer has a draft, first Esc blurs/clears selection, second Esc stops (or: Esc always stops, draft stays). Pick one and test it. Prefer "Esc always stops the turn; the draft stays" — matching "interrupt, don't discard what I typed."
Ctrl+C in the composer when a turn is live and the textarea is empty (or always, with a hint) also stops. Do not make Ctrl+C copy-unbind in a selected draft.
Round 23 intel: Factory Droid v0.195.0 refined the interrupt UX: Escape asks for confirmation before interrupting a run, and remembers your choice. This is the middle path between bare Esc (too easy to kill a 20-minute run accidentally) and no Esc (trapped). For Solenta: Esc during a live turn shows a lightweight confirm ("stop this turn?"), with a "don't ask again" that is per-session or a settings toggle, and Ctrl+C stays the immediate-kill for users who mean it. Note Droid also suppresses permission/input prompts while disconnected (v0.176.0): queued prompts that can no longer reach the agent must not pile up.
Activity
currentbits commentedon Aug 18, 2026
Round 23 intel: Factory Droid v0.195.0 refined the interrupt UX: Escape asks for confirmation before interrupting a run, and remembers your choice. This is the middle path between bare Esc (too easy to kill a 20-minute run accidentally) and no Esc (trapped). For Solenta: Esc during a live turn shows a lightweight confirm ("stop this turn?"), with a "don't ask again" that is per-session or a settings toggle, and Ctrl+C stays the immediate-kill for users who mean it. Note Droid also suppresses permission/input prompts while disconnected (v0.176.0): queued prompts that can no longer reach the agent must not pile up.