← All notes

Does rules-file structure change whether agents follow it?

Short answer

In one factorial study, file size, position, architecture and conflicts had no detectable effect on compliance. What mattered was session length: compliance fell as the agent generated more functions. [S1] A separate ablation also found context strategy did not move correctness. [S2]

Practice

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted).

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: arXiv, [2605.10039] Instruction Adherence in Coding Agent Configuration Files: A Factorial Study of Four File-Structure Variables, CC BY 4.0; arXiv, [2607.27250] Do Context Files Help Coding Agents? A Two-Agent Ablation Study on Real Repositories, CC BY 4.0.

Cite this

Permanent ID: iil:note:99ccpvwp

iinventedlight. 2026. "Does rules-file structure change whether agents follow it?" iinventedlight Library, iil:note:99ccpvwp, version of 2026-11-04. https://iinventedlight.com/library/notes/ao-rules-instruction-adherence/. License: CC-BY-4.0.

@misc{iil_note_99ccpvwp,
  author = {{iinventedlight}},
  title = {{Does rules-file structure change whether agents follow it?}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-04},
  url = {https://iinventedlight.com/library/notes/ao-rules-instruction-adherence/},
  note = {Permanent ID iil:note:99ccpvwp. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt. This page in Markdown: /library/notes/ao-rules-instruction-adherence.md.