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]: agentWait stays unset while Claude Code, Codex or Grok shows a question or a startup dialog #25854
agentWait (on terminal show / terminal list) is the signal that an agent waits for the user. In a side-by-side
test with six hosts, the same prompt asked each one a question ("Red or blue?") and waited for the answer:
Host
Question on screen
agentWait
Antigravity (agy)
yes
{"source":"hook",…}
oh-my-pi (omp)
yes
{"source":"hook",…}
Claude Code 2.1.289
yes
none
Codex CLI 0.160.0
yes
none
Grok CLI 1.0.46
yes
none
dsh
yes
none
Startup dialogs are not flagged either: folder-trust dialogs from Claude, Codex and Grok in a new repository showed as
an idle, non-waiting terminal (six of eight workers in one orchestration run stopped on one, with nothing in Orca
saying so).
Repro
orca terminal create --command "claude" (likewise codex, grok) in a worktree.
orca terminal send a prompt that ends with a question to the user, e.g. "Ask me whether the file should be red
or blue, then wait for my answer."
When the question is on screen, orca terminal show --json: no agentWait.
Expected
agentWait set whenever the agent waits for the user: a question at the end of a turn, a permission or trust dialog.
For Claude Code, the Notification hook (idle_prompt, permission_prompt) and the Stop hook already carry it;
for Codex and Grok, the rendered screen.
Related
#22655 (readiness ignores Orca's Claude hooks), #25623 (Claude trust dialog breaks tui-idle), #23921 (agentWait
only on terminal show).
Checked on current main: Claude and Codex folder-trust dialogs now report agentWait {source:'prompt-text', reason:'agent-trust-workspace'} (fixed by #29488; the stale Codex block by #33485), and structured questions (AskUserQuestion, request_user_input, ask_user_question) report through hooks as {source:'hook'}. Still open: Grok's trust dialog (not verified — needs a signed-in account) and plain-text questions at the end of a turn, which read as idle on purpose and need a product decision. Leaving this open for those two.
Visual check on current main (bb47718fbec): hidden dev Orca, Claude Code 2.1.310, Codex 0.164.0 (mock model), isolated config dirs.
ELI5:agentWait is Orca's flag for "this agent is waiting for you". When an agent shows a menu, such as "do you trust this folder?", Orca now sees the menu and raises the flag. That part is fixed. When an agent just asks a question in normal text and stops, Orca still treats the turn as finished, so the flag stays off. Grok is still unchecked because its folder-trust screen only shows after sign-in, and we don't have a Grok account.
Fixed: startup trust dialog (Claude, Codex)
Launched with orca terminal create --command claude / --command codex in a folder that isn't trusted yet:
claude agentWait: {"source":"prompt-text","reason":"agent-trust-workspace"}
codex agentWait: {"source":"prompt-text","reason":"agent-trust-workspace","since":1792983338988}
Structured question tools (AskUserQuestion, request_user_input, ask_user_question) report {source:"hook"}. That was covered in the earlier comment and not re-shot here.
Still open: a plain-text question at the end of a turn
Prompt: "Ask me whether the file should be red or blue, then wait for my answer." Codex replies with a question and ends its turn. The sidebar shows it as done (green check), and the CLI says nobody is waiting:
codex agentWait: null
This is deliberate today: a turn that ends with a question looks the same as any finished turn. Changing it needs a product decision, either guessing from the text or relying on hooks.
Still open: Grok
Not verified. In a fresh config, Grok 1.0.62 shows its browser sign-in screen before any folder-trust dialog, so we need a signed-in account to check it.
Side note: in the desktop app, the trust-dialog panes above have no "waiting" badge in the sidebar. The fix shows up in agentWait (CLI and orchestration), not in the sidebar.
Plain-text questions (the agent ends its turn with a question in normal prose): agents don't send any signal that separates a question from a finished answer, so the only option would be guessing from the text, which would mark some finished turns as waiting and miss some questions. We're not going to guess. If you want the pane to show waiting, ask the agent to use its built-in question tool (for example Claude Code's AskUserQuestion). Orca already reports those as waiting.
Closing this. If Grok's trust dialog or question tool still doesn't show as waiting on the latest Orca, please open a new issue with the Grok version and we'll look.
Activity
AmethystLiang commentedon Oct 6, 2026
Thanks for reporting. Looking into it
nwparker commentedon Oct 25, 2026
Checked on current main: Claude and Codex folder-trust dialogs now report
agentWait {source:'prompt-text', reason:'agent-trust-workspace'}(fixed by #29488; the stale Codex block by #33485), and structured questions (AskUserQuestion,request_user_input,ask_user_question) report through hooks as{source:'hook'}. Still open: Grok's trust dialog (not verified — needs a signed-in account) and plain-text questions at the end of a turn, which read as idle on purpose and need a product decision. Leaving this open for those two.nwparker commentedon Oct 26, 2026
Visual check on current main (
bb47718fbec): hidden dev Orca, Claude Code 2.1.310, Codex 0.164.0 (mock model), isolated config dirs.ELI5:
agentWaitis Orca's flag for "this agent is waiting for you". When an agent shows a menu, such as "do you trust this folder?", Orca now sees the menu and raises the flag. That part is fixed. When an agent just asks a question in normal text and stops, Orca still treats the turn as finished, so the flag stays off. Grok is still unchecked because its folder-trust screen only shows after sign-in, and we don't have a Grok account.Fixed: startup trust dialog (Claude, Codex)
Launched with
orca terminal create --command claude/--command codexin a folder that isn't trusted yet:Structured question tools (
AskUserQuestion,request_user_input,ask_user_question) report{source:"hook"}. That was covered in the earlier comment and not re-shot here.Still open: a plain-text question at the end of a turn
Prompt: "Ask me whether the file should be red or blue, then wait for my answer." Codex replies with a question and ends its turn. The sidebar shows it as done (green check), and the CLI says nobody is waiting:
This is deliberate today: a turn that ends with a question looks the same as any finished turn. Changing it needs a product decision, either guessing from the text or relying on hooks.
Still open: Grok
Not verified. In a fresh config, Grok 1.0.62 shows its browser sign-in screen before any folder-trust dialog, so we need a signed-in account to check it.
Side note: in the desktop app, the trust-dialog panes above have no "waiting" badge in the sidebar. The fix shows up in
agentWait(CLI and orchestration), not in the sidebar.fix(agent-status): show Claude/Codex panes waiting on the folder-trus…
nwparker commentedon Oct 27, 2026
Thanks for the detailed side-by-side report! Status update:
agentWaitreports them and the sidebar shows a waiting badge (fix(agent-status): show Claude/Codex panes waiting on the folder-trust dialog #33804, fix(runtime): recognize hand-typed native Claude at its startup dialogs #33826), including aclaudetyped by hand in a shell.AskUserQuestion). Orca already reports those as waiting.Closing this. If Grok's trust dialog or question tool still doesn't show as waiting on the latest Orca, please open a new issue with the Grok version and we'll look.