Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Configure an ACP provider that is not Kiro, e.g. a local ACP command (CodeBuddy Code:
cbc --acp). - Start a thread and send a prompt that keeps the turn running for a while.
- While the turn is running, send another message from the composer (the default follow-up behavior is
steer). - The message appears in the timeline, then disappears back into the composer, the turn stops, and the thread no longer accepts messages.
Expected behavior
Either deliver the steer to the agent, or show "Queue message" instead of "Steer message" for providers that cannot steer. Sending must not drop the text or leave the thread unable to send.
Actual behavior
AcpAdapterV2.steerTurn returns ProviderAdapterSteerRunUnsupportedError whenever flavor.steering is undefined. Only the Kiro flavor installs a steering implementation (kiroSteering, _kiro.dev/commands/steer), so every other ACP provider fails on the first line of steerTurn. The client still offers "Steer message" and optimistically renders the message, so the failure presents as a lost message and the active turn ends.
Impact
Major degradation or frequent failure
Version or commit
0.1.8 (bf469bb19669)
Environment
macOS 27.0.1 (26A434), T3 Code (Beta) 0.1.8, provider acpRegistry with a local ACP command (CodeBuddy Code ACP), model deepseek-v4.1-flash
Logs or stack traces
steerTurn -> ProviderAdapterSteerRunUnsupportedError:
acpRegistry provider thread ... does not support active-run steering.
Relevant code: makeAcpAdapterV2 in the server bundle; steering is only provided by makeKiroAcpAdapterFlavor (steering: kiroSteering).
Workaround
- Hold Cmd/Ctrl while clicking send to use Queue instead of Steer, or set
followUpBehavior: "queue". - Restart the provider session to recover the thread.
Additional context
The agent side already supports this. CodeBuddy Code's ACP server implements session/steer with { sessionId, contentBlocks, clientUserMessageId?, expectedRequestId? } and returns { steered: true, ownerRequestId } (or { steered: false, reason } when the run is idle). It also exposes session/enqueue_followup, session/get_followup_queue, session/send_followup_now.
A generic ACP steering flavor mapped to session/steer would fix every ACP provider that implements it. If that is out of scope for now, the minimal fix is to not offer Steer (fall back to queue) when flavor.steering === undefined.
Activity
juliusmarminge commentedon Nov 11, 2026
@qiuziz Could you attach the server log lines from the moment the steer failed (from the T3 Code logs directory, or the 'Provider error' shown in the thread)? For non-Kiro ACP agents T3 steers by cancelling and restarting the turn rather than calling steerTurn, so the 'does not support active-run steering' error should not be reachable. We need to see what CodeBuddy Code returned to the session/cancel and the new session/prompt.
qiuziz commentedon Nov 11, 2026
Thanks. I checked the logs and the code path, and I believe the mismatch is that an explicit steer does not go through the interrupt+restart fallback.
In this thread the last ACP calls before the thread stopped accepting messages were:
There is no
session/cancelanywhere in the ACP section of this thread (0 occurrences), and no secondsession/promptafter the steer. So CodeBuddy never saw a cancel and never received the steered text; the failure happens before any ACP request is sent.resolveDeliveryIntentreturnssteer_activeimmediately for an explicit steer, without consulting capabilities:Only the
autobranch checkssupportsActiveSteering/supportsSteeringByInterruptRestart.AcpProviderCapabilitiesV2.turnsis{ supportsActiveSteering: false, supportsSteeringByInterruptRestart: true }, so an explicit Steer click reachesAcpAdapterV2.steerTurn, which returnsProviderAdapterSteerRunUnsupportedErrorbecause only the Kiro flavor hasflavor.steering.That matches the UI: the optimistic message is removed, the turn ends, and the thread stays unable to send until restarted.
Two questions:
steerintent fall back torestart_activewhen the provider only supports interrupt+restart? Right now the capability branch is skipped for explicit steer.session/promptresult.The agent is CodeBuddy Code 2.180.0; it implements
session/steer, but T3 does not reach it for this provider.qiuziz commentedon Nov 11, 2026
Correction after checking T3's own event store (
statev2.sqlite->orchestration_events).The restart path did run for the steer at 08:48:
and the matching ACP calls:
So the steer does go through interrupt+restart, and the new
session/promptreturns in 6ms; T3 then marks attempt 2 cancelled 58ms after it starts. The failure is in that short prompt result or in how T3 treats it, not insteerTurn.Two corrections to my previous message:
session/cancel" only means it was not logged, not that it was not sent.session/promptresponse body. T3 records ACP requests as{ valueType, fieldCount }only.Following the same thread after that, every subsequent send created a run that completed within 200ms (one at 254ms) until the provider was switched back to Claude. So the "message disappears and the thread stops accepting input" behavior is reproducible on every attempt in that state.
Which log level or setting records ACP request/response bodies? If there is none, I can capture the exact
session/promptresult on the agent side (the ACP server here is a local proxy) and attach it.juliusmarminge commentedon Nov 11, 2026
@qiuziz Could you paste the full server log entry for the failed steer, including its stack trace, from the T3 Code logs directory? It is the line containing 'does not support active-run steering'. On current main an explicit Steer for a local ACP agent cancels the turn and sends a new session/prompt with your text, and never calls steerTurn. Your ACP log also shows session/prompt returning after 59ms. Does CodeBuddy Code's session/prompt respond before the agent finishes its work, or was that turn already over when you pressed Steer?
qiuziz commentedon Nov 11, 2026
I cannot find that log line.
I grepped the whole T3 logs directory (
provider/*.log,server.trace.ndjson*,desktop.trace.ndjson*) fordoes not support active-run steeringand got 0 hits. If it only appears in the thread's "Provider error" UI, I do not have it in the files; I can reproduce and capture the UI text if you tell me what to look for.On your
session/promptquestion: CodeBuddy does not return before the turn finishes. I measured it directly against the ACP agent:stopReason=end_turnafter 3.292s, 75session/updatenotifications, 0 updates in the 3s after the responsesession/cancel, an immediate newsession/promptstill took 1.569s and returnedend_turn; a second one sent 2s later took 1.318sSo the 6ms / 59ms responses are not streaming-before-completion. They mean the prompt ends almost immediately. In the 08:48 case the T3 event store shows attempt 1 superseded, attempt 2 running with
reason=steering_restart, then cancelled 58ms later.I do not have the response body for that 6ms prompt. I can add a temporary log on the agent side (it is a local proxy here) and reproduce one Steer to capture the exact
session/promptresult. Would that help?GurrehmatO commentedon Nov 18, 2026
Amp ACP: steer on a running turn errors the run and leaves the thread unusable
Adding another repro on the acpRegistry provider path, on Amp, where the restarted prompt fails outright rather than returning in milliseconds.
Environment
0.1.11-nightly.20261117.4825(desktop app → local server, Windows 11 x64, Node v26.13.1)acpRegistry, Amp ACP0.13.0(amp-acp.exe)4568a113-7b65-401e-a3e2-c9024747d2afSteps
ACP requests from
provider/events.<thread>.logEarlier prompts in the same thread succeed normally.
Why this matters for Amp specifically
Amp's ACP binary advertises native mid-turn steering in
initialize→agentCapabilities._meta:amp-acp/steering_amp/session/steertaking{ sessionId, steerId, prompt }, returningqueued | startedNewTurn | failed_amp/session/steer_applied/_amp/session/steer_failedT3's ACP-registry flavor installs no
steeringhandler (provider-acp-registry/src/server/adapter.ts), so it inheritssupportsActiveSteering: false/supportsSteeringByInterruptRestart: truefromAcpProviderCapabilitiesV2and takes the cancel+restart path. Implementing an Amp steering handler (likegrokSteering/kiroSteering) would avoid the restart entirely for Amp.Two smaller observations:
session/promptfails withAcpRequestErrorhere, unlike the 6ms-success pattern in this issue, so Amp's error body may be worth capturing.20261118.4877).Happy to capture the full
session/prompterror body if you tell me where to look.ruhengChen commentedon Nov 19, 2026
+1
AndreyDeimos commentedon Nov 22, 2026
Cross-linking a proposal that covers the registry/local side of this: #40862
Short version:
negotiatedCapabilities()already honours a flavour'ssteersWithPrompt(packages/provider-acp/src/server/adapter.ts:987), but only bespoke flavours (Antigravity) ever set it, and the registry flavour is built beforeinitializeso an agent cannot announce it. ReadinginitializeResult.agentCapabilities._metathere would let an agent that absorbs a secondsession/promptopt in, instead of falling back to cancel+restart.