Your agent reads CLAUDE.md, AGENTS.md, and .cursorrules as ground truth — and those files rot. Paths go dead, dependency claims go stale, counts drift. Depthfinder scans the claims your context files make and verifies them against the repo itself.
All-Hands-AI/OpenHands — a top agent framework — ships an AGENTS.md that scores Context Honesty 60, with 12 dead references the agent reads as truth. Most fast-moving AI repos have the same rot. Depthfinder finds it, deterministically, with git evidence.
Scanned 2026-06-15 at commit f941ba5 (6 references never existed, 6 git-proven stale). Reproduce it: npx depthfinder on a fresh clone. We date-stamp this on purpose — a number that quietly rots is exactly what Depthfinder exists to catch.
No model calls by default. Nothing leaves your machine. If it can't decide a claim safely, it says unknown — it never guesses and never false-accuses.
Every false claim cites git history. Stale = the file existed and was deleted/moved. False = it never matched. The split tells you whether your docs rot or lie.
A false line costs your agent either way: it acts on the lie, or it stops trusting the file and re-derives everything by hand. --burn shows a real agent getting fooled.
--strict fails the build (exit 20) when your context rots, so a PR can't quietly drift CLAUDE.md out of sync with the code.
# scan the repo you're in npx depthfinder # install the /depthfinder agent skill (Claude Code + Codex) npx depthfinder --install-skill # fail CI when your context rots — drop into any workflow: - uses: phdev/Depthfinder@v1 with: max-false: 0
Requires Node ≥ 20 and git. Zero runtime dependencies. Full docs →