[Windows] apply_patch always prompts for approval
What version of Codex is running?
codex-cli 0.24.0-alpha.9
Which model were you using?
gpt-5
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What steps can reproduce the bug?
There is still a critical issue on Windows with approving file creation and edits. It prompts the user for approval every time.
In my config.toml I have:
projects = { 'C:\' = { trust_level = "trusted" } }
approval_policy = "never"
sandbox_mode = "danger-full-access"
yet it is not respected. In WSL and Linux distributions it works fine. Could you please fix this issue?
As a temporary workaround I removed the approval block entirely from the Rust files. It works, but it is probably not an ideal solution.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
same issue here
same issue
Well... funnily enough codex-cli can actually fix this bug because I tried it and recompiled it and confirmed it worked
same
same here
Made a PR to fix https://github.com/openai/codex/pull/2988
can someone merge?
Same issue... :/
Fix now available in 0.30.0! https://github.com/openai/codex/releases
npm install -g @openai/codex@latest
Windows is so back:)