agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

[Bug]: Orchestrator 0.15.1 on Windows — “Allow once” leaves Claude Code workers pending

Open 27a4043283-dev opened this issue 2 weeks ago • 3 comments

What went wrong?

Environment

  • OS: Windows
  • Orchestrator: 0.15.1
  • Commit: 07145885bdf3
  • Build: 2026-11-14T09:16:07Z
  • Orchestrator agent: Codex
  • Worker agent: Claude Code
  • Interface: Chat UI
  • Affected sessions: Three independent workers

Steps to reproduce

  1. Assign a Claude Code worker to read documents in a source folder outside its Git worktree.
  2. The worker requests permission to execute a Find operation.
  3. The Chat UI displays an approval request.
  4. Click “Allow once”.
  5. Observe that the approval remains pending and the worker does not continue.

The same behavior was observed across three worker sessions.

Expected behavior

Clicking “Allow once” should resolve the permission request, deliver the approval to Claude Code, and allow the requested operation to execute or return an explicit error.

Actual behavior

All three workers remain blocked waiting for permission. No tool results or subsequent work are recorded.

Verified evidence

November 15, 2026 (UTC+7):

  • 23:30:17–23:30:23 — Three initial approval requests were recorded.
  • 23:31:02–23:31:03 — These requests ended with “Tool permission request aborted” during steering.
  • 23:31:05 — Three new Find permission requests were recorded.
  • After the user clicked “Allow once”, persisted events still contained six approval.requested events and only three approval.resolved events.
  • No resolution or tool result was recorded for the three newer requests.

Application health checks passed. Diagnostic data was inspected using read-only database access.

The installed UI code indicates that approval decisions are submitted to:

POST /api/v1/sessions/{sessionId}/conversation/approvals/{requestId}/resolve

Payload: {"decisionId":"allow"}

However, no HTTP status, response body, or Console error has been captured from the actual clicks.

Diagnostic limitations

The packaged application disables shell debugging:

  • allowShellDebugging = false
  • devTools: false

View → Toggle Browser Developer Tools and Ctrl+Shift+I open DevTools for the Browser panel only, not the Chat UI.

The ao CLI is also not currently recognized by Windows PowerShell.

Request for support

Could you please provide:

  1. A supported workaround to resolve pending approvals without bypassing permission safeguards or losing session work.
  2. Instructions for collecting sanitized approval-resolution logs, including HTTP status, response body, correlation ID, and provider acknowledgement.
  3. A diagnostic build with Chat/Shell DevTools enabled, if necessary.
  4. Confirmation of whether this is a known issue in version 0.15.1 and whether a fix is available.

Root cause remains unconfirmed. The evidence suggests a failure somewhere between the UI approval action and delivery of the decision to Claude Code, but the failing component has not been identified.

Please advise on safe log collection that excludes credentials, session tokens, cookies, private paths, and document or conversation contents.

27a4043283-dev avatar Nov 15 '26 17:11 27a4043283-dev

This is a bug report. Check that nobody has claimed it, comment to claim it, and open a PR with Fixes #8495.

See the contributing guide. Think the classification is wrong? Tell us on Discord.

OrcInc avatar Nov 15 '26 17:11 OrcInc

Thank you for acknowledging the bug report.

I am reporting this as an end user and currently need assistance resolving the issue rather than claiming the implementation task.

This bug is blocking all three Claude Code workers in my development project on Windows.

Could a maintainer please investigate the approval-resolution flow and suggest a temporary workaround or provide a diagnostic build?

I am available to test a fix and provide additional sanitized logs if needed.

Thank you!

27a4043283-dev avatar Nov 15 '26 17:11 27a4043283-dev

Thanks for the report. We couldn't reproduce this on Windows 11, either on your build (07145885bdf3) or on current main. Following your steps, clicking Allow once on a Find outside the worktree went through right away. We also tried the steering from your logs, with three workers steered while approvals were pending. Claude asked again, and Allow once still worked for all three.

Workaround: press Stop on the stuck worker and send your message again, then approve the new request. Your session and work are kept.

Could you share:

  • The approval lines from your daemon log (no document contents or tokens; redact folder names if needed):
    Select-String "$env:USERPROFILE\.ao\data\daemon.log*" -Pattern "approvals|steer" | Select-Object -Last 200 | % Line > ao-approvals.txt
    
  • Whether you or your orchestrator sent the workers a message while the approvals were pending.
  • What the card did after you clicked: stayed, disappeared, or showed an error.

nikhilachale avatar Nov 16 '26 22:11 nikhilachale