Skip to content

[Windows app] Resumed task omits cua_repl after restart while a new @Chrome task works #46782

Open

Description

@liujinbao546

What version of the Codex App are you using?

Windows MSIX package version: 26.915.4065.0 (read from installed-package metadata, not the About dialog).
Bundled browser/computer-use plugin release: 26.915.31945.

What subscription do you have?

Signed in with ChatGPT. Exact subscription tier was not collected for this report.

What platform is your computer?

Microsoft Windows NT 10.0.19045.0, x64.
Google Chrome 153.0.8010.48; official Chrome extension 1.26.901.11451.

What issue are you seeing?

An existing local task (Thread A) cannot access the bundled cua_repl tool after a desktop-app restart, while a newly created local @Chrome task (Thread B) in the same running desktop application can access it and successfully read/control the same signed-in local Chrome session.

This is more specific than a browser being closed or an extension failing to connect:

  • Thread A exposes node_repl, codex_apps, and codex_app, but no callable cua_repl/js. Re-mentioning @Chrome and sharing a Chrome tab in A did not restore that tool.
  • Thread B exposes all four services, including cua_repl. Its actual cua.getState() / cua.getTab() calls and subsequent browser UI operations succeed.
  • Desktop logs correlate these differences with the individual thread IDs. The two tasks use the same local host and desktop-app process/session.

The native @oai/sky route in A can discover/activate Chrome, but attempting to read the Chrome window 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.

That route was stopped as instructed. This report does not request bypassing URL verification. The missing bundled browser tool and the native URL-verification failure are separate observations; their relationship has not been established.

What steps can reproduce the bug?

Observed sequence on September 20, 2026; a deterministic minimal reproduction from a clean install is not yet established:

  1. Have a long-running local task A. Logs from an earlier desktop-app process show cua_repl reaching ready for A.
  2. Restart the desktop application and resume A.
  3. Ask A to use Chrome, including an explicit @Chrome mention and a shared tab.
  4. Observe that A lacks a callable cua_repl tool and its MCP startup events list only the other three services.
  5. Create a fresh local task B with @Chrome, without changing/reinstalling Chrome or its extension between A and B.
  6. B loads cua_repl and successfully operates Chrome, while A still lacks it.

Sanitized diagnostic evidence

All times below are UTC on 2026-09-20. Thread identifiers are replaced with A/B. These are summaries of matching log events, not complete raw log lines.

Time Desktop process Task Observation
08:02:08.988, 08:02:31.295, 08:10:03.452 Earlier process A server=cua_repl status=ready error=null failureReason=null
08:15:38.820–822 After restart A Startup events for codex_apps, node_repl, codex_app; no matching cua_repl event
08:56:43.206 Same post-restart process B server=cua_repl status=starting
08:56:43.378 Same post-restart process B server=cua_repl status=ready error=null failureReason=null
08:59:37.010 Same post-restart process A Three services ready; cua_repl absent
08:59:37.136–137 Same post-restart process B All four services ready, including cua_repl
09:00:08 and 09:03:09 Same post-restart process A Same three-service pattern

Earlier ready events establish that A had loaded the service, not that its earlier browser operations succeeded. B's successful operations are independently visible in its tool results.

Additional read-only checks:

  • Official Chrome extension is installed and enabled.
  • Native messaging host registration, extension origin, and executable target agree; native host has a valid OpenAI signature.
  • No related blocking policy was found in the ordinary user/machine Chrome policy locations checked. This is not an exhaustive security-software audit.
  • Browser, Chrome, Computer Use, and unified Computer Use plugins are enabled globally.
  • A global node_repl entry with browser/sky trusted services is present and is available to both tasks. Its causal relevance is unknown; this is not a pristine default configuration.
  • Runtime-path resolution events for A and B select the same currently installed Codex and CUA runtime executables. Different historical session-creation version metadata is not evidence that A is currently running an older binary.
  • No project-level configuration override was found in the checked task directories.

What is the expected behavior?

Resuming an existing task and explicitly invoking an enabled Chrome plugin should make its supported browser tools available, as in a new task. If a task's capability binding cannot be refreshed, the app should show an actionable explanation and a supported recovery path that preserves task history.

Please investigate why cua_repl is omitted for one resumed task but loaded for a new task in the same app session, and advise how to refresh/recover an affected task. The underlying cause (task binding, lifecycle, configuration, or another component) is not confirmed.

Related reports

This public report excludes private URLs/page content, account identifiers, task IDs, usernames, absolute local paths, pipe addresses, screenshots, and complete raw logs.

Activity

  1. added
    bug
    app
    windows-os
    session
    mcp
    on Sep 20, 2026
  2. jelov219au commented on Oct 5, 2026

    @jelov219au

    Additional observation from an existing Windows desktop conversation, October 5–6, 2026.

    The affected conversation previously lacked callable cua_repl/js and reset tools, including after an explicit human @chrome mention. Other existing Instagram/YouTube conversations successfully used cua_repl on October 5.

    Unlike the original report's missing startup event, a read-only diagnostic found an app log event for the affected conversation at 2026-10-05T00:04:46.487Z reporting server=cua_repl status=ready error=null failureReason=null, while the conversation's model-visible tool inventory did not expose cua_repl. This suggests a service-ready versus tool-exposure mismatch, but the root cause is unconfirmed.

    Additional checks:

    • Chrome extension installed and enabled; bundled diagnostic exited with code 0.
    • Native messaging manifest/registry and expected origins matched; bundled diagnostic reported correct=true.
    • Bundled browser/computer-use release changed from 26.930.21537 to 26.930.41038 after an update. These are plugin release numbers, not a measured desktop About/MSIX version.
    • The omission was still observed after the update.
    • Native fallback could discover Chrome windows, but reading the window stopped because the current browser URL could not be determined with enough confidence to enforce policy. Work stopped as instructed; no bypass was attempted.

    Important latest change: in the current October 6 response, cua_repl/js and reset are now present in the model-visible tool inventory. Browser operations have not yet been retested, so this is evidence of tool exposure returning, not confirmation of end-to-end recovery. No causal recovery step or deterministic clean-install reproduction has been established.

    Please investigate how a ready browser service can remain unavailable to an existing conversation and whether there is a supported capability-refresh/recovery procedure that preserves history.

    This update deliberately excludes private URLs, social-account data, comments, conversation IDs, usernames, absolute paths, screenshots, and raw logs.

  3. rbravo816-cmd commented on Oct 31, 2026

    @rbravo816-cmd

    Additional reproduction on Windows, October 31, 2026: an existing Codex conversation has no callable in-app browser tools even though its cua_repl server reports ready, while another conversation in the same desktop app can actually control the in-app browser (iab).

    Environment:

    • Windows: Microsoft Windows NT 10.0.26300.0 x64.
    • App-managed browser/Computer Use runtime release and reported BROWSER_USE_CODEX_APP_VERSION: 26.1027.30824 (not independently read from the About dialog).
    • Model in both conversations: gpt-6.1-sol.
    • Browser, unified-computer-use and computer-use are enabled.

    Observed behavior:

    1. Resume an existing conversation A with an attached recurring automation and ask it to use the integrated browser.
    2. A receives the active-tab URL as ambient context, but reports no callable cua_repl/browser-control tools; node_repl remains available.
    3. In conversation B, actual mcp__cua_repl calls succeed: cua.getState(), opening an iab tab, and reading the authenticated web app's visible accessibility state. This is an end-to-end browser test, not merely a ready-server event.
    4. Fully quit and reopen the desktop app, then return to the same conversation A. Its missing-tool condition persists.

    Sanitized diagnostic evidence (UTC, 2026-10-31; identifiers replaced with A/B):

    task A: 17:54:59.905Z server=cua_repl status=ready error=null failureReason=null
    task A: 18:01:53.448Z server=cua_repl status=ready error=null failureReason=null
    After full application restart:
    task A: 18:17:53.952Z server=cua_repl status=ready error=null failureReason=null
    task B: 18:18:13.464Z server=cua_repl status=ready error=null failureReason=null
    18:19:43.232Z update check: hasUpdate=false source=store

    Installation checks:

    • The app-managed unified-computer-use manifest registers cua_repl using @oai/cua-repl and @oai/browser-desktop/service, with iab enabled.
    • Its Browser and Chrome instruction values are non-empty. Empty instruction variables found in a separate legacy node_repl configuration do not establish causation.
    • The Browser manifest references a skills directory absent from its materialized package, but the same installation works in B, so this is only an observation, not a confirmed cause.
    • Navigation permission for the affected site is allowed. No security controls were bypassed or broadened.

    Impact: the original conversation cannot continue its browser-dependent weekly workflow. Replacing it with a new chat would not satisfy the need to preserve its history and attached automation. The automation is still active and linked to A; it was not recreated or changed.

    Please investigate the discrepancy between a ready cua_repl service and the model-visible tool inventory for an existing conversation. Is there a supported way to refresh that conversation's tool bindings without recreating it or deleting history, browser sign-in state, or automations? Root cause is not confirmed.

    Private URLs, page contents, account identifiers, conversation IDs, local usernames/paths, pipe addresses, and full logs are intentionally omitted. This reproduction specifically verifies iab, rather than using native Chrome control as a substitute. Previous native Chrome inspection was stopped by URL-confidence enforcement; that separate safety check was respected. No recovery is claimed. Restarts and the instruction-only helper plugin did not restore the affected conversation's tools.

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

    appbrowserbugmcpsessionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions