When agent memory goes stale
Stale agent memory is a note that stopped being true with no one saying so. Give each fact a source and a recheck date, and supersede it rather than edit it.
On this page
Stale agent memory is a note that was true when it was written and isn’t any more, with nothing in it to say so. The agent reads it with the same confidence as on the day it was saved and acts on it. You can’t fix it with better search, because the stale note is often the best match. You fix it with three habits that work in plain files: every fact names a source it can be checked against, every fact carries a date it was last checked and a date it’s due again, and a changed fact is replaced by a new one rather than edited.
The research below is as of November 2026, linked at the source.
| Contradicted out loud | Quietly stopped being true | |
|---|---|---|
| What happens | Someone says the old note is wrong | The world changes, and no one mentions it |
| Example | “We moved off Redis last week” | The port in the config changed in a commit the agent never saw |
| Can the agent see it? | Yes, if it reads the newer note | No, nothing in memory conflicts |
| What fixes it | Supersede the old note, so only one is current | A source and a recheck date, so it gets looked at again |
What the research says about stale memory
Agents are bad at noticing stale memory even when the newer evidence is right in front of them. The clearest test is STALE (Chao et al., May 2026), a benchmark of 400 scenarios in which a later observation makes an earlier memory invalid without saying so outright. It asks three things: is the old belief still valid, will the model reject a question that assumes the old state, and does it apply the new state to a request that mentions neither.
In the authors’ runs, the best model they tested, Gemini 3.1 Pro, scored 55.2% overall. The more useful finding is why. In their diagnostics of one memory system, LightMem, the updated evidence was retrieved in 77.5% of the cases that asked about it directly, and the model still failed often. The old and new memories sat side by side, with nothing to decide between them. The paper sums it up as “visibility does not imply authority”.
That’s the problem in one line. Retrieval can bring back both the old note and the new one. Something has to say which one is current, and a pile of notes with no status can’t.
Contradicted out loud, or quietly out of date
Stale memory comes in two kinds, and they need different fixes.
A memory contradicted out loud has a newer note that disagrees with it. You told the agent you moved off Redis, and it saved that. The old note saying “cache is Redis” is still there. Here the fix is structural: the new note must mark the old one as replaced, so the old one stops being current. Editing the old note in place also works, but loses the history and the reason for the change, which is what stops the next agent from proposing Redis again.
A memory that quietly stopped being true has no newer note at all. Someone changed the port in a commit, upgraded a dependency or renamed a setting, and no one told the agent. Nothing in memory conflicts, so no amount of reasoning over memory will find it. The only fix is to go back to the source and look. That means the note has to say where its source is, and something has to say when it’s time to look.
A convention for plain files
You can start this tomorrow in a CLAUDE.md, an AGENTS.md or a folder of notes, with nothing installed.
- One claim per fact. “The API runs on port 8080 and uses Postgres 16” is two facts. When one changes, you correct one line.
- A source on every fact. A file path, a commit, a URL, or “user said on 2026-11-17”. A fact with no source can’t be rechecked, so it can only go stale.
- A checked date and a due date. Write when you last checked it, and when to check it again. Fast-moving facts get a short interval, settled ones a long one.
- Supersede, don’t edit. When a fact changes, add the new one, mark the old one as replaced and say by what. Keep the old one out of the way of the agent, in a history section or a separate file.
- Keep events apart from facts. “Shipped 0.8 on Friday” happened and stays true forever. “The latest version is 0.8” won’t. Only the second kind needs a recheck.
In a CLAUDE.md, a fact written this way looks like this:
## Facts
- The API listens on port 8080. Source: config/server.toml. Checked 2026-11-17, due 2027-05-16.
- Releases are built by CI on tags. Source: .github/workflows/release.yml. Checked 2026-11-17, due 2027-05-16.Then add one instruction above the list: before relying on a fact past its due date, check it against its source and update the dates or replace it. That is the whole method. What a plain file can’t do is notice the dates for you, so someone has to look.
Should agent memories expire?
Not by date alone. Deleting a memory after a fixed time throws away the ones that are still true along with the ones that aren’t, and events never go stale at all. What should happen at the due date is a check, with three outcomes:
- Still true: renew it for another interval, and note what was checked.
- Changed: write the correction as a new fact that replaces the old one.
- Gone: retire it, with the reason, and keep it for history.
A due date doesn’t stop a fact going wrong the day after it was checked. It puts a limit on how long a wrong fact can go unexamined.
How Memorinth handles stale facts
Memorinth builds the convention above into its notes, so the dates are watched for you. Its Facts are single claims in facts/, each with a source_ref, a verified date and a review_every interval. The default interval is 180 days, and the field also reads values like 26w, 6m or 1y.
- Due facts are flagged. Once a fact’s
verifieddate plus its interval has passed, search marks itneeds-reviewand ranks it lower than a current fact. The briefing at the start of each session lists the facts that are due, andmemorinth statuscounts them. - The recheck has three outcomes. An agent checks the source and calls
revalidate_fact: still true renews it, false with a correction supersedes it, false with none retires it. Each call records what was checked. - Old versions get out of the way. A fact is never edited. A correction is a new fact that names the old one in
supersedes, and the old one is retired and kept. Search hides retired facts and superseded decisions unless an agent asks for history, so search doesn’t hand an agent two versions with nothing to choose between them: only one is current.
Decisions follow the same rule without the clock. A choice doesn’t go stale on a date, so it stays accepted until a new decision supersedes it or it’s deprecated. Decisions and facts: ADRs for AI agents covers the two note types side by side.
Two limits, plainly. Memorinth’s memories, as opposed to facts, have no due date and don’t fade with age: a memory that has gone out of date stays in search until someone corrects it, so a claim that can go stale belongs in a fact, not a memory. And a recheck is only as good as its source: “user said” can only be confirmed by asking you.
When plain files are enough
If your project has a dozen facts that rarely change, the CLAUDE.md convention above is enough, and it’s simpler than any tool. You read the file, you see the dates. A memory layer starts to earn its place when facts number in the dozens, when several agents write to them, or when you want due facts raised at the start of every session without anyone remembering to look.
To write facts that hold up, read Keeping facts true. How agents use it explains the briefing that lists what’s due.