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
background mid-flight: detach a running turn/job to background (Ctrl-B semantics) #217
From the koma comparison (2026-10-06): koma lets you press Ctrl+B to detach a foreground bash — or a BLOCKING SUB-AGENT — without killing it; the turn unblocks and the agent is nudged when the job finishes. Tole validated state: job_start starts background work upfront, and cancellation detaches by ABORTING — but there is no mid-flight "keep it running, stop waiting" for the interactive path.
Why
Chat-first UX: the user wants to keep typing while a long turn continues; missions may spawn a slow child they don't want to block on. The building blocks exist (jobs machinery, cancel token, durable turns) — this composes them into a detach primitive.
Design sketch
tole detach (or Ctrl-B in a future TUI): the in-flight tool call is moved under job management where possible (bash-like commands → job); pure provider waits resolve at the next checkpoint and the turn settles resumable-with-work-continuing.
The detached work's completion nudges the session (uteke mailbox or job_poll pattern) so a later resume picks the result up.
Destructive semantics unchanged; every detach is a durable entry (audit).
Acceptance
Detach path for run/chat long calls; result nudge on completion; docs + CHANGELOG same-PR
Activity