Codex repeatedly ignores instructions from AGENTS.md
Resolved 💬 2 comments Opened Nov 11, 2025 by erikhuizinga Closed Nov 11, 2025
What version of Codex is running?
codex-cli 0.57.0
What subscription do you have?
Enterprise
Which model were you using?
gpt-5-codex
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
Codex is instructed to do TDD, where tests must turn green before committing changes. However, the current changes fail the test suite and Codex suggests to commit these changes. After repeated instructions to rerun the failing test suite, which Codex does and indeed it fails, and instructing that tests must turn green before proceeding to commit, Codex keeps suggesting to commit.
What steps can reproduce the bug?
Uploaded thread: 019a722e-180b-7bc3-b938-abef05a9b202
What is the expected behavior?
I expected Codex to fix any failures before proceeding to commit.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗