Repository navigation
Let the receiving thread choose whether agent messages steer or queue #39405
DeclanDarcy
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Whether a message from another thread steers into the running turn or waits for the turn to end is decided by the sending agent, through
t3_thread_send'smode. The default,auto, steers whenever the turn can take a steer, queues on providers that can't steer, and restarts the turn only on providers that can do neither. The person who owns the receiving thread has no say in this, and the sender can't tell what they would want or what the receiving thread is doing.Proposal
A setting for the receiving side: Messages from agents: Steer | Queue. The default is Steer, which matches today's behavior.
/compactturn) waits, then steers into the turn in order once it can. A newer message never goes first. The ordering part is a bug today, and its fix needs no setting: [Bug]: A queued agent message is overtaken by a later one that steers into the running turn #39404.autosends that steer today.Why a setting, and not only the sender's
modeOpen decisions
mode: "steer"? Overriding makes the setting airtight. Not overriding keeps a way for a parent to redirect a child urgently. Under Steer, an agent's explicitmode: "queue"should still wait for the turn to end. An explicitrestartstays an interrupt in both.#34503 proposed a similar setting from the other direction: agent messages would follow the user's own queue/steer choice. It was closed in the bug tracker and redirected to Discussions; this post picks it up.
Filed with Claude Opus 5.5 in Claude Code (via T3 Code).
All reactions