Agent ignores AGENTS.md and invents an unsafe production workflow
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.51231 (8109)
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
Feedback ID: 01a08672-ef8c-79d2-9d3b-ef9856cdec6e
The agent does not reliably follow explicit instructions provided in AGENTS.md. It invents its own workflow, makes unsupported assumptions, and performs actions that were neither requested nor documented.
This is especially dangerous during sensitive operations because the agent may continue despite uncertainty instead of stopping, verifying the instructions, or asking for clarification.
Expected behavior: AGENTS.md instructions must be treated as binding. The agent should not replace them with its own preferred workflow.
What steps can reproduce the bug?
Session ID: 01a08672-ef8c-79d2-9d3b-ef9856cdec6e
- Open a project containing detailed AGENTS.md instructions.
- Ask the agent to perform a task covered by those instructions.
- Observe that the agent chooses its own undocumented workflow instead of following the prescribed process.
- When problems or inconsistencies appear, the agent continues making assumptions rather than stopping and checking the applicable instructions.
The issue is that explicit project instructions are available and relevant, but the agent does not consistently follow them.
What is the expected behavior?
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reproducing the behavior in a project with detailed AGENTS.md instructions, using the reported session and feedback IDs as context, then locate the instruction-loading and task-execution paths. Done means the agent treats applicable AGENTS.md instructions as binding, avoids unsupported actions, and stops to verify or ask when uncertainty remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100