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
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    sessionIssues involving session (thread) management, resuming, forking, naming, archiving
    mcpIssues related to the use of model context protocol (MCP) servers
    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.

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

    appIssues related to the Codex desktop appbrowserbugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverssessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions