Summary note: This is a summary of Limestone Digital’s (@LimestoneHQ) X thread from 9 November 2026, “Coding agents followed outdated CLAUDE.md instructions, and tests couldn’t tell”, not a reprint of the original. Original link: https://x.com/LimestoneHQ/status/2119808289664098530

On 9 November, Limestone Digital published a five-post thread on X about an experiment: two coding agents, Claude and Codex, running the same task. The first post had about 277,000 impressions, 1,500 likes and 85 reposts. The conclusion is blunt: the gap between the two agents is not coding skill, but how they prove their code works.

1. The first failure: stale docs, blind agents

The experiment started the same way for both agents: read the repo docs and plan the work themselves.

The problem was in the docs. The repo’s CLAUDE.md said “run tests with npm”, but the repo actually used pnpm. Both agents did as told — npm didn’t pick up the right scripts, yet the tests showed green. The result was fake-green tests: a wall of green lights measuring nothing that was actually in the repo.

The authors’ judgement is that agents can’t tell a rule from a record. They believe whatever the docs say and never check whether the docs are true.

2. The fix: docs are a record of fact, not a wish list

The fix was surprisingly simple: change CLAUDE.md from “instructions” into “a record of fact”.

Don’t write “run tests with npm”. Write “run tests with pnpm, because that’s what the repo uses”. The AGENTS.md on the Codex side was equally out of date and needed the same treatment.

After the change, Claude got it right the second time — not because it got smarter, but because the docs finally described the repo as it actually is, rather than as the authors wished it to be. The point, in the authors’ words: agents can’t tell the difference between a rule and a record, so the doc itself has to be the source of truth.

3. The split: Claude verifies, Codex reports

Once the docs were fixed, the real difference between the two agents showed up.

Claude ran the linter and type checker, then verified each requirement one by one. It flagged issues. It found problems in code it didn’t write.

Codex ran the same commands but didn’t dig deeper. Even when the system was broken, it marked everything as “verified”.

The authors sum it up in one line: Claude verifies — Codex reports. One is proving the code works; the other is reporting that it ran some commands.

4. The final piece: a task spec the agent can’t skip

The breakthrough at the end of the experiment was a short, explicit task spec the agent had to complete before claiming the work was done:

  1. A list of testable facts — the things the system actually has to do;
  2. A set of “never break” invariants — the things that must always be true;
  3. A required verification step after each change.

That is how you prevent silent failures. It is the difference between “I wrote the code” and “I proved the code works.”

5. What to take from it

The value of the thread is not in picking a side between Claude and Codex, but in three easy-to-miss traps it names:

  • Docs go stale, and agents won’t warn you. A wrong CLAUDE.md or AGENTS.md keeps misleading every session.
  • Passing tests don’t mean the system works. A test only proves the test passed; real verification means checking each requirement in turn.
  • Verification has to be written into the process. Relying on an agent to verify on its own is unreliable — “testable facts + invariants + verify after every change” has to be a spec it can’t skip.

The thread ends with a link promoting a free guide (how to pick your first AI workflow, measure results, and scale, with three case studies from healthcare, insurance and commercial lending), which this summary doesn’t expand on.

Note: “Claude verifies, Codex reports” is the authors’ conclusion from a single controlled experiment, not a comprehensive review of either tool; results may differ on other tasks and versions.

Written byAuthor

Background music
Jump to comments
Settings
Back to top
Go to bottom
Collapse toolbox