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
[Bug]: A composer send shortly after Stop fails with "is stopping and cannot be steered" instead of queueing #42910
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web (with the server-side guard in apps/server)
Steps to reproduce
Default settings, so Follow-up behavior is Steer.
On a Claude thread, start a turn that runs a long foreground Bash loop.
Click Stop.
Within about 1 s, type a message and press Enter.
Expected behavior
The message queues behind the stopping run and starts once the provider has stopped, as a send with deliveryIntent: "auto" already does since #34163.
Actual behavior
The send is rejected with Target run run:thread:<id>:ordinal:N is stopping and cannot be steered. The message stays in the composer and is not queued. On this machine query.interrupt → finalizeRootRun takes about 1.8 s, and a send inside that window fails; the same message sent about 4 s after Stop works.
Why, read on v0.1.12 (ca81b7b9); these files are unchanged on main:
After Stop, the run reads running until the provider stops, so resolveComposerDispatchMode (packages/client-runtime/src/state/composerDispatch.ts) returns activeTurnDefault, which is followUpBehavior, default "steer".
The composer forwards that as deliveryIntent: "steer".
In Orchestrator.ts, the guard that turns a send into queue_after_active once Stop has reached the run applies only to deliveryIntent === "auto". The send therefore reaches the steer path and fails the stopReachedRun check.
The client already knows the stop is pending (the Stop button reads "Stopping"; runStop.state === "stopping" in threadExecution.ts), but the composer does not use it.
This looks like the composer half of #34158: the person pressed Enter rather than choosing an explicit steer, and a steer into a run they just stopped cannot reach the agent anyway.
Impact
Minor bug or occasional failure
Version or commit
v0.1.12 (ca81b7b9)
Environment
Windows 11 10.0.26200, web UI, Claude Code 2.1.332, model claude-haiku-5-5
Logs or stack traces
Target run run:thread:<id>:ordinal:N is stopping and cannot be steered.
Workaround
Wait until the run settles before sending. Setting Follow-up behavior to Queue should also avoid it, judging from the code (not tested).
Found with a scripted Stop → send bench driving the web UI (24 cycles). Investigated with Claude Opus 5.5 (claude-opus-5-5) via Claude Code.
Opened #42994. The composer now takes the queue path while the run has an unconfirmed run_interrupt_request, so a send in the Stop window arrives as queue_after_active instead of failing the steer guard.
Activity
2SinceJuly commentedon Nov 25, 2026
Opened #42994. The composer now takes the queue path while the run has an unconfirmed
run_interrupt_request, so a send in the Stop window arrives asqueue_after_activeinstead of failing the steer guard.juliusmarminge commentedon Nov 29, 2026
This is the same problem as #42918, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.