Planting a Fake Bug to Test Whether a Phantom-File Checker Really Catches It
A developer maintaining an agent-driven project memory system wanted to verify that a checker script catches stale file references in its docs, rather than just trusting its design. The checker validates a structured table in key_facts.md, while bugs.md and decisions.md are scanned by regex for filename-like tokens across their prose. The developer first confirmed the checker passes on the untouched repo, then planted a reference to a nonexistent script in a prose bullet outside the table. Re-running the checker showed it still reported the docs as in sync, exposing a gap in the design. The experiment suggests prose-based references in key_facts.md go unchecked despite the source comment's reasoning.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in