You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows workspace-write sandbox still broken in 0.116.0 after state reset; bypass mode works #15850
This reproduces in a fresh git repo under OneDrive-backed user workspace.
What steps can reproduce the bug?
On native Windows 11, create a fresh scratch repo:
mkdir <scratch> && cd <scratch> && git init
Confirm plain exec works:
codex exec --json --color never "Reply with one word: ok"
Run sandboxed write:
codex exec --json --color never --sandbox workspace-write --skip-git-repo-check "Create a file named fixed.txt containing exactly: sandbox ok"
Observe failure / no file created
Run bypassed write in same repo:
codex exec --json --color never --dangerously-bypass-approvals-and-sandbox "Create a file named bypass.txt containing exactly: bypass ok"
Observe success / file created
What is the expected behavior?
--sandbox workspace-write should be able to create files in a fresh scratch repo on Windows, especially when bypass mode succeeds in the same repo.
Additional information
Direct evidence from this machine:
Plain exec succeeded.
Sandboxed write failed; fixed.txt was not created.
Bypass write succeeded; bypass.txt was created with exact bytes.
Removing [windows] sandbox = "elevated" and clearing Codex sandbox state did not fix it.
Enabling experimental_windows_sandbox = true did not fix it.
This looks like the Windows sandbox/runtime path is still unstable in 0.116.0, separate from OpenClaw. OpenClaw was already updated and its old built-in read-only sandbox bug is not involved.
Activity
github-actions commentedon Mar 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
CreateProcessWithLogonW failed: 5#9062fix(sidecar): gate the codex sandbox bypass to win32, warn about miss…