Repository navigation
Registry/local ACP providers cannot announce prompt-steering, so every follow-up queues or restarts the turn #40862
AndreyDeimos
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.
What happens
With any ACP Registry or Local ACP command provider other than the ones with a bespoke flavor, a follow-up sent while a turn is running can never reach the running turn:
queue_after_active(message waits for the turn to end);restart_active(turn is cancelled and re-sent).For an agent that already reads a second
session/promptas a steer, both outcomes are worse than what the agent can do: the queued follow-up arrives late, and the restart throws away the running tool call.Root cause
AcpProviderCapabilitiesV2.turns.supportsActiveSteeringisfalse(packages/provider-acp/src/server/adapter.ts:836).negotiatedCapabilities()does honour the flavor —supportsActiveSteering: base.turns.supportsActiveSteering || steersWithPrompt(adapter.ts:987) — butsteersWithPromptis only ever set by a hand-written flavor, e.g. Antigravity (apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.ts:251, decided from the agent version inAntigravityAcpSupport.ts:79). The registry flavor (packages/provider-acp-registry/src/server/adapter.ts:265) never sets it and has no way to: the flavour is built beforeinitialize, so nothing the agent says can turn it on.So the capability exists in the adapter and is unreachable from the one flavour that most third-party ACP agents use. Same gap as #39326 (closed to Ideas) and the practical fallout in #34267.
Proposal
Let the agent announce it and let the registry flavour honour the announcement, the same way Antigravity announces through
agentCapabilities._meta:initializeResult.agentCapabilities?._meta?.antigravityis already read this way inAntigravityAcpSupport.ts:89, so this is the existing convention rather than a new one. With the flavour set,negotiatedCapabilities()flipssupportsActiveSteeringtotrueand the existingsteerWithPrompt()path (adapter.ts:10107) does the rest — no new wire method, no new state.A method-based option (
_metanaming asession/steer-style request, as Kiro does) would cover agents that prefer injection over a second prompt, but the prompt variant is the smaller change and covers the agents seen so far.Evidence that an agent can do this
I run Hermes over
hermes acpas a Local ACP command. Driving the adapter directly:session/promptasking forsleep 25, then a secondsession/prompt6 s later — the second was absorbed into the running turn, thesleepstill completed, and the correction's effect appears in the same turn's final message. That is exactlysteersWithPromptsemantics, and today T3 cannot select it for that provider.All reactions