A gate, not a pipe
Confirmation-based memory writes for a personal AI: a set of write-time criteria that stop “what the model said” from passing as “what the user said”.
- Authors
- The Gedo team
- Published
- October 13, 2026
Abstract
Long-term memory layers for personal AI commonly follow a write-automatically, edit-afterwards, rewrite-offline pipeline: facts extracted from conversation are stored directly, and the user can only correct them after the fact. We argue that this design conflates two kinds of evidence — what the user actually said, and what the model generated, inferred, or read in external material — and we present a confirmation-based alternative. Every candidate memory is triaged on three axes (source trust, the model’s stated confidence, and conflict with existing memory) into one of three outcomes: “Saved automatically”, “Unconfirmed”, or “To review”. The assistant’s own artifacts are never admissible as evidence about the user; authority levels are derived only on the server from the write path; corrections are implemented as supersession rather than deletion; forgetting is implemented with fingerprints rather than stored text; and every change enters an append-only ledger. We explain the asymmetric cost of errors behind each criterion and why, when in doubt, the system records less. We close with an open problem: how to adjudicate contradictions between two memories once the rules run out.
Keywords long-term memory · human in the loop · provenance and authority · bi-temporal memory · reversibility · personal AI
1Problem: conflated evidence in the memory layer
The prevailing way to make an assistant “remember the user” is to run conversation through an extractor, turn it into fact entries, and write them straight into a memory store; the user edits or deletes afterwards. The pipeline inherits the classic agent-memory design: a stream of observations scored, stored, and retrieved in a loop[1][2]. In our survey of mainstream personal assistants in 2026, all of them write automatically, allow editing after the fact, and rewrite offline; to our knowledge, none asks the user to confirm before a fact is stored.
The pipeline rests on an unstated premise: everything the extractor can see is evidence about the user. But the conversation context is mixed with things the assistant itself produced — a résumé it drafted, milestones from a goal breakdown, the payload of a structured card, a skill manual it paraphrased. When the extractor reads “ten years of product experience”, it cannot tell the user’s own account from the assistant’s previous turn. No link in the chain is faulty: the model is writing a résumé in good faith, the extractor is reading context in good faith. The fault is that nobody ruled that artifacts are not evidence.
The same conflation happens with external material. A forwarded email, a captured web page, a synced document: a high confidence score there only means “the material really says this”, not “this is true”. Pushing such content through the same automatic write path as the user’s own words turns external content into a persistent injection surface. Indirect prompt injection against LLM-integrated applications has been characterized systematically[8]; an injection that lands in memory takes effect on every subsequent turn.
Research on human memory offers a useful analogy: misinformation introduced after the fact is integrated into a person’s own recollection, and the person cannot tell the difference[10]. A system that writes its own inferences and creations back into “facts about the user” reproduces that malleability, only faster and at scale. The question of this note is therefore not “how to remember more”, but “who is entitled to assert a fact about the user”.
3Method
3.1 Three-axis triage and three outcomes
Before it is written, every candidate memory is triaged on three independent axes: source trust — whether it comes from the user’s own words, from the model extracting the original text, from the model’s inference, or from material written by someone else; stated confidence — whether the extraction model gave an explicit confidence at all, and whether it clears a fixed floor; and conflict — whether it constitutes a correction of, or a contradiction with, existing memory. Triage yields one of three outcomes.
| Outcome | Stored | Retrievable | Tag at injection | Reversible | Entry condition |
|---|---|---|---|---|---|
| Saved automatically | yes | yes | none | yes | high importance, explicit confidence, no conflict; imports only when an explicit switch is on |
| Unconfirmed | yes | yes | “unconfirmed” | yes | the second path: stored, but the user has not yet approved it |
| To review | no, stays in the inbox | no | — | — | everything else: third-party material, corrections, missing or low confidence, over the per-source cap |
Table 1 · Properties of the three outcomes. Only the first bypasses the user; the second is retrievable but tagged; the third is handled by the user one by one or in batches.
- A candidate whose confidence the model did not state explicitly is never saved automatically. The pipeline has a default for the missing field, but a default is not a judgment; using it as one means treating a fallback as evidence. We use the model’s self-reported confidence as a filter, not as a probability: language models are usefully calibrated about their own answers under some conditions[9], but we do not rely on that to admit a write — only to refuse one.
- A candidate extracted from material written by someone else goes to “To review” regardless of confidence; it never enters the “suggested” band that can be accepted in one click.
- A candidate that constitutes a correction always goes to “To review” (see 3.4): it is destructive, and should not rest on a single model judgment.
- Saving imported material automatically is an explicit switch, off by default; when on, it remains bounded by a per-source cap, the memory-paused state, and quota. We implemented the default as a pure function pinned by a test, because it had once drifted while no test was watching it.
This is not “nothing enters without the user’s confirmation”
In conversation, candidates of high importance with explicit confidence and no conflict are saved automatically, and offline consolidation rewrites the profile layer. What we promise is different: every change is on the ledger, and what can be reversed can be reversed (see 3.6 and §4).
3.2 Artifacts are not evidence
Besides the current user message, the extractor reads the last few turns of context. We exclude the assistant’s own artifacts from evidence at two points: on the extraction side, messages carrying an artifact mark are removed before the prompt is assembled; on the write side, the single entry point for memory writes rejects any entry carrying such a mark, guarding against new call sites that bypass the first gate. The causes are a closed enumeration — the body of a skill deliverable, the task list from a goal breakdown, a structured card payload, a paraphrased skill manual, an intermediate state of quiz generation or grading, and a draft explicitly marked by its producer — so that they can be asserted in tests and explained to the user as “why this was not recorded”.
The direction of the criterion follows from the cost of error. Misclassifying a user fact as an artifact costs one missed memory, which the user can add by hand; misclassifying an artifact as a user fact puts a fabricated fact into the profile, which the user has no way to detect. The costs are asymmetric, so when in doubt the system excludes. The filter applies only on the extraction side, not to the reply context: the model still sees what it needs to see — otherwise “change the title in there” would not connect — but that content is no longer admissible as a fact about the user. The user’s own messages are never filtered: what the user says is evidence, even when they are reading a draft aloud.
3.3 Authority is derived only on the server
A memory entering the store has to answer two different questions: who said it — the user in their own words, the model extracting the original text, or the model inferring; and how it got in — recorded by the user by hand, confirmed by the user, saved automatically, unconfirmed, or imported from outside. We store them as two fields, because the sentence the user most wants to read is precisely their conjunction: “extracted by the model from a conversation, and confirmed by me”.
Both values are derived only on the server, from the write path. A writer states which path it came through, not a conclusion; letting callers fill in their own authority hands the question “is this trustworthy” to the parties least qualified to answer it — outside callers (connected services, import pipelines, other agents) will all award themselves full marks. The mapping from path to authority is an explicit registry; an unregistered path falls to a conservative value and is logged, rather than passing silently; and the API layer rejects any authority field supplied by a client. Authority also enters the retrieval ranking as a weight: what the user wrote by hand ranks ahead of what was saved automatically.
3.4 A correction supersedes; it does not delete
When the user says “not Beijing — I live in Shanghai now”, what used to happen was this: a new entry “lives in Shanghai” was extracted while “lives in Beijing” stayed in the store untouched; the two coexisted, and which one the model repeated next time depended on retrieval luck. We implement a correction as supersession: within a recent candidate pool, the entries being overturned are found by semantic similarity and then vetoed by rules — two entries that differ in a number or a date are never judged a supersession, because “ran five kilometers” and “ran ten kilometers” are two runs, not one correction; and the number of entries a single correction may supersede is capped, beyond which the judgment is presumed off and the system does less rather than more. The rule is borrowed from Graphiti’s separation of duplication and contradiction[4].
Supersession is not deletion. The old entry is marked superseded, with its successor and an expiry time; default retrieval excludes it, while the detail view still shows “used to live in Beijing”. The correction itself always goes to “To review”: accepting it retires an old memory, and that should not rest on the model alone.
3.5 Forget, skip, and delete are three words
Deletion has no recycle bin. But deletion does not solve one thing: the background will extract the same fact again — the next time the user mentions it, the extractor produces a candidate as before, so it is deleted once and comes back once. We add “forget” for this: only when the user explicitly opts in, the content’s fingerprint is written, and from then on candidates with the same content are blocked at the extraction stage. The fingerprint stores a hash, never the text — it records the intent “do not record this kind of thing again”, not the thing itself; storing the text would keep the deleted content in another place. Every block is counted, so that a diagnostics view can answer “how many times has it blocked this for you”.
“Skip” is kept strictly apart from forget: a skipped candidate may reappear after a period — that is “not this time”; forget is “never again”. The three words each govern one thing and do not explain one another. Fingerprints live in the same directory as the rest of the user’s memory, so the existing paths for account deletion, export, and wipe cover them without extra logic.
3.6 An append-only change ledger
When, by whom, and why a memory became what it is now is recorded in a per-user, append-only log: each event carries time, operation, memory identifier, actor, write path, changed fields, and supersession links. A deletion event keeps only a short prefix of the fingerprint, never the text; a flag event records only which keys changed. The actor vocabulary is meant for people: the user, the assistant in conversation, a connected external AI, import, nightly organization, and other internal processes. Writing to the ledger never throws — it is corroboration, and a failure to write corroboration must not bring down the real write. The ledger is cleared together with the rest of the user’s memory when the account is closed.
4Costs and trade-offs
The direct cost of confirmation is density. For the same volume of conversation, fewer entries reach the profile after triage, and the user spends attention in the inbox — whereas the prevailing design skips that step, and users are taught that “it remembers by itself”. We accept the cost for the same asymmetry of errors: a missed memory can be added; a wrong memory that reached the profile is cited as fact in every turn that follows.
We are equally explicit about the concessions. Candidates of high confidence, explicit stated confidence, and no conflict are saved automatically; unconfirmed memories are already retrievable, only tagged at injection; the profile layer is rewritten by offline consolidation, with versioned snapshots kept beforehand and checks against shrinkage and erosion. The claim of this note is therefore not “nothing changes without confirmation” but three testable statements: the conditions for saving automatically are explicit and assertable; every change is on the ledger; and what can be reversed can be reversed.
5How we test it
In keeping with our practice of not publishing evaluation scores, this section states only what is tested and how. The artifact filter is covered by guard tests and contamination probes that do not depend on a model: the probes call the real context-construction function, not a stand-in. Three contamination red lines are written as checks that can turn red: pending entries are never injected; superseded entries are never recalled; content marked “not visible to AI” leaks zero times, and the check must be shown to fail when a leak is deliberately introduced. That saving imported material automatically is off by default, and that a candidate with missing confidence is never saved automatically, are assertions on pure functions.
What has not been quantified must be stated just as plainly: the false-exclusion rate of the artifact filter in real use has not been measured online; the ratio of one-click acceptance to item-by-item rejection in the suggested band has not been collected; and whether the “unconfirmed” tag changes how the model cites an entry has not been tested against a control. These are next steps, not validated results.
6Limitations
- Three-axis triage depends on the extraction model stating confidence and conflict explicitly; calibration shifts as models change, and the fixed floor has to be re-set accordingly.
- The artifact enumeration covers only the causes we know; a new kind of generated artifact enters the candidate pool as a user fact until it is registered.
- The supersession rule is conservative about numbers and dates and may miss a rewording that keeps the meaning; such cases are left to the user on the confirmation card.
- This note addresses only the write-time gate; the criteria for retrieval and consolidation are discussed elsewhere.
Two memories that contradict each other: adjudication beyond the rules
Conflict detection today covers only explicit corrections and is carried entirely by rules. Detecting contradictions between two existing memories requires a model and has not been built; the relation types between memories — enriches, confirms, challenges — are not modeled yet. Our bet: the model proposes and never decides — contradiction candidates go to “To review” and the user adjudicates — and the user’s history of confirmations and rejections in the inbox becomes the training signal for the triage model, in line with work that trains memory-management policies on the outcomes of memory operations[11]. It remains an open problem.
References
- [1]Park, J.S. et al. (2023). Generative Agents: Interactive Simulacra of Human Behavior. arXiv:2304.03442
- [2]Packer, C. et al. (2023). MemGPT: Towards LLMs as Operating Systems. arXiv:2310.08560
- [3]Chhikara, P. et al. (2025). Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory. arXiv:2504.19413
- [4]Rasmussen, P. et al. (2025). Zep: A Temporal Knowledge Graph Architecture for Agent Memory. arXiv:2501.13956
- [5]Lin, K. et al. (2025). Sleep-time Compute: Beyond Inference Scaling at Test-time. arXiv:2504.13171
- [6]Xu, W. et al. (2025). A-MEM: Agentic Memory for LLM Agents. arXiv:2502.12110
- [7]Wu, D. et al. (2024). LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory. arXiv:2410.10813
- [8]Greshake, K. et al. (2023). Not What You’ve Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection. arXiv:2302.12173
- [9]Kadavath, S. et al. (2022). Language Models (Mostly) Know What They Know. arXiv:2207.05221
- [10]Loftus, E.F. (2005). Planting misinformation in the human mind: A 30-year investigation of the malleability of memory. Learning & Memory 12(4), 361–366
- [11]Yan, S. et al. (2025). Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning. arXiv:2508.19828