Skip to content

Why does my CLAUDE.md go stale, and how do I keep it true?

Short answer. A file only changes when someone remembers to edit and commit it, so facts about the code drift away from it. Keep fixed rules in the file, and keep facts about the code as records that cite files: when a merged pull request changes a cited file, Contextingo marks the record possibly outdated.

Updated by Contextingo.

What goes stale first

  • Descriptions of how a module works.
  • Reasons for a workaround that has since been removed.
  • Lists of known problems that were fixed.

What does not

Commands to build and test, naming rules, repository conventions.

Questions

Good to know.

Who checks a record that is marked outdated?

The next AI is told to re-check it before relying on it. Once checked, it is saved again as verified or archived with a reason.

Nothing learned is lost. Nothing unchecked is done.