TL;DR: Wrong memories almost always come from a cause, not from bad luck: a reflection prompt that over-generalises, a release that changed the write step, a source that was misread. Measure the error rate on a verified sample, broken down by provenance (writer, version, basis, date), to find the cohort. Quarantine that cohort so reads stop using it, re-verify what can be checked against systems of record, retract the rest, rebuild anything derived from it, and fix the write path with a check that would have caught it.
How to approach it
Ask how anyone noticed (customer complaints, wrong actions, a reviewer) and whether records carry provenance. If they do, this is an investigation; if they do not, the first fix is adding it, and cleanup will be coarser.
A strong answer
1. Measure, don't guess. Draw a random sample of active memories (a few hundred), and have reviewers, or checks against systems of record where possible, label each correct, wrong or unverifiable. That gives an overall error rate with an interval, and the labelled set for the next step.
2. Break the errors down by provenance.
from collections import defaultdict
def error_by(sample, field):
tally = defaultdict(lambda: [0, 0])
for m in sample:
tally[m[field]][0] += m["label"] == "wrong"
tally[m[field]][1] += 1
return {k: f"{w}/{n}" for k, (w, n) in sorted(tally.items())}
sample = (
[{"writer": "reflect-v3", "basis": "inferred", "label": "wrong"}] * 31 +
[{"writer": "reflect-v3", "basis": "inferred", "label": "correct"}] * 49 +
[{"writer": "tool-write", "basis": "stated", "label": "wrong"}] * 3 +
[{"writer": "tool-write", "basis": "stated", "label": "correct"}] * 117
)
print(error_by(sample, "writer")) # => {'reflect-v3': '31/80', 'tool-write': '3/120'}
Illustrative numbers, typical shape: memories the agent wrote when the user stated something are almost all right; conclusions from a post-run reflection step, version 3, are wrong nearly four times in ten. Check the version history: if reflect-v3 shipped three weeks ago with a prompt asking for "general lessons about the user", you have the cause.
3. Quarantine the cohort. Mark every active record from reflect-v3 as quarantined: reads skip it immediately, nothing is deleted yet. This stops further damage in minutes, whatever the cleanup takes.
4. Clean up by what can be verified.
- Records that restate facts owned elsewhere (plan tier, open tickets): re-check against the system of record; restore the true ones, retract the rest.
- Preferences and conclusions with no source to check: retract by default, or restore only those reconfirmed by a later stated record.
- Derived data: rebuild profile summaries and embeddings from the remaining active records so retracted content does not survive in them.
5. Fix the write path. Revert or rework the reflection prompt; require a basis and evidence for every conclusion; give inferred records short lifetimes and keep them away from consequential actions; and add a release check: run the new writer on recorded sessions and measure its error rate on a labelled set before it ships.
6. Watch it. Track corrections per hundred memories and the share of actions influenced by inferred memories, by writer version, on a dashboard.
What interviewers probe next
"The records have no provenance. Now what?" Cohort by what you do have (creation date against release dates, text patterns), quarantine broadly, and add provenance before turning writes back on. Coarse cleanup is better than leaving wrong memories active.
"Can the model find the wrong memories itself?" It can help flag contradictions between memories and with live data, but it should not be the judge of its own conclusions. Use it to propose candidates for review.
"Users saw wrong behaviour for three weeks. What do you tell them?" That depends on what was affected; for consequential errors, identify the affected accounts from the quarantined records' scopes and handle them through the usual incident process.
How it's scored
Weak: Deletes memories that look wrong, or wipes the store.
Hire: Samples and labels, retracts wrong records and tightens the write policy.
Strong Hire: Finds the cause by breaking error rates down by provenance, quarantines the cohort before cleaning, verifies against systems of record, rebuilds derived copies, fixes the writer with a pre-release check, and monitors by writer version.
Common mistakes
- Cleaning record by record without finding the writer that produced them.
- Deleting before quarantining, which loses the evidence.
- Leaving retracted content alive inside summaries and embeddings.
- Re-enabling the same write step with a slightly reworded prompt and no measurement.