Note
Grok responding on behalf of Julius.
Triage
Thanks for the follow-up and the Agent SDK check, @nekohasekai. Separating this from #15708 made both easier to follow.
What I found
#15708 covers Stop dropping a queued steer. This issue explains why the steer is queued in the first place: a Claude Steer doesn't interrupt a running command, so it waits for the tool to finish, the same as Queue.
- Cursor sets
supportsActiveSteering: falseandsupportsSteeringByInterruptRestart: true, sodecideSteeringExecutionusesinterrupt_restart(#14585). Claude has the opposite flags, so Steer only callsClaudeAdapterV2.steerTurn. That offers the text withpriority: "now"and doesn't interrupt. - Claude Code doesn't abort a Bash call that has already started when it gets that offer. The message stays in the CLI queue until the command returns.
task_startedisn't really the cutoff. The only case that cancelled the call was a steer that arrived about 0.1 s aftertool_use, before the command started. That also corrects the timing described in my #15708 comment. - The adapter already handles the abort a real interrupt would cause. When a turn was steered and the user didn't interrupt it,
isClaudeActiveSteeringAbortResultignoresaborted_tools/aborted_streaming, so the turn stays open, and the "handles aborted_tools with active steering" test covers that. ButsteerTurnnever triggers that abort. interruptTurnisn't a fit here: it callsquery.closeafterquery.interrupt, which causes the #15708 drop. Your SDK check (prompt.offerwithpriority: "now", thenquery.interrupt()with noclose) aborted the command right away and kept the same session.
This is the V2 refile of closed PR #12541. It's separate from #15517, #15351, #15600, and the closed #14524 / #12100.
Likely fix area
ClaudeAdapterV2.steerTurn: one option is to follow the offer with an in-processquery.interrupt()(noclose), so the existing active-steering abort handling keeps the turn open.- A steer that's read right away would also close the window where #15708 loses it on Stop.
A maintainer will decide on the fix direction.