arXivPreprintOpen accesscs.SE
Do Coding Agents Follow AGENTS.md? The Effect of Policy Wording on Instruction Compliance
Rikuto Tsuchida, Youmei Fan, Kazumasa Shimari, Raula Gaikovina Kula, Kenichi Matsumoto
Computational
Key points
From the paper's conclusion- We inserted one policy, in four styles, into the ACFs of 86 benchmark tasks across four harness-model combinations.
Abstract
Coding agents do not always follow the policies in an Agent Context File (ACF). We inserted one policy, in four styles, into the ACFs of 86 benchmark tasks across four harness-model combinations. Conditional phrasing was followed less often than Prescriptive and Explanatory. The better of those two varied by combination.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Do They Do as They Are Told? Investigating Coding Agents' Adherence to Explicit Instructions in Context FilesarXiv · 2026
- Stale Instruction Files Override the Code in Coding Agents: A One-Sentence FixarXiv · 2026
- AI Cannot Review What Humans Catch: A First Look at the Reviews of Agent Instruction FilesarXiv · 2026
- Decision Models as Policy Gates for Coding Agents: Explicit Policy Boundaries Improve Detection and Reduce False AlarmsarXiv · 2026
- Beyond Prompts: Runtime Contracts for Coding AgentsarXiv · 2026
- Read and Ignore: What Self-Directed LLM Agents Do in Public Service ScenariosarXiv · 2026