Repository navigation
Windows Codex CLI Computer Use cannot determine Chrome URL after Chrome Browser Use confirms active NAVER tab #40474
Description
Summary
On Windows, Codex CLI Computer Use can initialize its standalone @oai/sky
helper and discover the active Chrome window, but the first read-only
get_window_state request terminates the turn because it cannot determine the
current browser URL. In the same fresh Codex session, Chrome Browser Use can
open the same URL, confirm its final origin, inspect its DOM, and identify the
active tab successfully.
This is a current CLI/standalone-helper reproduction of the URL-detection
failure reported in #25271 and recently observed again in #40048.
Environment
- Windows NT
10.0.26200x64 - Codex CLI
0.149.1 - Codex app package
26.818.8289.0(installed, status OK; not required to stay open) - Bundled Chrome and Computer Use plugins
26.818.61809 @oai/sky0.6.17-202608171537-pr-1300023-7efba775c041- Google Chrome
151.0.7922.170 - Codex Chrome extension
1.2.27268.51612_0, installed and enabled - ChatGPT Pro
Reproduction
- Start a fresh normal Codex CLI session with the standalone Computer Use
configuration (SKY_CUA_NATIVE_PIPE=0). - Run the Browser Use runtime preflight. It exits
0. - Through the bundled Chrome Browser Use plugin, select Chrome and call the
realopenTabs()RPC. It succeeds. - Create one disposable controlled tab and navigate to
https://www.naver.com/. - Confirm through Chrome Browser Use that:
- the final origin is exactly
https://www.naver.com; - the title is
NAVER; - recognizable Naver search/logo DOM elements are present;
- the disposable tab is active.
- the final origin is exactly
- Initialize Computer Use normally with
await import("@oai/sky"). - Call
list_apps()/list_windows(). Computer Use successfully returns one
targetableNAVER - Chromewindow. - Call exactly one read-only
get_window_staterequest for that returned
window, with screenshot capture and no click, typing, keypress, scroll,
activation, or retry.
Actual result
The read-only state request fails immediately with:
Computer Use has been stopped for this turn because it could not determine the current browser URL on Windows with enough confidence to enforce policy. Stop your work and send a final message noting why Computer Use ended.
The standalone helper connection and window discovery both succeeded. No input
action occurred. The disposable test tab was then closed through its original
Chrome Browser Use binding.
Expected result
Computer Use should obtain enough URL evidence to enforce policy and return the
read-only window state. When the bundled Chrome extension/Browser Use binding
already knows the active controlled tab and its final URL, the Windows Computer
Use URL check should be able to correlate that trusted tab information with the
target Chrome window instead of terminating before capture.
Notes
- This is not a Naver origin denial: Chrome Browser Use navigated to and
inspected the origin successfully in the same test. - This is not a missing native pipe: standalone
@oai/skyinitialization and
Chrome window discovery both succeeded. - Restarting Codex or Chrome is not a reliable remedy; the failure occurs in a
fresh CLI session after a clean preflight.
Activity
github-actions commentedon Aug 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
search620 commentedon Aug 29, 2026
This current-build reproduction matches the universal root cause isolated and validated in #25271.
This is not another reproduction or workaround. The underlying Windows failure persisted across many Computer Use release generations. The duplicate and PR searches found no earlier public implementation-level fix. The linked result identifies the controlling helper defect, patches it, and verifies the original failure path in a fresh session.
The Windows Computer Use helper identified Document nodes by comparing a UI Automation text label with the literal string
document. Text labels are not stable control identifiers, so the Document node was skipped and the browser URL cache remained empty.The v8 root fix removes text-label matching entirely and uses:
at RVA
0x1C046. After the change,sky.get_window_state()recognized the Chrome page Document and passed URL-confidence enforcement independently of the Windows or Chrome UI language.The full sanitized implementation evidence, including the related geometry/focus/UIA synchronization fixes and fresh-session AUDIT, is here:
#25271 (comment)
The final helper SHA-256 used for verification was
956b3897ff4dbec3999225d51c1a54013e78231b5ac9171f3b1dfd2beaaf3105. No executable, installed binary, user path, account data, tab/task identifier, or token is attached.AntMesh commentedon Oct 1, 2026
Additional read-only reproduction on Windows 11 26H2 with Computer Use bundle 26.928.31416. Browser Use succeeds while the first native window-state read is stopped during URL determination.
Evidence compiled on 2026-10-01. This report identifies the failing stage, not a confirmed underlying cause.
Observed behavior
Chrome Browser Use through the official extension returns the expected HTTPS URL, page title and DOM. After bringing that tab to the foreground, native window discovery returns a unique Chrome window with the matching page title. Native get_window and activate_window succeed. The first read-only get_window_state then stops the turn with this actual tool return:
Computer Use has been stopped for this turn because it could not determine the current browser URL on Windows with enough confidence to enforce policy. Stop your work and send a final message noting why Computer Use ended.
The failed call uses the official @oai/sky library through mcp__node_repl__js:
await sky.get_window_state({ window, include_screenshot: false, include_text: true });
The window argument is the fresh returned Window object for the uniquely matched Chrome window.
No state text or screenshot is returned by that call. No credential entry, upload, download or file dialog is attempted in these diagnostic runs. The turn is stopped immediately as instructed by the tool.
Environment
Reproduction coverage
Read-only configuration findings
Other evidence and limits
Related public reports, verified Open on 2026-10-01
These are user reports. Similar symptoms do not establish a shared underlying cause or a confirmed fixed version.
Requested maintainer diagnosis
Please inspect correlated private feedback/session logs to determine whether the native URL check obtained a candidate URL, whether it associated that candidate with the selected native window, and the specific reason the check stopped. Please distinguish URL determination failure from an explicit site-policy denial and identify a supported recovery path or fix that preserves URL validation.
Feedback status and references
No official feedback submission ID exists yet. Session/turn/call correlation details are kept separately in local diagnostic evidence for optional private feedback, not this public draft.
Official submission guidance: https://learn.chatgpt.com/docs/reference/troubleshooting
Managed policy locations and layering: https://learn.chatgpt.com/docs/enterprise/managed-configuration