Not following test instructions

Resolved 💬 2 comments Opened Sep 16, 2025 by matssk Closed Nov 11, 2025

What version of Codex is running?

0.36

Which model were you using?

gpt-5-codes-high

What platform is your computer?

_No response_

What steps can reproduce the bug?

For integration tests in a dotnet project I'm using 'make test' because I need to set up a test environment. Using 'dotnet test' only works for unit tests. Yet the model keeps trying to run it using 'dotnet test' even though it's clearly stated in AGENTS.md that the integration tests have to be run using 'make test'. When I ask it about it, it says the instructions are clear, but it just drifted back to its standard pattern.

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗