Patrick Kelly, a developer at Google AI, has published a set of experiments on coding agents. He ran 470 tasks on Gemini 3.8 Flash and Gemini Pro, deliberately planting redundant content, duplicated rules, outdated documentation and directly contradictory instructions in code repositories to see which conditions make a model go wrong.
The result ran against his expectations. Stuffing a session with 50,000 tokens of irrelevant chat history, or repeating the same rule across several files, produced zero rule violations; even Flash did not slip. What caused trouble was files that contradicted each other.
Seen, but never mentioned
Kelly calls this problem “context drift” to set it apart from “context rot.” The latter describes accuracy falling after a session grows too long and too noisy. The former describes a team’s AGENTS.md, skill files, docs, memory and code slowly falling out of sync over weeks and months, so that an agent receives conflicting instructions on the very first turn of a new session.
He only found the problem by reading summaries of the model’s reasoning. In 73% of runs, the model explicitly noticed in its thinking that two sources disagreed, yet across 110 runs with no extra prompt, it mentioned the conflict to the user 0 times. The model quietly picks a side and keeps working.
The way it picks is also consistent: on the relevant tasks, task-level skill files overrode the root AGENTS.md in 95% to 100% of cases, even when AGENTS.md used forceful wording such as MUST. In a team setting, that means you change a global rule in AGENTS.md, forget to update the old value in some skill file, and the agent will almost every time follow the old value.
Stale docs set against live code are subtler. In one case the docs referenced a test helper that had since been renamed; in 9 of 15 runs the model wrote a one-line wrapper function in the new test file so that pytest still passed, without mentioning the inconsistency. When two skill files at the same level contradicted each other with no stated priority, the model spent 47% more thinking tokens.
Kelly’s guess is that RLHF training pushes models to finish the job decisively rather than ask the user about every small ambiguity. This is only his speculation, and the article offers no test of it.
One line of prompt, and one tool
He first added a single line to AGENTS.md telling the model to state any discrepancy it found in the conversation; all 16 completed runs did so. To avoid having the agent interrupt its work every time, he then built a read-only MCP tool, report_inconsistency, with just two categories, conflict and stale. With no prompt at all and the tool simply attached, 150 of 152 runs logged the conflict, or 98.7%, with no false positives on Flash and roughly the same number of turns and tokens.
Two practical details: once the tool is connected, the model stops raising conflicts in the conversation, so if you want both, add a line to the prompt. And Gemini Pro explores fewer steps than Flash; it only caught drift in skill and memory files when summaries of those files were listed in the prompt and the tool was loaded directly rather than hidden behind tool search.
“Instead of warning you, the model quietly picks a winner and moves on.”
For teams that use AGENTS.md
The experiments covered only two Gemini models, and in some conditions the sample was just a dozen or so runs. They are the author’s personal records and have not been peer reviewed. The article offers no data on whether Claude, GPT and other models also “see but don’t say.” A commenter claimed to have observed something similar on Opus 5, but that cannot currently be verified.
Teams in China that use Claude Code, Codex or Cursor typically keep AGENTS.md or CLAUDE.md, a handful of skill files and a pile of historical docs in the same repository. The practical takeaways from the experiments are modest: keep each rule in one place; when you change a global rule, search the skill files for the old value; and if you want to know whom the agent actually listened to, give it an outlet for recording conflicts, which is easier than digging through logs afterward.
Sources: Google AI developer community column, CocoLoop, the author’s personal blog; percentages such as 73%, 0%, 95% to 100% and 98.7% are based on the number of runs in the author’s experiment records.