Do They Do as They Are Told? Investigating Coding Agents' Adherence to Explicit Instructions in Context Files
- ID: d0944f47
- 原文链接: https://arxiv.org/abs/2611.13709
- PDF: https://arxiv.org/pdf/2611.13709v1
- 作者: Gianmario Voria, Yutaro Kashiwa, Gemma Catolino, Fabio Palomba
- 日期: 2026-11-10
- 更新: 2026-11-10
- 分类: coding
- 来源类型: paper
- 标签: coding-agents, agents-md, context-files, instruction-following, empirical-study, governance
- 质量评分: 4/5
- 抓取时间: 2026-11-13T12:21:36+00:00
中文导读
实证检验 coding agent 是否真的执行 AGENTS.md 等 agent context file 里的显式指令:把真实 ACF 快照中的可操作指令转成可执行测量脚本,再对照 agent 生成的 commit 逐条验证遵循度多数指令可操作化,agent 大体遵循 ACF,但遵循度两极分化:一部分指令始终被执行,另一部分从不被理会,且不同指令类别与不同 agent 差异明显该分化定位了 ACF 治理生效与失效之处,暗示部分指令需重写部分行为需在文件之外强制执行
为什么值得关注
实证检验 coding agent 是否真的执行 AGENTS.
该论文于 2026-11-10 提交至 arXiv(分类:cs.SE),本页内容基于 arXiv 官方摘要与条目既有元数据生成,实验细节以论文原文为准。
关键信息
- 论文标题:Do They Do as They Are Told? Investigating Coding Agents' Adherence to Explicit Instructions in Context Files
- 作者:Gianmario Voria, Yutaro Kashiwa, Gemma Catolino, Fabio Palomba
- arXiv:https://arxiv.org/abs/2611.13709
- 发布时间:2026-11-10
- arXiv 分类:cs.SE
- 关联标签:coding-agents, agents-md, context-files, instruction-following, empirical-study, governance
English Abstract
Developers increasingly rely on agent context files (ACFs), persistent, project-scoped artifacts such as AGENTS.md, to steer the behavior of autonomous coding agents without renegotiating expectations at every interaction. Yet this governance mechanism rests on an untested assumption: that instructions written into an ACF are actually carried out, rather than ignored or loosely followed. Existing studies describe what ACFs contain, but not whether individual instructions are followed, leaving open which guidance can be trusted. We address this gap through an empirical study of real-world ACF snapshots and their linked agent-generated commits: characterizing the explicit, actionable instructions ACFs encode, operationalizing them into executable measurement scripts, and using these scripts to assess instruction-level compliance. We find that most observable instructions can be operationalized and that agents follow ACF guidance more often than not, but adherence splits sharply between instructions followed consistently and those never respected, with differences across instruction categories and coding agents. This split shows where ACF guidance works and where it does not, pointing to instruction types that may need rewriting and to agents that may need enforcement beyond the ACF. These findings lay the groundwork for systematic approaches to specifying, verifying, and enforcing project-specific instructions in autonomous software development.
English Summary
Empirical study of whether autonomous coding agents actually follow agent context files (ACFs) such as AGENTS.md: the authors characterize explicit actionable instructions in real-world ACF snapshots, operationalize them into executable measurement scripts, and check instruction-level compliance against linked agent-generated commits. Most observable instructions can be operationalized, and agents follow ACF guidance more often than not, but adherence splits sharply between instructions consistently honored and instructions never respected, with differences across instruction categories and coding agents. The split shows where ACF governance works and where it fails - groundwork for systematic specification, verification, and enforcement of project-specific instructions in autonomous software development.
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。