Repository navigation
[macOS][Desktop 26.825.32147] Local project task loses shell/filesystem tools; terminal cannot attach #41439
Description
Activity
- addedbugSomething isn't workingSomething isn't workingappIssues related to the Codex desktop appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesIssues involving app server protocol or interfacestool-callsIssues related to tool callingIssues related to tool calling
on Aug 29, 2026 github-actions commented
on Aug 29, 2026 on Aug 29, 2026 – with GitHub ActionsContributorMore actionsPotential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I’m seeing a closely related issue on macOS with ChatGPT.app 26.825.51511.
Important difference from the original report: backend shell/tool execution still works in my task. The agent can run commands and generate files, but the integrated terminal UI never appears.
Observed:
- View > Open Terminal does nothing.
- View > Toggle Bottom Panel does nothing.
- Changing terminal placement from bottom to right does not help.
- Creating a new Codex task does not help.
- Signing out/in does not help.
- Reinstalling ChatGPT.app does not help.
- Restarting macOS does not help.
- Agent-side open terminal call returns:
{"status":"queued","threadId":"01a05636-be2b-7241-9016-0fc1093581e3"}
File previews in the side panel do work, so the side panel itself is not completely broken. The failure seems isolated to integrated terminal attachment / bottom panel routing.
jianghao-zhang commented
on Aug 31, 2026 More actionsReproduced on ChatGPT.app 26.825.41651 / macOS 27.0.
The bundled
node-ptyresolvesspawn-helperto:.../app.asar.unpacked.unpacked/node_modules/node-pty/build/Release/spawn-helperThe extra
.unpackedcomes fromunixTerminal.jsunconditionally replacingapp.asarwithapp.asar.unpackedeven whennative.diris already underapp.asar.unpacked. The resolved file does not exist, sopty.forkthrowsError: posix_spawnp failed.and no terminal session attaches.Passing the actual helper path under
app.asar.unpackedto the native PTY module successfully starts a shell. Please make the path rewrite conditional, or normalize a repeated.unpackedsuffix.Reacted by Quinn-XIII and David Ramsayjianghao-zhang commented
on Sep 1, 2026 More actionsStill reproducible after updating to ChatGPT.app 26.831.11858 on macOS 27.0.
Additional regression: while voice is enabled, the integrated-terminal controls are non-interactive. Clicks on Open Terminal and Toggle Bottom Panel have no effect, so the terminal cannot be opened or retried while voice is active.
Reacted by Quinn-XIII and David RamsayReproduced on Codex Desktop
26.825.51511on macOS.In this case, backend shell execution still works, but the integrated terminal UI cannot be opened:
- Requesting an integrated terminal returns
queued. read_thread_terminalcontinues to report:No app terminal session is attached to this thread yet.- Restarting the terminal interaction does not attach a visible terminal session.
The Xcode license has already been accepted and the first-launch setup completed successfully, so the Xcode-license workaround does not apply here.
Local inspection of the bundled
node-ptycode matches the packaging-path problem described in this thread:- The actual helper exists at
.../app.asar.unpacked/node_modules/node-pty/build/Release/spawn-helper. unixTerminal.jsunconditionally runshelperPath.replace('app.asar', 'app.asar.unpacked').- Because the path already contains
app.asar.unpacked, this produces the nonexistent path.../app.asar.unpacked.unpacked/node_modules/node-pty/build/Release/spawn-helper.
This strongly suggests that build
26.825.51511is affected by the samenode-ptyspawn-helper packaging regression. This also appears related to #29090.- Requesting an integrated terminal returns
An upstream fix for the confirmed
node-ptyhelper-path regression already exists: microsoft/node-pty#924 (open, not yet merged). The underlying upstream issue is microsoft/node-pty#923.The PR prevents the unconditional
app.asar→app.asar.unpackedrewrite from running when the path is already unpacked, avoiding the nonexistentapp.asar.unpacked.unpacked/.../spawn-helperpath verified in Codex Desktop26.825.51511.A likely downstream resolution is to cherry-pick the equivalent guard into the bundled dependency, or update
node-ptyafter the upstream fix is merged and released.
What version of Codex are you using?
Codex Desktop
26.825.32147, released August 28, 2026.Platform
macOS. Exact Darwin version and architecture are unavailable from this task because the local shell runner is missing.
What issue are you seeing?
A fresh local Codex project task has no usable shell runner or normal filesystem inspection tools, so the agent cannot compile, inspect the workspace, or run even basic diagnostics.
This is not a Rust/project compile error. No command reaches Cargo, the sandbox, or approval handling.
Observed behavior
In a local project task:
apply_patch, but no shell/exec_commandrunner and no ordinary file-reading tool.read_thread_terminalreturns:{"status":"queued","threadId":"01a04ada-f0f2-7322-b2f2-b1f74b0d281e"}isGitRepository:false; path details are omitted here to avoid publishing local user information.Expected behavior
A local Codex project task should receive the normal local coding tool surface, including shell execution and scoped filesystem access. Asking the agent to compile a Rust workspace should allow it to run commands such as:
Actual impact
Local coding work is completely blocked in Codex Desktop. The agent cannot inspect files, cannot run
cargo, cannot verify the project, and cannot distinguish a real build failure from an app tool-provisioning failure.Reproduction outline
26.825.32147on macOS.read_thread_terminalreports no terminal session attached.Related reports
This appears related to, but distinct from:
26.825.xGPT-5.6 code-mode exec failures.read_thread_terminalcannot see an attached terminal.26.825.32147build showing session routing/capability provisioning problems.The distinguishing symptom here is that a macOS local project task on
26.825.32147is provisioned without the shell/filesystem tools needed for local coding at all, and the terminal attachment workaround does not recover them.