Stale CLAUDE.md test: Claude Code checks code 20/20, Codex 0/20
12/04/2026 — 12/04, 20:18·1 sources (all)·1 reports (all)
Key takeaways
- In a small API repository, a tester changed the port from 8080 to 3000 but deliberately left stale descriptions in CLAUDE.md and AGENTS.md,…
Background & analysis
On 4 December 2026, DEV Community published a test of how AI coding agents handle stale instruction files. The tester set up a throwaway repository for a small API with two commits. In the first commit, the server listened on port 8080, and both CLAUDE.md and AGENTS.md contained that description. The tester then changed the port to 3000 but deliberately left the old lines in both files, creating a mismatch between the instructions and the code. The sessions ran under a founder's direction, with two prompts each run across 60 fresh sessions.
The results differed sharply between the two tools. Claude Code 2.1.335 (Sonnet 5.5) checked the actual code in all 20 of its runs, while Codex CLI 0.164.0, under its default configuration, did so in none of its 20 runs. The reported comparison was 20/20 for Claude Code versus 0/20 for Codex.
The material presents only this set of results. It does not detail the full test methodology, offer an evaluation of either tool, or describe any follow-up work, so the matter currently rests at the publication of the test findings.
AI-generated from 1 reports · updated 1 day ago
Related AI tools
- Heat index
- 48
- All sources
- 1
- All reports
- 1
- First seen
- 1 day ago
Reports on this story headlines open the original
In a throwaway repo where the API port moved from 8080 to 3000 while CLAUDE.md and AGENTS.md still said 8080, the testers ran 60 fresh sessions across two prompts. Claude Code 2.1.335 on Sonnet 5.5 checked the code in all 20 runs; Codex CLI 0.164.0 on defaults did so in 0 of 20.
DEV Community · AIAI score 62
Other stories people are talking about
- Heat index 43Using Codex and Claude Code to review each other's code1 sources
- Heat index 52How to Get Notified When Claude Code Waits for Input1 sources
- Heat index 81When Claude Code plugins are worth building: a team's take1 sources
- Heat index 99NewDeveloper open-sources a Claude Code skill that interviews you before writing your blog post1 sources
- Heat index 99NewDeveloper runs 48 overnight scheduled jobs with Claude Code1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

