The file outranked the code — a stale instruction file beat the repository 90.1% of the time, and the EU duty that is actually live is the one about your people
Stale Instruction Files Override the Code in Coding Agents (arXiv 2610.30571, submitted 22 October 2026) constructs 40 Python projects in which the project instruction file and the existing code disagree and runs 320 trials across Claude Code 2.1.302 and Codex CLI 0.163.0, 720 decisions per condition. Without an added sentence, 90.1% of decisions followed the stale file and 4.2% followed the code; one 39-token sentence in the user-level instruction file giving the code precedence moved the code share to 91.4%, a shift of 87.2 percentage points that held separately for both agents. The mechanism is precedence rather than context: the instruction file arrives as instructions and the repository's code arrives as tool output, which ranks lower. The consequence a reviewer cannot see is the silent resolution — without the sentence Codex CLI mentioned the conflict in 2 of 80 runs, rewrote working code in 20 of 80 at a median of 198 lines across 9 files, and 17 of those 20 then failed their tests, while Claude Code reported the conflict in 79 of 80 and rewrote nothing. The regulatory reflex misfires: the only AI Act duty requiring documentation to be kept current is Article 11(1), a provider duty inside Chapter III Section 2, whose application Regulation (EU) 2026/1744 moved to 2 December 2027 for standalone Annex III systems and 2 August 2028 for Annex I products, and a coding agent in a team's own repository was never Annex III. What is live is Article 4: AI literacy has applied since 2 February 2025, the Commission's own Q&A puts supervision and enforcement with national market surveillance authorities from 2 August 2026 — in Germany the Bundesnetzagentur under the KI-MIG — and states that simply relying on a system's instructions for use may be ineffective, which is precisely what this paper measures. Caveats carried in the edition: the conflicts are constructed rather than observed in the wild, so 90.1% is not a prevalence estimate; the rise to a 100% test pass rate is entirely Codex CLI's, Claude Code having passed 80 of 80 under both conditions; and no author affiliation appears in the work's own front matter, the arXiv HTML returning HTTP 429, so none is attributed.
Post
Your AGENTS.md has a line in it from March. The code moved on in June.
The agent follows the line.
A paper submitted on 22 October (arXiv:2610.30571) measures that: 40 Python projects built so the instruction file and the existing code disagree, 320 runs across Claude Code 2.1.302 and Codex CLI 0.163.0, 720 decisions per condition.
- 90.1% of decisions followed the stale file. 4.2% followed the code.
- One sentence added to the user-level instruction file flipped it — 91.4% followed the code, a shift of 87.2 percentage points.
- That sentence is 39 tokens: on a disagreement between documentation and existing code, follow the code, and name every inconsistency in the final reply.
Before you file this as a context-window problem: it is a precedence problem. The file arrives as instructions. The code arrives as tool output, which ranks lower. Nothing was forgotten. The file won.
The silent part is worse than the wrong part. Without that sentence, Codex CLI mentioned the conflict in 2 of 80 runs. It rewrote working code in 20 of 80 — a median of 198 lines across 9 files — and 17 of those 20 then failed their tests. Claude Code flagged the conflict in 79 of 80 and rewrote nothing.
The regulatory reflex is "keep your documentation up to date". The AI Act has that duty — Article 11(1), technical documentation "shall be kept up-to date" — and it misses twice. It is a provider duty inside Chapter III, and Regulation (EU) 2026/1744 moved Annex III to 2 December 2027, Annex I to 2 August 2028.
What is live is Article 4. AI literacy has applied since 2 February 2025, national market surveillance authorities have been enforcing it since 2 August 2026 — in Germany the BNetzA — and the Commission's own Q&A says relying on a system's instructions for use may be ineffective. This paper is a measurement of precisely that sentence.
Monday:
- Put the precedence sentence in your user-level instruction file, not once per repo.
- Date every claim in AGENTS.md and delete what you cannot date.
- Treat an agent that did not mention a conflict as an agent that resolved one.
A stale instruction file is not out-of-date documentation. It is a live, unversioned, highest-priority input that no reviewer reads.
When did you last read yours as code?
#AgenticEngineering #EUAIAct #AIGovernance #SoftwareEngineering #Berlin
First comment
Sources, primary first.
The paper itself — 40 projects, 320 runs, the 90.1% / 4.2% split and the 87.2-point shift: https://arxiv.org/abs/2610.30571
The authors' data and code, including the exact precedence sentence and the per-cell numbers: https://github.com/WenJing95/stale-docs-data
AI Act Article 4 as it now reads, consolidated after the Digital Omnibus — "take measures to support", and no duty to guarantee any individual's level: https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-4
The Commission's own AI literacy Q&A — applies since 2 February 2025, enforced by national market surveillance authorities from 2 August 2026, and relying on instructions for use may be ineffective: https://digital-strategy.ec.europa.eu/en/faqs/ai-literacy-questions-answers
AI Act Article 11(1) — "shall be kept up-to date", and that it sits in Chapter III, Section 2: https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-11
Regulation (EU) 2026/1744, the Digital Omnibus, in force 27 July 2026 — the Annex III and Annex I deferrals: https://eur-lex.europa.eu/eli/reg/2026/1744/oj
Two caveats and one point cut for length.
The conflicts here are constructed rather than found in the wild, so 90.1% is a measurement of a built disagreement, not a rate of stale docs in real repositories. And no author affiliation appears in the work's own front matter — the arXiv HTML returned 429 — so I attribute none.
Cut for length: the jump to a 100% test pass rate is entirely Codex CLI's. Claude Code passed 80 of 80 in both conditions; Codex went from 78.8% to 100%. The sentence did not make one agent correct. It stopped the other one from deleting things.
Claims
- CLAIM-2026-10-25-01
- CLAIM-2026-10-25-02
- CLAIM-2026-10-25-03
- CLAIM-2026-10-25-04
- CLAIM-2026-10-25-05
- CLAIM-2026-10-25-06
- CLAIM-2026-10-25-07
- CLAIM-2026-10-25-08
- CLAIM-2026-10-25-09
- CLAIM-2026-10-25-10
- CLAIM-2026-10-25-11
- CLAIM-2026-10-25-12
- CLAIM-2026-10-25-13
Sources
- arxiv2026stale
- ecdigitalst2026ai
- euaiactserv2026article
- euaiactserv2026technical
- eurlex2026regulatio
- github2026staledocs
Corrections
No corrections.
AI disclosure
The video for this edition contains AI-generated media: the narration is a synthetic voice, the cover art and any background imagery are generated, and the brand ident animation is generated. The script, the claims and the source verification are human-authored and human-checked. Assets carry IPTC DigitalSourceType and C2PA Content Credentials.