Skip to content

Approval Mode: Never still asks for approval on Windows OS #2179

Closed

Description

@cowwoc

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?

  1. Set:
approval_policy = "never"
sandbox_mode    = "workspace-write"

in ~/.codex/config.toml
2. Ask the agent to make changes to the code
3. 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

Activity

  1. added
    bug
    on Aug 11, 2025
  2. SinkHoleLabs commented on Aug 11, 2025

    @SinkHoleLabs

    I am having this issue as well. It makes using the codex mcp unusable for anything that would require an approval

  3. changed the title [-]Approval Mode: Never still asks for approval[/-] [+]Approval Mode: Never still asks for approval on Windows OS[/+] on Aug 12, 2025
  4. added
    windows-os
    on Aug 12, 2025
  5. cowwoc commented on Aug 12, 2025

    @cowwoc
    Author

    @seratch What makes you think this is Windows-specific?

  6. SinkHoleLabs commented on Aug 12, 2025

    @SinkHoleLabs

    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

  7. cowwoc commented on Aug 12, 2025

    @cowwoc
    Author

    Same for me. I don't think this issue is OS-specific.

  8. JTrivia commented on Aug 12, 2025

    @JTrivia

    Bummer! Currently using a 9v battery to hold down my enter key for a long code change..

  9. frederikocmr commented on Aug 13, 2025

    @frederikocmr

    This happens to me on Windows, but on Mac it works fine.

  10. FreddyE1982 commented on Aug 14, 2025

    @FreddyE1982

    Happens for me too. strange thing is...in some sessions auto approval actually works...but very rarely.

  11. eduardofacunha commented on Aug 15, 2025

    @eduardofacunha

    When it will be fix? ;(

  12. kmltln commented on Aug 16, 2025

    @kmltln

    does someone have a workaround for this?

  13. seratch commented on Aug 18, 2025

    @seratch
    Member

    Same issue reported for Windows OS at #2350

  14. al-labs commented on Aug 21, 2025

    @al-labs

    I'm experiencing as well: version 0.22.0 and Windows 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions