Skip to content

Codex repeatedly ignores instructions from AGENTS.md #6502

Closed

Description

@erikhuizinga

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

Activity

  1. changed the title [-]Codex repeatedly ignores instructions from AGENT.md[/-] [+]Codex repeatedly ignores instructions from AGENTS.md[/+] on Nov 11, 2025
  2. added
    CLIIssues related to the Codex CLI
    model-behaviorIssues related to behaviors exhibited by the model
    on Nov 11, 2025
  3. etraut-openai commented on Nov 11, 2025

    @etraut-openai
    Contributor

    We'll share the feedback with the team members who are responsible for training our codex models. We're tracking this feedback and similar reports so we can make the model more robust in future iterations.

    Thanks for using the /feedback command. That provides us with additional details.

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

    CLIIssues related to the Codex CLIbugSomething isn't workingmodel-behaviorIssues related to behaviors exhibited by the model

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions