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
A2A: tell the sender when a Stop leaves a plain message steered into Claude unread #694
A person presses Stop on a Claude agent while an agent's plain message (not an ask) is still waiting in Claude Code's queue for the turn's running tool calls. Claude never reads that message, and its sender isn't told. An ask in the same spot already gets the stopped notice on its exchange, so this gap is only for plain messages and replies.
Upstream has the same gap for a person's own steer (pingdotgg#15708).
Background
PR #690 first built a steered-message-unread notice for this. It worked live: the sender got one notice and the receiver stayed stopped. It was cut from that PR for now because:
the case is narrow. In a live run, Claude Code took a waiting message out of its queue as the Stop landed;
the notice tells the sender not to retry, so the sender can't act on it;
deciding whether Claude read a message depends on the CLI's @internalcommand_lifecycle states, which are ambiguous. cancelled means either "never ran" or "read, then the turn was aborted".
If we build it
Treat a steer as read once the CLI reports started. A later cancelled must not turn it back into unread. The CLI sends cancelled after started when an interrupt aborts the turn that read the message (seen in a probe on CLI 2.1.310). It didn't happen live, because the adapter closes the query before acting on that frame.
Now, when a run ends with a steer still unread, requeueUnreadSteers in apps/server/src/orchestration-v2/Orchestrator.ts puts it back in the queue to run next, so a Stop doesn't drop the message anymore. That includes an agent's plain message steered into Claude.
SilenceDetector.ts already accounts for it: a steer the run ended without reading moves to the new run, and that run owes the reply.
Activity
bryantderosier commentedon Dec 1, 2026
Closing this, upstream fixed the root cause and we already have it.
requeueUnreadSteersinapps/server/src/orchestration-v2/Orchestrator.tsputs it back in the queue to run next, so a Stop doesn't drop the message anymore. That includes an agent's plain message steered into Claude.SilenceDetector.tsalready accounts for it: a steer the run ended without reading moves to the new run, and that run owes the reply.Since the message still gets delivered, the sender doesn't need a "never read" notice, and the
steered-message-unreadidea from #690 can stay cut.