Repository navigation
Description
Summary
On native Windows, browser automation and Computer Use cannot initialize after desktop app updates. The user reports approximately two days of blocked work despite restarting/updating the app and keeping the authenticated Chrome window open.
Current versions
- Desktop app: 26.1021.31345
- Build: 21828
- Release channel: prod
- The app update checker reports
up_to_dateon 2026-10-25. - Installed Chrome extension versions reported by the bundled diagnostic: 1.26.1015.10801_0 and 1.26.1020.11845_0.
Read-only diagnostics
The bundled Chrome extension diagnostic reports installed=true and enabled=true. The native-host manifest diagnostic reports correct=true. The failure occurs before browser inventory or any authenticated tab is returned.
Supported Computer Use initialization:
if (!globalThis.sky) {
const { sky } = await import("@oai/sky");
globalThis.sky = sky;
}Result:
node_repl kernel exited unexpectedly
kernel_status: exited(code=1)
kernel_stderr_tail: windows sandbox failed: permission path cannot be represented losslessly
reason: stdout_eof
The supported browser inventory call await cua.getState() also fails at startup, sometimes with:
trusted Node process exited unexpectedly; kernel reset, rerun your request
Ordinary default-sandbox PowerShell execution of Get-Location in a native D-drive project fails with:
Failed to create unified exec process: helper_unknown_error: setup refresh had errors
Approved elevated read-only shell commands do work. Local builds and isolated automated app tests also work. This is therefore not evidence that Chrome login, project contents or the underlying filesystem are broken.
Impact and expected behaviour
The agent cannot reach the user's already authenticated Chrome tabs to administer hosting or back up a database. A separate developer-browser profile is not an adequate substitute because it lacks the user's sessions. Please restore initialization of the supported Chrome/Computer Use runtime without requiring browser-profile recreation or repeated logins.
Related report and uncertainty
Related: #48443, which includes the same permission serialization error and native Windows observations. No WSL transition has been established as a trigger in this environment. The exact rejected permission entry and whether this is the identical underlying defect remain unknown.
Please add actionable diagnostics identifying the rejected path/permission entry and provide a supported recovery procedure. No browser cookies, passwords, session URLs, private project content, or raw session logs are attached.
Observed/reproduced: 2026-10-25, Europe/Belgrade.
Activity
nebu0308 commentedon Oct 27, 2026
Additional native Windows reproduction: drive-root write permission persists in fresh chats
I am experiencing the same Computer Use initialization failure on native Windows 11.
Environment
26.1021.31345, Build218280.0.35(20261022031940-486a6d3fcc3f)24.22.1-cua.1workspace-writeconfig.toml:writable_roots = []Observed failure
Computer Use initialization fails before any screen capture or browser interaction:
The environment's effective permission profile contains an explicit write grant for the Windows drive root
D:\, even though the current shared configuration haswritable_roots = [].I performed one approved
node_replsession reset followed by exactly one official initialization attempt. The reset succeeded, but initialization failed again with the same error.I also created a completely new Codex chat under the existing project. Read-only inspection confirmed that the new chat's effective permissions still include
D:\withaccess="write".Therefore, creating a new chat does not avoid the broad permission grant in this environment. The source of that grant has not yet been identified.
Relevant comparison
An earlier successful Computer Use session used a specific workspace subdirectory and did not report a drive-root-wide permission grant. The failing session includes
D:\as an additional writable root.This is consistent with the Windows drive-root serialization findings discussed in #48443. However, I have not performed an exact single-variable A/B test on the current failing runtime, so I cannot conclusively identify the rejected permission entry.
Requested assistance
Could the maintainers provide a supported method to inspect and revoke a drive-root-wide permission from the effective session permission profile without directly editing internal SQLite databases or JSON records?
It would also help if MXC initialization reported the exact rejected permission entry and its normalized representation.
Ideally, a drive-root path would be handled correctly or rejected when configuring permissions rather than preventing Computer Use from starting.
No filesystem permissions, application settings, project files, or internal databases were modified during this investigation. No repeated initialization attempts were performed.
I am keeping the affected Computer Use workflow paused pending a supported recovery procedure.
mrsigx commentedon Oct 30, 2026
Single-variable A/B on native Windows: a drive-root project folder is the trigger
This follows up on the earlier comment here asking for an exact A/B test, and on the drive-root reports in #49370 and #48443.
Environment
OpenAI.Codex_26.1027.3384.0; running corecodex-cli 0.166.0-alpha.5.1Windows sandbox selection: mxc(althoughconfig.tomlsets[windows] sandbox = "elevated")workspace-write, managed restricted profile)Test. Each case is a fresh chat whose only request is one
node_replcall,nodeRepl.write('JS_REPL_OK'). Nothing else changed between cases: no settings, permissions, or app restarts.N:\(drive root) plus five unrelated folders that no longer existfailed to prepare MXC sandbox: permission path cannot be represented losslessly(the first call showstrusted Node process exited unexpectedly; kernel reset, and the rerun shows the lossless error)N:\only (a second project with that single folder)N:\<subfolder>only (a new project)JS_REPL_OK%USERPROFILE%\Documents\Codex\<date>\<slug>folder)JS_REPL_OKLocal history matches. Every
node_repl/cua_replcode call underworkspace-writefrom 2026-09-27 to 2026-10-29 hadN:\as a workspace root, and all of them failed: 10 with this error, 3 with other errors. In the same period, 1,444 calls under full access completed. Two of the failures (2026-09-27 and 2026-10-04) hadN:\with no other user folders, so the missing folders are not required.Where the drive-root grant comes from (answering the earlier question): the project's folder list. Every chat opened in a project gets each of the project's folders as a writable root, so a project whose folder is a drive root gives every new chat
X:\withaccess = "write". Starting a chat with no project, or opening a project rooted at a subfolder, avoids it with no settings change.Code location (hypothesis about the mechanism). The message comes from
raw_path_from_uriincodex-rs/protocol/src/permissions.rs(PathUri→ legacy string →PathUrimust round-trip). The MXC launcher hits it while serializingMxcCommand.permissions(codex-rs/mxc-sandbox/src/lib.rs,create_command_args). The drive root itself serializes fine into the session'sturn_context. So the rejected entry is probably derived from the drive root during MXC policy preparation, for example protected subpaths or materialized entries, rather than beingN:\itself. Reporting the rejected entry in the error would confirm this.Requests
permission path cannot be represented losslesslyerror.Workaround. For browser or Computer Use work, start the chat with no project, or in a project rooted at a subfolder, never at a drive root. No permissions, ACLs, sandbox settings, or internal databases were changed during this investigation.
cy0341-design commentedon Nov 5, 2026
Additional native Windows reproduction, 2026-11-05.
Minimal reproduction using the supported node_repl tool, even without importing @oai/sky:
Result:
The error persists after a full app restart and explicit JavaScript kernel resets. Both the supported @oai/sky initialization and cua.getState() fail before app inventory. As a control, the bundled CLI's sandbox command using the default :workspace profile can run a Windows version check with a C-drive subdirectory or the D-drive root as cwd (launched via the separately approved shell execution path). This narrows the observed failure to the computer-use JavaScript kernel startup boundary; it does not identify the rejected permission entry or establish the exact underlying cause.
Please provide a supported recovery/update path and diagnostics naming the rejected permission entry. No sandbox/security settings were weakened, and no private paths, session transcripts, application contents, or credentials are attached. The affected user explicitly authorized this error report.
yohecaceres commentedon Nov 8, 2026
Windows: CUA/node_repl fails before browser discovery with “permission path cannot be represented losslessly”
Problem
The built-in computer/browser controller cannot start its kernel in the Windows desktop app. It fails before enumerating browsers or tabs. The problem is reproducible across two chats in the same project and persists after restarting both the app and the computer.
This is not a claim that every project or Windows installation is affected. The particular permission path causing the failure is still unknown.
Environment
windows.sandbox = "unelevated".Reproduction
Actual result
One attempt instead returned
trusted Node process exited unexpectedly; kernel reset, rerun your request; retrying reproduced the MXC error.Current local diagnostics attribute the stderr message to the bundled MCP process at this anonymized location:
No browsers or tabs are enumerated. Website login is not reached.
Expected result
The controller starts and enumerates authorized surfaces. If a permission path is unsupported, diagnostics identify the offending path or at least its rule/category so it can be corrected without disabling isolation.
Checks performed
Output:
MXC_OK; exit code:0.features.prefer_mxc = falseuser setting did not resolve CUA startup after restarting the app. That temporary setting has been removed; recovery copies were retained.requirements.tomlwas created, no global MXC prohibition was added, and no legacy elevated setup was performed.config/readandconfigRequirements/readcalls through a fresh app-server using the same bundled executable and Codex home showed the temporary preference andunelevated, withrequirements = null. This was not a read of the active CUA child process policy, and cannot rule out app-specific selection or other runtime controls..sandbox/sandbox.logis old and contains no matching failure. The current local Codex log store does contain the bundled CUA process stderr quoted above. The full store is not attached because it includes unrelated private data.Request
Please identify which permission-path conversion fails in CUA/node_repl, how to obtain the effective policy and relevant logs for that specific child process, and whether this is a known Windows controller issue. A fix or diagnostic procedure preserving isolation would be preferable to a machine-wide MXC prohibition.