/review command ignores the AGENTS.md.
Resolved 💬 9 comments Opened Oct 27, 2025 by facelezzzz Closed Dec 9, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.47.0
What subscription do you have?
ChatGPT Team
Which model were you using?
gpt-5-codex
What platform is your computer?
Darwin 25.0.0 arm64 arm
What issue are you seeing?
(base) x@xMacBook-Air qetesh-outbound % cat ~/.codex/AGENTS.md
# Important Rule
- Always answer in chinese.
<img width="2204" height="550" alt="Image" src="https://github.com/user-attachments/assets/fd33fcf8-89e8-4cb0-91c7-84f9044bbefc" />
What steps can reproduce the bug?
Write some instructions in AGENTS.md, and then run /review.
What is the expected behavior?
/review command should follow the AGENTS.md
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I have also noticed the same behaviour.
hi there! we designed /review to ignore user instructions as well as previous conversation context. apologies that this was not made clear. we've updated the docs
@zhao-oai the issue is after running
/review, the agent tries to runpython -c "...", which fails because the agent should runuv run -- python -c "..."instead. This is clearly stated in myAGENTS.md. I can include this information when I run/review, or I can just ignore/reviewand run the review prompt manually or just run my own review prompt. I can see why you might want to ignore user instructions, but on the other hand, you can see why you might not want to ignore user instructions.Even if this is now documented, I was quite surprised to find that this was the intended behavior. I was positive that this was a bug before I found this issue. I'm not sure that this should be the intended behavior.
I was having the same problem. I managed to get him to understand me by emphatically stating it more than once.
So that he would follow and obey the rules of the file.
As mentioned above, the
/reviewcommand was designed specifically not to useAGENTS.md, which is likely to contain instructions that are inappropriate for a/reviewoperation.How can we make the /review command reply in Chinese without using AGENTS.md? @etraut-openai
You can provide instructions after the
/reviewslash command.If you'd like to see a different behavior, please open a feature request.
I’ll try it, thanks!