Codex on Windows falls back to a weaker sandbox and breaks patching
felipebsr · reddit · 2026-07-23
- A Windows user reports that the new ChatGPT/Codex desktop app falls back to an unelevated restricted-token sandbox.
- In that state, ordinary file writes work, but applypatch fails on existing files and Node child processes fail with EPERM.
- The poster includes a detailed repro: Windows build, Codex package version, sandbox user setup, and tests showing that the same project works outside the Codex sandbox.
- Their theory is that the elevated sandbox runner is installed, but the runtime is incorrectly falling back to a weaker sandbox that cannot enforce split writable roots.
- They ask whether others have seen the same exact error, and whether there is a supported fix, log, or Windows event that identifies the fallback cause.
More from coding & agent
- PyTorch backs AMD’s AI DevMaster Hackathon with $30,000 in prizes — PyTorch · 2026-07-23
- Warp’s factory foreman agent introduces itself before starting work — vikvang1 · 2026-07-23
- Forrester says agentic AI adopters now prioritize integration over model quality — rseroter · 2026-07-23
- Local open-source agent says it beats Hermes 37 to 31 on GAIA Level 1 — kimmonismus · 2026-07-23
- Local AI agent in DWN.BRIDGE could read files outside its workspace — dwn270787 · 2026-07-23
- Claude Code 2.1.218 adds CLI, MCP, and accessibility updates — ClaudeCodeLog · 2026-07-23