What happened
After updating T3 Code Nightly, connecting to the WSL environment consistently leaves Codex unavailable:
Codex app-server provider probe failed: Codex App Server process exited with code 1.
The existing Linux Node and Codex installations work when Linux Node is on PATH.
Diagnosis
The packaged WSL runtime changed to the standalone Linux executable in #11511. Its runtime probe captures bash -lc PATH but no longer runs the existing version-manager discovery used by the mounted Node-script runtime.
On this machine, the running WSL backend's PATH includes the Linux pnpm Codex launcher but omits the nvm Node directory. No Linux node resolves. The pnpm launcher falls back to Windows node.exe, which cannot load the Linux Codex entry point and exits with MODULE_NOT_FOUND.
The pnpm launcher explains the Windows fallback in this reproduction. The underlying missing-Node problem can also affect npm installations: npm's Linux launcher links to Codex's JavaScript entry point, which starts with #!/usr/bin/env node and needs Linux Node on PATH.
T3's executable includes its own Node, but provider CLIs still need their own runtime on PATH. Restoring the existing discovery before PATH capture fixes the provider probe without making Node a requirement for standalone T3 startup.
The affected code is in the installed release's runtime probe. It is unchanged in nightly 0.0.41-nightly.20260914.1707.
Steps to reproduce
- In WSL, use nvm-managed Linux Node with no system
node, and a pnpm-installed Codex CLI.
- Have a noninteractive login PATH that includes the pnpm launcher directory but omits nvm's Node directory. Keep Windows Node on the inherited Windows PATH, as in this reproduction.
- Update Windows T3 Code to the affected nightly and connect to its packaged WSL backend.
- Check Codex provider status. It reports the exit-code-1 probe error.
The local regression test also reproduces missing nvm discovery using an isolated shell fixture, without installing Codex or contacting a provider.
Version
T3 Code 0.0.41-nightly.20260914.1700, commit 01e05c15268d.
Environment
Windows 11 Pro, build 26200. WSL2 Ubuntu 24.04.4 LTS, kernel 6.18.33.2-microsoft-standard-WSL2. Linux Node 24.15.0 managed by nvm. Codex CLI 0.154.0 installed through pnpm. Windows Node 24.20.0. Windows desktop app using its packaged WSL backend.
Evidence
The running WSL server's environment was reused for both checks, including its Windows-mounted working directory. Only the child environment's PATH changed, using the patched runtime probe's output.
Before:
Linux node resolution: none
Codex status: error
Codex app-server provider probe failed: Codex App Server process exited with code 1.
After:
Linux node resolution: <linux-home>/.nvm/versions/node/v24.15.0/bin/node
Codex status: ready
Codex version: 0.154.0
Authentication: authenticated
Models: 6
Skills: 17
These results come from T3's actual checkCodexProviderStatus running inside Ubuntu. The desktop UI reconnect flow has not been tested with the patch.
A separate launcher check ran the existing Codex JavaScript entry point directly, as npm's Linux symlink would. With the original T3 environment it exited 127 with /usr/bin/env: node: No such file or directory. Restoring Linux Node to PATH made --version succeed with codex-cli 0.154.0. This check reused the existing package; it did not install Codex through npm.
Related issues
#8955 and #8956 concern slow skills/list calls on Windows-mounted working directories. This failure occurs during process startup, and the same working directory succeeds after repairing PATH. #7827 adds Linuxbrew to the existing resolver; this regression skips that resolver entirely for the packaged executable.
Fix applied or workaround
#11741 contains the source fix and regression tests. The installed application, shell configuration, and Node installation have not been changed. The successful runtime verification used a separate child process environment.
Filed by
GPT-6 via Codex, following the T3 Code triage playbook in the existing investigation session.
What happened
After updating T3 Code Nightly, connecting to the WSL environment consistently leaves Codex unavailable:
The existing Linux Node and Codex installations work when Linux Node is on PATH.
Diagnosis
The packaged WSL runtime changed to the standalone Linux executable in #11511. Its runtime probe captures
bash -lcPATH but no longer runs the existing version-manager discovery used by the mounted Node-script runtime.On this machine, the running WSL backend's PATH includes the Linux pnpm Codex launcher but omits the nvm Node directory. No Linux
noderesolves. The pnpm launcher falls back to Windowsnode.exe, which cannot load the Linux Codex entry point and exits withMODULE_NOT_FOUND.The pnpm launcher explains the Windows fallback in this reproduction. The underlying missing-Node problem can also affect npm installations: npm's Linux launcher links to Codex's JavaScript entry point, which starts with
#!/usr/bin/env nodeand needs Linux Node on PATH.T3's executable includes its own Node, but provider CLIs still need their own runtime on PATH. Restoring the existing discovery before PATH capture fixes the provider probe without making Node a requirement for standalone T3 startup.
The affected code is in the installed release's runtime probe. It is unchanged in nightly
0.0.41-nightly.20260914.1707.Steps to reproduce
node, and a pnpm-installed Codex CLI.The local regression test also reproduces missing nvm discovery using an isolated shell fixture, without installing Codex or contacting a provider.
Version
T3 Code
0.0.41-nightly.20260914.1700, commit01e05c15268d.Environment
Windows 11 Pro, build 26200. WSL2 Ubuntu 24.04.4 LTS, kernel
6.18.33.2-microsoft-standard-WSL2. Linux Node24.15.0managed by nvm. Codex CLI0.154.0installed through pnpm. Windows Node24.20.0. Windows desktop app using its packaged WSL backend.Evidence
The running WSL server's environment was reused for both checks, including its Windows-mounted working directory. Only the child environment's PATH changed, using the patched runtime probe's output.
These results come from T3's actual
checkCodexProviderStatusrunning inside Ubuntu. The desktop UI reconnect flow has not been tested with the patch.A separate launcher check ran the existing Codex JavaScript entry point directly, as npm's Linux symlink would. With the original T3 environment it exited 127 with
/usr/bin/env: node: No such file or directory. Restoring Linux Node to PATH made--versionsucceed withcodex-cli 0.154.0. This check reused the existing package; it did not install Codex through npm.Related issues
#8955 and #8956 concern slow
skills/listcalls on Windows-mounted working directories. This failure occurs during process startup, and the same working directory succeeds after repairing PATH. #7827 adds Linuxbrew to the existing resolver; this regression skips that resolver entirely for the packaged executable.Fix applied or workaround
#11741 contains the source fix and regression tests. The installed application, shell configuration, and Node installation have not been changed. The successful runtime verification used a separate child process environment.
Filed by
GPT-6 via Codex, following the T3 Code triage playbook in the existing investigation session.