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

bug(browser): orchestrator workers report 'full-browser capability is unavailable' and cannot use the browser (all harnesses)

Open OrcInc opened this issue 3 months ago • 3 comments

Bug

An orchestrator's worker session reports it has no browser capability at all and falls back to non-browser workarounds. The worker explicitly stated:

"A full-browser capability is unavailable in this worker, but the Wayback index has [a snapshot from] 07-28—recent enough to expose the page structure and likely API/bundle references"

i.e. the agent believed it could not use the AO session-owned Browser and pivoted to Wayback Machine archives — the browser tool was effectively unusable for the entire session.

Scope update (2026-08-28): initially reported on the Codex harness; Vaibhaav checked and confirmed this reproduces across all harnesses, not just Codex. Treat this as harness-independent.

Steps to Reproduce

  1. Run an orchestrator session with any harness (reporter used the latest Codex CLI; confirmed across all harnesses), project monorepo-1.
  2. Give the orchestrator/worker a task that requires live web access (reporter's case involved fetching a Cloudflare-protected page, where the intended flow is the session-owned Browser).
  3. Observe the worker report that full-browser capability is unavailable and substitute archive.org snapshots.

Expected Behavior

Workers spawned by an orchestrator should be able to use the AO session-owned Browser (ao browser / browser capability) when the task requires live page access, or at minimum the capability-issuance state should be diagnosable from the daemon.

Actual Behavior

Worker declares "A full-browser capability is unavailable in this worker" and never uses the browser, degrading to stale Wayback snapshots. Session was fully unable to use the browser. Reproduces on every harness.

Evidence

Reported by Alex in the AO Discord (report-bugs), 2026-08-27, thread "A lot of controller errors":

Worker message: full-browser capability unavailable in this worker

(mirror link is temporary; the transcribed quote above is the source of truth — original screenshot also available in the Discord thread)

Environment

  • Harness: all harnesses (initially reported on latest Codex CLI; confirmed harness-independent on 2026-08-28)
  • Session type: orchestrator + worker(s)
  • Project: monorepo-1

Investigation Notes

  • Related: #4452 — structured Chat sessions launch with AO_BROWSER_CAPABILITY explicitly empty and never persist a browser_capability_verifier, so ao browser fails for every Chat worker. With this report now confirmed across all harnesses on orchestrator-spawned workers, the shared root cause is most likely the capability-issuance path itself (verifier/env not reaching worker sessions) rather than a harness-specific detection failure. First check should be the session row's browser_capability_verifier length and the controller env, per the diagnosis pattern in #4452.

OrcInc avatar Aug 27 '26 14:08 OrcInc

Thanks for contributing to Agent Orchestrator.

This issue is being picked up by the current external contributor on-call pair:

  • @illegalcall
  • @somewherelostt

If someone is already working on this, please continue as usual. The on-call pair is added for visibility, tracking, and support, not to take over the work. If you need help with review, direction, reproduction, or next steps, please tag @illegalcall and @somewherelostt here.

For faster context or live questions, you can also join the AO Discord.

Join the session here: https://discord.gg/H6ZDcUXmq

Come by if you want to see what is being built, ask questions, or just hang around with the community.

somewherelostt avatar Aug 27 '26 15:08 somewherelostt

Scope update: confirmed by @Vaibhaav-Tiwari that this reproduces across all harnesses, not just Codex — title/body updated accordingly. Pointed the investigation note toward the capability-issuance path (verifier/env) as the likely shared root cause with #4452.

OrcInc avatar Aug 28 '26 13:08 OrcInc

Closing as fixed by #4486. Current main now issues and persists a session-owned browser capability before every structured Chat controller launch, including fresh spawn, resume/reconciliation, interface transition, and agent switching; TUI provisioning uses the same session capability boundary. The focused tests verify that AO_BROWSER_CAPABILITY reaches the launched controller and rotates safely on resume.

codebanditssss avatar Sep 23 '26 14:09 codebanditssss