ReadPrintedHistoryCompareGraphs

v2.2 → v2.3

What changed from v2.2 to v2.3

From v2.2 (12 Oct) to v2.3 (12 Oct): 10,026 words to 10,287 words, 1,780 words in new or rewritten paragraphs and 1,519 taken out, 106 paragraphs changed.

Tighter prose; retries and delivery to the search stage spelled out

Mostly cuts and tightening across every section. Two places grow. Section 7.2 now says what a retry does: each write is a request with an ID, each decision is an attempt with its own receipt, and a retry returns a final answer but re-runs a pending one; it also says how a published change reaches the search stage and survives a crash. Section 7.7 adds how old copies are cleaned out of the git store after an erasure, and names clones outside the gate as out of reach.

v2.2 · 12 October 2026v2.3 · 12 October 2026

··· 1 unchanged paragraph folded ···

v2.2 · AbstractThink of a good assistant's notebook. When your weekly call moves to Thursday, she strikes the line that said Wednesday, writes Thursday beneath it with the date and who told her, and if it clashes with something pinned to the first page, she asks you first. Years later it is still worth trusting: every line says where it came from, and nothing changed behind your back.
v2.3 · AbstractThink of a good assistant's notebook. When your weekly call moves to Thursday, she strikes the line that said Wednesday, writes Thursday beneath it with the date and who told her, and if it clashes with something pinned to the first page, she asks you first. Years later it is still trustworthy: every line says where it came from.
v2.2 · AbstractAI agents keep notebooks too, memory files they edit during a conversation or overnight. But one careless write can mislead every later turn: an old line can contradict a standing rule, or a guess can come back as fact.
v2.3 · AbstractAI agents keep notebooks too, memory files they edit as they work. But one careless write can mislead every later turn: an old line can contradict a standing rule, or a guess can come back as fact.
v2.2 · AbstractWe propose MNEMOSYNE: the memory store can be changed only through one gate. It compares each write with the same-topic facts and the rules loaded on every turn, a small model names the relation, and only that judgement may retire an old fact, which stays, marked with why it ended. When the judge is down or the change is risky, the write waits where the owner can see it.
v2.3 · AbstractWe propose MNEMOSYNE: the memory store can be changed only through one gate. It compares each write with the same-topic facts and the rules loaded on every turn, a small model names the relation, and only that judgement may retire an old fact, which stays, marked with why it ended. Even the owner's correction closes a fact only where the judge has proved itself on held-out data. When the judge is down or the change is risky, the write waits where the owner can see it, and is judged again when the judge returns.
v2.2 · AbstractIn your own assistant, a correction made once stays made, and you can ask what was true last month and what the agent believed at the time. This is a design, with the tests that would decide it. If it holds, an agent's memory becomes something you can audit like a notebook and trust like one.
v2.3 · AbstractIn your own assistant, a correction made once stays made, and you can ask what was true last month and what the agent believed then. This is a design, with the tests that would decide it; none has run.

··· 1 unchanged paragraph folded ···

v2.2 · 1. IntroductionAn agent that serves one person for months learns things the way an assistant does: the person says something once and expects it to stick. The meeting moved; the supplier prefers calls before noon. Every serious agent harness now has a version of this: a directory of memory files the model edits through a tool (Anthropic, 2025), a git repository of Markdown files that a background agent tidies (Letta, 2026), or a store of facts extracted from each conversation (Chhikara et al., 2025; Rasmussen et al., 2025).
v2.3 · 1. IntroductionAn agent that serves one person for months learns the way an assistant does: the person says something once and expects it to stick. Every serious agent harness now has a version of this: memory files the model edits through a tool (Anthropic, 2025), a git repository of Markdown files that a background agent tidies (Letta, 2026), or facts extracted from each conversation (Chhikara et al., 2025; Rasmussen et al., 2025).
v2.2 · 1. IntroductionAnd the hard part of memory is not storing: a full session record can be kept word for word. The hard part is that the store is written by many hands at many moments, and one careless write can poison every turn that follows. Four failures recur, and each one shaped a choice in this paper.
v2.3 · 1. IntroductionThe hard part of memory is not storing: a full session record can be kept word for word. It is that many hands write the store at many moments, and one careless write can poison every turn after it. Four failures recur, and each shaped a choice here.
v2.2 · 1. Introduction*A write that contradicts a rule in another file.* A line in the index file restates one of the owner's preferences in shorthand. He later refines it in the rules file, and two texts loaded on every turn now disagree. A check against the nearest stored memories misses this: the two lines sit in different files, months apart, in different words.
v2.3 · 1. Introduction*A write that contradicts a rule in another file.* A line in the index file restates one of the owner's preferences in shorthand. He later refines it in the rules file, and two texts loaded on every turn disagree. A check against the nearest stored memories misses this: the lines sit in different files, months apart, in different words.
v2.2 · 1. Introduction*A fact that has forgotten where it came from.* The agent runs one query, gets nothing back, and writes down that a certain kind of item does not exist. Weeks later it repeats the negative as if it had seen it. Zhan et al. (2026) call this authority collapse: consolidation keeps the claim and drops the conditions under which it may be used.
v2.3 · 1. Introduction*A fact that has forgotten where it came from.* The agent runs one query, gets nothing back, and writes down that a kind of item does not exist. Weeks later it repeats the negative as if it had seen it. Zhan et al. (2026) call this authority collapse: consolidation keeps the claim and drops the conditions under which it may be used.

··· 2 unchanged paragraphs folded ···

v2.2 · 1. IntroductionBut none of these is fixed by a better retriever. They happen at the moment of writing, and they are hard because the writers are many (a live turn, a nightly pass, the owner by hand, other agents), the contradictions that hurt sit between files and against standing rules, deleting the old version destroys the history that would explain what happened, and judging whether two sentences conflict takes a language model on every write, which costs money and sometimes fails.
v2.3 · 1. IntroductionNone of these is fixed by a better retriever. They happen at write time, and they are hard because the writers are many, the contradictions that hurt sit between files and against standing rules, deleting the old version destroys its history, and judging a conflict takes a model on every write, which costs money and sometimes fails.
v2.2 · 1. IntroductionTherefore we propose one gate that every change to memory must pass. *The claim of this paper in one sentence: an agent's long-term memory stays trustworthy if it can be changed only through a gate that compares each write with the same-topic facts and the always-loaded rules, records where the write came from and how far it may be trusted, and lets only a judge retire an old fact, which is kept and marked with why it ended.*
v2.3 · 1. IntroductionTherefore we propose one gate for every change to memory. *The claim of this paper in one sentence: an agent's long-term memory stays trustworthy if it can be changed only through a gate that compares each write with the same-topic facts and the always-loaded rules, records where the write came from and how far it may be trusted, and lets only a judge retire an old fact, which is kept and marked with why it ended.*
v2.2 · 1. IntroductionThe contributions are a gate the store cannot bypass, with a policy for each kind of write when something fails (§5); a comparison set that includes the always-loaded rules (§6); facts with stable IDs, published as whole snapshots, that end in one of three distinct ways (§7); closing earned per risk class on held-out data (§7.5); source, authority and evidence as separate fields, with dependency links (§8); and a cost model that prices the judge's errors (§10).
removed in v2.3
v2.2 · 1. IntroductionThis paper is a design for the next build; it reports no results. MNEMOSYNE, the Greek goddess of memory, is only a name.
v2.3 · 1. IntroductionThis paper is a design for the next build; it reports no results. MNEMOSYNE is only a name.

··· 1 unchanged paragraph folded ···

v2.2 · 2. Where this sitsThis is one of four designs for an agent's memory: keeping (the keeping paper, J1), writing (this paper, J14), finding (the finding paper, J2) and learning (the learning paper, J5). This paper owns what enters long-term memory, from the choice to write to the shape and checks of what is written.
v2.3 · 2. Where this sitsThis is one of four designs for an agent's memory: keeping (the keeping paper, J1), writing (this paper, J14), finding (the finding paper, J2) and learning (the learning paper, J5). This paper owns what enters long-term memory: the choice to write, and the shape and checks of what is written.

··· 2 unchanged paragraphs folded ···

v2.2 · 2. Where this sits*Zep and Graphiti* (Rasmussen et al., 2025) store facts as edges in a temporal graph; a contradicted edge is invalidated by setting its end time, and every edge carries two timelines, when it held in the world and when the system ingested it. We adopt the two timelines (§7.3). Graphiti also stores each ingestion as an episode and links the entities extracted from it back to that episode (Zep, 2026); our dependency links extend the idea to use keys, rules and test fixtures, so an erasure can follow them (§8.1). Our unit is a line in a human-readable file, and any database is a cache rebuilt from it.
v2.3 · 2. Where this sits*Zep and Graphiti* (Rasmussen et al., 2025) store facts as edges in a temporal graph; a contradicted edge is invalidated by setting its end time, and every edge carries two timelines, when it held in the world and when the system ingested it. We adopt the two timelines (§7.3). Graphiti links the entities extracted from each episode back to it (Zep, 2026); our dependency links extend that to use keys, rules and test fixtures, so an erasure can follow them (§8.1). Our unit is a line in a human-readable file; any database is a cache rebuilt from it.
v2.2 · 2. Where this sits*Letta's MemFS* (Letta, 2026) is the closest product to our file layer: memory is a git repository of Markdown files that the agent edits as a local checkout with ordinary file tools; files at the memory root are loaded on every turn; directories with their own index stay out of context until needed; every edit is a commit; and background memory agents edit in separate git worktrees. We take the isolated background edit for the nightly pass and add the publication rule it needs (§7.2). Its documentation describes no semantic check on a write, no comparison with the always-loaded files, no source on individual facts and no count of closures; those are what this paper adds.
v2.3 · 2. Where this sits*Letta's MemFS* (Letta, 2026) is the closest product to our file layer: memory is a git repository of Markdown files edited as a local checkout, files at the memory root load on every turn, every edit is a commit, and background memory agents edit in separate worktrees. We take the isolated background edit for the nightly pass and add the publication rule it needs (§7.2). Its documentation names conflict resolution as a benefit of commits but describes no check on a write, no comparison with the always-loaded files, no source on individual facts and no count of closures; those are what we add.
v2.2 · 2. Where this sits*Anthropic's memory tool* (Anthropic, 2025) runs on the client: the model requests a file operation and the application executes it against storage it controls, with path validation and what may be stored left to the application. That makes the tool handler the natural home for the gate (§5).
v2.3 · 2. Where this sits*Anthropic's memory tool* (Anthropic, 2025) runs on the client: the model requests a file operation and the application executes it, with path validation and what may be stored left to the application. The tool handler is the natural home for the gate (§5).
v2.2 · 2. Where this sits*A-MEM* (Xu et al., 2025) lets a new note update the descriptions of old ones. Our use keys share its instinct (§9.4); we decline the automatic rewrite, since a fact here changes only through a judged revision.
v2.3 · 2. Where this sits*A-MEM* (Xu et al., 2025) lets a new note update the descriptions of old ones; we decline the automatic rewrite, since a fact here changes only through a judged revision.

··· 1 unchanged paragraph folded ···

v2.2 · 2. Where this sits*Authority collapse* (Zhan et al., 2026) appeared in 48 of the 49 configurations their benchmark tested, and persisted authority labels brought the unauthorised-action rate in their end-to-end test from 16.9% to zero. §8 makes such labels decide what a fact may become. *MINJA* (Dong et al., 2025) shows that an attacker can plant records in an agent's memory through ordinary queries alone; §8 and §7.7 are the write-side answer. *Context collapse*, the loss of detail under repeated rewriting, is the keeping paper's (J1 §1.3, what summaries lose); the gate's answer to it is the delta rule (§9.5).
v2.3 · 2. Where this sits*Authority collapse* (Zhan et al., 2026) appeared in 48 of the 49 configurations their benchmark tested; persisted authority labels cut the unauthorised-action rate in their end-to-end test from 16.9% to zero, and §8 makes such labels decide what a fact may become. *MINJA* (Dong et al., 2025) plants records in an agent's memory through ordinary queries alone; §8 and §7.7 are the write-side answer.
v2.2 · 2. Where this sitsEach piece has precedent. What we did not find is the combination: a gate that is the only way into the store, a comparison set that includes the rules the agent reads on every turn, and a closing step that only a judge may take, earned per risk class, counted and alarmed.
v2.3 · 2. Where this sitsEach piece has precedent. We did not find the combination: a gate that is the only way into the store, a comparison set that includes the rules read on every turn, and a closing step only a judge may take, earned per risk class, counted and alarmed. Whether it beats a plain git store like MemFS's is unmeasured (§12).

··· 2 unchanged paragraphs folded ···

v2.2 · 3. One write, start to finish![One correction through the gate. The gate reads the meetings file at revision 41, the always-loaded rules and the same turn's calendar result, and the judge names the relation "replaces". The replacement is the owner's own words, so the old fact closes at once, published only if nothing the gate read has changed. The old fact keeps its ID and gains an end date; the receipt names both snapshots and the status: accepted.](images/fig1-one-write-v22.png){width=100%}
v2.3 · 3. One write, start to finish![One correction through the gate. The gate reads the meetings file at revision 41, the always-loaded rules and the same turn's calendar result, and the judge names the relation "replaces". The replacement is the owner's own words and the owner-fact class has passed the closing bar of §7.5, so the old fact closes at once, published only if nothing the gate read has changed. Dashed: in a cold start, where the class has not passed the bar, the replacement is accepted and the closure held.](images/fig1-one-write-v23.png){width=100%}
v2.2 · 3. One write, start to finishThe keeping stage has stored the owner's message as entry 118 of the session record, his words apart from any wrapper (J1 §4.1, what goes in, and with whose name), and the live turn asks to add a line to the meetings file, citing that entry. The gate reads the meetings file at revision 41, where fact F-0412 says the call is on Wednesday; it reads the always-loaded files, which say nothing about the call; and it sees the calendar lookup from the same turn, which shows Thursday. The judge answers: *replaces*. The old fact was told by the owner, and so is its replacement, so the closure needs no further approval. The change is published only if nothing the gate read has moved. F-0412 gains a second revision with an end date of 8 March and a pointer to F-0587, the new fact, which carries "told by the owner", true since 8 March, recorded 9 March. Nothing was deleted, and a question about last week still has its answer.
v2.3 · 3. One write, start to finishThe keeping stage has stored the owner's message as entry 118 of the session record, his words apart from any wrapper (J1 §4.1, what goes in, and with whose name), and the live turn asks to add a line to the meetings file, citing that entry. The gate reads the meetings file at revision 41, where fact F-0412 says the call is on Wednesday; the always-loaded files, which say nothing about the call; and the calendar lookup from the same turn, which shows Thursday. The judge answers: *replaces*. Both the old fact and its replacement were told by the owner, and the owner-fact class has already passed the closing bar of §7.5 on held-out data, so the closure needs no further approval. The owner's word is evidence for the replacement, not an exemption from the bar: in a cold start, where the class has not passed it, F-0587 is accepted, the closure is held and F-0412 stays live, marked "possibly superseded by F-0587" (trace step 7, T8). The change is published only if nothing the gate read has moved: F-0412 gains a second revision ending on 8 March and pointing to F-0587, which carries "told by the owner", true since 8 March, recorded 9 March. Nothing was deleted.
v2.2 · 3. One write, start to finishA few words carry the rest of the paper. A *fact* is one claim about the world, with an ID; a line in a file is how it is shown. A *rule* is an instruction about behaviour; where it lives is the learning paper's ladder (J5 §5, the binding ladder). An *always-loaded file* is one the harness puts in front of the model on every turn; the *index file* is the always-loaded head of the store, one pointer per topic or owned asset. The *owner* is the person the agent serves; a *receipt* is the record the gate leaves for each decision.
v2.3 · 3. One write, start to finishA *fact* is one claim about the world, with an ID; a line in a file shows it. A *rule* is an instruction about behaviour (J5 §5, the binding ladder). An *always-loaded file* is one the harness puts before the model every turn; the *index file* is its head, one pointer per topic or owned asset. A *receipt* is the record the gate leaves for each decision; the *owner* is the person the agent serves.
v2.2 · 3. One write, start to finishThe agent may name only the status a correction has reached: *captured* (J1), *accepted* or visibly *held* (this paper), *retrievable* (J2), *active* or *enforced* (J5). The statuses are dimensions, not a strict chain. This paper owns the move into accepted. One adversarial journey, the series' reference trace (J5 Appendix B, the reference trace), fixes every stage's behaviour; this paper's transitions are its steps 4 to 7, 9, 11 and 13, cited where each is designed.
v2.3 · 3. One write, start to finishThe agent may name only the status a correction has reached: *captured* (J1), *accepted* (committed through this paper's policy) or *held* (a visible hold is acknowledged, not accepted), *retrievable* (J2), *active* or *enforced* (J5). A record that survives a crash is *durable*; only the final acknowledged state is *terminal*, so a pending write is durable and not terminal. One adversarial journey, the series' reference trace, fixes every stage's behaviour as numbered transitions (J5 Appendix B). This paper owns T4, T7, T8, T11 and T14, receives T3 and T5, and sends T6, T9, T12, T15, T17, T18 and T22 to T24; each is cited where it is designed.

··· 1 unchanged paragraph folded ···

v2.2 · 4. Choosing what to writeThe write stage starts with the choice to write at all. J1 keeps every session word for word, so a detail left unwritten stays in the record, a search and a read away. A line in the store earns its place when it saves later sessions that search. In J2's notation (J2 §7.1, a read costs a turn), let $q_{90}$ be the probability that some session in the next ninety days needs the detail; a line pays when $q_{90}$ times the cost of digging it out of the record (two turns at least) exceeds the cost of keeping and checking one line (§10). What the owner states about his world passes easily, and so do observations that took real work to get. The passing state of the task fails, and content still on disk gets a pointer, never a copy.
v2.3 · 4. Choosing what to writeThe write stage starts with the choice to write at all. J1 keeps every session word for word, so a detail left unwritten stays in the record, a search and a read away. A line earns its place when it saves later sessions that search: in J2's notation (J2 §7.1, a read costs a turn), with $q_{90}$ the probability that some session in the next ninety days needs the detail, a line pays when $q_{90}$ times the cost of digging it out of the record (two turns at least) exceeds the cost of keeping and checking one line (§10). What the owner states about his world passes, and so do observations that took real work; the passing state of the task fails, and content still on disk gets a pointer, never a copy.

··· 1 unchanged paragraph folded ···

v2.2 · 4.1 What a live turn writesA live turn writes at once in three cases, because waiting for the night would leave the store wrong for the rest of the day: the owner states a fact or a preference; a tool result disagrees with a stored fact (§8.4); or the turn makes a decision, written with its reason. Everything else waits for the nightly pass. An owner's correction is sorted first by the learning stage (J5 §3.2, sort by cause): a correction about behaviour becomes a rule proposal there, and a correction of a wrong fact comes here as a supersede or a retraction (§7.3).
v2.3 · 4.1 What a live turn writesA live turn writes at once in three cases: the owner states a fact or a preference; a tool result disagrees with a stored fact (§8.4); or the turn makes a decision, written with its reason. Everything else waits for the nightly pass. The learning stage sorts an owner's correction first (J5 §3.2, sort by cause): a correction about behaviour becomes a rule proposal there, and a correction of a wrong fact comes here as a request to supersede or retract (§7.3; T3).

··· 2 unchanged paragraphs folded ···

v2.2 · 4.2 What the nightly pass picks outThe nightly pass reads the day's session records, never the compaction markers, since a summary of a summary has already lost detail (J1 §5.4, written from the record, never from the last marker). It skips every record flagged temporary, including one still open past midnight. A model returns candidate facts, each with the record addresses it rests on (J1 §4.2, addresses that never move); a candidate with no address is a guess and is dropped. It also looks for lines that bundle claims or sit in the wrong file (§9) and layout changes proposed by J2 (§9.2). It works on an isolated copy of the store and publishes through the gate (§7.2), in event-time order, with a cap per topic per night; candidates past the cap go to the owner as proposals (J5 §7.5, the morning report).
v2.3 · 4.2 What the nightly pass picks outThe nightly pass reads the day's session records, never the compaction markers (J1 §5.4, written from the record, never from the last marker), and skips every record flagged temporary. A model returns candidate facts, each with the record addresses it rests on (J1 §4.2, addresses that never move); a candidate with no address is a guess and is dropped. The pass works on an isolated copy and publishes through the gate (§7.2) in event-time order, with a cap per topic per night; the rest go to the owner as proposals (J5 §7.5, the morning report). Layout fixes (§9) come from the same pass.

··· 2 unchanged paragraphs folded ···

v2.2 · 5.1 A gate the store cannot bypassThe gate is code, placed where every write already passes, because a rule in a prompt binds weakly (J5 §1.2, why the obvious fixes fail). It is the only writer the storage accepts: the memory store and the always-loaded files belong to the gate's own service account, and the agent's write tool is a request to the gate, as Anthropic's client-side memory tool already is. A script that tries to write a memory file directly fails at the file system.
v2.3 · 5.1 A gate the store cannot bypassThe gate is code, placed where every write already passes, because a rule in a prompt binds weakly (J5 §1.2, why the obvious fixes fail). It is the only writer the storage accepts: the memory store and the always-loaded files belong to the gate's own service account, and the agent's write tool is a request to the gate. A script that tries to write a memory file directly fails at the file system.
v2.2 · 5.1 A gate the store cannot bypassReading is split the same way. Only full-scope processes (the owner's own sessions, the gate, the nightly pass) may read the store's files. A narrower reader, a sub-agent with a smaller scope or a chat that includes other people, runs without the checkout and reads only through the finding stage's filtered read service (J2 §8.1, filters in a fixed order); its direct file read is refused (trace step 13).
v2.3 · 5.1 A gate the store cannot bypassReading is split too. Only full-scope processes (the owner's own sessions, the gate, the nightly pass) may read the store's files. A narrower reader, a sub-agent with a smaller scope or a chat that includes other people, runs without the checkout and reads only through the finding stage's filtered read service (J2 §8.1, filters in a fixed order); its direct file read is refused (trace step 13).
v2.2 · 5.1 A gate the store cannot bypassWhere a deployment cannot separate accounts, the claim narrows to *mediated* writes: a watcher compares each file with the gate's last snapshot and moves any change the gate did not make to the pending area of §5.3 as an unchecked edit, with a receipt. Such a deployment cannot confine a narrower reader, so it runs none.
v2.3 · 5.1 A gate the store cannot bypassWhere accounts cannot be separated, the claim narrows to *mediated* writes: a watcher moves any change the gate did not make to the pending area of §5.3 as an unchecked edit, and no narrower reader runs.

··· 1 unchanged paragraph folded ···

v2.2 · 5.2 Every writer, one gateThe gate does not care who writes, only what is written. The writers differ in what happens when the check objects.
removed in v2.3
v2.2 · 5.2 Every writer, one gate- *A live turn.* The verdict comes back as the tool result ("superseded F-0412", "held: clashes with the reply-language rule"), so the agent can tell the owner. - *The nightly pass.* Same check, on its isolated copy and again at publication (§7.2). - *The owner by hand.* He edits a checkout, and saving publishes through the gate with his authority. He is never blocked: a clash is shown to him at once and listed the next day, since he may have forgotten a rule or mean to change it. With the judge down, his edit is applied and marked unchecked until judged (trace step 5). - *Another agent.* A sub-agent or a sibling session writes through the same gate with its own authority (§8.2).
v2.3 · 5.2 Every writer, one gateThe gate cares what is written, not who writes it. A live turn gets the verdict as the tool result ("superseded F-0412", "held: clashes with the reply-language rule"). The owner by hand edits a checkout, and saving publishes through the gate with his authority. He is never blocked: a clash is shown at once and listed the next day, since he may mean to change the rule. With the judge down, his edit is applied and marked unchecked until judged (trace step 5, T5).

··· 1 unchanged paragraph folded ···

v2.2 · 5.3 When something failsWhen the judge cannot answer (a timeout, a provider error, a quota limit), the gate never applies an unchecked change to anything that is read as authority. Ordinary candidates go to a *pending area*: a separate file per topic, readable with an "unchecked" label, never loaded on every turn, never used to close or contradict anything, and judged again on the current snapshot when the judge returns. Everything that can do damage stays held. Table 1 is the whole policy; trace step 4 runs it.
v2.3 · 5.3 When something failsWhen the judge cannot answer (a timeout, a provider error, a quota limit), the gate never applies an unchecked change to anything that is read as authority. Ordinary candidates go to a *pending area*: a separate file per topic, readable with an "unchecked" label, never loaded on every turn, never used to close or contradict anything, and judged again on the current snapshot when the judge returns (§7.2). What can do damage stays held. Table 1 is the whole policy; trace step 4 (T4) runs it.
v2.2 · 5.3 When something fails| Write | Judge answers | Judge down or out of time | |---|---|---| | New fact or rule line, or added detail | Committed: *accepted* | Pending area, unchecked: *pending*, said as "captured, acceptance pending" | | Closure (supersede or retract) | Risk policy of §7.5: *accepted* or *held* | *Held*; the old fact stays live | | Change to an always-loaded line | *Held* for the owner (J5 §7.4, approval, and who may loosen) | *Held* | | Whole-file rewrite, file merge or split, delete | Delta check (§9.5), then *accepted* or *held* | *Held* | | Owner's own edit | Applied; a clash is shown to him | Applied, marked unchecked until judged | | Erase for privacy (§7.7) | Runs in full | Runs in full: it follows links and needs no judge |
v2.3 · 5.3 When something fails| Write | Judge answers | Judge down or out of time | |---|---|---| | New fact or rule line, or added detail | Committed: *accepted* | Pending area, unchecked: *pending* ("captured, acceptance pending") | | Closure (supersede or retract) | §7.5: *accepted* or *held* | *Held*; the old fact stays live | | Change to an always-loaded line | *Held* for the owner (J5 §7.4, approval, and who may loosen) | *Held* | | Whole-file rewrite, file merge or split, delete | Delta check (§9.5), then *accepted* or *held* | *Held* | | Owner's own edit | Applied; a clash is shown to him | Applied, marked unchecked until judged | | Erase for privacy (§7.7) | Runs in full | Runs in full (needs no judge) |
v2.2 · 5.3 When something fails: What the gate does with each kind of write, and the status it reports. A pending receipt is not acceptance.
v2.3 · 5.3 When something fails: What the gate does with each kind of write, and the status it reports. A pending receipt is durable, not terminal; a hold is acknowledged, not accepted.
v2.2 · 5.3 When something failsIn every case the agent reports the status the receipt shows, so a pending or held write is never described as remembered. J5's rule ledger sits outside this store and holds learning proposals only (J5 §4.1, one row per rule); a rule line is accepted only through this gate, and is pending like any other line while the judge is down.
v2.3 · 5.3 When something failsIn every case the agent reports the status the receipt shows, so a pending or held write is never described as remembered. A hold ends only when the owner approves or rejects it, which is a new attempt on the same request (§7.2). J5's rule ledger holds learning proposals only, outside this store (J5 §4.1, one row per rule); a rule line is accepted only through this gate.

··· 1 unchanged paragraph folded ···

v2.2 · 5.4 ReceiptsEvery decision writes a receipt (Appendix A.2): the write key, the snapshot read and the one produced, the erasure epoch, the relation, the policy that applied, the facts touched, the judge's version and confidence, and the status. The health of the gate is read from receipts: outcomes by kind, holds and pending lines waiting, closures by risk class. A day on which the agent wrote memory and no receipt exists is an alarm (J5 §9.1, a receipt for every run).
v2.3 · 5.4 ReceiptsEvery decision attempt writes a receipt (Appendix A.2) that names the request, the attempt, the snapshot read and the one produced, the epoch and the status. Its health is read from receipts: outcomes by kind, holds and pending lines waiting, closures by risk class, delivery records unacknowledged past their deadline. A day on which the agent wrote memory and no receipt exists is an alarm (J5 §9.1, a receipt for every run).

··· 2 unchanged paragraphs folded ···

v2.2 · 6.1 Three sources, not the nearest neighbours alone*The facts on the same topic.* The write names its target file, and the index file links that file to its topic, so the gate reads the target and its sibling files. An embedding search over the whole store adds a few near neighbours, as a backstop for a fact filed in the wrong place.
v2.3 · 6.1 Three sources, not the nearest neighbours alone*The facts on the same topic.* The write names its target file, and the index file links it to its topic, so the gate reads the target and its siblings. An embedding search over the whole store adds a few near neighbours, as a backstop for a fact filed in the wrong place.

··· 1 unchanged paragraph folded ···

v2.2 · 6.1 Three sources, not the nearest neighbours alone*What the current turn observed.* Tool results from the same turn that mention the subject. A negative written in the turn whose query returned the opposite is caught at once.
v2.3 · 6.1 Three sources, not the nearest neighbours alone*What the current turn observed.* Tool results from the same turn that mention the subject, so a negative written in a turn whose query returned the opposite is caught at once.

··· 2 unchanged paragraphs folded ···

v2.2 · 6.2 Relations and outcomes| Relation the judge names | Outcome | |-------|---------| | New: nothing stored says this | Add a fact with a new ID | | Same: already stored | No new revision; add the evidence address; "last confirmed" moves only on independent evidence (§8.5) | | Adds detail: compatible, more specific | New revision of the same fact; the earlier revision and its evidence stay in history | | Replaces: same subject, the world changed | Supersede: the old fact's valid time ends at the event date (§7.3) | | Was wrong: the old claim was never true | Retract: the old fact is marked never true (§7.3) | | Conflicts, unclear which is right | Both live, both marked "in conflict"; question to the owner | | Clashes with an always-loaded rule | Held for the owner (trace step 9) | | Third-party text that would act as an instruction | Stored only as a quoted claim, never in an always-loaded file |
v2.3 · 6.2 Relations and outcomes| Relation the judge names | Outcome | |-------|---------| | New: nothing stored says this | Add a fact with a new ID | | Same: already stored | No new revision; add the evidence address; "last confirmed" moves only on independent evidence (§8.5) | | Adds detail: compatible, more specific | New revision of the same fact; the earlier revision and its evidence stay in history | | Replaces: same subject, the world changed | Supersede: the old fact's valid time ends at the event date (§7.3) | | Was wrong: the old claim was never true | Retract: the old fact is marked never true (§7.3) | | Conflicts, unclear which is right | Both live, both marked "in conflict"; question to the owner | | Clashes with an always-loaded rule | Held for the owner (trace step 9, T11) | | Third-party text that would act as an instruction | Stored only as a quoted claim, never in an always-loaded file |

··· 3 unchanged paragraphs folded ···

v2.2 · 6.3 The judgeThe judge is a small, fast model that answers only in typed choices: the relation, the fact it refers to, and a confidence. It writes no free text for the gate to parse. Jev is one such judge (TypeSafe AI, 2026); any model that returns a closed choice will do. Its instructions give contrasting examples of each relation; the exact wording lives with the code. People facts sent to a third-party judge carry opaque identifiers ("P17: good at sourcing specific hardware"), never names or contact details.
v2.3 · 6.3 The judgeThe judge is a small, fast model that answers only in typed choices: the relation, the fact it refers to, and a confidence. It writes no free text for the gate to parse. Jev is one such judge (TypeSafe AI, 2026); any model that returns a closed choice will do. People facts sent to a third-party judge carry opaque identifiers ("P17: good at sourcing specific hardware"), never names or contact details.
v2.2 · 6.3 The judgeThe brain draws a similar line. Recalling a memory can open it for change, and in fear memory it opens only when the recall brings a prediction error (Sevenster et al., 2013). Here too a write that matches what is stored changes no claim; only a named, recorded mismatch can.
v2.3 · 6.3 The judgeThe brain draws a similar line: a recalled fear memory reopens only when recall brings a prediction error (Sevenster et al., 2013). Here too only a named, recorded mismatch changes a claim.

··· 2 unchanged paragraphs folded ···

v2.2 · 7.1 A fact has an ID, and a line is only its presentationA position is not an identity. Line numbers move when a note is split, re-flowed or merged, and two writers can hold verdicts about the same old file. So every fact gets an ID when it is first accepted, never reused, and every change to its claim adds a revision. Each revision is immutable and carries its evidence addresses, its links (§8.1), its two clocks and its status. The line in the file shows the latest revision and ends with the ID, so a person reads a sentence and a program finds the fact wherever the line moves. Here is the record behind Figure 1:
v2.3 · 7.1 A fact has an ID, and a line is only its presentationA position is not an identity: line numbers move when a note is split, re-flowed or merged, and two writers can hold verdicts about the same old file. So every fact gets an ID when first accepted, never reused, and every change to its claim adds an immutable revision carrying its evidence addresses, links (§8.1), two clocks and status. The line in the file shows the latest revision and ends with the ID, so a person reads a sentence and a program finds the fact wherever the line moves. Here is the record behind Figure 1:
v2.2 · 7.1 A fact has an ID, and a line is only its presentation``` fact F-0587 revision 1 status: accepted claim Weekly supplier call is on Thursday topic meetings file revision meetings.md@42 source owner authority owner fact evidence direct addresses s0309#118 (owner's words), s0309#121 (calendar) valid from 2026-03-08 to (open) recorded 2026-03-09 10:42 replaces F-0412 (now revision 2: superseded, valid to 2026-03-08) receipt W-0309-031 (read S-311, wrote S-312, epoch E3)
v2.3 · 7.1 A fact has an ID, and a line is only its presentation``` fact F-0587 revision 1 status: accepted claim Weekly supplier call is on Thursday topic meetings file revision meetings.md@42 source owner authority owner fact evidence direct addresses s0309#118 (owner's words), s0309#121 (calendar) valid from 2026-03-08 to (open) recorded 2026-03-09 10:42 replaces F-0412 (now revision 2: superseded, valid to 2026-03-08) receipt W-0309-031 (request s0309#118/0.a, attempt 1; read S-311, wrote S-312, epoch E3)

··· 1 unchanged paragraph folded ···

v2.2 · 7.1 A fact has an ID, and a line is only its presentationThe file shows the same two facts to a person:
removed in v2.3
v2.2 · 7.1 A fact has an ID, and a line is only its presentation``` ~~Weekly supplier call is on Wednesday~~ (until 8 Mar; see F-0587) {F-0412} Weekly supplier call is on Thursday {F-0587} ```
removed in v2.3
v2.2 · 7.1 A fact has an ID, and a line is only its presentationOne format everywhere, so ad hoc markers ("WRONG", "see below") never appear: they cannot be counted or queried. A merge of two facts ends both by supersede and points to the new ID; a split gives each part a new ID that points back.
v2.3 · 7.1 A fact has an ID, and a line is only its presentationIn the file, a person sees the old line struck through and the new one beneath it, each ending with its ID. One format everywhere, so ad hoc markers ("WRONG", "see below") never appear: they cannot be counted or queried. A merge of two facts ends both by supersede and points to the new ID; a split gives each part a new ID that points back.

··· 1 unchanged paragraph folded ···

v2.2 · 7.2 Publish a snapshot, or nothingA verdict is valid only for what it read. So the store is a git repository whose `live` reference names the current *snapshot*, and every decision records its *read set*: the revision of each file the gate read (the target, its siblings, the always-loaded files), the version of the reader-scope and quarantine marks, and the *erasure epoch*, a counter that every erasure or quarantine raises before it starts (§7.7). The change, the new revisions, their links and the receipt are written as one git tree, and publication is one checked reference update: `live` moves to the new commit only if it still names the snapshot the decision read (Appendix A.3).
v2.3 · 7.2 Publish a snapshot, or nothingA verdict is valid only for what it read. So the store is a git repository whose `live` reference names the current *snapshot*, and every decision records its *read set*: the revision of each file read (target, siblings, always-loaded files), the version of the scope and quarantine marks, and the *erasure epoch*, a counter that every erasure or quarantine raises before it starts (§7.7). The change, new revisions, links and receipt are written as one git tree, and publication is one checked reference update: `live` moves to the new commit only if it still names the snapshot the decision read (Appendix A.3).
v2.2 · 7.2 Publish a snapshot, or nothingIf `live` has moved, the gate compares the read set with the new snapshot. When nothing in it changed, the change is re-applied on the new tip and published. When anything did (a compared rule, a scope, a quarantine, the epoch), the verdict is discarded and the whole decision runs again on the new snapshot, judgement and policy both: a verdict that compared against a rule the owner has since rewritten must never commit beside the new rule (trace steps 6 and 7). After three attempts the write is held as a concurrent change, never forced.
v2.3 · 7.2 Publish a snapshot, or nothingIf `live` has moved, the gate compares the read set with the new snapshot. When nothing in it changed, the change is re-applied on the new tip. When anything did (a compared rule, a scope, a quarantine, the epoch), the verdict is discarded and judgement and policy run again on the new snapshot: a verdict that compared against a rule the owner has since rewritten must never commit beside the new rule (trace steps 6 and 7; J5 withdraws the stale tail line at its next turn boundary, T6). After three attempts the write is held as a concurrent change, never forced.
v2.2 · 7.2 Publish a snapshot, or nothingA *write key*, a hash of evidence addresses, target topic and text, makes a retry return the receipt already written, so a write is applied once or not at all. Each receipt names the snapshot it read and the one it produced. So does every index build of the finding stage, which checks the epoch before it swaps a new index in (J2 §8.3, manifests, restarts and rebuilds).
removed in v2.3
not in v2.2
v2.3 · 7.2 Publish a snapshot, or nothing*Requests and attempts.* Every write is a *request* with a stable ID: the child operation ID the learning stage opens for each repair of a correction (J5 §3.2, sort by cause; T3), or, for a write without one, a hash of its evidence addresses, target topic and text. Each decision on a request is an *attempt* with its own immutable receipt, linked to the previous one. A retry whose latest receipt is terminal (accepted, refused, or a hold awaiting the owner) returns it, so a write applies once or not at all. A retry whose latest receipt is pending never returns it but runs a new attempt, and so do the judge's return and the owner's approval of a hold: every pending request is resumed on the current snapshot, linked to its earlier receipt, and a verdict for an older attempt is discarded (T7). Each index build of the finding stage likewise names its snapshot and checks the epoch before it swaps in (J2 §8.3, manifests, restarts and rebuilds).
not in v2.2
v2.3 · 7.2 Publish a snapshot, or nothing*Delivery.* Publication is not delivery. The tree that publishes a change also holds a *delivery record* for the finding stage: fact IDs, revisions and the receipt ID, never content, so J2 reads the text from the snapshot, where an erased revision is a tombstone and a late duplicate cannot bring it back. A dispatcher resends the record until J2's overlay receipt arrives (T9). A crash right after publication loses nothing, since the record is in the tree; a lost message is resent on a timer, with no restart; a duplicate changes nothing, being keyed by ID and revision. A pending line or hold, which publishes no snapshot, writes its record with its receipt (T12), and J2 reads the line or hold from the store (A.2).
v2.2 · 7.2 Publish a snapshot, or nothingBackground writers work in an isolated worktree, as MemFS's do, and publish change by change through the same checked update, so an owner's correction made during the night is never overwritten. The store also declares its schema version; the gate refuses a store whose version it does not know, and a migration is a run of gated writes that keeps every earlier revision.
v2.3 · 7.2 Publish a snapshot, or nothingBackground writers work in an isolated worktree, as MemFS's do, and publish change by change through the same checked update, so a correction made overnight is never overwritten. The store declares its schema version, the gate refuses one it does not know, and a migration is a run of gated writes that keeps every earlier revision.

··· 2 unchanged paragraphs folded ···

v2.2 · 7.3 Three ways a fact ends- *Supersede*: the world changed. The call was on Wednesday and is now on Thursday. The old fact was true and stays true for its period; its valid time ends at the event date. - *Retract*: the claim was never true. A birth year recorded as 1971 was really 1977. Closing the old fact at today's date would say it used to be true, so a retraction marks it *never true*, keeps it as a record of what the agent believed, and points to the corrected fact. - *Erase*: privacy. The content goes; only a tombstone and the receipt stay (§7.7). An erased replacement never reopens the fact it superseded: the old fact stays superseded, and its replacement shows as erased (trace step 11).
v2.3 · 7.3 Three ways a fact ends- *Supersede*: the world changed. The old fact was true and stays true for its period; its valid time ends at the event date. - *Retract*: the claim was never true (a birth year recorded as 1971 was really 1977). Closing the old fact at today's date would say it used to be true, so a retraction marks it *never true*, keeps it as a record of what the agent believed, and points to the corrected fact. - *Erase*: privacy. The content goes; only a tombstone and the receipt stay (§7.7). An erased replacement never reopens the fact it superseded: the old fact stays superseded, and its replacement shows as erased (trace step 11).

··· 3 unchanged paragraphs folded ···

v2.2 · 7.4 Two questions about the pastThe two clocks answer two different questions, and the store keeps them apart (Figure 2).
v2.3 · 7.4 Two questions about the pastThe two clocks answer two questions, kept apart (Figure 2).

··· 2 unchanged paragraphs folded ···

v2.2 · 7.4 Two questions about the past![Two ways a fact ends, and the two questions about the past. Top: the call moved, so fact A (Wednesday) is superseded on 8 March; asked what was true on 5 March, the store answers Wednesday, and asked about today, Thursday. Bottom: a birth year was recorded wrongly, so fact C (1971) is retracted on 9 March and replaced by fact D (1977); asked what was true, the store answers 1977 for any date, and asked what the agent believed on 5 March, it answers 1971, marked as later retracted.](images/fig2-two-endings.png){width=92%}
v2.3 · 7.4 Two questions about the past![Two ways a fact ends, and two questions about the past. Top: the call moved, so fact A (Wednesday) is superseded on 8 March; what was true on 5 March is Wednesday, today Thursday. Bottom: a birth year was recorded wrongly, so fact C (1971) is retracted on 9 March and replaced by D (1977); what was true is 1977 for any date, and what the agent believed on 5 March is 1971, marked as later retracted.](images/fig2-two-endings.png){width=92%}

··· 2 unchanged paragraphs folded ···

v2.2 · 7.5 Only a judge closes, and only where it has earned it*Risk classes.* Low risk: a fact in a fact file whose authority is evidence or hypothesis (§8.1), closed by a replacement of equal or higher authority. Owner facts: closed automatically only when the replacement is the owner's own words in the session record, as in Figure 1; on any other evidence the closure is held as a conflict for him. Always-loaded lines: always held for the owner (J5 §7.4, approval, and who may loosen). A retraction counts as one class higher than the matching supersede, since it rewrites the past.
v2.3 · 7.5 Only a judge closes, and only where it has earned it*Risk classes.* Low risk: a fact in a fact file whose authority is evidence or hypothesis (§8.1), closed by a replacement of equal or higher authority. Owner facts: closed automatically only when the replacement is the owner's own words in the session record and the class has met the bar below, as in Figure 1. On any other evidence the closure is held as a conflict for him. Always-loaded lines: always held for the owner (J5 §7.4, approval, and who may loosen). A retraction counts as one class higher than the matching supersede, since it rewrites the past.
v2.2 · 7.5 Only a judge closes, and only where it has earned it*Sets kept apart.* The judge follows the series' three streams (J5 §9.2, three streams, kept apart). Its *development replay*, judged pairs drawn from dated corrections written by hand in a long-lived store, sets the confidence threshold. Its *regression suite* holds every known clash between an always-loaded line and a rule and every past false closure; a new threshold is used only if it passes all of them. The untouched side has two parts: a *held-out decision set* from a later, separate period decides whether a class may close on its own, and the *evaluation stream* of live closures, audited monthly, checks it and is never used to tune. Whoever adjusts the judge or its threshold never sees the labels of either.
v2.3 · 7.5 Only a judge closes, and only where it has earned it*Sets kept apart.* The judge follows the series' three streams (J5 §9.2, three streams, kept apart). A *development replay*, judged pairs from dated corrections written by hand in a long-lived store, sets the confidence threshold. A *regression suite* holds every known clash between an always-loaded line and a rule and every past false closure; a new threshold is used only if it passes all of them. Two parts stay untouched: a *held-out decision set* from a later, separate period decides whether a class may close on its own, and the *evaluation stream* of live closures, audited monthly, checks it and is never used to tune. Whoever adjusts the judge or its threshold never sees either's labels.
v2.2 · 7.5 Only a judge closes, and only where it has earned it*The bar.* A class closes automatically when the one-sided 95% Clopper–Pearson lower bound on the precision of its above-threshold verdicts in the held-out decision set is at least 0.98. That takes at least 149 verdicts with no error, or 236 with one, or 313 with two. For contrast, 180 correct of 200 ("nine in ten") gives a lower bound of 0.86: up to one closure in seven could be wrong. Below the bar, a closure is written as a proposal: the new fact is accepted, the old one stays live with a "possibly superseded by" mark, and the morning report asks.
v2.3 · 7.5 Only a judge closes, and only where it has earned it*The bar.* A class closes automatically when the one-sided 95% Clopper–Pearson lower bound on the precision of its above-threshold verdicts in the held-out decision set is at least 0.98. That takes at least 149 verdicts with no error, or 236 with one, or 313 with two. For contrast, 180 correct of 200 ("nine in ten") gives a lower bound of 0.86: up to one closure in seven could be wrong. A class not yet measured is below the bar. Below it, a closure is written as a proposal: the new fact is accepted, the old one stays live with a "possibly superseded by" mark, and the morning report asks (the cold-start branch of Figure 1).

··· 1 unchanged paragraph folded ···

v2.2 · 7.6 Count every closure, and alarm on the suspicious onesEvery closure writes a receipt, and two patterns raise an alarm the first time they occur. One is a closure in which the old and new lines come from the same file in the same pass and the judge found no change of meaning: the signature of a retire rule by position, which this design never produces. The other is a burst, more closures in a day than a threshold set from the store's normal rate; a burst pauses automatic closing until someone looks, and heads the morning report.
v2.3 · 7.6 Count every closure, and alarm on the suspicious onesEvery closure writes a receipt, and two patterns raise an alarm the first time they occur. One is a closure whose old and new lines come from the same file in the same pass with no change of meaning found: the signature of a retire rule by position, which this design never produces. The other is a burst, more closures in a day than a threshold set from the store's normal rate; it pauses automatic closing until someone looks, and heads the morning report.

··· 2 unchanged paragraphs folded ···

v2.2 · 7.7 Erase and quarantine*Quarantine is a restriction, not a status.* The mark travels from the source entry by the links of §8.1 to every descendant: facts, use keys, rule revisions, test fixtures. A descendant may also be retracted with the reason "injected", which says the claim is false; the quarantine mark says who may see it, and neither replaces the other. A quarantined item stays out of ordinary retrieval and out of the context window, visible only in an audit view, and the finding stage's show-hidden mode never relaxes it (J2 §8.1, filters in a fixed order).
v2.3 · 7.7 Erase and quarantine*Quarantine is a restriction, not a status.* The mark travels from the source entry by the links of §8.1 to every descendant: facts, use keys, rule revisions, test fixtures. A descendant may also be retracted with the reason "injected", which says the claim is false; the quarantine mark says who may see it, and neither replaces the other. J2 marks the derived rows and only the audit view shows them; show-hidden never relaxes it (T23; J2 §8.1, filters in a fixed order). J5 marks rule evidence and fixtures (T24). Removal from a live window is J1's adapter call with a receipt (T22; J1 §6.6): a tool or API controller's content leaves only where the session is ended or compacted, and otherwise the receipt names it as out of reach.
v2.2 · 7.7 Erase and quarantine*Erase.* The erasure first raises the epoch, so no verdict, background branch or index build that read the old state can publish (§7.2). It then follows the links from the entries the owner named to every descendant, never a semantic search, over a *deletion manifest* (Table 3) in which each place reports done, not present, or out of reach (trace step 11, which erases span 0 of the message and keeps span 1).
v2.3 · 7.7 Erase and quarantine*Erase.* The erasure first raises the epoch, so no verdict, background branch or index build that read the old state can publish (§7.2; T14). It then follows the links from the entries the owner named to every descendant, never a semantic search, and sends the erase orders to J1, J2 and J5 from its outbox, resent until each place reports (T15, T17, T18). The *deletion manifest* (Table 3) records each place as done, not present, or out of reach (trace step 11, which erases span 0 of the message and keeps span 1).
v2.2 · 7.7 Erase and quarantine| Place | Who acts | How | |----------|--|---------| | Fact revisions, index-file lines, pending lines and holds | This gate | Every revision becomes a tombstone that keeps ID and dates; pending lines and holds are dropped | | Session record entries, or the named spans of one entry; their blobs (per namespace, so a temporary session's blobs are separate); the controller's own transcript | J1 | Redacted at the same addresses, span by span (J1 §4.4, erase and quarantine; J1 §4.5, one record, not copies) | | Compaction markers | J1 | Rebuilt from the redacted record (J1 §5.4, written from the record, never from the last marker) | | Text and asset indexes, fresh writes, use keys | J2 | Rows dropped; a build started before the epoch rose is never swapped in | | Rule evidence, rules and test fixtures | J5 | Through J5's deletion interface (J5 §4.3, concurrent writes, isolated nights, and erasure) | | Receipts and version history | This gate | Receipts hold IDs and addresses, never content; history is rewritten | | Backups | This gate | The subject's key is rotated and the old one destroyed; a backup written in the clear is listed with its expiry | | Active sessions and provider state | J1 | Through the window controller's adapter (J1 §6.6, the adapter contract); a provider copy out of reach is named, with its retention terms |
v2.3 · 7.7 Erase and quarantine| Place | Who acts | How | |----------|--|---------| | Fact revisions, index-file lines, pending lines and holds | This gate | Every revision becomes a tombstone that keeps ID and dates; pending lines and holds are dropped | | Session record entries or named spans, their blobs, the controller's own transcript | J1 | Redacted at the same addresses, span by span (J1 §4.4, erase and quarantine; J1 §4.5, one record, not copies) | | Compaction markers | J1 | Rebuilt from the redacted record (J1 §5.4) | | Text and asset indexes, fresh writes, use keys | J2 | Rows dropped; a build started before the epoch rose is never swapped in | | Rule evidence, rules and test fixtures | J5 | Through J5's deletion interface (J5 §4.3) | | Git storage under the store: history, reflogs, unreachable objects and packs, other references, stashes, background worktrees | This gate | Branches and worktrees deleted first; history rewritten without the erased revisions; reflogs expired, unreachable objects pruned, packs rewritten; verified by object ID (below). Receipts hold IDs, never content | | Backups | This gate | The subject's key is rotated; the old one is destroyed once a recovery checkpoint exists (below); a backup written in the clear is listed with its expiry | | Active sessions and provider state | J1 | Through the window controller's adapter (J1 §6.6); a provider copy out of reach is named, with its retention terms |
v2.2 · 7.7 Erase and quarantine: The deletion manifest. Until every row has reported, the erase is *incomplete*; then it says "all reachable copies removed" and names the places out of reach. It never claims all copies.
v2.3 · 7.7 Erase and quarantine: The deletion manifest. Until every row has reported, J2's included, the erase is *incomplete*; J2's row waits for the refusal of any index build that read the old epoch (T19). Then it says "all reachable copies removed" and names the places out of reach. It never claims all copies.
v2.2 · 7.7 Erase and quarantine*Backups.* Deleting a live line does nothing to a backup, so a backup never holds a record about a person in the clear. Each record is encrypted when the backup is written, under a key per person it concerns; a record about several people is encrypted under a key derived from all of theirs, so destroying any one makes it unreadable. Records about no one use a store key. An erasure rotates the person's key and destroys the old one, which makes all of that person's records unreadable in every older backup; the next backup re-encrypts the ones still live. A backup written in the clear before this scheme, or by a tool outside it, stays on the manifest as out of reach until it expires or is destroyed.
removed in v2.3
not in v2.2
v2.3 · 7.7 Erase and quarantine*Git cleanup.* Before rewriting, the gate lists the object IDs of every blob and tree that held an erased revision. The row reports done only when none exists in any store, reflog or worktree the gate controls. A clone or mirror outside the gate is named as out of reach.
not in v2.2
v2.3 · 7.7 Erase and quarantine*Backups.* A backup never holds a record about a person in the clear. Each record is encrypted under a key per person it concerns, and a record about several people under a key derived from all of theirs, so destroying any one makes it unreadable. An erasure rotates the person's key, which makes that person's records unreadable in every older backup, retained facts of a shared record included. So the old key is destroyed only after a *recovery checkpoint* exists: a backup of the store as rewritten, erased content gone, shared records re-encrypted under the remaining people's keys, and a test restore that reads back every retained fact ID. If the checkpoint cannot be made (the backup target is offline), the row reports a *recovery gap* naming the retained fact IDs only older backups hold, and the owner chooses: destroy the key now and accept the gap until the next backup, or keep the erase incomplete until the checkpoint exists.
v2.2 · 7.7 Erase and quarantine*Restore.* Tombstones, the epoch, quarantine marks and the suppression identity are kept outside the backups and restored from their newest copy. After a restore the store stays closed to every reader until all erasures, suppressions and quarantines up to the current epoch are replayed over it.
v2.3 · 7.7 Erase and quarantine*Restore.* Tombstones, the epoch, quarantine marks and the suppression identity are kept outside the backups and restored from their newest copy. After a restore the store stays closed until all erasures, suppressions and quarantines up to the current epoch are replayed over it.
v2.2 · 7.7 Erase and quarantine*Later writes.* A new write must not bring erased content back. For each erasure the gate keeps a *suppression identity*: keyed hashes of the erased identifiers (names, phone numbers, addresses, after normalisation), computed with a secret only the gate holds, so a guess cannot be confirmed without it. That check is exact: a later write carrying one of those identifiers is held however it is worded. It cannot recognise a new alias, a pronoun or "the supplier we met yesterday". For those, a candidate whose links reach an erased entry is held, and an entity matcher compares the rest with a short sealed description of the person (role and relation to the owner, never contact details); a candidate it ties to an erased subject with less than full confidence is held as an *uncertain match*, never written. The guarantee covers these catches and no more; §12 measures what gets through. Other stages never read the identity; they call one check that answers *held* or *clear* (J5 §4.3, concurrent writes, isolated nights, and erasure).
v2.3 · 7.7 Erase and quarantine*Later writes.* A new write must not bring erased content back. For each erasure the gate keeps a *suppression identity*: keyed hashes of the erased identifiers (names, phone numbers, addresses, after normalisation), computed with a secret only the gate holds. A later write carrying one of them is held however it is worded. A new alias, a pronoun or "the supplier we met yesterday" slips past that exact check; for those, a candidate whose links reach an erased entry is held, and an entity matcher compares the rest with a short sealed description of the person (role and relation, never contact details) and holds any candidate it ties to an erased subject with less than full confidence as an *uncertain match*. The guarantee covers these catches and no more; §12 measures what gets through. Other stages call one check that answers *held* or *clear* (J5 §4.3, concurrent writes, isolated nights, and erasure).

··· 3 unchanged paragraphs folded ···

v2.2 · 8.1 Three fields and the links- *Source class*: who authored the content. *Owner* comes only from spans that J1 marks with owner authority (J1 §4.1, what goes in, and with whose name), so a wrapper, an injected instruction or a pasted line (a forwarded email's "ignore the previous rule") never gets it; a quoted span is *third party*, a *quoted claim* with the source J1 attributes, taken from J1's span field and never re-derived; *owner's systems*, a system of record the owner controls, read directly (his calendar, his files, a command run on his machine); *agent*, its own conclusions; *third party*, a web page, an email, a document, another agent's text. - *Authority*: what the fact may become. *Instruction* (only the owner grants it), *owner fact*, *evidence*, *hypothesis*, *quoted claim*. - *Evidence quality*: how well the claim is supported. *Direct* (read off the source), *corroborated* (two independent sources), *inferred*, *assumed*, or *negative* (an empty result, with the query that produced it).
v2.3 · 8.1 Three fields and the links- *Source class*: who authored the content. *Owner* comes only from spans that J1 marks with owner authority (J1 §4.1, what goes in, and with whose name), so a wrapper, an injected instruction or a pasted line (a forwarded email's "ignore the previous rule") never gets it; a quoted span is a *quoted claim* of *third party* class, with the source J1 attributes, never re-derived. *Owner's systems*: a system of record the owner controls, read directly (his calendar, his files). *Agent*: its own conclusions. *Third party*: a web page, an email, a document, another agent's text. - *Authority*: what the fact may become. *Instruction* (only the owner grants it), *owner fact*, *evidence*, *hypothesis*, *quoted claim*. - *Evidence quality*: how well the claim is supported. *Direct* (read off the source), *corroborated* (two independent sources), *inferred*, *assumed*, or *negative* (an empty result, with the query that produced it).
v2.2 · 8.1 Three fields and the linksA browser result stays third party however the page was fetched. Reading a stored fact back does not confirm it: the store is not a source.
v2.3 · 8.1 Three fields and the linksA browser result stays third party however the page was fetched, and reading a stored fact back does not confirm it: the store is not a source.
v2.2 · 8.1 Three fields and the links*Links.* Every revision lists what it was derived from: record addresses and, for a merge or an added detail, the revisions of its parts. The finding stage writes the same links for use keys, and the learning stage for rule revisions and test fixtures; the schema is this paper's (Appendix A.1). Erasure and quarantine find descendants by following links, and confirmation (§8.5) uses them to tell new evidence from an echo. Who may read a fact is set by J2, and a derived item inherits the scope of its most restricted source (J2 §8.1, filters in a fixed order).
v2.3 · 8.1 Three fields and the links*Links.* Every revision lists what it was derived from: record addresses and, for a merge or an added detail, the revisions of its parts. The finding stage writes the same links for use keys, and the learning stage for rule revisions and test fixtures (schema: Appendix A.1). Erasure and quarantine find descendants by following links, and confirmation (§8.5) uses them to tell new evidence from an echo. Who may read a fact is set by J2: a derived item is readable only by the intersection of its sources' readers, which may be empty (J2 §8.1, filters in a fixed order).

··· 1 unchanged paragraph folded ···

v2.2 · 8.2 What each fact may becomeThe source class sets a ceiling on authority. Only the owner's words can become an instruction or enter an always-loaded file as a rule. Owner's systems give evidence; the agent gives hypotheses; third-party text is a quoted claim ("the vendor's page says the part ships in May") and never loses its quote marks. A sentence crafted to look like an instruction can get into memory as a quotation, but not into the place where the agent looks for instructions. Only the owner raises authority, by confirming a fact in his own words. A rule bound for an always-loaded file must also carry why it exists and when it does not apply (J5 §3.3, a correction carries its reason), or the gate holds it.
v2.3 · 8.2 What each fact may becomeThe source class sets a ceiling on authority. Only the owner's words can become an instruction or enter an always-loaded file as a rule. Owner's systems give evidence; the agent gives hypotheses; third-party text is a quoted claim ("the vendor's page says the part ships in May") and never loses its quote marks. A sentence crafted to look like an instruction can enter memory only as a quotation. Only the owner raises authority, by confirming a fact in his own words. A rule bound for an always-loaded file must carry why it exists and when it does not apply (J5 §3.3, a correction carries its reason), or the gate holds it.

··· 2 unchanged paragraphs folded ···

v2.2 · 8.3 No authorA fact says where its content came from, never which agent, session or model typed the line: the writer says nothing about whether to trust the claim, and the three fields do. The session record keeps authors (J1 §4.1, what goes in, and with whose name); the fact drops them.
v2.3 · 8.3 No authorA fact says where its content came from, never which agent, session or model typed the line; the three fields decide trust, not the writer. The session record keeps authors (J1 §4.1); the fact drops them.

··· 3 unchanged paragraphs folded ···

v2.2 · 8.5 Dates, confirmation, negatives and importanceEach fact carries a "last confirmed" date. Meeting the same claim again is not confirming it. A *same* verdict adds the new evidence address, but the date moves only when that evidence is independent: of source class owner or owner's systems, not already among the fact's evidence, and with no link leading back to the fact itself. So an agent's restatement, or a tool reading the memory file, leaves the date in place.
v2.3 · 8.5 Dates, confirmation, negatives and importanceEach fact carries a "last confirmed" date, and meeting the same claim again is not confirming it. A *same* verdict adds the evidence address, but the date moves only when that evidence is independent: owner or owner's systems, not already among the fact's evidence, and with no link leading back to the fact. So an agent's restatement, or a tool reading the memory file, leaves the date in place.
v2.2 · 8.5 Dates, confirmation, negatives and importanceA negative ("there are no items of kind X") is the claim most often wrong, because an empty answer has many causes, and the most expensive to believe, because it stops the search. The gate stores it with evidence quality *negative* and the query that produced it, so a later reader runs the query again before repeating it.
v2.3 · 8.5 Dates, confirmation, negatives and importanceA negative ("there are no items of kind X") is the claim most often wrong, since an empty answer has many causes, and the most expensive to believe, since it stops the search. The gate stores it with evidence quality *negative* and its query, so a later reader runs the query again before repeating it.
v2.2 · 8.5 Dates, confirmation, negatives and importanceCorrections and decisions are marked important when they are written. How the mark and the confirmation date weigh in ranking, and whether unmarked facts fade, is J2's (J2 §5.5, combining keys: one score).
v2.3 · 8.5 Dates, confirmation, negatives and importanceCorrections and decisions are marked important when written; how that mark and the confirmation date weigh in ranking is J2's (J2 §5.5, combining keys: one score).

··· 1 unchanged paragraph folded ···

v2.2 · 9. The shape of what is writtenFive rules for the shape of the store make the comparison cheap, the ending of a fact exact and the files readable by a person (Figure 3).
v2.3 · 9. The shape of what is writtenFive rules for the shape of the store keep the comparison cheap, the ending of a fact exact and the files readable (Figure 3).
v2.2 · 9. The shape of what is written![The shape of the store, on the running example. The index file holds one line per topic or owned asset: a pointer and a hook saying when to read, never the fact itself. The meetings file holds one topic, one fact per line, each with its ID, source, authority and dates; the superseded Wednesday fact stays, struck through, pointing to its replacement. The rules file is always loaded, and its rule carries its purpose and when it does not apply. A vendor's web page, fetched by a tool, is still third-party text: it can be stored as a quoted claim, never as a rule.](images/fig3-store-shape.png){width=88%}
v2.3 · 9. The shape of what is written![The shape of the store, on the running example. The index file holds one line per topic or owned asset: a pointer and a hook, never the fact. The meetings file holds one topic, one fact per line with its ID, source, authority and dates; the superseded Wednesday fact stays, struck through, pointing to its replacement. The always-loaded rules file carries each rule's purpose and when it does not apply. A vendor's web page is third-party text: a quoted claim, never a rule.](images/fig3-store-shape.png){width=88%}

··· 1 unchanged paragraph folded ···

v2.2 · 9.1 One fact per lineA line that bundles three claims cannot have one of them end without rewriting the other two, and a rewrite is the kind of write that loses detail. One fact per line also keeps the judge's job small: claims against claims, not paragraphs against paragraphs.
v2.3 · 9.1 One fact per lineA line that bundles three claims cannot have one end without rewriting the other two, and a rewrite is the kind of write that loses detail. It also keeps the judge's job small: claims against claims, not paragraphs.

··· 1 unchanged paragraph folded ···

v2.2 · 9.2 One topic per file, and files hold what is read togetherA topic spread over five files costs five reads, and a file that mixes five topics fills the context with four it does not need. J2 sends this stage evidence about the layout: paths agents reach for that do not exist, and files read together often enough to merge (J2 §8, built ahead, kept current). Each becomes a proposed write through the gate, and a merge or split waits for the owner's review in the morning report.
v2.3 · 9.2 One topic per file, and files hold what is read togetherA topic spread over five files costs five reads; a file mixing five topics fills the context with four unneeded. J2 sends this stage evidence about the layout: paths agents reach for that do not exist, and files read together often enough to merge (J2 §8, built ahead, kept current). Each becomes a proposed write through the gate; a merge or split waits for the owner's review in the morning report.

··· 1 unchanged paragraph folded ···

v2.2 · 9.3 The index file holds pointers onlyThe index file has one line per topic or owned asset, such as a skill or a machine: a pointer and a short hook saying when to read the file, never the fact. A fact restated there is a second copy that does not change when the fact does, the first failure of §1, so the gate refuses an index line that carries a claim. This paper owns the shape of an index line; which topics get a line, and in what order, is J2's (J2 §4.3, the index file).
v2.3 · 9.3 The index file holds pointers onlyThe index file has one line per topic or owned asset, such as a skill or a machine: a pointer and a short hook saying when to read the file, never the fact. A fact restated there is a second copy that does not change with the fact, the first failure of §1, so the gate refuses an index line that carries a claim. Which topics get a line, and in what order, is J2's (J2 §4.3, the index file).

··· 1 unchanged paragraph folded ···

v2.2 · 9.4 Write the use key with the factOn facts about people and capabilities, where the gap between what a fact is about and when it is needed is widest, the gate asks for a use key, such as "when a hardware part is hard to source". How use keys are indexed and matched is J2's (J2 §5, four keys).
v2.3 · 9.4 Write the use key with the factFor facts about people and capabilities, where the gap between what a fact is about and when it is needed is widest, the gate asks for a use key, such as "when a hardware part is hard to source"; J2 indexes and matches them (J2 §5, four keys).

··· 1 unchanged paragraph folded ···

v2.2 · 9.5 Edit by delta, never by wholesale rewriteThe gate accepts small edits: add a fact, revise one, end one. It holds a write that replaces a whole file unless every fact the old version had is accounted for: kept, revised, superseded, retracted or erased with a tombstone. A model asked to rewrite a file "more concisely" drops details it judges minor, and repeated rewrites compound the loss.
v2.3 · 9.5 Edit by delta, never by wholesale rewriteThe gate accepts small edits: add a fact, revise one, end one. It holds a write that replaces a whole file unless every fact the old version had is accounted for: kept, revised, superseded, retracted or erased with a tombstone. A model asked to rewrite a file "more concisely" drops details it judges minor.

··· 1 unchanged paragraph folded ···

v2.2 · 10. What the check costs, and when it paysA check pays only if it saves more than it costs, its own mistakes included. We use the series' notation (J2 §7.1, a read costs a turn): a cached token is read at $r$ times a model's base input price and an output token costs $g$ times it; $\pi_s$ and $\pi_\ell$ are the base input prices of a small and a large model, in dollars per token. The symbols $p$, $\kappa$, $H_m$, $H_f$, $f_c$ and $f_h$ are local to this section.
v2.3 · 10. What the check costs, and when it paysA check pays only if it saves more than it costs, its own mistakes included. We use the series' notation (J2 §7.1, a read costs a turn): a cached token is read at $r$ times a model's base input price, an output token costs $g$ times it, and $\pi_s$ and $\pi_\ell$ are the base input prices of a small and a large model, in dollars per token. $p$, $\kappa$, $H_m$, $H_f$, $f_c$ and $f_h$ are local to this section.

··· 4 unchanged paragraphs folded ···

v2.2 · 10. What the check costs, and when it pays*The price of the judge's errors.* A *needless hold* costs the owner the time to read and answer it: at an assumed 20 seconds and an assumed \$60 an hour, $C_{\text{hold}} \approx \$0.33$. A wrong fact that reaches a turn costs $H_m$ when the gate missed it and $H_f$ when the gate created it by a *false closure*, which hides a true fact. Per write, $f_c$ is the rate of false closures and $f_h$ that of needless holds.
v2.3 · 10. What the check costs, and when it pays*The price of the judge's errors.* A *needless hold* costs the owner the time to read and answer it: at an assumed 20 seconds and \$60 an hour, $C_{\text{hold}} \approx \$0.33$. A wrong fact that reaches a turn costs $H_m$ when the gate missed it and $H_f$ when the gate created it by a *false closure*, which hides a true fact. Per write, $f_c$ is the rate of false closures and $f_h$ that of needless holds.

··· 3 unchanged paragraphs folded ···

v2.2 · 10. What the check costs, and when it pays- *Token floor.* Each wrong fact costs one wrong turn, $H_m = H_f = C_{\text{turn}}$. The price of the model alone sets $p^{*} \approx 1.6\%$, false closures raise it to 2.4%, and needless holds decide: one per two hundred writes gives about 8%, one per hundred 13.5%. - *Owner time.* Each wrong fact also costs the owner a minute to notice and correct (\$1), $H_m$ = \$1.06; a hidden true fact is noticed later and corrected twice on average (an assumption), $H_f$ = \$2.06. Now $p^{*}$ is 1.6% with no holds and 2.3% at one hold per hundred writes. - *A wrong external action* (a message to an old number, a missed call), at an assumed \$50 per miss and \$100 per false closure: $p^{*} \approx 1.6\%$ at any hold rate up to one per hundred.
v2.3 · 10. What the check costs, and when it pays- *Token floor.* Each wrong fact costs one wrong turn, $H_m = H_f = C_{\text{turn}}$. The model alone sets $p^{*} \approx 1.6\%$, false closures raise it to 2.4%, and needless holds decide: one per two hundred writes gives about 8%, one per hundred 13.5%. - *Owner time.* Each wrong fact also costs the owner a minute to notice and correct (\$1), $H_m$ = \$1.06; a hidden true fact is noticed later and corrected twice on average (an assumption), $H_f$ = \$2.06. Now $p^{*}$ is 1.6% with no holds and 2.3% at one hold per hundred writes. - *A wrong external action* (a message to an old number, a missed call), at an assumed \$50 per miss and \$100 per false closure: $p^{*} \approx 1.6\%$ at any hold rate up to one per hundred.
v2.2 · 10. What the check costs, and when it pays![What the check must catch to pay for itself, under three prices for a wrong fact. The vertical axis is the share of memory writes that would mislead at least one turn; above a curve the check saves more than it costs. Once owner time or an external action is priced, the curves flatten near 1.6%, a level set by the false-closure rate. Computed from Anthropic's published prices (October 2026), a judge that catches half the bad writes, false closures at the rate the closing bar allows, 20 seconds per hold, the owner's time at \$60 an hour, and the assumed costs in the legend.](images/fig4-error-costs-v22.png){width=84%}
v2.3 · 10. What the check costs, and when it pays![What the check must catch to pay for itself, under three prices for a wrong fact. The vertical axis is the share of writes that would mislead at least one turn; above a curve the check pays. Once owner time or an external action is priced, the curves flatten near 1.6%, set by the false-closure rate. Computed from Anthropic's published prices (October 2026), a judge catching half the bad writes, false closures at the rate the closing bar allows, 20 seconds per hold at \$60 an hour, and the assumed costs in the legend.](images/fig4-error-costs-v22.png){width=84%}
v2.2 · 10. What the check costs, and when it paysSo the break-even share lies between about 1.6% and 13.5% of writes, and which error matters depends on what a wrong fact costs. At inference prices the holds decide, so holds are kept to the cases that need the owner. As the stakes rise, $p^{*}$ tends to $f_c H_f / (\kappa H_m)$, here 0.8% for each unit of the ratio $H_f/H_m$: the check pays only if it catches more harm than its own false closures cause, and the closing bar of §7.5 matters most where a wrong fact is most expensive. No price here makes a false closure tolerable in itself, and both rates are measured (§12, test 2). The judge stays a small model, since the large one costs forty times more per check.
v2.3 · 10. What the check costs, and when it paysSo the break-even share lies between about 1.6% and 13.5% of writes, depending on what a wrong fact costs. At inference prices the holds decide, so holds are kept to the cases that need the owner. As the stakes rise, $p^{*}$ tends to $f_c H_f / (\kappa H_m)$, 0.8% per unit of $H_f/H_m$: the check pays only if it catches more harm than its own false closures cause, so the bar of §7.5 matters most where a wrong fact is most expensive. Both rates are measured (§12, test 2). The judge stays a small model; the large one costs forty times more per check.

··· 1 unchanged paragraph folded ···

v2.2 · 11. ConclusionsAn agent's memory goes wrong at the moment of writing, and the fix belongs there. The notebook from the first paragraph becomes something an agent can keep: every line dated, every source named, every correction made once and kept, and nothing true erased without a trace.
v2.3 · 11. ConclusionsAn agent's memory goes wrong at the moment of writing, and the fix belongs there. Every line is dated, every source named, every correction made once and kept.
v2.2 · 11. ConclusionsThe design has limits. The judge's precision is unknown until it is measured, and whether holds or false closures cost more depends on what a wrong fact costs in a given deployment (§10). Topic links are only as good as the index file, so a fact filed under the wrong topic is compared with the wrong neighbours. Where the gate cannot have its own account, the guarantee covers mediated writes only. Suppression catches erased identifiers exactly and indirect references only as well as the entity matcher does. A provider that keeps a copy of a conversation, or a backup written in the clear, can put a copy out of reach of any erase; the manifest names it, which is all a client can do. And the gate does nothing for a fact that is stored correctly and never found; that is J2's problem, just as making a rule bind is J5's.
v2.3 · 11. ConclusionsThe limits are these. The judge's precision is unknown until measured, and whether holds or false closures cost more depends on what a wrong fact costs (§10). Topic links are only as good as the index file. Without its own account the gate guarantees mediated writes only. Suppression catches erased identifiers exactly and indirect references only as well as the entity matcher does. A provider copy, a clone outside the gate or a backup written in the clear can sit out of reach of any erase; the manifest names it, which is all a client can do. And the gate does nothing for a fact that is stored correctly and never found (J2), or a rule that does not bind (J5).

··· 1 unchanged paragraph folded ···

v2.2 · 12. Next stepsThe gate will be built and tested on our own agent. Every test that sets a threshold keeps the sets of §7.5 apart; the control arm is the same store and replay with the gate replaced by a nearest-neighbour check of the Mem0 kind (the ten most similar facts, add, update, delete or do nothing).
removed in v2.3
not in v2.2
v2.3 · 12. Next stepsThe gate will be built and tested on our own agent, with the sets of §7.5 kept apart wherever a test sets a threshold. Two control arms run on the same store and replay: a nearest-neighbour check of the Mem0 kind (§2), and the plain git store of MemFS with no check. The series' transition checker (J5 Appendix B) models the delivery and erase-ordering cases of tests 3 and 8 and the resume on the judge's return in test 7, against seeded defects. It has no owner-approval event, so a hold's resume after approval is not modelled; it tests the design, not an implementation.
v2.2 · 12. Next steps1. *Catching the clashes that matter.* Replay each original write against the store as it stood that day: every case in the regression suite, and the later-corrected facts of the evaluation stream only. Pass: the gate flags every rule clash in the suite and at least half of the later-corrected facts, with precision of at least 0.9 on a hand audit, and beats the control arm on both. 2. *Closing and holding.* On the held-out decision set, measure each risk class against the bar of §7.5, and count needless holds and false closures per hundred writes. Pass: no class closes automatically below the bar, every threshold in use passes the regression suite, and needless holds stay under one per two hundred writes. 3. *Identity, concurrency and snapshots.* Index a file twice, split a long note, re-flow a file: zero closures, and every fact ID resolves. Run two writers on one snapshot and kill the gate between verdict and publication: one write wins, the other is decided again or held, and a retry with the same key writes nothing new. Replay trace steps 5 to 7, where the owner rewrites a compared rule while a verdict is out: the late verdict is refused, judgement and policy run again on the new snapshot, and the receipt names it. Continue to step 9: the re-run holds R-43's line on its clash with the newer R-15@4. 4. *Supersede, retract and confirm.* Plant a moved meeting and a wrongly recorded date: the two questions about the past give the answers of Figure 2. Have the agent restate a stored fact and a tool read its file: "last confirmed" does not move. 5. *The alarm fires on day one.* Replay a burst of same-file, same-pass closures. Pass: the alarm fires on the first, and automatic closing pauses. 6. *Authority survives the write.* As in AuthMem (Zhan et al., 2026), pair facts that differ only in source (the owner, or a web page) and merge each into an owner fact. Pass: the third-party twin never reaches an always-loaded file, the merged fact keeps the lower authority, and no action that depends on it runs without the owner. 7. *A failing judge.* Cut the judge off mid-session (trace step 4). Pass: every write lands in its row of Table 1, nothing unchecked closes a fact or touches an always-loaded file, and the pending lines are judged on the current snapshot when the judge returns. 8. *An erase leaves no reachable copy.* Let facts about a made-up person reach every row of Table 3, start an index build, then erase (trace step 11). Pass: the epoch rises first and the old build is never swapped in; every row reports done, not present, or out of reach by name; a search finds only tombstones; every pointer resolves; an erased replacement does not reopen the fact it superseded. Restore the backup taken before the erasure: the store stays closed until the replay ends, and nothing erased is readable after it. Later writes carrying an erased identifier must all be held; for writes that name the person only by a new alias or an identifier-free description, report the share held, with its confidence interval, and claim nothing beyond it. 9. *Restrictions hold for every reader.* Quarantine a planted entry from which a fact, a merged fact and a use key were derived: ordinary and show-hidden queries return none of the three, and only the audit view shows them. A narrower sub-agent's direct read of the store's files is refused (trace step 13). 10. *The outcome that counts.* The share of the owner's prompts that repeat a correction about a stored fact, before and after the gate. Pass: it falls, and a fact corrected once is not corrected again.
v2.3 · 12. Next steps1. *Catching the clashes that matter.* Replay each original write against the store as it stood that day: the regression suite and the later-corrected facts of the evaluation stream. Pass: every suite clash flagged, at least half the later-corrected facts, precision of at least 0.9 on a hand audit, and better than the Mem0-kind arm on both. 2. *Closing and holding.* On the held-out decision set, measure each class against the bar of §7.5 and count needless holds and false closures per hundred writes. Pass: no class closes below the bar (a cold start accepts an owner's correction and holds its closure), every threshold passes the regression suite, and needless holds stay under one per two hundred writes. 3. *Identity, concurrency, snapshots and delivery.* Index a file twice, split a long note, re-flow a file: zero closures, every fact ID resolves. Run two writers on one snapshot and kill the gate between verdict and publication: one write wins, the other is decided again or held, and a retry of a terminal request writes nothing new. Replay trace steps 5 to 9, where the owner rewrites a compared rule while a verdict is out: the late verdict is refused, the decision reruns, and the re-run holds R-43's line on its clash with R-15@4. Kill the gate right after publication, and separately drop the notification with no restart: both times J2's overlay receipt arrives and the delivery record closes. The test must fail on a notification sent after the update, outside the transaction, and on a record that carries content, which brings an erased fact back. 4. *Supersede, retract and confirm.* A moved meeting and a wrongly recorded date give the answers of Figure 2; a restated fact, and a tool reading its file, leave "last confirmed" where it was. 5. *The alarm fires on day one.* A burst of same-file, same-pass closures: the alarm fires on the first, and automatic closing pauses. 6. *Authority survives the write.* As in AuthMem (Zhan et al., 2026), pair facts that differ only in source and merge each into an owner fact. Pass: the third-party twin never reaches an always-loaded file, the merged fact keeps the lower authority, and no dependent action runs unapproved. 7. *A failing judge.* Cut the judge off mid-session (trace step 4, T4) and let J5 retry while its requests are pending. Pass: every write lands in its row of Table 1, nothing unchecked closes a fact or touches an always-loaded file, and on the judge's return each pending request is resumed as a new attempt linked to its earlier receipt and ends terminal, as does a hold the owner approves. The test must fail on a retry that returns the cached pending receipt, which leaves F-0587 pending forever. 8. *An erase leaves no reachable copy.* Let facts about a made-up person reach every row of Table 3; seed a background worktree, a reflog entry and an unreachable object with their text; share one fact with a second person; start an index build; then erase (trace step 11). Pass: the epoch rises first and the old build is never swapped in; every row reports done, not present, or out of reach by name, J2's only after the old build's refusal (T19); every recorded object ID is gone; searches find only tombstones; every pointer resolves; an erased replacement does not reopen the fact it superseded; the checkpoint restores the shared fact, and with the backup target offline the row names the recovery gap. After restoring the pre-erasure backup, the store stays closed until the replay ends and nothing erased is readable. Later writes carrying an erased identifier must all be held; for a new alias or an identifier-free description, report the share held with its confidence interval and claim nothing beyond it. 9. *Restrictions hold for every reader.* Quarantine a planted entry from which a fact, a merged fact and a use key were derived: ordinary and show-hidden queries return none of the three, and only the audit view shows them. A narrower sub-agent's direct read of the store's files is refused (trace step 13). 10. *The outcome that counts.* The share of the owner's prompts that repeat a correction of a stored fact, with the gate and with the plain git store, on alternating weeks for eight. Pass: lower with the gate, the 95% interval for the difference excluding zero. One owner and one agent make this an exploratory estimate, not proof of a general effect.
v2.2 · 12. Next stepsThe whole journey, from the owner's sentence to the next action it changes, belongs to the learning paper (J5 §10, one correction, start to finish). Worth trying once the gate runs: sending facts that keep flipping between versions to J5's rule ledger, since such a fact is often a rule that was never written down.
v2.3 · 12. Next stepsThe whole journey belongs to the learning paper (J5 §10, one correction, start to finish). A fact that keeps flipping between versions is often a rule never written down; send such facts to J5's rule ledger.

··· 15 unchanged paragraphs folded ···

v2.2 · A.1 A fact revision| Field | Meaning | |----|----------| | fact_id, revision | Stable ID, never reused; revision +1 on each change to the claim | | claim, topic | One claim; the topic file that presents it | | source_class | owner (owner-authority spans only), owner_system, agent, third_party (quoted spans too, with J1's attributed source) | | authority | instruction, owner_fact, evidence, hypothesis, quoted | | evidence_quality | direct, corroborated, inferred, assumed, negative (with query) | | evidence | Record addresses (J1 §4.2, addresses that never move) | | derived_from | Links: record addresses and the revisions of every part, for merges and added detail; J2 and J5 write the same field on use keys, rule revisions and fixtures | | subjects | Opaque IDs of the people the claim concerns; they choose the backup keys (§7.7) | | valid_from, valid_to | When the claim held in the world; empty interval once retracted | | recorded_from, recorded_to | When this revision was the live one | | status | accepted, pending, held, conflict, superseded, retracted, erased | | restrictions | quarantine (with its source entry), inherited through derived_from; independent of status | | replaces, replaced_by | Fact IDs on either side of a supersede, retraction, merge or split | | last_confirmed, important, use_keys | §8.5 (moves only on independent evidence), §9.4 |
v2.3 · A.1 A fact revision| Field | Meaning | |----|----------| | id, revision, claim, topic | Stable ID, never reused; revision +1 on each change; one claim, and the topic file that presents it | | source_class | owner (owner-authority spans only), owner_system, agent, third_party (quoted spans too) | | authority | instruction, owner_fact, evidence, hypothesis, quoted | | evidence_quality | direct, corroborated, inferred, assumed, negative (with query) | | evidence | Record addresses (J1 §4.2, addresses that never move) | | derived_from | Links: record addresses and the revisions of every part; J2 and J5 write the same field on use keys, rule revisions and fixtures | | valid, recorded (from/to) | When the claim held in the world (empty once retracted); when this revision was the live one | | status | accepted, pending, held, conflict, superseded, retracted, erased | | restrictions | quarantine and its source entry, inherited via derived_from | | replaces, replaced_by | Fact IDs on either side of a supersede, retraction, merge or split | | subjects, last_confirmed, important, use_keys | Opaque IDs of the people concerned, which choose backup keys (§7.7); §8.5 (last_confirmed moves only on independent evidence); §9.4 |
v2.2 · A.1 A fact revision: A fact revision. The line in the file shows claim, ID and the end mark; everything else lives in the revision.
v2.3 · A.1 A fact revision: A fact revision. The line in the file shows claim, ID and end mark; the rest lives here.

··· 1 unchanged paragraph folded ···

v2.2 · A.2 A write receipt| Field | Meaning | |----|----------| | receipt_id, write_key | The key is a hash of evidence addresses, topic and text; a retry with it returns this receipt | | correction_id | The series' ID for an owner correction (message ID and span index), when the write carries one | | read_snapshot, read_set, epoch | Snapshot the decision read; the revisions of every file and mark it compared; the erasure epoch | | new_snapshot | Snapshot published, or empty when nothing was | | relation, confidence, judge | The verdict and the judge's model and version | | policy | Risk class and rule that applied (auto-close, proposal, hold) | | touched | Fact IDs and revisions before and after | | status, reason | accepted, pending, held, refused, erase incomplete, all reachable copies removed; and why |
v2.3 · A.2 A write receipt| Field | Meaning | |----|----------| | request_id | Stable across attempts: the learning stage's child operation ID (correction ID plus a repair letter), or, for a write without one, a hash of evidence addresses, topic and text | | receipt_id, attempt, previous_receipt | One immutable receipt per decision attempt, linked to the one before. A retry gets a terminal receipt back; a pending one is never returned, the retry runs the next attempt | | correction_id | The series' ID for an owner correction (message ID and span index), when the write carries one | | read_snapshot, read_set, epoch | Snapshot the decision read; the revisions of every file and mark it compared; the erasure epoch | | new_snapshot | Snapshot published, or empty when nothing was | | relation, confidence, judge | The verdict and the judge's model and version | | policy | Risk class and rule that applied (auto-close, proposal, hold) | | touched | Fact IDs and revisions before and after | | status, reason | accepted, pending, held, refused, erase incomplete, all reachable copies removed; and why |

··· 1 unchanged paragraph folded ···

v2.2 · A.2 A write receiptA receipt is never edited. J2 acknowledges a retrievable fact (ID@revision) in its own overlay receipt, keyed by this receipt_id (J2 Appendix A, interfaces; J2 §8.2, becoming retrievable), so the two receipts show the chain from accepted to retrievable and this one never claims the finding stage's status.
v2.3 · A.2 A write receiptA receipt is never edited. J2 acknowledges a retrievable fact (ID@revision) in its own overlay receipt, keyed by receipt_id (J2 Appendix A, interfaces; J2 §8.2, becoming retrievable), so the two receipts show the chain from accepted to retrievable and this one never claims the finding stage's status. What J2 acknowledges is the *delivery record* of Table 6.
not in v2.2
v2.3 · A.2 A write receipt| Field | Meaning | |----|----------| | receipt_id, snapshot | The receipt it announces and the snapshot that carries the change | | items | fact_id@revision pairs, or rule ID@revision for a hold; never content. For a published change J2 reads the text from the snapshot, where an erased revision is a tombstone. For a pending line or hold, which publishes no snapshot, J2 reads the pending-area line or hold record the receipt names, from the store at J2's applied epoch, so an erase that drops it reads as gone | | kind | published, pending line or hold; the last two publish no snapshot, so the record is written with their receipt | | acknowledged_by | J2's overlay receipt ID; empty until it arrives, and the dispatcher resends while it is empty | | next_resend | The dispatcher's timer; a resend is a no-op at J2, which keys by ID and revision |
not in v2.2
v2.3 · A.2 A write receipt: A delivery record, written in the same tree as the change (T8, T9, T12).

··· 1 unchanged paragraph folded ···

v2.2 · A.3 The gate in pseudocode``` WRITE(candidate, writer): if receipt_exists(candidate.write_key): return that receipt # idempotent if temporary(candidate.evidence): return REFUSE("temporary") # J1 §4.7, never kept snap <- read_live() # snapshot id, with its epoch d <- DECIDE(candidate, writer, snap) for attempt in 1..3: if d.kind != COMMIT: return RECORD(d, snap) # pending line or hold tree <- tree_of(snap) + d.change + d.revisions + d.links + receipt(d) if update_ref("live", new = commit(tree), expect = snap): # one atomic publication notify_fresh_writes(receipt) # J2 makes it retrievable return receipt(status = accepted) now <- read_live() if changed(d.read_set, snap, now): # a compared file, scope, mark or epoch d <- DECIDE(candidate, writer, now) # judgement AND policy again snap <- now # otherwise re-apply on the new tip return RECORD(HOLD(d.change, reason = "concurrent change"), snap)
v2.3 · A.3 The gate in pseudocode``` WRITE(candidate, writer, resume=false): req <- request_id(candidate) # stable across attempts prev <- latest_receipt(req) if prev and prev.status in TERMINAL and not resume: # accepted, refused, hold awaiting owner return prev # a PENDING prev is never returned if temporary(candidate.evidence): return REFUSE("temporary") # J1 §4.7, never kept snap <- read_live() # snapshot id, with its epoch d <- DECIDE(candidate, writer, snap) for attempt in 1..3: if d.kind != COMMIT: return RECORD(d, snap, req, prev) # pending line or hold tree <- tree_of(snap) + d.change + d.revisions + d.links + receipt(d, req, prev) + delivery_record(d) # IDs and revisions only if update_ref("live", new = commit(tree), expect = snap): # one atomic publication return receipt(status = accepted) # delivery is the dispatcher's job now <- read_live() if changed(d.read_set, snap, now): # a compared file, scope, mark or epoch d <- DECIDE(candidate, writer, now) # judgement AND policy again snap <- now # otherwise re-apply on the new tip return RECORD(HOLD(d.change, reason = "concurrent change"), snap, req, prev)
v2.2 · A.3 The gate in pseudocodeRECORD(d, snap): r <- receipt(d, snap); if d is HOLD: notify_fresh_writes(r); return r
removed in v2.3
not in v2.2
v2.3 · A.3 The gate in pseudocodeRECORD(d, snap, req, prev): # one atomic append r <- receipt(d, snap, req, prev); append(r, delivery_record(r)); return r
not in v2.2
v2.3 · A.3 The gate in pseudocodeON_JUDGE_RETURN(): # T7: resume every pending request, none from cache for req in pending_requests(): WRITE(candidate_of(req), writer_of(req), resume=true) ON_OWNER_APPROVAL(hold): # the approval is new evidence on the same request WRITE(candidate_of(hold.req) + approval(hold), owner, resume=true)
not in v2.2
v2.3 · A.3 The gate in pseudocodeDISPATCH(): # always running; survives a restart for rec in delivery_records() where not acknowledged(rec): send_ids(rec, to = J2) # J2 reads content from the live snapshot; its overlay receipt closes the record (T9)

··· 2 unchanged paragraphs folded ···

v2.2 · A.3 The gate in pseudocode_J-series paper J14 | Version 2.2 | 2026-10-12_
v2.3 · A.3 The gate in pseudocode_J-series paper J14 | Version 2.3 | 2026-10-12_

Changed paragraphs in the same form, for scripts: JSON · Markdown