Approval Mode: Never still asks for approval on Windows OS
Resolved 💬 11 comments Opened Aug 11, 2025 by cowwoc Closed Oct 17, 2025
💡 Likely answer: A maintainer (seratch, member)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.20.0
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?
- Set:
approval_policy = "never"
sandbox_mode = "workspace-write"
in ~/.codex/config.toml
- Ask the agent to make changes to the code
- It will propose a patch and wait for the user to confirm that it should be applied.
What is the expected behavior?
Apply patches without confirmation
What do you see instead?
Agent waits for user approval
Additional information
_No response_
11 Comments
I am having this issue as well. It makes using the codex mcp unusable for anything that would require an approval
@seratch What makes you think this is Windows-specific?
For tasks that involve writing after 0.21.0 I am getting a diff approval request for every individual line of code that is changed
Same for me. I don't think this issue is OS-specific.
Bummer! Currently using a 9v battery to hold down my enter key for a long code change..
This happens to me on Windows, but on Mac it works fine.
Happens for me too. strange thing is...in some sessions auto approval actually works...but very rarely.
When it will be fix? ;(
does someone have a workaround for this?
Same issue reported for Windows OS at https://github.com/openai/codex/issues/2350
I'm experiencing as well: version 0.22.0 and Windows 11.