Skip to content

auto approve not working - mingw64 - mingw #5199

Closed as duplicate
Closed as duplicate

Description

@wayneforrest

What version of Codex is running?

codex-cli 0.46.0

Which model were you using?

gpt-5-codex

What platform is your computer?

MINGW64_NT-10.0-26100-ARM64 3.6.4-b9f03e96.x86_64 x86_64 unknown

What steps can reproduce the bug?

Using M1 MacOS + Parallels + Windows ARM64 + mingw64 (bash)

Apple M1 hardware does not support nested virtualisation, thus no WSL support, on Windows in a VM.

1: Auto Approve is not working.
Asks repeatedly for edits.

2: Also it is finding it hard to make edits to files, I have seen it write python scripts, to modify files.
All the standard tools are available like git, grep, ln, sed, awk.

3: Also when it modifies files, which are Windows *.cpp and *.h files, it ignores that the existing files are all CR LF terminated. All edits that codex makes, are newline terminated, then I have to fix this in Visual Studio.

What is the expected behavior?

1: Auto Approve is not working.
When I Auto allow edits, it must not prompt me several times over and over, when Auto is selected.
Every edit it makes, I am prompted.

2: When I approve commands, it must generalise the approval, allow the command without the parameters.
It appears it is taking the parameters into account, and asks me over and over for the same command.

✔ You approved codex to run bash --noprofile -lc "nl -ba somefile.cpp | sed -n '960,1070p'" every time this session

• Ran bash --noprofile -lc "nl -ba somefile | sed -n '960,1070p'"
  └    960            some text
       961            some text
    … +7 lines
      1069        some text
      1070        {

✔ You approved codex to run bash --noprofile -lc "nl -ba somefile.cpp | sed -n '1070,1150p'" every time this session

• Ran bash --noprofile -lc "nl -ba somefile | sed -n '1070,1150p'"
  └   1070        {
      1071            some text
    … +7 lines
      1149            some text

3: It is not finding the right tools. It is writing Python scripts - which is just a waste of time, in order to edit files.
burning my tokens than required.

4: Also when it modifies files, which are Windows cpp files, it ignores that the files are CR LF terminated.
Then in Visual Studio, I keep reverting changes to CR LF.

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 15, 2025
  2. added
    windows-os
    on Oct 15, 2025
  3. github-actions commented on Oct 15, 2025

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. changed the title [-]auto approve not working - mingw64[/-] [+]auto approve not working - mingw64 - mingw[/+] on Oct 17, 2025
  5. etraut-openai commented on Nov 15, 2025

    @etraut-openai
    Contributor

    Closing in favor of #2860

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