macOS: ChatGPT Work Browser fails with CODEX_CLI_PATH error after reinstall
ChatGPT Work cannot read an open browser tab on macOS. The same error persists after replacing the desktop app with a fresh download.
Environment ChatGPT desktop 26.1117.41037, build 29803 macOS 26.6.2, Apple Silicon (M5)
Steps to reproduce
- Open a Work conversation in the desktop app.
- Open a page in the built-in browser.
- Ask @Browser to read the title of the open tab.
Expected: Work reads the live tab title. Actual: The tab cannot be read. A minimal managed-execution start test returns: Managed execution requires a usable CODEX_CLI_PATH
Diagnostics after reinstall
- The documented compatibility path /Applications/Codex.app/Contents/Resources/codex is absent.
- At 2026-11-23 11:17:18.751 UTC, the app logged browser_use_runtime_paths_selected with codexCliPath=/Applications/ChatGPT.app/Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS/codex and codexCliPathSource=bundled-or-dev.
- Running that exact binary with --version returns codex-cli 0.171.0-alpha.13 with exit code 0.
- The managed start test returned the error at 2026-11-23 11:18:37.010 UTC.
Feedback session ID: 2108c3b2-447f-4568-b8a0-8e8ead624edd
Could you check which CLI path managed execution receives after the desktop app selects the bundled binary?
OpenAI Support asked me to add the diagnostic details here. After reinstalling ChatGPT Desktop 26.1117.41037 (build 29803), the Work start test still returned Managed execution requires a usable CODEX_CLI_PATH at 2026-11-23 11:18:37.010 UTC.
Feedback session ID: 2108c3b2-447f-4568-b8a0-8e8ead624edd
/Applications/Codex.app/Contents/Resources/codex is missing. The app logs show that it selected /Applications/ChatGPT.app/Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS/codex. Running that binary with --version returns codex-cli 0.171.0-alpha.13 with exit code 0.
can reproduce Managed execution requires a usable CODEX_CLI_PATH when asking ChatGPT Work to read the active scene in OBS on macOS. It fails before the OBS permission prompt. Computer Use previously worked with TikTok LIVE Studio on this Mac.
ChatGPT version: 26.1117.41037, build 29803, Apple Silicon Feedback session ID: 891d1a55-6d15-4654-b795-b99d9e950dd2
Any App and macOS Accessibility are enabled. The bundled CLI reports codex-cli 0.171.0-alpha.13. The desktop logs record codexCliPathSource=bundled-or-dev on normal launch and codexCliPathSource=env-override when launched with an explicit path. The managed-execution error persisted after both the override and a Mac restart.
Same error on Windows, not only macOS.
- ChatGPT desktop from the Microsoft Store: OpenAI.Codex 26.1117.4957.0 (installed 2026-11-21), Windows build 26300.10075
- Bundled codex-cli 0.171.0-alpha.13:
codex.exe --versionruns, exit code 0 - Logs: runtimeSource=app-package, copiedRuntimeLocation=false; server=node_repl status=ready
- The first mcp__node_repl__js call in a Work conversation fails with: "Managed execution requires a usable CODEX_CLI_PATH"
- node_repl worked on 2026-11-19, before this app update
- Not fixed by: a full quit and restart, Windows Settings > Repair, a new conversation. No newer version is offered in the Microsoft Store.
- Workaround that works here: the same request in the app's Codex surface ("This computer") runs node_repl fine; only Work fails.
- Feedback IDs: b0cb8b3e-b02f-4846-ba89-442f4408c625, 03b5ed57-c5d1-491e-b147-a9a047a51e59
macOS 26.1117.41037 and Windows 26.1117.4957.0 fail the same way with the same bundled CLI 0.171.0-alpha.13, so this looks like a cross-platform regression in the 26.1117 release.
This also reproduces in the direct JavaScript tool, without invoking a browser, Computer Use, or a filesystem API. A node_repl/js call containing only nodeRepl.write('ready'); returns the error in the report before printing anything. node_repl/js_reset reports success, and the same probe fails again immediately afterward. The bundled CLI runs successfully when invoked directly. Could the startup error distinguish a missing CLI path from a path that failed validation?
I can reproduce this on Windows 10 22H2 (build 19045.6456) with the Microsoft Store version of ChatGPT Desktop (26.1117.4957.0) and bundled Codex CLI 0.171.0-alpha.13.
In a new Work conversation, asking node_repl to run nodeRepl.write("OK") fails before the code executes: Managed execution requires a usable CODEX_CLI_PATH
The same call returns OK in a local Codex conversation on the same machine. The bundled codex.exe also runs successfully with --version.
Feedback ID from the affected Work conversation: 23857063-3196-417d-9a9a-9805816d3876
I retested on my Mac on November 24. In a ChatGPT Work conversation, nodeRepl.write('bereit') still fails with Managed execution requires a usable CODEX_CLI_PATH before it prints anything. This test does not involve a browser.
Two Windows users in this thread reported that the same kind of test succeeds in a local Codex conversation on the same machine. I haven’t verified that workaround on my Mac
Update after installing ChatGPT Desktop 26.1120.41243 (build 30607) on my Apple Silicon Mac. The bundled CLI runs in Terminal and reports codex-cli 0.171.0-alpha.13.2.
I repeated the same minimal test, nodeRepl.write('bereit'), in my existing Work chat on November 24 at around 12:10 UTC. It still fails before the code runs with Managed execution requires a usable CODEX_CLI_PATH. The error occurs before any browser interaction.
I can reproduce the same Managed execution requires a usable CODEX_CLI_PATH error on Windows, including in newly created ChatGPT Work conversations.
Environment: Windows 11 build 26200 (x64), desktop MSIX 26.1120.5083.0, bundled codex-cli 0.171.0-alpha.13.2, Primary Runtime 26.1123.915.0.
Minimal test using the actual node_repl tool: nodeRepl.write("OK");.
| Mode | node_repl | Computer Use browser probe |
|---|---|---|
| Existing Codex | OK | Success |
| Existing Work | CODEX_CLI_PATH error | Native pipe os error 2 |
| New Work | CODEX_CLI_PATH error | Success |
Direct inspection of the Work tool-process environment showed that CODEX_CLI_PATH was populated with the expected bundled CLI path in both Work cases. The file was visible from the diagnostic shell. This does not establish whether it was executable or accessible from the managed tool context. Codex uses a local app-server (hostId=local), while Work uses an exec-server associated with hostId=durable. Logs correlated the successful Codex tests with mxc and the Work tests with elevated, but this is not proof that sandbox selection causes the CLI failure.
Restarting Windows and completing Windows app Repair did not resolve the issue. /mcp also returns no results in every tested Work conversation but works in Codex; whether that is intentional is unknown.
I filed #63642 separately for the stale Computer Use pipe UUID retained in old Work executor-plugin snapshots. The CLI error persists even in a fresh Work conversation with a functioning browser connection, so the stale pipe alone cannot explain it.
Sanitized diagnostic evidence can be provided if useful.
Additional Windows control group: managed execution works in older web-invisible Work conversations
Following up on my earlier Windows diagnostics, I found that nodeRepl.write("OK") does succeed in some existing Work conversations on the same Plus account, Windows installation, and desktop build (26.1120.5083.0). These functioning Work conversations are not visible in the web client. They also expose /mcp, Computer Use, Ultra reasoning effort, and Approve for me / Request approval options.
In contrast, the tested web-visible Work conversations consistently fail the minimal Node REPL probe with Managed execution requires a usable CODEX_CLI_PATH, including newly created conversations where Computer Use initially works. The affected tool processes have the expected bundled CLI path and run under the durable exec-server host. Local Codex succeeds under app-server; the actual process host of the functioning older Work control group has not yet been independently verified.
Even a newly created Work conversation with Local execution selected in a project bound to a local directory uses exec-server and reproduces the managed-execution error. The new project also has a cloud project ID.
This suggests that the relevant distinction may be legacy local-only Work versus synced Work, rather than Work versus Codex or the physical presence of the bundled CLI. The Local Work Sync documentation describes new synced tasks being cloud-coordinated while existing tasks retain their original mode. This is a hypothesis about the affected execution path, not a confirmed common root cause or a validated workaround.
Could maintainers compare CLI path validation and managed-execution startup between these Work architectures? Additional context and the separate stale native-pipe issue are in #63642.
ChatGPT cannot use the local browser. When I ask it to open a website, the browser pane stays on a blank “New tab.”
I have reproduced this issue on a M2 Max Studio - same issue leading to a missing Codex app in /Applications BUT in a fresh work chat, computer use works just fine even though there is still no Codex app in /Applications
Follow-up to #63467. On November 24, I tried the same Hermes Desktop task in two chats on the same Mac. The existing chat prompted for node_repl and failed with Managed execution requires a usable CODEX_CLI_PATH. A fresh chat prompted for Hermes and successfully read the live window, reporting the Mac mini gateway, backend v0.23.3, and active profile Vic. The existing chat still failed when I retried it. Feedback session ID for the failing chat: 98596ce1-86ee-4408-81e5-390d01e585d4.
Update, November 25: The problem still occurs in my existing affected Work conversation.
In a separate conversation on the same Mac, @Browser successfully opened this issue from its URL and read the live title and content. The minimal node_repl test, nodeRepl.write('bereit');, also succeeded there without a CODEX_CLI_PATH error.
These are different results in two conversations. The original affected Work conversation remains affected, so I am not considering the issue resolved.
Additional macOS reproduction verified on 26 November 2026, shared with the affected user's authorization to seek troubleshooting help.
Installed environment:
- ChatGPT desktop 26.1120.50957, build 30866.
- Bundled codex-cli 0.171.0-alpha.13.2.
- Official Chrome extension 1.26.1120.11331, installed and enabled.
Local checks:
- The CLI path in both the current node_repl configuration and bundled unified-computer-use configuration points to the existing executable inside the ChatGPT app bundle.
- Executing that exact bundled CLI with --version succeeds (exit 0).
- Desktop startup logs select the bundled CLI path with codexCliPathSource=bundled-or-dev.
- Shipped Chrome extension-installation and Native Host manifest diagnostics both exit 0.
- No application, plugin, policy or runtime configuration was changed during this investigation.
In the affected existing Work conversation, the actual tool call containing only: nodeRepl.write('STARTUP_ONLY_OK'); returns: Managed execution requires a usable CODEX_CLI_PATH The marker is never printed. No browser API, app selection, filesystem API, navigation or website login is involved in this test. The supported js_reset returns success, but the next minimal call still fails. Selecting the Computer Use plugin in the conversation did not restore a working control interface.
These checks establish that the installed executable and its configured path are valid from the diagnostic shell. They do NOT establish which path/environment the managed execution validator actually receives, or whether that managed context can use the binary. Process-environment inspection was unavailable within the permitted diagnostic scope, so no process-level path-loss claim is made.
Could maintainers provide:
- A supported diagnostic that distinguishes a missing CLI path, failed validation/access, and stale per-conversation tool registration?
- A supported way to refresh the existing Work conversation's tool registration/runtime binding without losing its history?
- A fixed version or reliable recovery procedure for this failure on the 26.1120 macOS build?
A fresh-conversation recovery has not been verified on this Mac; it should not be presented as a confirmed fix here. No sandbox or security check was disabled. Raw logs, screenshots, private paths, conversation/session IDs, credentials, environment dumps and unrelated MCP settings are omitted.
I reproduced this on ChatGPT Desktop 26.1120.50957 (30866), macOS 27.2.1 (26B131), Apple silicon.
In an existing Work conversation I selected @Computer and asked it to open TextEdit and report the window title. I chose Always Allow when prompted to allow node_repl to use its js tool. The turn reported Managed execution requires a usable CODEX_CLI_PATH before TextEdit opened. The composer showed @Computer selected. No Local or Cloud target label was visible in the submission screenshot.
A separate Work conversation on the same Mac successfully read a live Vivaldi window. Any App was enabled, and macOS showed both screen recording and device control enabled for Codex Computer Use.
The reproduction was at 00:34 Central on November 28, 2026. The desktop log recorded conversation updates from 06:34:09.886 to 06:34:28.834 UTC. The exact error appeared in the conversation. I could not locate the failing turns in the active or archived local transcripts.
Feedback session ID supplied to OpenAI Support: 3807116e-081f-446a-9b4c-8092fd3adef4.
I reproduced the same Node REPL startup failure on Windows.
Windows 11 24H2, build 26100.6899. ChatGPT desktop MSIX 26.1120.6357.0. The configured bundled CLI runs and reports codex-cli 0.171.0-alpha.13.2.
Run nodeRepl.write(1 + 1) through the built-in MCP tool mcp__node_repl__js on the same Windows installation.
| Mode | Actual tool output |
|---|---|
| ChatGPT Work | Managed execution requires a usable CODEX_CLI_PATH |
| Codex → This computer | 2 |
The local result was verified from the tool call and its output at around 14:49 on 28 November 2026 (Asia/Yekaterinburg, UTC+5). Work reproduced the error around 15:05 on the same date. A previous kernel reset succeeded and the next Work invocation returned the same error. The published Windows update manifest still lists 26.1120.6357.0.
Could maintainers check how the Windows Work executor receives and validates CODEX_CLI_PATH? The expected output in both modes is 2.
I reproduced the same startup error on Windows 11 in the ChatGPT desktop app's Work mode on November 28, 2026. I selected the bundled @Browser plugin and asked Work to open a test page. The failure occurred before the test page opened.
The bundled Browser plugin files were present (plugin cache version 26.1120.50957). The exact desktop app build was not verified.
A minimal call to the same execution tool also failed before it printed any output. That call did not invoke Browser or Computer Use.
await nodeRepl.write(1 + 1);
Actual result
Managed execution requires a usable CODEX_CLI_PATH
PowerShell commands still ran in the same Work conversation. In that shell, CODEX_CLI_PATH was unset and codex was not found on PATH. The failing tool process's environment remains unverified.
Could maintainers check how Windows Work supplies and validates the bundled CLI path when starting this tool? A startup error that distinguishes a missing path from a path that fails validation would make this easier to diagnose.
I’m seeing Managed execution requires a usable CODEX_CLI_PATH on ChatGPT for Mac 26.1120.50957 (build 30866). In my existing Work chats, even asking it to list the open Chrome tabs fails. Chrome and the standalone Codex CLI work separately. Is there a supported fix for existing Work chats?
I reproduced this on Windows with ChatGPT Desktop package 26.1120.6357.0. A fresh ChatGPT Work chat fails, while the same probe succeeds in Codex → This computer on the same installation.
I ran the following through the built-in node_repl tool in both modes:
nodeRepl.write('LOCAL_RUNTIME_OK');
| Mode | Actual result |
|---|---|
| ChatGPT Work, fresh chat | Managed execution requires a usable CODEX_CLI_PATH |
| Codex → This computer | LOCAL_RUNTIME_OK |
CODEX_CLI_PATH is populated in the desktop app’s node_repl MCP settings. The probe only prints a fixed string and requires no file access, browser, or Computer Use.
Could you confirm whether there’s a supported fix for Work on this build? If a fix is available, will it also restore local execution in existing Work project chats without losing their history?
In-app feedback ID from an affected Work session: 1a4b734f-a1be-49c1-a27d-c8565589f06c