Repository navigation
browser_use=false disables unrelated thread and automation tools #41404
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.825.32147
What subscription do you have?
ChatGPT Enterprise
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
Our managed ChatGPT Enterprise workspace sets browser_use=false. Codex Desktop correctly disables computer and browser use, but it also disables unrelated task coordination and automation tools.
Affected tools include:
- create_thread
- fork_thread
- list_threads
- read_thread
- send_message_to_thread
- handoff_thread
- set_thread_title
- set_thread_pinned
- set_thread_archived
- automation_update
Legacy dynamic tool stubs may remain visible, but calls instruct Codex to use the matching codex_app MCP tool. That MCP connection is unavailable and reports:
Codex app tools pipe closed
Disabling browser use should not disable task management or automation tools.
What steps can reproduce the bug?
-
Use Codex Desktop with a managed workspace configuration that sets browser_use=false.
-
Fully restart the app so it loads the managed configuration.
-
Open a new Codex task.
-
Attempt to use list_threads, create_thread, send_message_to_thread, automation_update, or another affected tool.
-
Observe that the proper codex_app MCP tools are unavailable.
-
If a legacy dynamic stub is exposed, call it. It rejects the request and directs the caller to the matching codex_app MCP tool.
-
Attempt to list tools through the codex_app MCP connection. The connection fails because the Codex app tools pipe is closed.
What is the expected behavior?
browser_use=false should disable only computer and browser use.
Task coordination and automation tools should remain available. If these features share one transport pipe, the app should keep that pipe active and restrict browser operations separately.
Additional information
Inspection of the current Codex Desktop app code indicates this sequence:
-
The renderer marks in app browser use unavailable when the managed browser_use requirement is false.
-
The renderer sends electron-desktop-features-changed with inAppBrowserUse set to false.
-
The main process calls setBrowserUseNativePipeEnabled(false).
-
That method disposes the backend sessions using the native pipe.
-
The codex_app MCP also depends on this pipe through CODEX_APP_TOOLS_PIPE_PATH.
The result is that a browser policy closes the transport required by unrelated task and automation tools.
This appears to be the specific cause behind the missing tools. Issue #33598 reports similar missing tools, but it does not identify browser_use=false and the shared native pipe as the cause: #33598
Activity