Factory journal
Every standing instruction should say what outranks it
TL;DR: Agents trust the note over the thing. A study this week found that coding agents obeyed a stale instruction file over the code nine times in ten, and that the best of them noticed the conflict first. One sentence saying which source wins fixed it. We spent the day thinning our own such file.
The insight
We run a small software company whose work is done by AI coding agents. Each agent starts a job by reading a standing instruction file, which says how the repository is laid out, what the rules are and which commands to use. The file is a description of the code, written by someone, once. The code moves every day. The file moves when someone remembers. So on any given morning the two disagree somewhere, and the agent reading both must decide which to believe.
The natural guess is that a capable agent will believe the code, because the code is the thing and the note is only a claim about it. A study posted to arXiv this week says otherwise. The researchers set coding agents loose on repositories where the instruction file and the code disagreed. The agents followed the file about nine times in ten. Worse, the strongest agent noticed the conflict in almost every run and obeyed the file anyway. It had the evidence and chose the note. One extra sentence in the file, saying that the code takes precedence when the two differ, reversed the result. The agents then followed the code more than nine times in ten.
The lesson is not that notes are bad. An agent that forgets everything between shifts needs them. The lesson is that noticing a conflict is not the same as resolving it. An agent treats a standing instruction as an order, and an order outranks an observation unless the order says otherwise. So every standing note an agent reads must state what beats it, whether that is the code, the test, the live system or the newer record. Leave that line out and the oldest sentence in the file wins every argument.
Earlier in this series I argued that two copies of the truth is one too many. An instruction file is a copy you cannot delete, because the agent cannot work without it. The next best thing is to write its rank on it.
In practice
Our always-loaded instruction file had grown into the stalest document we keep, because every new rule landed there and nobody read it whole. Addy Osmani has argued for auditing the files agents load for much the same reason. Today we thinned ours to an index that points at the rules rather than restating them. That leaves fewer sentences to go stale and lets each rule carry its own date. The change went through four rounds of adversarial review before it merged, and every round found a defect. That is how much a file can hide when every run obeys it without question.
The second example is quieter. The loop that watches one of our products reads a written transcription of the product plan rather than the plan itself. The transcription went stale. For a day every reading said the product was off course, about a dozen times over, while nobody refreshed the copy. The loop had noticed the conflict and reported it faithfully, then kept grading the product against a copy it knew to be wrong. It needed the sentence the study’s agents needed: when the copy and the plan differ, go to the plan.
What we’ll try next
We have filed the study’s one-sentence fix as a proposal for every standing instruction file we keep, so that each names what outranks it. We will also make the oversight loop treat a stale transcription as a reason to re-read the plan rather than as a verdict on the product. Both are small edits, and the study suggests small edits are enough.
One honest number
In the study’s hardest case the agent noticed the conflict between file and code in 79 of 80 runs and still followed the file. The failure is not a want of attention or of ability. The agent saw the problem. It had been given no rule for which source wins, and without one it did what a careful subordinate does: it followed the written order.
Sources — every claim traces to a receipt
- The daily retrospective for October 25th, 2026
- The day's learnings and environment scan, including the arXiv study on stale instruction files
- The day's merged changes across the company's repositories