My AI memory marked 471 notes as verified. Nothing had verified them.
Go and look at whatever your system calls freshness. The last_checked column, the verified_at field, the little amber badge that says a record is still good. Then answer one question about it:
Which action writes that timestamp?
If the answer is "somebody read the record", you do not have a freshness signal. You have a popularity signal wearing a freshness label, and the things you look at most will always look like the things that are most true.
That was us, for months, in a product whose entire job is to remember things accurately.
What we found
We build a memory layer for coding agents. Every stored lesson carries a confidence badge, and the badge decays with age: green for about a day and a half, amber after that, red from day ten. The agent sees it on every recall. It is supposed to say how much should you trust this.
We went looking for why nobody acted on the amber ones. The badge hangs off a field called verified_at, so we read the code that writes it. Here is what recall_best_solution did, on every single call:
const updatedLesson = {
...lesson,
recall_count: (lesson.recall_count ?? 0) + 1,
verified_at: recalledAt, // ← every read
last_recalled_at: recalledAt,
confidence: 1.0, // ← every read
};Reading a lesson reset its confidence clock to 1.0 and stamped it as verified. The comment above it even said so, cheerfully: "Recall resets verified_at (confidence clock restart)." Somebody wrote that on purpose, and the reasoning is not stupid — if an agent recalled it and did not complain, maybe it is still good. But "nobody complained" is not verification, and the field is not called nobody_complained_at.
Then we counted, on a real store of 735 entries:
471 (64.1 %) carried a verified_at LATER than the day they were written
120 would have been stale by age and were showing as fresh
21 days median age by write date
14 days median age by "verified"Reading had shaved a week off the apparent age of the entire store. And the distribution is the worst possible one: the entries that get read most are the ones that look freshest, so the badge was brightest exactly where a wrong answer would do the most damage.

The class of bug, not the instance
Ours is a memory product, so this reads like our specific mistake. It is not. Look for this shape anywhere:
- A monitoring dashboard whose "last check" updates when you open the page.
- A dependency audit whose "reviewed" date is set by the CI job that lists dependencies, not by anyone reviewing them.
- A runbook with "verified working" in the frontmatter and a date that moves every time someone copies a command out of it.
- A cache entry whose TTL refreshes on read, in a place where you meant it to expire on age.

The common shape: a field whose name asserts something, written by an action that does not do that thing. It is close kin to the guard that has never fired and the alert nobody has read, with one extra twist — this one does not stay silent. It actively reports good news.
That is why it survives so long. A broken check that goes quiet gets noticed eventually, when someone asks why it never says anything. A broken check that says "fine" gets thanked.
The check, and it takes two minutes
Pick your freshness field. Then:
- Find every write to it.
grep -rn "verified_at" src/and read each one. Not the reads. The writes. - For each write, ask what the caller was doing. If any of them is a read path, a page render, a list endpoint, a health poll — that is your bug.
- Then check the distribution. Compare the field against the record's own creation date. If a large share sits later, something other than verification is moving it.

The third step is the one that gave us our number, and it needs one query. Ours was: how many entries carry a verified_at after their ts? The answer was 64 per cent, and it took about a minute to get.
If yours comes back near zero, you are fine and you have spent two minutes. If it comes back high, you have just learned that the age everyone quotes in planning meetings is fiction.
What we changed, and what it cost
Both fields already existed, separately. The fix was to stop writing one of them:
const updatedLesson = {
...lesson,
recall_count: (lesson.recall_count ?? 0) + 1,
last_recalled_at: recalledAt, // reading counts itself, and nothing else
};verified_at now means what it says: the moment the entry was written or actually re-checked. Age calculation falls back to the write date when the field is absent, which is the honest default.
The cost is visible and we took it on purpose: about 120 entries went from amber to red overnight. Nothing about them changed. They had been old the whole time, and the badge had been lying about it.
That is the part worth sitting with, because it is the reason this kind of bug gets built in the first place. The honest version of the signal looks worse. Somebody, at some point, will look at a dashboard that went red and ask what broke — and the answer is "nothing broke, we stopped pretending".
The second half, which we nearly missed
A wall of red warnings with no way forward gets clicked past just as reliably as a badge that always says green. We had swapped one useless state for another.
The fix came from a stranger in a comment thread, who had started storing, next to each of his own notes, the command that re-checks it — and found two already wrong on the first day. So our badge now carries the entry's first stored command:
before 🔴 STALE (21d old, confidence 50% — likely outdated!)
after 🔴 STALE (21d old, confidence 50% — likely outdated!,
e.g. `curl -s http://localhost:8080/health`)No new field: the command was already stored on most entries, because operational lessons come with the call that proves them. A field we would have had to ask people to fill would have gone the way of every other optional field — we have one in the same store that is populated on 2 records out of 735.
One line we will not cross: the server never runs that command. A stored command that a service executes on its own is a back door in anything shared. It gets shown. The human or the agent runs it.
The one sentence
A field that reports trust has to be written by something that earns it.
If you only take one thing from this: go and find out which action writes your verified_at. It is a grep and a query. We did not do it for months, and for months our own product quietly told us that everything we had looked at recently was true.
Next in this series: I sent five AI agents to read my repo, and every one of them ran on my most expensive model.
Which field in your system says "verified", and what actually writes it?
cachly.dev
For solo developers, teams and whole companies
Explain it once. Every AI knows it.
Shared team memory between your code, your tickets and your AI. Hosted in the EU, in every tool. cachly keeps the fixes, the decisions and the traps, so the next session starts with them. Claude Code, Cursor, Copilot, Windsurf, Codex, Gemini CLI and JetBrains all read it. Free for one project, no card needed.
Servers in the EU · one command, restart your editor, done · 1 project free
Four ways to install
- Claude Code
/plugin marketplace add cachly-dev/cachly-mcp /plugin install cachly-brain@cachlyThen turn on auto-update once:
/plugin→ Marketplaces → cachly → Enable auto-update- Any MCP editor
npx @cachly-dev/mcp-server@latest autopilot- JetBrains
- JetBrains Marketplace: cachly-brain