Agent is an idiot and ignores AGENTS.md

Resolved 💬 2 comments Opened Apr 17, 2026 by marcinn Closed Apr 17, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

codex-cli 0.121.0

What subscription do you have?

Nie wiem

Which model were you using?

5.4-mini, 5.4 high

What platform is your computer?

linux

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

The agent ignores the AGENTS.md file and performs actions I didn't request. This corrupts my code, and makes my work harder not easier. I am sick of it. This is not what I paid for.

What steps can reproduce the bug?

Uploaded thread: 019d9a8e-c72c-71d1-9a78-ae60a696a6b1

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 4 months ago

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

  • #16798
  • #18319

Powered by Codex Action

etraut-openai contributor · 4 months ago

Thanks for the bug report. We'll share the feedback with the team responsible for training our codex models. We're tracking this feedback and similar reports so we can improve future models. And thanks for using the /feedback command. That additional information is useful.