Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
ChatGPT Desktop 26.1002.52244 (07 Oct 2026); bundled Codex CLI 0.162.0-alpha.2. Using Codex integrated into ChatGPT Desktop.
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 10 Pro, version 22H2, build 19045, x64
What issue are you seeing?
Summary
After two recent updates to the ChatGPT Desktop/Codex environment, apply_patch started failing on Windows 10 with false path contains a reparse point errors.
This affects normal files on both C: and D:, including newly created test files. The affected directories were checked with PowerShell and do not have the ReparsePoint attribute.
The issue occurs in Codex integrated into ChatGPT Desktop. It was also reproduced using the VS Code Codex extension on Windows.
Environment
- OS: Windows 10 Pro, build 19045, x64
- ChatGPT Desktop: 26.1002.52244, released October 7, 2026
- Codex CLI: 0.162.0-alpha.2
- Subscription: ChatGPT Plus
- Sandbox: workspace-write
Steps to reproduce
- Open a local Windows workspace in Codex.
- Create a temporary text file using PowerShell with the content
linha original. - Ask Codex to change it to
linha alteradausing the normalapply_patchmechanism. - The operation fails, even though the file exists and PowerShell can read and write it.
This was reproduced in both C:\CODEX_TESTE and a project workspace on D:.
Actual result
Failed to read file to update C:\CODEX_TESTE\teste.txt: path contains a reparse point
The same error occurs on D: with normal files.
Expected result
apply_patch should successfully update files located in normal Windows directories that do not contain reparse points.
Troubleshooting already performed
- Repaired ChatGPT Desktop through Windows settings.
- Restarted Windows.
- Created a fresh project workspace and tested new Codex conversations.
- Confirmed normal PowerShell file operations work.
- Verified the tested directories do not have the
ReparsePointattribute. - Reproduced the failure on both C: and D:.
- Encountered a separate Windows sandbox initialization failure involving
node_repl.exeandos error 32. After terminating the affected runtime processes, command execution recovered, butapply_patchcontinued to fail. - Installed Ubuntu 24.04 in WSL2 and tested Codex through VS Code.
- Both forward and reverse
apply_patchoperations succeeded in WSL2, including when editing a temporary file in the original Windows project directory through/mnt/d/.
Intermittent behaviour
A newly copied project workspace initially allowed successful apply_patch operations. Later, without a known additional update, the same workspace started failing with path contains a reparse point.
The problem has persisted after a system restart.
Request
Please investigate whether the Windows path-validation fix from PR #47672 is included in the Codex runtime distributed with ChatGPT Desktop 26.1002.52244 / Codex CLI 0.162.0-alpha.2.
Could you confirm whether this is a known regression, which release contains the complete fix, and whether there is a supported workaround for native Windows execution?
I would prefer to continue using Codex integrated into ChatGPT Desktop on Windows rather than switching to WSL2.
Related reports: #46290 and #50617.
What steps can reproduce the bug?
Steps to reproduce:
- Run Codex integrated into ChatGPT Desktop on Windows 10 Pro (build 19045), using Codex CLI 0.162.0-alpha.2.
- Open a local workspace, for example
C:\CODEX_TESTE. - Create a normal text file using PowerShell:
New-Item -ItemType Directory -Path "C:\CODEX_TESTE" -Force
Set-Content -Path "C:\CODEX_TESTE\teste.txt" -Value "linha original"- Ask Codex to use its native
apply_patchtool to replacelinha originalwithlinha alteradainC:\CODEX_TESTE\teste.txt. - Observe that
apply_patchfails with:
Failed to read file to update C:\CODEX_TESTE\teste.txt: path contains a reparse point
- Repeat the test in another workspace on drive D:. The same error occurs.
Additional reproduction details:
- The file exists and is readable/writable through PowerShell.
- The tested directories have the normal
Directoryattribute, notReparsePoint. - The problem occurs across different Codex sessions and Windows workspaces.
- The problem persists after restarting Windows and repairing ChatGPT Desktop.
- Running the same
apply_patchoperations through Codex in Ubuntu 24.04 WSL2 succeeds, including when accessing the original Windows workspace through/mnt/d/. - No session ID, token-limit measurements or context-window statistics were collected for these tests.
What is the expected behavior?
The native apply_patch tool should successfully read and modify ordinary files in authorized Windows workspaces when the paths do not contain reparse points.
The same behavior should be consistent across Codex sessions and should not require moving projects, disabling the sandbox or using WSL2.
The existing security protections against genuine reparse points should remain enabled.
Additional information
Regression history:
The issue started after two recent ChatGPT Desktop/Codex updates.
A copied workspace initially worked correctly with apply_patch, but subsequently began failing without any additional update known to the user.
Environment:
- Windows 10 Pro, build 19045
- ChatGPT Desktop 26.1002.52244 (released October 7, 2026)
- Codex CLI 0.162.0-alpha.2
- ChatGPT Plus
- Also reproduced using the Codex extension for VS Code on native Windows
Separate sandbox issue:
The Windows sandbox also experienced helper_unknown_error: setup refresh had errors, associated with os error 32 while validating access to node_repl.exe.
After stopping the affected runtime processes, command execution recovered, but the apply_patch reparse-point error persisted.
Potentially related fixes/reports:
- Windows 10: apply_patch reports false reparse-point errors; read-only no-follow reproduction #46290 — Windows reparse-point failures
- Windows 10: apply_patch rejects authorized E: paths with “path contains a reparse point” in 0.160.0 #50617 — Windows path-validation failures
- PR Fix no-reparse directory opens on Windows 10 #47672 — Windows 10 no-reparse directory handling
Please confirm whether the relevant Windows path-validation fix is included in the Codex runtime distributed with ChatGPT Desktop, and whether a supported native Windows fix or workaround is available.
Activity
Grumeteus commentedon Oct 9, 2026
Update: controlled native Windows CLI comparison (9 Oct 2026)
We tested standalone Codex CLI versions on the same Windows 10 Pro 22H2 (build 19045, x64) machine and in the same local workspace (
C:\CODEX_TESTE_0162\workspace).Get-Locationapply_patch--no-daemonsetup refresh had errorssetup refresh had errors--no-daemonsetup refresh had errorsFor 0.160.0, sandbox setup logged
errors=[]. The fileteste_patch.txtwas successfully changed fromlinha originaltolinha alteradausing nativeapply_patch, then restored using nativeapply_patch. No fallback file-writing tool was used.For 0.162.0 even with
--no-daemon, the sandbox log at 2026-10-09 00:39:03 UTC confirms the immediate failure:0.161.0 produced the same
node_repl.exe/os error 32failure in its log. This rules out--no-daemonalone as a workaround for 0.162.0, and shows that native Windows patching can work on this machine in 0.160.0. It does not yet isolate whether the behavioral difference is caused by a version regression or other version-dependent runtime interactions.Potentially relevant merged fixes:
The goal remains a supported fix for native Codex Desktop on Windows 10, not a permanent switch to the older standalone CLI or WSL. Please confirm which Desktop release bundles both fixes and whether additional regression testing for Windows 10 is planned.
Grumeteus commentedon Oct 9, 2026
Positive retest: 0.163.0-alpha.2 succeeds on native Windows 10 (9 Oct 2026)
Good news: Codex CLI 0.163.0-alpha.2 now passes the previously failing native Windows sandbox and
apply_patchtests on the affected machine.Environment: Windows 10 Pro 22H2, build 19045, x64. Official Windows x64 release ZIP extracted into a separate folder. Started standalone CLI with
--no-daemon, explicitly fromC:\CODEX_TESTE_0162\workspace(confirmed in the Codex header). No Windows permission changes, file-copy fallback, or Desktop binary replacements.Results:
Get-Location: PASS, returnedC:\CODEX_TESTE_0162\workspace.apply_patch: PASS, changedteste_patch.txtfromlinha originaltolinha alterada.apply_patchagain: PASS, restoredlinha original.node_repl.exe/os error 32or falsepath contains a reparse pointoccurred in these successful tests.Important nuance: An initial 0.163.0-alpha.2 invocation inadvertently had
C:\Windows\System32as its CWD and failed withos error 5while trying to grant a write ACE to that protected directory. After launching from the intended test workspace, command execution and both patches succeeded. We did not modify System32 ACLs.This is strong evidence that current upstream binaries can operate successfully on this Windows 10 installation, but it does not establish general reliability across all workspaces or prove which particular change fixed the issue.
Remaining request: The affected ChatGPT/Codex Desktop installation is still on version 26.1002.52244 (7 Oct 2026) with bundled Codex CLI 0.162.0-alpha.2, where native
apply_patchhas failed. Please ship/confirm a Desktop build incorporating the working fixes (possibly PRs #51511 and #51822), or advise when the integrated Windows version will be updated. The user wants a supported Desktop fix rather than a permanent standalone CLI workaround.