HOT RADAR
agentHEAT 16.4°

First report 12/7/2026

Coding Agents Blindly Follow Stale Instruction Files, One Sentence Fixes It

1 reports1 sourcesupdated 12/7/2026, 06:40:39
Original Source · Rohan Paul (@rohanpaul_ai)

Rohan Paul (@rohanpaul_ai) · 2026-12-07 06:40

New Georgia Tech and CU Boulder paper finds that coding agents obey outdated instruction files over the real code.

And 1 added sentence fixes it (" when docs and code disagree, follow the code.").

Files like CLAUDE.md and AGENTS.md are written once and rarely updated, while the code keeps changing. So an agent may read "use print" in the file while every module uses logging.

They built 40 Python projects where the instruction file and the code disagree, and ran Claude Code and Codex CLI 320 times. Half the runs added 1 sentence to the user's own file: when docs and code disagree, follow the code.

Without the sentence, 90.1% of the agents' choices followed the stale file, and Codex CLI rewrote working code in 20 of 80 runs. With it, 91.4% of choices followed the code, and tests passed in all 160 runs, up from 89.4%.

Add that sentence to your user-level CLAUDE.md or AGENTS.md, and use the conflicts the agent reports to fix the stale lines.

推文配图

Coverage timeline

Total 1 reports · Latest first
  1. Coding Agents Blindly Follow Stale Instruction Files, One Sentence Fixes It