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
[Bug]: Steering a running turn while a request_secret card is open deadlocks at "Steer · waiting to be read" #40204
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
Start a thread on a provider with active steering enabled (e.g., Claude Code or Codex, where supportsActiveSteering: true).
Have the agent call request_secret, opening a pending secret card in the timeline (blocking the MCP tool call while waiting for the user).
Instead of saving or declining the secret card, type a steering message in the composer (e.g. "No it only allows one key per model") and press Enter.
Expected behavior
Sending a user steer while a secret card is waiting should close/cancel the pending secret card so the blocking request_secret MCP tool call returns immediately, allowing the provider to read and act on the user's steer.
Actual behavior
The secret card stays open and pending, the sidebar stays stuck on Input, and the user's steer sits indefinitely at Steer · waiting to be read until the user manually clicks Decline or Stop (or waits for request_secret to time out after 10 minutes).
In apps/server/src/orchestration-v2/Orchestrator.ts (dispatchSteerIntoRun), when steeringPolicy === "active_steering", the run keeps the same rootNodeId and emits provider-turn.steer without closing pending secret_request cards on that run.
Because active-steering providers (e.g., Claude Code using priority: "next" in ClaudeAdapterV2.ts, or Codex turn/steer) wait for the currently executing request_secret MCP tool call to return before reading the steer, both sides deadlock.
Impact
Major degradation or frequent failure
Version or commit
main @ 982bbcdfe1
Environment
Linux, T3 Code desktop (Electron) & web, Claude Opus 5.5 (and any provider with supportsActiveSteering: true)
A data point from the other side of this. Before #39018 (on 0.1.10), a user message sent while a request_secret card was open cancelled the card at once. The tool returned "The tool call was interrupted before a result was received". We saw this several times in one day, each time right after the user's message. The user had to wait for the agent to open a new card and type the secret again.
So cancelling the card on a steer, as proposed here, brings back that problem. People often send a short message ("one moment", "which password?") while they look up the secret.
Suggestion: deliver the steer to the agent, but keep the card open and fillable. If the agent's request_secret call has to return so the steer can be read, the card could stay in the timeline and deliver its value later as a follow-up, instead of being cancelled.
Environment: macOS desktop app connected to a remote Linux environment, Claude threads.
Activity
jndegens commentedon Nov 21, 2026
A data point from the other side of this. Before #39018 (on 0.1.10), a user message sent while a
request_secretcard was open cancelled the card at once. The tool returned "The tool call was interrupted before a result was received". We saw this several times in one day, each time right after the user's message. The user had to wait for the agent to open a new card and type the secret again.So cancelling the card on a steer, as proposed here, brings back that problem. People often send a short message ("one moment", "which password?") while they look up the secret.
Suggestion: deliver the steer to the agent, but keep the card open and fillable. If the agent's
request_secretcall has to return so the steer can be read, the card could stay in the timeline and deliver its value later as a follow-up, instead of being cancelled.Environment: macOS desktop app connected to a remote Linux environment, Claude threads.