After stopping a claude-code thread that had backgrounded work, the next user message can be dropped: it produces an empty turn, and a later unsolicited turn answers the previous question instead.
Evidence (once-reproduced during #1640 QA, thread thr_e2crghhnis):
- The thread had backgrounded a shell command;
bb thread stop was issued.
- The message sent after the stop produced an empty turn —
turn/started → input/accepted → turn/completed, 0 tokens, no items.
- Then an unsolicited turn arrived that answered the previous question, not the new message.
Status/triage:
Where to look:
- claude-code bridge in
plugins/provider-claude-code/src/bridge/ (stop/interrupt handling and session resume after stop), and how a stop with in-flight background tasks interacts with the next turn/start.
Surfaced during #1640 final validation; believed pre-existing but not yet verified against pre-#1640 main (see step 1).
AGENT GENERATED: by Claude Fable 5
After stopping a claude-code thread that had backgrounded work, the next user message can be dropped: it produces an empty turn, and a later unsolicited turn answers the previous question instead.
Evidence (once-reproduced during #1640 QA, thread thr_e2crghhnis):
bb thread stopwas issued.turn/started→input/accepted→turn/completed, 0 tokens, no items.Status/triage:
Where to look:
plugins/provider-claude-code/src/bridge/(stop/interrupt handling and session resume after stop), and how a stop with in-flight background tasks interacts with the nextturn/start.Surfaced during #1640 final validation; believed pre-existing but not yet verified against pre-#1640 main (see step 1).