/review mode skips agents.md

Resolved 💬 4 comments Opened Dec 11, 2025 by marcfawzi Closed Dec 14, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.69

What subscription do you have?

Pro

Which model were you using?

gpt-5.1 max

What platform is your computer?

x64

What issue are you seeing?

i already wrote in /feedback and you are asking me to fill out this whole bug report again? Seriously? I followed the link Codex gave me after reporting the bug. I won't say it again, but it's captured in the title. The /feedback flow should not be so broken.

What steps can reproduce the bug?

Uploaded thread: 019b0df7-335d-71b2-8888-3d3e2e630029

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 8 months ago

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

  • #7294
  • #7647
  • #6839

Powered by Codex Action

etraut-openai contributor · 8 months ago

This behavior (where code reviews skip AGENTS.md) is by design, so I don't think we'd consider this a bug. For many users, AGENTS.md is written in such a way that it wouldn't be appropriate for code review tasks.

marcfawzi · 8 months ago

On MacOS when I run the /review command it goes into an endless loop running git status command with "Operation not permitted" result. The issue has to do with needing to export the TEMPDIR env var. But there is no way to tell it to do that prior to running commands in /review mode. I thought if I told it in Agents.md it would solve the problem, but that doesn't work.

marcfawzi · 8 months ago

• Ran cd && git status --short
└ /opt/homebrew/Library/Homebrew/brew.sh: line 60: cannot create temp file for here document: Operation not permitted
/opt/homebrew/Library/Homebrew/cmd/shellenv.sh: line 18: /bin/ps: Operation not permitted
… +14 lines
M config/prompts/identity_stage.md
M src/server.js

• Ran cd && git diff
└ /opt/homebrew/Library/Homebrew/brew.sh: line 60: cannot create temp file for here document: Operation not permitted
/opt/homebrew/Library/Homebrew/cmd/shellenv.sh: line 18: /bin/ps: Operation not permitted
… +337 lines
s.verifyHistory.push({ role:'assistant', text: intro });
}

this is after giving it full /approvals