Skip to content

Computer Use cannot determine Chrome URL on Windows, even on chrome://newtab/ #25271

Open

Description

@x5neivi

What version of the Codex App are you using (From “About Codex” dialog)?

26.527.31326

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When using Computer Use in Codex Desktop on Windows to operate Google Chrome, the Chrome window is detected successfully, but Computer Use stops during the screen-state acquisition step with the following message:

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.

This reproduces even when Chrome is only showing chrome://newtab/ or about:blank, before any click, input, or external URL navigation.

Computer Use can detect the Chrome app and window title, for example:

{
  "success": true,
  "stage": "computer_use_list_apps",
  "pluginVersion": "openai-bundled/computer-use/26.527.31326",
  "chromeCandidateCount": 6,
  "chromeCandidates": [
    {
      "id": "Chrome",
      "displayName": "Google Chrome",
      "isRunning": true,
      "windows": [
        {
          "app": "Chrome",
          "id": 393446,
          "title": "about:blank - Google Chrome"
        }
      ]
    }
  ]
}

But when attempting to acquire the Chrome window state, it fails:

{
  "success": false,
  "stage": "computer_use_chrome_get_window_state_about_blank",
  "error": "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 issue appears specific to Computer Use targeting Chrome on Windows. Computer Use successfully operates other local Windows apps such as Calculator and Notepad.

There may also be a related Chrome extension / Codex app launch issue. After reinstalling the Codex Chrome Extension and rebooting Windows, the extension popup shows Connected, but clicking the extension settings gear opens an Electron error:

Error launching app

Unable to find Electron app at
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\...\google-chrome

Cannot find module
'C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\...\google-chrome'

In the same state, the Chrome plugin backend was not available from Codex and reported:

Browser is not available: extension

I cannot confirm whether this Electron/module error is the direct root cause, but it seems related because the Chrome extension says it is connected while Codex cannot use the Chrome extension backend, and Computer Use cannot determine the current Chrome URL.

What steps can reproduce the bug?

  1. Use Codex Desktop on Windows with Computer Use enabled.
  2. Install and enable the Codex Chrome Extension.
  3. Open Google Chrome.
  4. Keep Chrome on chrome://newtab/ or about:blank.
  5. Ask Codex to use Computer Use to inspect or operate the Chrome window.
  6. Computer Use detects the Chrome app/window successfully.
  7. Attempt to acquire the Chrome screen/window state through Computer Use.

Expected reproduction result:

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.

Baseline checks that succeeded:

  • Computer Use + Windows Calculator: success
  • Computer Use + Notepad: success
  • Computer Use + Chrome app/window detection: success

Failure:

  • Computer Use + Chrome screen-state acquisition: failure

Versions observed:

  • Computer Use plugin: openai-bundled/computer-use/26.527.31326
  • Chrome plugin: openai-bundled/chrome/26.527.31326
  • Browser plugin: openai-bundled/browser/26.527.31326
  • Codex Chrome Extension: 1.1.5
  • Chrome: 148.0.7778.217

What is the expected behavior?

Computer Use should be able to determine the current URL for a Chrome window on Windows when the tab is on chrome://newtab/ or about:blank, and then continue with the requested browser GUI operation.

If the URL cannot be determined, Computer Use should provide a more specific diagnostic message, such as whether the problem is caused by:

  • Chrome extension connection failure
  • Chrome profile mismatch
  • Native messaging host issue
  • Windows UI Automation / address bar URL detection failure
  • inability to map the detected Chrome window to a known Chrome tab

If possible, Computer Use should use the same Chrome extension / Chrome plugin connection information to map the detected Chrome window to the current tab URL.

Additional information

I tried the following before filing this issue:

  • Retried in multiple Codex threads
  • Rebooted the PC
  • Reinstalled the Codex Chrome Extension
  • Verified that the extension is enabled
  • Verified that the extension popup shows Connected
  • Verified that Chrome is detected by Computer Use
  • Verified that Computer Use works with non-browser Windows apps

The extension settings gear produces this error, which may be related:

Error launching app

Unable to find Electron app at
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\...\google-chrome

Cannot find module
'C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0\...\google-chrome'

The Chrome extension UI says Connected, but Codex reported:

Browser is not available: extension

This may indicate that the extension UI, the Chrome plugin backend, and Computer Use's Chrome URL safety check are not all using the same working connection path.

Activity

  1. added
    app
    on May 30, 2026
  2. added
    bug
    windows-os
    on May 30, 2026
  3. github-actions commented on May 30, 2026

    @github-actions
    Contributor
  4. x5neivi commented on May 30, 2026

    @x5neivi
    Author

    I reviewed the potential duplicates. Some appear related, but this issue may not be a complete duplicate.

    Related issues:

    I am keeping this issue open for now because it also includes a separate Computer Use failure: Computer Use detects the Chrome window successfully, but stops during Chrome screen-state acquisition because it cannot determine the current browser URL, even on chrome://newtab/ or about:blank.

    If maintainers confirm that this is covered by one of the existing issues, I can close this as a duplicate.

  5. x5neivi commented on Jun 3, 2026

    @x5neivi
    Author

    Update: retested with Codex App 26.601.20914

    I retested after updating the Windows Codex App.

    Environment:

    • Windows Codex App: 26.601.20914 / released 2026-06-03
    • Computer Use plugin: openai-bundled/computer-use/26.601.20914
    • Chrome: 148.0.7778.217
    • Codex Chrome Extension: 1.1.5_0
    • Native Host / registry / allowed-origin diagnostics: passed
    • Codex settings: Full access
    • config.toml: [windows] sandbox = "elevated"
    • Codex App was restarted before the retest

    What improved:

    • The Chrome extension settings / Open Settings path appears improved.
    • Pressing the Chrome extension settings button no longer opens the previous Electron error.
    • It now opens the Codex “Computer Use” settings screen as expected.
    • The settings screen shows Google Chrome as connected and exposes the “Manage” button.

    What still fails:

    • Computer Use initialization succeeds.
    • list_apps / list_windows succeeds.
    • Chrome is detected successfully.
    • The detected Chrome window title was localized Japanese: 新しいタブ - Google Chrome
      (equivalent to New Tab - Google Chrome).

    However, when attempting to acquire the Chrome window state, Computer Use still stops with the original #25271 error:

    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.
    

    So in 26.601.20914, the Chrome extension settings path appears improved, but the core #25271 failure still reproduces once Computer Use reaches Chrome window-state acquisition.

    Additional observation:
    During earlier retesting, after changing permission/sandbox settings and restarting the Codex App multiple times, I also saw a different Computer Use settings state:

    Computer Use plugin unavailable
    

    I could not confirm whether that was the same root cause or a separate initialization/state issue, but it may be relevant because it appeared while switching access/sandbox settings and restarting the app.

  6. Arconte112 commented on Jun 3, 2026

    @Arconte112

    I can reproduce this as well, but with Microsoft Edge rather than Google Chrome.

    Environment:

    • Codex App: 26.601.2237.0 (Microsoft Store package OpenAI.Codex_26.601.2237.0_x64__2p2nqsd0c76g0)
    • Computer Use plugin: openai-bundled/computer-use/26.601.21317
    • Browser app detected by Computer Use: MSEdge
    • OS: Microsoft Windows 11 Pro, 10.0.22000, x64

    What happened:

    1. Computer Use successfully listed Microsoft Edge as running and detected an open Edge window.
    2. I selected the Edge window and attempted to acquire window state with get_window_state.
    3. Computer Use stopped immediately with the same policy error:
    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.
    

    So this does not appear to be limited to Chrome; at least on this Windows setup it also reproduces when targeting Edge via Computer Use.

  7. sunxinti commented on Jun 3, 2026

    @sunxinti

    I am experiencing the same issue on Windows.

    Computer Use can open my local page in Edge/Chrome, but then get_window_state fails with:

    could not determine the current browser URL on Windows with enough confidence to enforce policy

    It seems Codex cannot reliably detect the current browser URL on Windows, so Computer Use is stopped by policy. Is there any workaround or fix?

  8. x5neivi commented on Jun 5, 2026

    @x5neivi
    Author

    Additional retest result.

    I updated the Codex App to 26.602.30954 and reinstalled Computer Use and the Chrome extension, then retested this issue.

    Environment:

    • Windows Codex App: 26.602.30954 / Released 2026-06-05
    • Computer Use plugin: openai-bundled/computer-use/26.602.30954
    • Chrome Extension: 1.1.5
    • Chrome window: localized Japanese "新しいタブ - Google Chrome" / equivalent to "New Tab - Google Chrome"
    • Codex App / chat selector: Full access
    • visible config: sandbox_mode = "danger-full-access", approval_policy = "on-failure"
    • Native Host / registry / allowed-origin checks: passed

    Observations:

    • Immediately after switching to Full access, before restarting the Codex App, Computer Use initialization failed with "Computer Use native pipe path is unavailable".
    • After closing the Codex App, ending remaining Codex tasks in Task Manager, and restarting the app, Computer Use initialization succeeded.
    • In the same existing Codex session, list_apps / list_windows succeeded, and the Chrome window was detected successfully.
    • So creating a new session does not seem to be the key factor. What seems more important is fully restarting the Codex App after changing the sandbox / access setting so that the setting is actually reflected.
    • However, during Chrome window state acquisition, equivalent to get_window_state, Computer Use still stopped with the same error as before.

    Error:
    "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."

    Conclusion:
    In 26.602.30954, the Full access setting propagation / native pipe initialization path may have improved after an app restart.
    However, the core #25271 issue still reproduces: Computer Use still cannot determine the current Chrome URL on Windows with enough confidence and stops during browser window-state acquisition.

  9. jsonj3407-source commented on Jun 9, 2026

    @jsonj3407-source

    Additional reproduction on Windows 11 (Microsoft Edge via Computer Use):

    Environment

    • Codex Desktop with computer-use@openai-bundled 26.602.71036
    • setupComputerUseRuntime({ globals: globalThis }) succeeds from bundled computer-use-client.mjs
    • sky.list_apps() succeeds and returns Microsoft Edge (MSEdge) with an open window

    Failure
    After selecting/activating the Edge window, Computer Use stops during window-state acquisition (get_window_state) 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.
    

    Notes

    • Non-browser apps (Notepad/Calculator) work in the same setup.
    • External Edge browser automation is blocked at this policy check even on a normal HTTPS page.
    • Matches the Chrome/Edge behavior already reported in this thread.

    Expected
    Reliable active-tab URL resolution for Chromium browsers on Windows, or clearer diagnostics when the URL bridge is unavailable.

    Happy to run additional diagnostics if maintainers need a specific build matrix.Additional reproduction on Windows 11 (Microsoft Edge via Computer Use):

    Environment: Codex Desktop computer-use 26.602.71036; setupComputerUseRuntime + sky.list_apps() OK (MSEdge detected).

    Failure: get_window_state stops with "could not determine the current browser URL on Windows with enough confidence to enforce policy."

    Non-browser apps work. Normal HTTPS pages still blocked. Same as existing Chrome/Edge reports here.

    Expected: reliable Chromium URL resolution on Windows or clearer diagnostics when URL bridge unavailable.

  10. jsonj3407-source commented on Jun 9, 2026

    @jsonj3407-source

    Additional reproduction on Windows 11 (Microsoft Edge via Computer Use):

    Environment

    • Codex Desktop with computer-use@openai-bundled 26.602.71036
    • setupComputerUseRuntime({ globals: globalThis }) succeeds from bundled computer-use-client.mjs
    • sky.list_apps() succeeds and returns Microsoft Edge (MSEdge) with an open window

    Failure
    After selecting/activating the Edge window, Computer Use stops during window-state acquisition (get_window_state) 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.
    

    Notes

    • Non-browser apps (Notepad/Calculator) work in the same setup.
    • External Edge browser automation is blocked at this policy check even on normal HTTPS pages.
    • Matches the Chrome/Edge behavior already reported in this thread.

    Expected
    Reliable active-tab URL resolution for Chromium browsers on Windows, or clearer diagnostics when the URL bridge is unavailable.

    Happy to run additional diagnostics if maintainers need a specific build matrix.

  11. x5neivi commented on Jun 12, 2026

    @x5neivi
    Author

    Additional retest result with Codex App 26.609.30741

    I updated the Windows Codex App to 26.609.30741 / released 2026-06-12 and attempted to retest this issue.

    Environment:

    • Windows Codex App: 26.609.30741
    • Windows package: OpenAI.Codex_26.609.3341.0_x64
    • Computer Use plugin: openai-bundled/computer-use/26.609.30741
    • Chrome plugin: openai-bundled/chrome/26.609.30741
    • Chrome: 149.0.7827.104
    • Codex Chrome Extension: 1.1.5_0, installed and enabled
    • Native Host / registry / allowed-origin diagnostics: passed
    • sandbox_mode: "danger-full-access"
    • approval_policy: "never"
    • [windows] sandbox: "elevated"

    Result:
    In this version I could not reach the original #25271 reproduction point.

    Computer Use failed during bootstrap before list_apps / list_windows and before Chrome get_window_state could be tested.

    Error:

    Package subpath './dist/project/cua/sky_js/src/targets/windows/internal/computer_use_client_base.js' is not defined by "exports" in C:\Users\<USER>\AppData\Local\OpenAI\Codex\runtimes\cua_node\<runtime-id>\bin\node_modules\@oai\sky\package.json
    

    So for 26.609.30741, I cannot confirm whether the original Windows Chrome URL-confidence failure is fixed or not, because Computer Use now fails earlier during initialization.

    Compared with my previous retests, this is a regression in my environment:

  12. Omniloss commented on Jun 14, 2026

    @Omniloss

    I can reproduce what appears to be the same Windows Computer Use browser URL policy failure on a newer Codex Desktop build, with both Chrome and Edge.

    Thread ID: 019ec68c-c427-7051-b058-88d3c01be8ed

    Environment:

    • Codex Desktop app: OpenAI.Codex_26.609.4994.0_x64__2p2nqsd0c76g0
    • Codex process file version: 149.0.7827.54
    • Windows: Windows 11 Pro, version 10.0.26200, build 26200, 64-bit
    • Chrome plugin: 26.609.41114
    • Computer Use plugin: 26.609.41114
    • @oai/sky: 0.4.10
    • CUA runtime id: 789504f803e82e2b
    • Google Chrome: 149.0.7827.115
    • Microsoft Edge: 149.0.4022.69

    Observed behavior:

    • Computer Use can list browser apps/windows.
    • sky.list_apps() returns Chrome with a window titled Example Domain - Google Chrome.
    • Calling sky.get_window_state({ window: chromeWindow, include_screenshot: false, include_text: true }) stops the turn 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.
    

    This reproduces on a simple public HTTPS page, https://example.com/, and the same failure occurs with Microsoft Edge on the same URL.

    Additional diagnostics:

    • Chrome extension install check passes:
      • extension installed: true
      • extension enabled: true
      • extension id: hehggadaopoacecdllhhajmbjkdcmajg
    • Native host manifest check passes:
      • manifest exists: true
      • registry path matches manifest: true
      • allowed origin matches the Codex Chrome extension: true
    • Chrome extension/browser-client can read open tabs and sees:
    [
      {
        "title": "Example Domain",
        "url": "https://example.com/"
      }
    ]
    • Windows UI Automation diagnostics outside Computer Use show that Chrome exposes the page URL:
      • Omnibox edit value: example.com
      • RootWebArea document value: https://example.com/
    • Changing Chrome UI locale from zh-CN to en-US did not help.
    • Setting Chrome preference omnibox.prevent_url_elisions = true did not help.
    • Launching Chrome/Edge with --lang=en-US --force-renderer-accessibility did not help.

    Assessment:

    This looks like a Windows Computer Use native helper/browser URL policy detection path issue, not a Chrome extension disconnect issue. The browser window is targetable, the extension/native-host path is healthy, the extension can read the active tab URL, and UI Automation exposes the URL, but Computer Use still cannot verify the URL with enough confidence. Edge failing the same way suggests the problem affects Chromium-based browser URL detection on Windows in this Codex Desktop build.

  13. 43 remaining items

  14. JOEWRKS commented on Oct 11, 2026

    @JOEWRKS

    Additional ko-KR reproduction and current-binary verification — 2026-10-11

    Following the earlier localized Document analysis, we independently checked the currently installed binary with a different SHA-256. The locale-sensitive classifier is still present. This report adds current-build evidence; it does not establish the sole runtime cause.

    Observed failure

    On a Korean Windows environment, Browser Use reads a local test page URL and DOM successfully. Windows Computer Use lists the Chrome window, but get_window_state stops 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 documented JavaScript-session reset and fresh connection did not recover it. Calls were stopped when instructed. Chrome and the diagnostic shell run at medium integrity; Chrome does not have accessibility-disable or language-override command-line flags. No policy overrides, binary patches, direct helper calls or OS-language changes were attempted.

    Environment identifiers

    • Running app updater: installedVersion 26.1007.21434, installedBuildVersion 13901, installedReleaseChannel prod. Check result: up_to_date on 2026-10-11.
    • Separately observed Windows MSIX package version: 26.1007.2314.0. These are different version fields; their relationship has not been established.
    • Computer Use plugin: 26.1007.21434; @oai/sky: 0.7.6.
    • Chrome: 154.0.8037.98; Windows UI culture: ko-KR.
    • codex-computer-use.exe SHA-256: 58fff5e2359aa09528f48ef37651b9013b204f99e2fd381f0d3d980cf9d2e88d.
    • Authenticode: Valid, OpenAI OpCo, LLC. File unchanged after read-only analysis.

    Reproduction for maintainers

    1. Use a ko-KR Windows environment with the above native component and Chrome.
    2. Open an ordinary allowed test page. The observed case used a locally served commerce prototype; private page content is not needed for this report.
    3. Through the documented @oai/sky API, list_windows and select the exact returned Chrome window. Do not invent a handle.
    4. Call get_window_state with that returned window.
    5. Observed: the URL-confidence stop above; expected: the real page URL is associated with the correct window and evaluated by the normal policy.
    6. Browser Use can read the same page. This is a separate working path, not proof that native URL extraction works.

    Static findings on this exact binary

    Read-only PE disassembly indicates:

    • RVA 0x2052b invokes IUIAutomationElementVtbl slot 54 (x64 offset 0x1b0): get_CachedLocalizedControlType, verified against Microsoft's official header.
    • A nonempty localized string is retained at 0x20573..0x20595. Numeric-type fallback is used only if this value is missing or errors.
    • The returned string flows through caller 0x1c124..0x1c161 into stack fields 0x288/0x290.
    • At 0x1c2d6..0x1c2e3 it is compared with the eight-byte English literal document.
    • Comparator 0x1150c performs byte-length and ASCII case-insensitive equality. A mismatch at 0x1c2ea skips the subsequent processing branch.

    This is a locale-dependent Document classifier and a strong candidate for the observed failure. We did NOT capture the actual localized UIA value or executed branch from the refused request, nor run an OS-language A/B. Runtime causality and other possible causes remain unconfirmed.

    No original binary, private window contents or raw personal logs are attached.

    Requested provider investigation and correction

    Please trace the Document classifier and native URL extraction on ko-KR. If confirmed, classify the element with the language-independent UIA_DocumentControlTypeId (50030), keeping localized text only for display. Retain target-window association, real URL extraction and rejection of ambiguous or prohibited URLs. Please provide the supported release/build containing the correction or an official diagnostic procedure.

    Acceptance checks: ko-KR and en-US; multiple windows/tabs and active-tab changes; correct allowed URL; prohibited/ambiguous URL still rejected; no weakening of normal policy enforcement. None of these post-fix checks has run yet.

    Documentation

  15. AI-Banner commented on Oct 12, 2026

    @AI-Banner

    Additional ko-KR Windows reproduction and patch request — 2026-10-12

    Posted at the operator's explicit request, prepared with Codex assistance.

    Verified environment

    • Windows NT 10.0.26200, display version 25H2, build 26200.9457. (The registry ProductName field still says Windows 10 Pro; reporting the actual build separately rather than relying on that label.)
    • Windows UI culture: ko-KR.
    • Desktop app installedVersion: 26.1007.21434; installedBuildVersion: 13901; release channel: prod. Configured updater reported up_to_date on 2026-10-12.
    • Computer Use plugin: openai-bundled/computer-use/26.1007.21434.
    • Bundled @oai/sky: 0.7.6.
    • Google Chrome product version: 155.0.8059.39.
    • Native codex-computer-use.exe SHA-256: 58FFF5E2359AA09528F48EF37651B9013B204F99E2FD381F0D3D980CF9D2E88D.
    • Authenticode status: Valid. No binary patches applied.

    Observed reproduction through the official native API

    1. Import @oai/sky in node_repl.
    2. sky.list_apps() / sky.list_windows() successfully return existing Chrome windows.
    3. Select exactly one returned Chrome window and bind it with sky.get_window({id, app}).
    4. sky.get_window_state({window, include_screenshot:false, include_text:true}) fails before any usable accessibility state is returned:

    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 same failure occurred on multiple existing Chrome windows and on subsequent user-requested tests. Window activation succeeded but did not resolve it. After each stop, native inputs were stopped; no click or typing was performed to bypass the refusal.

    Independent working control
    The official Chrome extension Browser Use path successfully enumerated six existing tabs and, after explicit authorization, bound an existing tab and read its page/accessibility state. This establishes that the separate Browser Use channel can work while native Windows URL detection fails. It does not establish native Computer Use repair.

    Diagnostic limits

    • Native helper startup logs report the pipe ready; this is not a missing-helper/bootstrap failure.
    • A separate Appshot hotkey capture timeout appeared in startup logs. Its relationship to URL detection is unproven.
    • Older app release 26.1002.52244 appears in earlier same-day logs; the current runtime was materialized at approximately 12:08 KST. The operator recalls successful Chrome control before 11:00 KST, but available successful related records use Browser Use rather than proving an earlier native @oai/sky success. We therefore do not claim a confirmed update regression.
    • The binary hash matches the ko-KR static-analysis report already in this issue. A localized Document-role classifier is a candidate, not a confirmed runtime cause on this machine. No live UIA trace, OS-language A/B, disassembly, or binary modification was performed in this investigation.

    Patch request
    Please investigate the native URL-discovery path on this current signed component, particularly localized Document-role identification. If confirmed, use language-independent UIA ControlType identity (Document 50030) while retaining correct target-window/tab association, real URL extraction, and rejection of prohibited or ambiguous URLs.

    Please provide a signed supported fix/build or a supported diagnostic that distinguishes document identification, URL extraction, window/tab association, and policy evaluation. Acceptance should include ko-KR and en-US, multiple tabs/windows, allowed URLs, and continued rejection of denied/ambiguous URLs, followed by a native state read, benign authorized action, and post-action verification.

    Private URLs, account/email identifiers, usernames, local paths, screenshots, cookies, credentials, and raw personal logs are intentionally omitted. No mail or calendar changes were made.

  16. Alexvas19 commented on Oct 12, 2026

    @Alexvas19

    Additional ru-RU Windows reproduction, checked 2026-10-12.

    Environment: Windows 11 Pro build 26200, Get-UICulture and Get-WinSystemLocale
    both ru-RU; MSIX 26.1007.2314.0; internal app / Computer Use bundle
    26.1007.21434; @oai/sky 0.7.6; Chrome 154.0.8037.98.

    The serving Rust helper SHA-256 is
    58fff5e2359aa09528f48ef37651b9013b204f99e2fd381f0d3d980cf9d2e88d,
    identical to the component analyzed in
    #25271 (comment) .
    Read-only PE byte verification on this machine confirms the cited vtable-call
    offset and the reference to the eight-byte English literal document. This adds
    a matching ru-RU environment; it does not establish the executed runtime branch.

    Supported sky API observations: list_windows and get_window succeed;
    get_window_state stops because the browser URL cannot be determined with
    enough confidence to enforce policy. No alternate channel was used to inspect
    the blocked object. The relevant current processes have Medium integrity in
    Session 1. Four selected copied-runtime hashes match the MSIX files.

    Current list_apps succeeds in 455 ms. An earlier list_apps timeout followed by
    an active-request error cannot be reconstructed after an external OS reboot.
    Static transport inspection shows that the client's 10-second timeout can
    expire before the server handler clears its active flag, particularly when
    end_turn and the main operation have separate timeout budgets. This mechanism
    is not claimed to explain the URL detector failure.

    The installed supported codex doctor --json did not complete within a bounded
    45-second local diagnostic run; no valid report was produced. No relationship
    to the native browser failure is established.

    Could maintainers provide a supported diagnostic reason code distinguishing
    Document classification, URL extraction and target-window association, and
    identify a signed fixed build? Please investigate localized Document matching
    for this exact helper and ru-RU. Preserve real URL validation and rejection of
    ambiguous/disallowed URLs. No executable patches, policy changes, OS-language
    changes, profile clearing or application restarts were performed by us.

    This comment contains no personal paths, account identifiers, private page URLs,
    window/session/pipe IDs, screenshots, credentials or raw logs.

  17. ksson0330-crypto commented on Oct 15, 2026

    @ksson0330-crypto

    Reproducible Windows native URL-confidence stop after an empty text-only state response

    This is a sanitized follow-up for openai/codex issue #25271. No business content, internal URL, username, cookie, token or original session log is included.

    Environment verified locally

    • Windows build 26300.9711, DisplayVersion 26H2, Korean UI.
    • Desktop updater reported installedVersion 26.1007.71326, build 20398, prod and up_to_date during this investigation.
    • Computer Use plugin 26.1007.71326; installed @oai/sky package 0.7.7.
    • Chrome 155.0.8059.40; extension metadata 1.26.901.11451.

    Isolated reproduction, 2026-10-15

    1. Other active chats acknowledged suspending browser/native UI actions. No app restart, profile copy or security-policy change.
    2. The existing connected Chrome session opened a new ordinary HTTPS tab at https://example.com/.
    3. Browser Use returned the expected page URL/DOM, but the Windows window inventory initially still identified the previously displayed tab. Tab creation did not imply foreground display.
    4. The documented tab CDP capability accepted Page.bringToFront for this tab. A fresh sky.list_windows() then returned the unique Chrome window titled Example Domain - Chrome.
    5. 06:40:10 UTC: sky.get_window_state({window: returnedWindow, include_screenshot:false, include_text:true}) returned the same window, accessibility:null, screenshots:[] without an error.
    6. 06:40:53 UTC: after refreshing the window list and reselecting the same exact app/title, the same request returned the mandatory URL-confidence stop. There were no clicks, text input, navigation or screenshot requests between these two state observations.
    7. The turn ended immediately as instructed. The stop was not bypassed.

    Stop message
    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.

    Readable JavaScript boundary inspection
    The installed Windows client accepts include_text and forwards it unchanged. Its response normalizer maps absent/null accessibility to null. With screenshots disabled, even a raw empty object becomes the input window plus accessibility:null and screenshots:[]. Ten offline checks using the real installed JS class with a wholly fake transport verified this behavior, preserved valid trees, option forwarding, error propagation and lack of a null-result cache. Therefore the first resolved response is not proof that a native observation succeeded; the actual raw response from that live call is unknown. Readable desktop JS also passes method/parameters and the transport result through unchanged. No native helper executable was inspected or changed, and no private protocol client was used.

    Scope and uncertainty

    Requested fix while preserving policy enforcement
    Please reject or explicitly classify an incomplete state response when requested observation data is absent, rather than normalizing it into apparent success. Please confirm whether Windows include_text currently guarantees an attempted UIA collection and expose a diagnostic reason when it returns no accessibility data. Please distinguish UIA collection, Document classification, URL extraction, window/current-tab association and policy-verdict failures, without exposing sensitive URLs. If translated UIA role strings are involved, use stable ControlType identifiers and regression tests for Korean/English UI while retaining real URL validation and all deny/stop semantics. Please provide a signed supported fix or a documented supported recovery procedure.

    Regression acceptance
    A normal, uniquely selected, visible HTTPS tab must support repeated independent state observations and the requested accessibility data, or an explicit diagnostic reason. Ambiguous/disallowed targets must retain their existing restrictions. Popup/dialog and capture tests should be evaluated separately.

  18. jxy1998tiger-arch commented on Oct 15, 2026

    @jxy1998tiger-arch

    Additional Windows reproduction on 26.1007.71326 — 2026-10-15

    Native Computer Use still stops when reading a Chrome window showing https://example.com/, including after sky.activate_window completes successfully.

    Environment

    • Desktop updater: installedVersion 26.1007.71326, installedBuildVersion 20398, release channel prod. The configured updater returned up_to_date on 2026-10-15.
    • Windows application package manifest: 26.1007.9446.0. This is a separate version field.
    • Computer Use plugin: 26.1007.71326; runtime @oai/sky: 0.7.7.
    • Google Chrome executable product version: 155.0.8059.40.

    Reproduction through the documented native API

    1. Open an independent Chrome test window at https://example.com/. A separate browser automation connection reports that navigation reached load, with final URL https://example.com/.
    2. In node_repl, import @oai/sky. Call sky.list_windows() and select the unique returned Chrome window titled Example Domain - Google Chrome.
    3. Bind that exact returned window with sky.get_window({id, app}).
    4. Call sky.activate_window({window}). It completes without an error.
    5. Call sky.get_window_state({window, include_screenshot:true, include_text:true}).

    The state request returns:

    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.

    No screenshot or accessibility state is returned. The turn ends as instructed. No native click or text input follows the stop.

    An earlier separately authorized test on the same public URL failed with the same error without an explicit activation call. Before that failure, the separate browser-skill connection could read the URL and page structure. This establishes a working browser connection, not successful native URL detection.

    Component checks and limits

    • Current startup logs report the native pipe ready.
    • The installed Computer Use skill/API files match the copies bundled with the running application package.
    • The selected runtime copies of @oai/sky/package.json, its entry point, Node, node_repl, the native Computer Use executable and Swift helper match the bundled files by SHA-256.
    • Native codex-computer-use.exe SHA-256: D36AE6626BDCED7AE07935D1A91BE14425E8F6CE7C9B5C69F2D8D7DF0C130D83.

    These checks found no copy/version mismatch in the inspected files. They do not establish the cause of the URL failure. Window activation returned success, but the subsequent state request failed, so no native screenshot independently confirms the final capture target. No live UIA trace or language A/B test was performed.

    Could maintainers provide a supported diagnostic that distinguishes URL extraction, document identification, target-window/tab association and policy evaluation, or identify a signed build containing a fix? Real URL validation and rejection of ambiguous or disallowed targets should remain enforced.

    This report contains only the public test URL, component versions/hashes, documented API steps and the error. It omits personal paths, account identifiers, business content, screenshots and raw session logs.

  19. parkjongkook commented on Oct 15, 2026

    @parkjongkook

    Additional Windows reproduction and request for login workflow parity with macOS — 2026-10-16 (KST)

    Please investigate this Windows Computer Use failure and provide a supported fix so an authorized browser login can complete, including clicking the username field, selecting the browser's existing saved-account autofill suggestion, and submitting the login form.

    The user reports that the same workflow worked on macOS yesterday. That macOS result is user-reported and was not independently reproduced during this Windows investigation.

    Observed on Windows

    • The official Chrome extension connection can enumerate the existing target tab and identify its current login-page URL.
    • The Computer Use plugin is enabled. The desktop app's configured updater reports up_to_date (release 26.1007.71326, build 20398).
    • Bundled @oai/sky: 0.7.7; Chrome: 155.0.8059.41.
    • The installed native Computer Use executable has a valid OpenAI Authenticode signature.
    • After resetting the JavaScript kernel and importing the official @oai/sky package again, sky.list_windows() succeeds.
    • Selecting the uniquely matching returned Chrome window with sky.get_window({ id, app }) succeeds.
    • A separate sky.get_window_state({ window, include_screenshot: true, include_text: true }) call then returns:

    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.

    No screenshot or accessibility state is returned, so the authorized native click and saved-account selection cannot proceed. Work stopped when instructed. Resetting the control session did not resolve the failure.

    Requested outcome

    Please fix the Windows URL-discovery/window-state path, or provide supported diagnostics and recovery steps identifying the failing stage. The expected acceptance check is successful native window-state acquisition, a physical-style click on the username field, selection of the existing autofill suggestion, and a verified successful login. Please preserve actual URL validation and existing security checks.

    This report is posted at the user's explicit request. Private site URLs, account identifiers, credentials, cookies, screenshots, local paths, and raw logs are omitted. The underlying internal root cause has not been established.

  20. markstd-007 commented on Oct 16, 2026

    @markstd-007

    zh-CN Windows 补充实测与分阶段诊断请求(2026-10-16)

    经电脑使用者明确授权发布。以下仅包含公开测试页、组件版本及脱敏结果,不包含账号、会话ID、私人路径、Cookie、Token、截图或原始日志。

    环境与组件

    • Windows build 10.0.22631;UI culture/system locale zh-CN。
    • 桌面运行版本报告 26.1007.21434 / build 13901;Windows应用包 26.1007.2314.0(分别列出,不混淆版本字段)。
    • Computer Use plugin 26.1007.21434;@oai/sky 0.7.6;Chrome 155.0.8059.40;官方Chrome扩展 1.26.901.11451。
    • 本轮核对原生 codex-computer-use.exe SHA-256:58fff5e2359aa09528f48ef37651b9013b204f99e2fd381f0d3d980cf9d2e88d;Authenticode Valid,OpenAI签名。与评论 Computer Use cannot determine Chrome URL on Windows, even on chrome://newtab/ #25271 (comment) 的组件一致。

    原生路径

    1. 用户打开独立Chrome测试窗口,显示 https://example.com/;另轮公开localhost HTTP静态页也曾出现相同失败。
    2. sky.list_windows()、按唯一返回窗口调用 get_window() 成功。
    3. activate_window() 请求成功返回。
    4. get_window_state({window,include_screenshot:true,include_text:false}) 仍返回无法可靠确认当前浏览器URL的停止错误;没有返回截图。按指令立即结束当轮,没有换通道继续被拒绝的操作。激活请求返回成功不等于已独立证明实际前台状态。

    对照与已排查条件

    • 系统正常关机后重新启动、同一专用配置重新打开,未解决上述原生错误。
    • 独立的官方Chrome扩展路径能读取同一配置的静态页URL/title/DOM,并曾完成公开localhost A→B导航及测试框输入回读;这不是原生路径验收成功。
    • 产品设置截图显示默认浏览为始终允许、完整CDP已开启;用户确认这些设置一直如此,未因本轮测试扩大权限。
    • 昨晚实际桌面日志:browser_use_availability_resolved available=true platform=Windows reason=available,以及原生管道startup ready;不匹配评论5600407297的wsl-disabled案例。当前启动桌面日志为空,不能据此保证当前内部状态。
    • 先前独立只读UIA元数据诊断发现Document数值类型50030、LocalizedControlType为“文档”;临时诊断进程UICulture设为en-US后仍中文。未读取地址栏值或网页内容,未做Windows显示语言A/B,未证明实际拒绝请求执行了哪条内部路径。
    • 为避免环境隐瞒:CUA JavaScript启动器此前做过子进程代理继承的最小修复,用于另一个nodeRepl.fetch request failed错误;未修改此处原生helper、URL校验或策略。扩展通信恢复不能证明原生故障恢复。

    请求
    请提供受支持的脱敏诊断,区分UIA初始化、Document识别、真实URL提取、目标窗口/活动标签关联和许可判定;阶段名称、数值类型和成功/失败原因码即可。若本版本存在本地化Document匹配缺陷,请提供签名修复及适用版本。须保留真实URL验证及对禁止/歧义目标的拒绝。

    没有应用评论中的二进制偏移补丁,没有改系统语言、安全判定或浏览器登录数据。本条由AI协助整理,根因仍未确认。

  21. Rebolvsk commented on Oct 18, 2026

    @Rebolvsk

    Windows Computer Use: error de verificación de URL en Chrome, Windows es-ES

    Fecha de comprobación: 18 de octubre de 2026.

    Entorno comprobado

    • ChatGPT/Codex desktop: 26.1013.40934, build 20770, canal prod.
    • Comprobación oficial de actualizaciones: up_to_date.
    • Windows: 10.0.26100.0; cultura de interfaz es-ES.
    • Chrome: 155.0.8059.82.
    • Componente oficial @oai/sky: 0.7.8.
    • Firma Authenticode del componente nativo: válida, OpenAI OpCo, LLC.
    • SHA-256 del componente: B6B0E4979B89E5C22DAB866F0974BC817C0D08CB359E1C2DD7BE3DCCB9E181EB.

    Resultado observado
    El componente oficial de Windows enumera Chrome y devuelve su ventana con list_apps y get_window. get_window_state se detiene antes de devolver captura o accesibilidad porque no puede determinar la URL con suficiente confianza para aplicar la política. El canal web mediante la extensión funciona por separado.

    El reinicio de la aplicación y la invocación explícita de Computer Use no resolvieron el problema. Los registros de arranque muestran native pipe ready y cua_repl ready. CUA configurado solo para browser es la separación de canales de esta versión; no demuestra una avería de todo el control nativo.

    Relación con incidencias existentes
    #25271
    #53026

    La causa relacionada con nombres de controles localizados es una hipótesis compatible con es-ES, no una causa demostrada en este PC. No se han obtenido los valores UIA nativos del elemento bloqueado y no se ha confirmado recuperación tras una reparación.

    Solicitud
    Solicitamos una actualización oficial firmada o un procedimiento de diagnóstico admitido que permita identificar la causa conservando la comprobación de URL y la política de acceso. No se han parcheado binarios ni modificado reglas de seguridad, permisos o credenciales durante esta investigación.

    Este informe no contiene contraseñas, códigos de verificación, datos de clientes, cuentas, URLs privadas ni registros completos.

  22. 28-m commented on Oct 22, 2026

    @28-m

    Additional Windows / Microsoft Edge reproduction on desktop package 26.1016.8120.0 with @oai/sky 0.7.12. The affected user authorized publication of this sanitized diagnostic summary.

    Failure

    At 2026-10-22 15:11:40 UTC, after sky.list_windows() successfully identified one MSEdge window, a cell calling sky.get_window(...) followed by sky.get_window_state({window, include_screenshot:false, include_text:true}) failed in approximately 0.4 seconds 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.

    No per-call success markers were present, so the exact failing method is uncertain. Browser operations stopped; no download occurred.

    Read-only diagnostic findings

    • Current configuration sets SKY_CUA_NATIVE_PIPE=1. Its pipe name matches the desktop startup-ready log at 14:58:05.452 UTC.
    • Installed client code selects native-pipe transport for this setting rather than the default helperCommand branch. This is static evidence, not historical request tracing.
    • codex-computer-use-swift.exe was running as a child of ChatGPT.exe. The traditional codex-computer-use.exe was not running at snapshot time; it exists and is referenced by turn-ended notification configuration. Both helper signatures were reported valid.
    • Resolver/notify records do not identify which executable performed URL detection for this request.
    • Desktop logs and a read-only diagnostic database query for 15:11:25–15:11:55 UTC contain no request-to-handler mapping, UIA getter HRESULT, control-type details, window validation result, or specific rejection stage.
    • No request-correlated timeout, disconnect, or protocol mismatch was found; missing diagnostics cannot exclude these possibilities.
    • A bundled chrome/plugin.json copyfile UNKNOWN warning at 15:11:42.240 UTC and ResizeObserver error at 15:11:46.220 UTC are not established as causal.

    The system is Chinese-language, but #53026 and #54532 cannot be assumed to explain this newer native-pipe installation. No executable, security check, transport configuration or system language was modified; no community patch was installed.

    Questions for maintainers

    1. Is this known for desktop package 26.1016.8120.0 / @oai/sky 0.7.12, and is there a verified fixed release?
    2. Which component handles browser URL detection over native-pipe in this version?
    3. Is there a supported diagnostic mode recording request method, handler identity, window match result, UIA HRESULT and rejection stage without collecting page content, browsing history, cookies or credentials?

    Usernames, full local paths, pipe identifiers, browser titles, page URLs and unrelated session data are omitted.

  23. hughdidit commented on Oct 24, 2026

    @hughdidit

    Additional Windows / Edge diagnostic: URL recovery followed by screenshot mismatch

    Adding user-authorized, sanitized observations that may be related to this issue; a shared root cause is not confirmed.

    Environment

    • Windows Codex app: 26.1021.31345
    • Windows app package: 26.1021.3705.0
    • @oai/sky: 0.7.13
    • @oai/cua-repl: 0.1.2

    Observed sequence

    1. In the unified REPL, native app/window inventory worked. Browser-extension tab and accessibility reads also worked.
    2. Native Edge binding initially stopped because it could not determine the browser URL confidently enough to enforce policy. Displaying the full URL did not immediately resolve this.
    3. After the user foregrounded a public Edge page, a fresh native binding returned the correct title, URL and accessibility tree without the URL-confidence error.
    4. However, getScreenshot returned two regions—a dark fragment and a ChatGPT window—rather than the bound Edge page. The captured content was current.
    5. The same screenshot/target mismatch repeated after the user restored a split, two-window arrangement.

    Expected: the screenshot should correspond to the bound Edge window/page, consistently with its returned title, URL and accessibility tree.

    The cause remains unknown; this does not establish an occlusion bug or prove that the screenshot mismatch has the same cause as the earlier URL-confidence failure. It does distinguish successful native metadata/accessibility reads from successful target capture.

    The agent performed no mouse/keyboard input, navigation or settings changes during these tests; window arrangement changes were made by the user. Policy stops were honored. Screenshots, private browsing content, raw logs, secrets and personal paths are omitted.

    Is there a supported, privacy-preserving diagnostic for checking the association between the bound window and the screenshot capture target in these versions?

  24. hahaha678 commented on Oct 28, 2026

    @hahaha678

    Additional reproduction on 26.1023.50603: native Edge URL-confidence failure on zh-CN single-language Windows

    Diagnostic date: 2026-10-28 (Asia/Shanghai)
    Submitted with the affected user's explicit authorization, with Codex assistance. This report describes observations from the diagnostic session; it does not claim a confirmed root cause or a successful native repair.

    Requested outcome

    Restore native Windows Computer Use for Edge without upgrading Windows, changing the Windows display language, substituting browser-extension automation, or weakening URL/access-policy verification.

    Environment verified during this conversation

    • Desktop update-check version: 26.1023.50603; build 22391; prod. The check returned up_to_date earlier in this session.
    • Installed Windows app package: OpenAI.Codex 26.1023.6123.0.
    • Bundled @oai/sky: 0.7.13.
    • Windows edition identifier: CoreCountrySpecific; display version 23H2; current UI culture zh-CN.
    • Windows Language & region explicitly displays that the license supports only one display language. Only zh-CN is installed. No display-language change or sign-out was performed.
    • Configuration selects SKY_CUA_NATIVE_PIPE=1. The configured Node command exists.
    • Available browser backend configuration contains chrome,iab,mcpapps.
    • No runCodexInWindowsSubsystemForLinux option was found in the inspected desktop state. Desktop logs report browser_use_availability_resolved available=true, reason=available, and native-pipe startup ready.
    • Both native components are resident children of the current desktop process and use the same runtime directory referenced by its startup records. No process or pipe identifiers are included here.

    Observed native behavior (reproduced earlier in this conversation)

    • sky.list_apps and sky.list_windows enumerate Edge.
    • sky.get_window returns the intended Edge window.
    • sky.activate_window returns success, but this alone is not proof of URL resolution or screenshot correctness.
    • sky.get_window_state against Edge repeatedly stops before usable page state is returned:
      "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."
    • A separate test after the user selected the full URL with Ctrl+L, with no explicit activation call, returned the same stop.
    • All terminal policy stops were honored. No native browser input followed a stop in that turn.
    • The user also observed Edge leaving its maximized state during control attempts. Causation and relation to the URL error remain unconfirmed.

    Non-browser controls that succeeded

    • Native text-only inspection of an existing File Explorer window returned a nonempty accessibility tree (7,742 characters at the recorded check).
    • Native Computer Use launched Windows Settings, activated its window, and navigated via observed screenshots to Time & language > Language & region.
    • The first Settings screenshot included a foreground occluding application; after activating Settings, the target settings page was visible. This is an observed capture limitation, not a proven cause of the Edge URL failure.
    • Separate Edge extension-backed browsing also worked and uploaded a file. This is explicitly not counted as native-tool recovery.

    Native component integrity checked in the latest investigation

    1. codex-computer-use.exe
      Size: 1,551,144 bytes
      Authenticode: Valid; signer OpenAI OpCo, LLC
      SHA256: BF47AF497D9B1C5FD6A917DCEBC5E6F5C465E02DE64DBFE40AC00DCE186E3B3A
    2. codex-computer-use-swift.exe
      Size: 56,534,320 bytes
      Authenticode: Valid; signer OpenAI OpCo, LLC
      SHA256: 2C470F32ACED06A89EEF363E6F07BE2073C316615503641DE6530D87954D2636

    Evidence limits

    • No request-to-handler trace identifies which resident native component performs URL detection for the failing request.
    • Valid signatures and matching runtime directories do not prove runtime correctness or that all installed and copied files are byte-for-byte identical.
    • No supported diagnostic returned the failed UIA getter, candidate-selection decision, URL extraction reason, or window-to-tab association result.
    • The specific failing call has not been established to use the localized-role predicate discussed in older community reports.
    • No runtime binary, URL predicate, permission setting, transport selection, proxy configuration, registry setting, or system language was modified. No community repair script was executed.

    Related public reports and applicability

    #25271
    Same generic native browser URL-confidence failure; multiple possible causes.
    #54532
    A user reports native recovery on @oai/sky 0.7.8 after an unsupported, version-specific binary predicate correction. The known repaired artifact does not match the components above; the report is not an official signed fix for this installation.
    #31221 (comment)
    A Chinese CoreCountrySpecific installation reports failure despite browser accessibility flags and tests of browser/process language adjustments.
    #25271 (comment)
    WSL-related availability recovery. This installation's observed available=true state does not match that case.

    Request for maintainers

    1. Identify the component handling URL detection over native-pipe in this release and a supported content-minimized diagnostic for its failure stage.
    2. Distinguish UIA initialization, numeric Document classification, actual URL value acquisition, window/tab identity, and policy rejection without collecting private page contents.
    3. If localization is causal, provide an officially signed correction using stable UIA control identifiers while preserving URL parsing, target/origin validation, and access-policy checks.
    4. State the first eligible release containing a verified correction, or a supported application-scoped configuration that works without changing the Windows display language.

    No private page URLs, account identifiers, personal paths, screenshots, credentials, or raw logs are included.

  25. chenzhouyue-netizen commented on Oct 29, 2026

    @chenzhouyue-netizen

    Additional reproduction on Chinese-language Windows, 2026-10-29

    Posting at the affected user's explicit request. This report contains sanitized observations only; the root cause is not confirmed.

    Environment verified locally:

    • Windows 25H2, build 26200.9711, edition identifier CoreCountrySpecific.
    • Windows UI culture: zh-CN; configured language: zh-Hans-CN.
    • Desktop app package: 26.1023.6621.0.
    • App / Computer Use bundle: 26.1023.51421.
    • @oai/sky: 0.7.13.
    • Google Chrome: 156.0.8078.48.

    Observed behavior:

    • sky.list_windows finds Chrome.
    • sky.get_window and sky.activate_window succeed.
    • sky.get_window_state({window, include_screenshot:false, include_text:true}) stops before returning usable page state 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."

    The same error occurred on a normal webpage and on a new-tab page. Restarting the desktop app and rebooting Windows did not resolve it. Screenshots supplied by the user show the Chrome extension installed and enabled, the desktop setting showing Manage, and the extension side panel signed in. These do not establish successful native URL resolution.

    Local diagnostic observations:

    • Desktop logs contain browser-use native pipe listening and computer-use native pipe startup ready.
    • The app reports browser_use_availability_resolved available=true, reason=available.
    • The inspected logs did not expose a request-correlated UIA classification, URL extraction, or window-to-tab association failure reason.
    • Startup readiness does not establish that an individual window-state request works.

    The localization hypothesis in #53026 may be relevant, but it has not been established as this machine's cause. No binary patches, display-language changes, or weakened access checks were used. Policy stops were honored.

    Could maintainers identify a verified signed fix for this environment, or a supported diagnostic that distinguishes UIA collection, Document classification, URL extraction and target-window association while preserving URL/access-policy verification?

    Business URLs, page contents, credentials, account identifiers, local usernames/paths, screenshots and raw logs are omitted.

  26. Beword2024 commented on Nov 2, 2026

    @Beword2024

    Additional Windows zh-CN reproduction on desktop package 26.1027.3384.0

    This is a sanitized diagnostic summary. Native recovery has NOT passed acceptance, and the root cause is not dynamically confirmed.

    Verified environment and observations (2026-11-02)

    • Windows UI culture: zh-CN.
    • Installed desktop package: 26.1027.3384.0.
    • Computer Use plugin: 26.1027.30824.
    • Chrome: 156.0.8078.76.
    • Chrome native and web accessibility were enabled; the native helper appeared among UIA clients.
    • The installed native helpers had valid signatures, and checked runtime files matched the installed package.
    • After a full computer reboot, the ordinary browser interface successfully read a public HTTPS page, including its Chinese content.
    • A normal native getApp call still stopped after the target Chrome window was restored and activated: "could not determine the current browser URL on Windows with enough confidence to enforce policy".
    • Browser-interface success is a separate result; it does not establish native recovery or justify bypassing the native stop.

    Candidate localization defect; not proof of this request's unique cause
    Read-only static inspection of the current native helper identified a path that obtains CachedLocalizedControlType, retains a nonempty result rather than falling back to a stable ControlType identifier, and later compares that string to English document before URL extraction. A nonempty localized document label can therefore miss that branch.

    We did not capture the failed document node's actual type string or trace the exact backend handling the failed request. Please confirm whether this path is involved in this release; the static finding must not be presented as runtime proof.

    Requested maintainer action

    1. Identify the native URL-resolution owner/component for this package and confirm whether a signed fixed release is available.
    2. Provide a supported fix or a privacy-preserving diagnostic procedure that records handler identity, UIA control type/result and rejection stage without collecting page content or browsing data.
    3. A fix should recognize the actual public HTTPS URL through the normal native interface on localized Windows while preserving all URL/access-policy checks and correct window targeting.

    No binary patch, security-check modification, permission expansion, language change, or further restart was performed for this finding. No screenshots, raw logs, private URLs, account data, local usernames/paths, executable files or proprietary disassembly are attached.

  27. MaestroMephisto commented on Nov 7, 2026

    @MaestroMephisto

    Additional data point: Windows 11 with display language Italian (it-IT), Codex desktop with the computer-use plugin 26.1027.30824 (cua-node runtime 0.0.35), Microsoft Edge. The stop happens on every Edge page, including https://example.com in a normal, non-minimized window.

    Reading the page element with UI Automation from PowerShell:

    • Edge's RootWebArea element has ControlType.Document, and its ValuePattern contains the page URL.
    • Its LocalizedControlType is documento, not document.
    • It stays documento when the client process sets its preferred UI language to en-US (the client-side window element switches to window), when Edge runs with an English UI in a separate profile, and when the page sets aria-roledescription on <html> or <body>.

    So the localized name is produced inside the browser process from the Windows display language, and no browser or page setting changes it. Matching the control type ID (UIA_DocumentControlTypeId, 50030) instead of the localized name should fix URL detection on all non-English Windows installations.

  28. KallasLima commented on Nov 10, 2026

    @KallasLima

    Working workaround: prevent the Windows browser URL failure from stopping Codex

    The could not determine the current browser URL on Windows failure forces Codex to stop work and end the turn. Once it happens, Codex cannot try another tool or switch to @Browser or @Chrome in that turn, even when those tools could finish the task.

    This hook prevents the known failing browser call from running in the first place. It intercepts native browser calls before execution and tells Codex to use @Browser or @Chrome instead. Codex can respond to this hook denial by choosing another tool, so the task can continue in the same turn.

    Verified: native Chrome call blocked by the hook → Codex switched to @Browser → example.com loaded → Wikipedia loaded in the same tab.

    To use it: save the two files below, add the generated hook configuration, then trust it in Settings > Hooks. Requires Python and working browser tools.

    Install the workaround on Windows

    Use a native Windows Codex session with PowerShell, Python 3.10+, local command hooks, and working browser tools.

    1. Save the two code blocks below as computer_use_browser_guard.py and make_hook_config.py in one folder and open PowerShell there.
    2. Review the source, then copy the hook to your effective Codex home and generate its configuration:
    $guardHome = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $env:USERPROFILE '.codex' }
    $guardDir = Join-Path $guardHome 'hooks'
    $guardFile = Join-Path $guardDir 'computer_use_browser_guard.py'
    New-Item -ItemType Directory -Path $guardDir -Force | Out-Null
    if (Test-Path -LiteralPath $guardFile) { throw 'A browser guard already exists. Review it before replacing it.' }
    Copy-Item -LiteralPath '.\computer_use_browser_guard.py' -Destination $guardFile -ErrorAction Stop
    py -3 .\make_hook_config.py --script $guardFile
    1. Back up your existing hooks.json in the effective Codex home. Append the printed matcher group to its hooks.PreToolUse array, preserving existing entries. If the file is absent, save the whole printed object there as UTF-8. Use one registration only if you already configure hooks inline in config.toml.
    2. In Settings > Hooks, review and trust/enable the hook, then start a fresh chat. My existing chat cached an earlier enable/disable setting. If the Hooks screen shows nothing, adding and selecting a local project folder made user-level hooks visible in my setup.
    3. Verify both parts: native Chrome selection should be denied by PreToolUse, then Codex should open a new browser-tool tab and complete example.com → Wikipedia. Ask it to preserve existing tabs. A denial alone only proves interception. If the native URL-confidence stop appears, stop native browser actions and check why this path was not intercepted.

    How it works: the hook returns a PreToolUse denial with instructions to use the in-app browser or Chrome browser tools. The model follows that redirect; the hook itself never executes a tool. The helper only prints configuration JSON, and both scripts use Python's standard library.

    Scope: this routes around the native browser failure; native URL detection still needs a product fix. It uses conservative source matching. Ambiguous native window handles are blocked too; native desktop operations should select their non-browser app explicitly in the same code cell. Dynamic code and tool paths without hook events are outside its coverage. It does not replace URL/access-policy checks.

    The hook writes a small SQLite file beside its script, storing API alias names keyed by a hashed session ID. The directory must be writable. It makes no network/UI calls and does not intentionally store browsing content or transcripts. Hook launch failures and timeouts can prevent interception.

    To disable it, turn off this handler and start a fresh chat. To remove it, delete only its matcher group, script and adjacent computer_use_browser_guard.sqlite3 file, preserving other hooks.

    Official hook configuration and trust documentation.

    computer_use_browser_guard.py
    """Current local guardrail: native Computer Use is for desktop apps, not browsers.
    
    PreToolUse JSON in/out; no UI, network, transcript reads, or tool execution.
    Only native API identifier names are retained, scoped by a hashed session id.
    This is a conservative source check, not a JavaScript interpreter/security sandbox.
    """
    
    import hashlib
    import json
    import re
    import sqlite3
    import sys
    from contextlib import closing
    from pathlib import Path
    
    
    REDIRECT = (
        "Computer Use browser operation blocked before execution. Native Computer Use "
        "can fail browser URL checking. Use the in-app browser by default. Use the Chrome "
        "browser plugin only when there is a specific reason to use Chrome. If those "
        "browser tools are unavailable, report that blocker; do not fall back to native "
        "Computer Use for the browser."
    )
    UNKNOWN = (
        "Native Computer Use target could not be identified as a desktop app. "
        + REDIRECT
        + " For a desktop operation, explicitly select its non-browser app in the same "
        "code call instead of reusing an unidentified window handle."
    )
    STATE = Path(__file__).with_name("computer_use_browser_guard.sqlite3")
    IDENT = r"[A-Za-z_$][\w$]*"
    LITERALS = re.compile(
        r"//[^\n]*|/\*[\s\S]*?\*/|'(?:\\.|[^'\\])*'|"
        r'"(?:\\.|[^"\\])*"|`(?:\\.|[^`\\])*`'
    )
    BROWSER = re.compile(
        r"\b(?:chrome|chromium|msedge|edge|microsoft\s*edge|google\s*chrome|"
        r"firefox|brave|vivaldi|opera|safari|browser|iexplore|internet\s*explorer|arc)\b",
        re.I,
    )
    DISTINCTIVE = re.compile(
        r"\.\s*(?:get_window|get_window_state|getApp|get_app|"
        r"get_app_state|activate_app|launch_app|open_app)\s*\("
    )
    TARGET_METHODS = {
        "get_window", "get_window_state", "getApp", "get_app", "get_app_state",
        "activate_app", "launch_app", "open_app", "click", "double_click",
        "right_click", "type_text", "type", "press_key", "keypress", "scroll",
        "drag", "move", "screenshot", "get_screenshot", "get_state", "focus",
        "set_value", "select", "perform_action", "mouse", "keyboard",
    }
    DISCOVERY = {"list_apps", "list_windows", "get_os_info", "get_info"}
    
    
    def deny(reason):
        return {"hookSpecificOutput": {
            "hookEventName": "PreToolUse",
            "permissionDecision": "deny",
            "permissionDecisionReason": reason,
        }}
    
    
    def code_view(code):
        """Remove comments and mask literals, preserving positions and literal values."""
        values = []
        def replace(match):
            value = match.group()
            if value.startswith(("//", "/*")):
                return " " * len(value)
            values.append(value[1:-1])
            return " " * len(value)
        return LITERALS.sub(replace, code), values
    
    
    def sources(tool, args):
        name = tool.lower()
        if not re.search(r"node_repl.*(?:js|execute)$|cua_repl|computer_use", name):
            # Outer code-mode wrapper: inspect literal code arguments; the inner MCP
            # call is also independently eligible for the same PreToolUse guard.
            if name not in {"exec", "functions.exec", "functions__exec"}:
                return []
            raw = args if isinstance(args, str) else args.get("code", "")
            if not isinstance(raw, str) or not re.search(r"node_repl.*(?:js|execute)|cua_repl|computer_use", raw):
                return []
            result = []
            for match in re.finditer(r"\bcode\s*:\s*('(?:\\.|[^'\\])*'|\"(?:\\.|[^\"\\])*\"|`(?:\\.|[^`\\])*`)", raw):
                literal = match.group(1)
                if literal.startswith('"'):
                    try:
                        result.append(json.loads(literal))
                        continue
                    except ValueError:
                        pass
                result.append(literal[1:-1].replace("\\n", "\n").replace("\\'", "'").replace('\\"', '"'))
            return result
        if isinstance(args, str):
            return [args]
        return [args[key] for key in ("code", "script", "expression") if isinstance(args.get(key), str)]
    
    
    def evaluate(code, aliases):
        code = LITERALS.sub(lambda match: " " * len(match.group()) if match.group().startswith(("//", "/*")) else match.group(), code)
        masked, literals = code_view(code)
        visible = masked + "\n" + "\n".join(literals)
        native_import = "@oai/sky" in literals
        roots = set(aliases)
        roots.update(re.findall(r"(?<![\w$.])(sky\w*|cua)\s*\.", masked))
        if native_import:
            # Native SDK imports, including destructuring and renamed bindings.
            roots.update(re.findall(r"(?:var|let|const)\s+(" + IDENT + r")\s*=\s*[^;\n]*import\s*\(", masked))
            for original, renamed in re.findall(r"\b(sky)\s*(?:as\s+(" + IDENT + r"))?", masked):
                roots.add(renamed or original)
            roots.update(re.findall(r"\bsky\s*:\s*(" + IDENT + r")", masked))
        for root in tuple(roots):
            roots.update(re.findall(r"(?:var|let|const)\s+(" + IDENT + r")\s*=\s*" + re.escape(root) + r"\s*[;\n]", masked + ";"))
        calls = re.findall(r"(?<![\w$.])(" + IDENT + r")\s*\.\s*(" + IDENT + r")\s*\(", masked)
        native_calls = [(root, method) for root, method in calls if root in roots]
        targeted = bool(DISTINCTIVE.search(masked)) or any(method in TARGET_METHODS for _, method in native_calls)
        if native_import and any(method in TARGET_METHODS for _, method in calls):
            targeted = True
        # A legacy native getApp result is itself a native-control object.
        if targeted:
            roots.update(re.findall(r"(?:var|let|const)\s+(" + IDENT + r")\s*=\s*(?:await\s+)?" + IDENT + r"\s*\.\s*(?:getApp|get_window)\s*\(", masked))
        if not targeted:
            return {}, roots
        if BROWSER.search(visible):
            return deny(REDIRECT), roots
        # Require a literal app selector rather than guessing from a window id or
        # arbitrary variable. Handle-only calls must reselect the desktop app.
        explicit_app = re.search(r"\b(?:app|appId|application|bundleId)\s*:\s*(['\"])([^'\"]+)\1", code)
        legacy_app = re.search(r"\.\s*getApp\s*\(\s*(['\"])([^'\"]+)\1", code)
        selected_app = re.search(r"\.\s*(?:id|displayName|name)\s*={2,3}\s*(['\"])([^'\"]+)\1", code)
        selector = explicit_app or legacy_app or selected_app
        if selector and selector.group(2).strip() and not BROWSER.search(selector.group(2)):
            return {}, roots
        # Discovery alone is safe, even if its results are filtered for Chrome.
        if not DISTINCTIVE.search(masked) and all(method in DISCOVERY for _, method in native_calls):
            return {}, roots
        return deny(UNKNOWN), roots
    
    
    def handle(event, state_path=STATE):
        if event.get("hook_event_name") != "PreToolUse":
            return {}
        tool = str(event.get("tool_name", ""))
        args = event.get("tool_input", {})
        parts = sources(tool, args)
        if re.search(r"computer_use", tool, re.I) and not parts:
            # Older native plugin tools can supply structured app/window arguments.
            if re.search(r"list_apps|list_windows", tool, re.I):
                return {}
            if BROWSER.search(json.dumps(args)):
                return deny(REDIRECT)
            app = next((args.get(key) for key in ("app", "appId", "application", "bundleId") if isinstance(args, dict) and isinstance(args.get(key), str)), None)
            return {} if app and app.strip() else deny(UNKNOWN)
        if not parts:
            return {}
        session = hashlib.sha256(str(event.get("session_id", "unknown")).encode()).hexdigest()
        with closing(sqlite3.connect(str(state_path), timeout=2)) as db:
            db.execute("CREATE TABLE IF NOT EXISTS native_alias (session TEXT, alias TEXT, PRIMARY KEY(session,alias))")
            aliases = {row[0] for row in db.execute("SELECT alias FROM native_alias WHERE session=?", (session,))}
            for part in parts:
                result, discovered = evaluate(part, aliases)
                if result:
                    return result
                aliases.update(discovered)
            db.executemany("INSERT OR IGNORE INTO native_alias VALUES (?,?)", [(session, alias) for alias in aliases])
            db.commit()
        return {}
    
    
    if __name__ == "__main__":
        try:
            output = handle(json.load(sys.stdin))
        except Exception:
            output = deny("Computer Use browser guard could not verify this call. Repair the local hook before using native Computer Use. " + REDIRECT)
        print(json.dumps(output, ensure_ascii=False))
    make_hook_config.py
    """Print a Windows PowerShell hook-config snippet. Never edits Codex settings."""
    
    import argparse
    import json
    import os
    from pathlib import Path
    import sys
    
    
    MATCHER = r"node_repl|cua_repl|computer_use|(?:^|[._])exec$"
    
    
    def ps_literal(value):
        return "'" + str(value).replace("'", "''") + "'"
    
    
    def make_config(script, python_executable):
        command = f"& {ps_literal(python_executable)} -X utf8 {ps_literal(script)}"
        return {"hooks": {"PreToolUse": [{
            "matcher": MATCHER,
            "hooks": [{
                "type": "command",
                "command": command,
                "timeout": 5,
                "statusMessage": "Checking native browser route",
            }],
        }]}}
    
    
    def main():
        parser = argparse.ArgumentParser(description=__doc__)
        parser.add_argument('--script', required=True, type=Path,
                            help='Absolute path to the installed hook script.')
        args = parser.parse_args()
        if os.name != 'nt':
            parser.error('This registration helper targets native Windows PowerShell sessions.')
        if not args.script.is_absolute() or not args.script.is_file():
            parser.error('--script must point to an existing absolute script path.')
        if args.script.name != 'computer_use_browser_guard.py':
            parser.error('--script must point to computer_use_browser_guard.py.')
        print(json.dumps(make_config(args.script.resolve(), Path(sys.executable).resolve()), indent=2))
    
    
    if __name__ == '__main__':
        main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbugcomputer-usewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions