v8.7 → v8.8
What changed from v8.7 to v8.8
From v8.7 (21 Oct) to v8.8 (25 Nov): 15,820 words to 14,699 words, 592 words in new or rewritten paragraphs and 1,713 taken out, 68 paragraphs changed.
Main text cut by about 1,300 words; embeddings governed like the recordThe main text goes from about 11,000 to 9,800 words, as a referee report asked. Nearly every section loses some sentences, and no section is added or removed.
- Introduction, related work and several design sections are shorter.
- The adapter contract appendix grows.
- From the improvement notes: the paper now says why search needs both words and embeddings, that embeddings are derived copies of the record, and that erase, quarantine and temporary sessions apply to them too.
v8.7 · 21 October 2026v8.8 · 25 November 2026
··· 10 unchanged paragraphs folded ···
v8.7 · 1.1 Monday to FridayThe agent's runtime, the program that runs the model and its tools, compacts: a model rereads the first hours and writes a summary. The best tools today write a good one. Claude Code asks for a structured summary that lists every message from the owner, keeps the ones that look like safety rules word for word, lists the errors met and how they were fixed, the files touched and the tasks still pending, and it gives the model the path of the full transcript to open when it needs exact wording (Anthropic, 2026i). A standing rule such as "never restart the production database during the day" is exactly what it is told to keep, and it would survive. The summariser's instructions also carry the warning that matters here: what the summary leaves out, the next window will not know to look for.
v8.8 · 1.1 Monday to FridayThe agent's runtime, the program that runs the model and its tools, compacts: a model rereads the first hours and writes a summary. The best tools today write a good one. Claude Code asks for a structured summary that lists the owner's messages, keeps the ones that look like safety rules word for word, lists errors, files and pending tasks, and gives the model the path of the full transcript (Anthropic, 2026i). A standing rule such as "never restart the production database during the day" would survive. Its instructions also carry the warning that matters here: what the summary leaves out, the next window will not know to look for.
v8.7 · 1.1 Monday to FridayThe staging sentence is another kind of thing. It is no safety rule, and nobody would write it into the project's always-loaded instruction file, since it belongs to this job and matters only the next time a renewal is tested. The job runs all week. The window fills several times a day, and each night the session is closed and a new one starts from what the last one left. By Friday the sentence has been through a dozen compactions, each summary written from the one before plus the newer turns, and through four new sessions. On Friday afternoon the agent tests a renewal against production, hits the same rate limit, and the owner has to say again what they said on Monday.
v8.8 · 1.1 Monday to FridayThe staging sentence is another kind of thing. It is no safety rule, and nobody would write it into the project's always-loaded instruction file: it belongs to this job and matters only at the next test renewal. The job runs all week. The window fills several times a day, and each night a new session starts from what the last one left. By Friday the sentence has been through a dozen compactions, each summary written from the one before, and four new sessions. On Friday afternoon the agent tests a renewal against production, hits the same rate limit, and the owner has to say again what they said on Monday.
··· 2 unchanged paragraphs folded ···
v8.7 · 1.2 Why a bigger window does not settle itContext windows have grown to a million tokens, but models do not read long inputs evenly. Detail in the middle of a long context is used less well than detail at the start or end (Liu et al., 2024), and accuracy falls as input grows even on simple tasks (Hong et al., 2025). A week of tool output, file reads and logs can also outrun any window. So compaction stays, and the question is what it should leave behind.
v8.8 · 1.2 Why a bigger window does not settle itContext windows have grown to a million tokens, but models use detail in the middle of a long input less well than at its ends (Liu et al., 2024), and accuracy falls as input grows even on simple tasks (Hong et al., 2025). A week of tool output can also outrun any window. So compaction stays, and the question is what it should leave behind.
··· 1 unchanged paragraph folded ···
v8.7 · 1.3 What summaries loseA summary keeps the shape of the work and drops its substance. The table below lists four kinds of detail that summaries tend to drop when they must be short; it is not measured here, and test 1 measures it.
removed in v8.8
not in v8.7
v8.8 · 1.3 What summaries loseA summary keeps the shape of the work and drops its substance: exact strings (a path, a hash, an error line) come back paraphrased, causes collapse into "it failed", failed attempts give way to what worked, and times look like noise. That is a tendency, not a measurement here; test 1 measures it.
v8.7 · 1.3 What summaries loseA fifth kind matters more: the owner's own words. An instruction or a correction is the one thing the owner expects never to repeat. A good summary is asked to list the owner's messages and to keep safety rules word for word, but a correction said in passing is left to the summariser's judgement, a long list gets shortened, and nothing tells the model what was cut. Repeated compaction makes it worse: each summary is written from the previous one and loses detail again, which Zhang et al. (2025) call "context collapse".
v8.8 · 1.3 What summaries loseThe owner's own words matter more. An instruction or a correction is the one thing the owner expects never to repeat. A good summary is asked to list the owner's messages and to keep safety rules word for word, but a correction said in passing is left to the summariser's judgement, a long list gets shortened, and nothing tells the model what was cut. Repeated compaction makes it worse: each summary is written from the previous one and loses detail again, which Zhang et al. (2025) call "context collapse".
v8.7 · 1.3 What summaries lose| Kind | Example | Why a short summary drops it | |------------|-------------------|-----------------------| | Exact strings | a path, a hash, a host name, an error line | a summary paraphrases; the characters are what matter | | Causes | "it failed because the cron job reset the config" | several steps collapse into "it failed" | | Negative results | "we tried the renewal and it hit a rate limit" | summaries lean toward what worked | | Time anchors | "the deploy at 14:32 succeeded" | times look like noise to a summariser |
removed in v8.8
··· 1 unchanged paragraph folded ···
v8.7 · 1.4 Who holds the penThree things sit between the owner and the model. The **runtime** is the program the owner runs: it takes the owner's messages, calls tools and logs the session (some call it the harness). Inside it, the **memory layer** is the part this paper designs. And something decides, on every call, exactly what text the model reads; we call it the **window controller**. Sometimes that is the runtime, which builds each request to the model's API itself. Sometimes it is a provider's command-line agent, such as Claude Code, that the runtime drives: the agent keeps its own copy of the conversation, compacts it when it chooses and writes its own summary. Sometimes it is the provider's API, which may clear old tool results or compact on its servers partway through a reply.
v8.8 · 1.4 Who holds the penThree things sit between the owner and the model. The **runtime** is the program the owner runs: it takes the owner's messages, calls tools and logs the session (some call it the harness). Inside it, the **memory layer** is the part this paper designs. And something decides, on every call, exactly what text the model reads; we call it the **window controller**. Sometimes that is the runtime, which builds each request to the model's API itself. Sometimes it is a provider's command-line agent, such as Claude Code, which keeps its own copy of the conversation and compacts it when it chooses. Sometimes it is the provider's API, which may clear old tool results or compact partway through a reply.
··· 6 unchanged paragraphs folded ···
v8.7 · 1.5 The claimThis is one of four designs for one agent's memory: keeping what happened (this paper, J1), writing what becomes a long-term fact (the writing paper, J14), finding it again (the finding paper, J2) and turning experience into behaviour (the learning paper, J5). The other three are listed in the References (Serra, 2026a, 2026b, 2026c), and a pointer such as "J2 §6.8" names a section of one of them. The learning paper follows one owner correction through all four (J5 Appendix B); Appendix E lists the handoffs that pass through this one.
v8.8 · 1.5 The claimThis is one of four designs for one agent's memory: keeping what happened (this paper, J1), writing what becomes a long-term fact (the writing paper, J14), finding it again (the finding paper, J2) and turning experience into behaviour (the learning paper, J5). The other three are in the References (Serra, 2026a, 2026b, 2026c); a pointer such as "J2 §6.8" names one of their sections, and Appendix E lists the handoffs.
··· 4 unchanged paragraphs folded ···
v8.7 · 2. One Span, Start to FinishTable 1 sets the marker beside six other ways to carry a long job past a full window, on the two things of §1.1 a reader of the window most needs: the correction given at 14:34 and the exact renewal error.
v8.8 · 2. One Span, Start to FinishTable 1 sets the marker beside six other ways to carry a long job past a full window, on the two things of §1.1 that matter: the correction given at 14:34 and the exact renewal error.
··· 1 unchanged paragraph folded ···
v8.7 · 2. One Span, Start to Finish| Approach | The passing correction (14:34) | The exact renewal error | Way back to the original | Where it breaks | |-----------|---------------|-------------|-----------|------------------| | Bigger window (a million tokens) | in view, deep in a long input, where models use detail less well (§1.2) | in view, with the same caveat | none needed until it overflows | every call rereads it all; a week of logs still overflows | | Summary only (an API's default) | kept if the summariser judged it important | usually paraphrased | none | the model cannot know what was dropped | | Structured summary and transcript path (Claude Code today) | listed among the owner's messages; kept word for word only if judged a safety rule | listed among errors; exact wording not required | one path to the whole transcript, which the model must open and search | does not say what it left out; each summary is written from the last; no size limit and no notice; a new session starts without it | | Retrieval over chunks (vector memory) | returned only if a search runs and ranks it | returned if its chunk ranks | similarity search | nothing prompts a search before the agent acts; hashes and error codes match poorly by meaning | | Cross-chat memory (Claude, ChatGPT) | only if saved as a lasting fact | no | links to past chats (Claude) | built for preferences across chats, not the details of one job | | Always-loaded file (CLAUDE.md, AGENTS.md; custom instructions) | in every call of every session, once someone writes it there | not its job | none needed | holds only what someone thought to write down; every line costs every call; a one-job instruction does not belong there | | Marker and range read (this paper) | word for word while it fits the owner's budget or is pinned, then a pointer line; carried into the next session (§5.6) | a line with the error and its address; one range read returns the exact text | an address per item | the agent must still follow a pointer (test 7); costs marker tokens and one cache rewrite per eviction |
v8.8 · 2. One Span, Start to Finish| Approach | The passing correction (14:34) | The exact renewal error | Way back to the original | Where it breaks | |-----------|---------------|-------------|-----------|------------------| | Bigger window (a million tokens) | in view, deep in a long input, where models use detail less well (§1.2) | in view, with the same caveat | none needed until it overflows | every call rereads it all; a week of logs still overflows | | Summary only (an API's default) | kept if the summariser judged it important | usually paraphrased | none | the model cannot know what was dropped | | Structured summary and transcript path (Claude Code today) | listed among the owner's messages; kept word for word only if judged a safety rule | listed among errors; exact wording not required | one path to the whole transcript | does not say what it left out; each summary is written from the last; a new session starts without it | | Retrieval over chunks (vector memory) | returned only if a search runs and ranks it | returned if its chunk ranks | similarity search | nothing prompts a search before the agent acts; hashes and error codes match poorly by meaning | | Cross-chat memory (Claude, ChatGPT) | only if saved as a lasting fact | no | links to past chats (Claude) | built for preferences across chats, not the details of one job | | Always-loaded file (CLAUDE.md, AGENTS.md; custom instructions) | in every call of every session, once someone writes it there | not its job | none needed | holds only what someone wrote down; every line costs every call | | Marker and range read (this paper) | word for word while it fits the owner's budget or is pinned, then a pointer line; carried into the next session (§5.6) | a line with the error and its address; a range read returns the exact text | an address per item | the agent must still follow a pointer (test 7); one cache rewrite per eviction |
··· 1 unchanged paragraph folded ···
v8.7 · 2. One Span, Start to FinishThe structured summary and the marker can share the same way back into the record. What the marker adds is what the window says is there:
removed in v8.8
v8.7 · 2. One Span, Start to Finish- an address for each item, where the summary has one path to everything; - a size limit for the owner's words, and a notice when one of them leaves view (§5.5); - markers rebuilt from the record, where each summary is written from the one before (§5.4); - a check that every quote, string and address resolves (§8.2); - markers that carry into the next session (§5.6); - one contract whichever program controls the window, with each receipt saying how much it can confirm (§6).
removed in v8.8
v8.7 · 2. One Span, Start to FinishWhether that raises recovery enough to pay for building the marker and for its tokens is what test 1 decides (§10). Table 2 gives each approach a picture and a rough price.
removed in v8.8
not in v8.7
v8.8 · 2. One Span, Start to FinishThe structured summary and the marker can share the same way back into the record. What the marker adds is what the window says is there: an address per item, a budget and a notice for the owner's words (§5.5), a rebuild from the record each time (§5.4), a check that every address resolves (§8.2), a carry into the next session (§5.6) and one contract for every controller (§6). Whether that pays for the marker is what test 1 decides (§10). Table 2 gives each approach a picture and a rough price.
··· 1 unchanged paragraph folded ···
v8.7 · 2. One Span, Start to Finish| Approach | Picture | What it pays | |--------------|----------------------|----------------------| | Bigger window | a bigger desk: everything is on it, and you still skim the middle of the pile | every call rereads the whole window from cache, about 100,000 units a call at a million tokens | | Summary | someone clears the desk and leaves a sticky note | one model call per compaction, and the cache written again from the summary on | | Structured summary with a transcript path | a tidy memo, and the key to the archive | the same as a summary | | Retrieval over chunks | a clerk who fetches pages about your question if you think to ask, and who is poor at serial numbers | one more call per search, about 20,000 units in the example of §7.2 | | Cross-chat memory | the notebook you keep about a client between projects | its lines, read on every call | | Always-loaded file | the sign on the wall | its lines, read on every call | | Marker (this paper) | a call slip where the folder was, with your instruction copied out in full and the shelf number of every page | about 300 tokens in the window; once per eviction, a cache rewrite plus building the marker, about 157,000 units in the example of §7.2 |
v8.8 · 2. One Span, Start to Finish| Approach | Picture | What it pays | |--------------|----------------------|----------------------| | Bigger window | a bigger desk, where you still skim the middle of the pile | every call rereads the whole window, about 100,000 units a call at a million tokens | | Summary | someone clears the desk and leaves a sticky note | one model call per compaction, and the cache written again from the summary on | | Structured summary with a transcript path | a tidy memo, and the key to the archive | the same as a summary | | Retrieval over chunks | a clerk who fetches pages if you think to ask, and is poor at serial numbers | one more call per search, about 20,000 units in the example of §7.2 | | Cross-chat memory | the notebook you keep about a client between projects | its lines, read on every call | | Always-loaded file | the sign on the wall | its lines, read on every call | | Marker (this paper) | a call slip where the folder was, with your instruction copied out in full and the shelf number of every page | about 300 tokens in the window; once per eviction, a cache rewrite plus building the marker, about 157,000 units in the example of §7.2 |
··· 5 unchanged paragraphs folded ···
v8.7 · 3. Related Work| System | What it already does | How Total Recall relates | |-----------------|------------------------------|------------------------------| | MemGPT and Letta (Packer et al., 2023; Letta, 2026) | pages context in and out like an operating system, keeps the full history in a searchable recall store, and compacts automatically with a configurable summariser, including modes that keep the prompt prefix cache-friendly | same hierarchy and full history; the evicted range leaves a marker with exact strings and addresses instead of a summary (§5.1), and test 1 compares the two with the same record access | | ARC (Dang et al., 2026) | keeps tool observations in an append-only log with IDs and replaces older ones with short citations that the agent can expand exactly; reports 99.40% exact-answer accuracy on needle-in-a-haystack tests with this recall, against 88.12% for its best baseline | the closest mechanism, for tool output, with a measured result; Total Recall adds the owner's words under a budget (§5.5), erasure and quarantine (§4.4) and one contract for every window controller (§6), and test 1 extends the measurement to the owner's words and to repeated compaction | | Provider compaction (Anthropic, 2026a, 2026d, 2026e; OpenAI, 2026a) | clears old tool results behind a placeholder, or summarises at a threshold, sometimes inside a response; Anthropic can pause after its summary and lets a client replace the summary instructions, OpenAI carries state in an opaque item | works through these controls: markers go in at the pause or before the next request, and an unprotected stretch is recorded (§6.4) | | Claude Code and claude-mem (Anthropic, 2026b, 2026i; thedotmack, 2026) | Claude Code's compaction writes the structured summary of §1.1 with the transcript path, and offers hooks before and after it; claude-mem captures what the agent does, compresses it with a model and injects it into later sessions | the strongest baseline (Table 1); uses the same hooks (§6.3), keeps the summary, and adds addressed markers built from the record | | Manus (Ji, 2025) | compresses only in restorable ways (drop a page, keep its URL), keeps the prefix stable for the cache and leaves failed attempts in view | extends "restorable" to the whole conversation and prices moving the prefix (§7.2) | | headroom (Headroom Labs, 2026) | compresses what the agent reads and gives the model a tool to fetch the originals | headroom keeps a smaller version in the window; Total Recall removes the span and leaves a pointer | | Zep and Graphiti (Rasmussen et al., 2025; Zep, 2026) | stores raw episodes and links each extracted entity back to the episode it came from | the same layering, applied to the context window: what stays advertised after eviction | | Mem0 (Mem0, 2026) | ranks extracted memories by query, and can store raw messages exactly as given | exact storage exists already; Total Recall's part is what replaces the evicted text and how it reaches the model (§5, §6) | | Claude and ChatGPT memory (Anthropic, 2026h; OpenAI, 2026b) | carry context from earlier chats into new ones; Claude links the past chats it used, and both let the owner manage what is kept | owners already expect to see what is kept; Total Recall's receipts and notices feed the finding paper's view for the owner (J2 §6.8) |
v8.8 · 3. Related Work| System | What it already does | How Total Recall relates | |-----------------|------------------------------|------------------------------| | MemGPT and Letta (Packer et al., 2023; Letta, 2026) | pages context in and out like an operating system, keeps the full history in a searchable recall store, and compacts with a configurable summariser | same hierarchy and full history; the evicted range leaves a marker instead of a summary (§5.1), and test 1 compares the two with the same record access | | ARC (Dang et al., 2026) | keeps tool observations in an append-only log with IDs and replaces older ones with short citations the agent can expand exactly; reports 99.40% exact-answer accuracy on needle-in-a-haystack tests, against 88.12% for its best baseline | the closest mechanism, for tool output; Total Recall adds the owner's words under a budget (§5.5), erasure (§4.4) and one contract for every controller (§6), and test 1 extends the measurement to the owner's words and to repeated compaction | | Provider compaction (Anthropic, 2026a, 2026d, 2026e; OpenAI, 2026a) | clears old tool results, or summarises at a threshold, sometimes inside a response; Anthropic can pause after its summary, OpenAI carries state in an opaque item | markers go in at the pause or before the next request, and an unprotected stretch is recorded (§6.4) | | Claude Code and claude-mem (Anthropic, 2026b, 2026i; thedotmack, 2026) | Claude Code writes the structured summary of §1.1 and offers hooks before and after compaction; claude-mem compresses what the agent does with a model and injects it into later sessions | the strongest baseline (Table 1); uses the same hooks (§6.3), keeps the summary, and adds addressed markers built from the record | | Manus (Ji, 2025) | compresses only in restorable ways (drop a page, keep its URL), keeps the prefix stable for the cache and leaves failed attempts in view | extends "restorable" to the whole conversation and prices moving the prefix (§7.2) | | headroom (Headroom Labs, 2026) | compresses what the agent reads and gives the model a tool to fetch the originals | headroom keeps a smaller version in the window; Total Recall removes the span and leaves a pointer | | Zep, Graphiti and Mem0 (Rasmussen et al., 2025; Zep, 2026; Mem0, 2026) | store raw episodes or messages exactly as given, and link extracted memories back to them | exact storage exists already; Total Recall's part is what replaces the evicted text and how it reaches the model (§5, §6) | | Claude and ChatGPT memory (Anthropic, 2026h; OpenAI, 2026b) | carry context from earlier chats into new ones, and let the owner manage what is kept | owners already expect to see what is kept; Total Recall's receipts and notices feed the finding paper's view for the owner (J2 §6.8) |
v8.7 · 3. Related WorkARC shows that exact, addressable recall of evicted observations already works in a research setting. Total Recall therefore claims a combination: the owner's words kept apart and budgeted, privacy handling, and one contract for every window controller. Whether the combination beats its parts is not yet shown; test 1 checks it with an arm that drops the owner's section. Agentic Context Engineering (Zhang et al., 2025) names brevity bias and context collapse; our answer to collapse is that every marker is written from the record (§5.4).
v8.8 · 3. Related WorkARC shows that exact, addressable recall of evicted observations already works. Total Recall therefore claims a combination: the owner's words kept apart and budgeted, privacy handling, and one contract for every window controller. Whether the combination beats its parts is not yet shown; test 1 checks it with an arm that drops the owner's section. Against context collapse (Zhang et al., 2025), every marker is written from the record (§5.4).
··· 5 unchanged paragraphs folded ···
v8.7 · 4.1 What goes in, and with whose nameSending a message is not writing every sentence in it: an owner who pastes an email and asks whether it is phishing wrote the question, not the email. So `owner_words` is first cut into **spans**, then labelled. The cutter is plain code: it splits at sentence ends, semicolons, line breaks, list items, and a comma before "and", "but", "also" or "then" when a new verb follows. Those words are kept per language; in a language the cutter has no list for, it splits only at the marks, which can leave two instructions in one span. In doubt it cuts, since a cut too fine costs an extra span and one too coarse puts two corrections under one address. A span is immutable and addressed (§4.2); the cutter's version is stored with it, and a newer cutter never re-cuts a stored entry.
v8.8 · 4.1 What goes in, and with whose nameSending a message is not writing every sentence in it: an owner who pastes an email and asks whether it is phishing wrote the question, not the email. So `owner_words` is first cut into **spans**, then labelled. The cutter is plain code: it splits at sentence ends, semicolons, line breaks, list items, and a comma before a joining word ("and", "but", "then", kept per language) when a new verb follows. In doubt it cuts, since a cut too fine costs an extra span and one too coarse puts two corrections under one address. A span is immutable and addressed (§4.2); the cutter's version is stored with it, and a newer cutter never re-cuts a stored entry.
··· 1 unchanged paragraph folded ···
v8.7 · 4.1 What goes in, and with whose nameThe first label says whose words they are. A span is *owner* when the owner says it in their own voice, and *quoted* when they paste, forward or report what someone else said. Layout settles most cases: a pasted block, a forwarded header, quotation marks. A check for reported speech ("she says we should...") settles the rest. When that check is unsure, the span counts as quoted until the owner confirms it; the confirmation is stored as a new entry, and the span itself never changes. The two mistakes do not cost the same. Taking the owner's instruction for a quote costs one repetition. Taking a pasted attack for the owner's instruction lets a stranger give the agent orders.
v8.8 · 4.1 What goes in, and with whose nameThe first label says whose words they are. A span is *owner* when the owner says it in their own voice, and *quoted* when they paste, forward or report what someone else said. Layout settles most cases (a pasted block, a forwarded header, quotation marks), and a check for reported speech ("she says we should...") settles the rest. When unsure, the span counts as quoted until the owner confirms it in a new entry. The two mistakes do not cost the same: taking the owner's instruction for a quote costs one repetition, while taking a pasted attack for the owner's instruction lets a stranger give the agent orders.
v8.7 · 4.1 What goes in, and with whose nameThe second label says what an owner span is for: an instruction, a correction, praise, or nothing in particular. One classifier assigns it, shared with the learning stage (its contract is in J5 Appendix A.1), and it only ever sees owner spans. Quoted spans get no second label, so they never become an instruction or a correction, and they keep their quotation marks wherever they are copied. The learning stage reads the stored labels when it queues a correction and when it replays one, and never classifies the text again. A span the classifier could not label, or is unsure of, counts as an instruction until the nightly pass labels it (J5 §6.2); that late label is added with its own version.
v8.8 · 4.1 What goes in, and with whose nameThe second label says what an owner span is for: an instruction, a correction, praise, or nothing in particular. One classifier assigns it, shared with the learning stage (J5 Appendix A.1), and it only ever sees owner spans. Quoted spans get no second label, so they never become an instruction or a correction, and they keep their quotation marks wherever they are copied. The learning stage reads the stored labels and never classifies the text again. A span the classifier is unsure of counts as an instruction until the nightly pass labels it (J5 §6.2), with its own version.
··· 8 unchanged paragraphs folded ···
v8.7 · 4.3 Never edited, never supersededEdits and deletes in a chat follow the same rule. Chat channels let people edit a sent message or delete it for everyone, and neither changes a stored entry. An edit is appended as a new entry linked to the one it changes, its spans cut and labelled like any owner message, so the writing and learning stages read an edited correction as a correction of that span and not as a second one. A delete is appended as a runtime entry and passed to the writing stage: from the owner it is a likely erase request, and the stage asks when the intent is unclear; from a third party in a shared chat it is a privacy event the stage must answer (§4.4). Claude Tag, Anthropic's agent for a team's chat channels, already handles edits this way: the agent gets a note with the text before and after, and both stay in the session transcript (Anthropic, 2026g).
v8.8 · 4.3 Never edited, never supersededEdits and deletes in a chat follow the same rule. An edit is appended as a new entry linked to the one it changes, cut and labelled like any owner message, so an edited correction reads as a correction of that span, not a second one. A delete is appended as a runtime entry and passed to the writing stage: from the owner a likely erase request, from a third party in a shared chat a privacy event (§4.4).
··· 1 unchanged paragraph folded ···
v8.7 · 4.4 Erase and quarantineWe keep everything, but some text must go: a phone number the owner wants forgotten, a key pasted by mistake, a line an attacker slipped in. So the record allows one edit, the tombstone, and one ordering rule, so that no read sees the state from before the deletion. The writing paper decides when an erase or a quarantine applies (J14 §7.7); this section says what each does to the record.
v8.8 · 4.4 Erase and quarantineSome text must go: a phone number the owner wants forgotten, a key pasted by mistake, a line an attacker slipped in. So the record allows one edit, the tombstone, and one ordering rule. The writing paper decides when an erase or a quarantine applies (J14 §7.7); this section says what each does to the record.
v8.7 · 4.4 Erase and quarantine**Erase** is for privacy. The entry, or only the spans the erase names, is redacted at the same address, span by span. Address, author and time stay; the text is replaced by a tombstone that says content was removed, when, why and under which deletion receipt. The tombstone holds no part of the content, not even a hash, since the hash of a short string such as a phone number can be guessed. A string erased from a file read is replaced in a new copy of the file, so the rest of the file stays (Appendix D). Everything derived is rebuilt from the redacted record: the text index, every marker that covered it (§5.4), the copies handed to the window controller, and the live window.
v8.8 · 4.4 Erase and quarantine**Erase** is for privacy. The entry, or only the spans the erase names, is redacted at the same address, span by span. Address, author and time stay; the text is replaced by a tombstone that says content was removed, when, why and under which deletion receipt. The tombstone holds no part of the content, not even a hash, since the hash of a short string such as a phone number can be guessed. A string erased from a file read is replaced in a new copy of the file, so the rest of the file stays (Appendix D). Everything derived is rebuilt from the redacted record: the search index and its embeddings, every marker that covered it (§5.4), the copies handed to the window controller, and the live window.
··· 1 unchanged paragraph folded ···
v8.7 · 4.4 Erase and quarantineDeleting takes time, and reads keep arriving meanwhile; §8.1 and Figure 6 give the ordering rule that keeps them from seeing the old text. Addresses do not move, so every pointer still resolves. Appendix D covers what a builder needs beyond this: files shared by many entries, copies a provider holds, and the strongest claim this stage may make when it is done.
v8.8 · 4.4 Erase and quarantine§8.1 gives the ordering rule that keeps reads from seeing the old text while a deletion runs. Addresses do not move, so every pointer still resolves. Appendix D covers shared files, copies a provider holds, and the strongest claim this stage may make when done.
··· 1 unchanged paragraph folded ···
v8.7 · 4.5 One record, not copiesThe record needs no new database. The runtime already writes a transcript of every session, and a provider's tool writes its own. The record is the runtime's transcript plus three additions: the fields written when an entry is appended (§4.1), a store of file contents, and an index that finds any entry by its address. The memory layer writes entries of its own only for the markers and maps it builds, and for API sessions that leave no readable transcript (§6.4). It never keeps a second, partial copy, because a range read against a partial copy returns an answer that looks complete and is not.
v8.8 · 4.5 One record, not copiesThe record needs no new database. It is the runtime's transcript plus three additions: the fields written at append (§4.1), a store of file contents, and an index that finds any entry by its address. The memory layer writes entries of its own only for its markers and maps, and for API sessions with no readable transcript (§6.4). It never keeps a second, partial copy, since a range read against one returns an answer that looks complete and is not.
··· 1 unchanged paragraph folded ···
not in v8.7
v8.8 · 4.5 One record, not copiesSearch over the record belongs to the finding stage, whose index pairs words with embeddings over meaning (J2 §4.1). Each leg misses what the other finds: meaning misses hashes and error codes (Table 1), words miss an instruction the owner later describes differently. Both legs are derived copies, rebuilt from the record. An embedding counts as a copy of its text, since much of a text can be rebuilt from its vector (Morris et al., 2023), so an erase or a quarantine reaches it as it reaches a marker (§4.4), and a temporary session never enters it (§4.7).
··· 1 unchanged paragraph folded ···
v8.7 · 4.6 When a message is capturedAn owner message is *captured* when its entry, with `owner_words`, its spans and their labels, is in the session record durably (written and flushed) and has its address. The runtime appends the message from its own copy before the model call that answers it, so capture does not wait for a provider's transcript. One flush captures every correction in a message, each an immutable span with its labels and their versions. If the process dies before the learning stage queues them, the restart rebuilds the queue events from the stored labels, asking no classifier.
v8.8 · 4.6 When a message is capturedAn owner message is *captured* when its entry, with `owner_words`, its spans and their labels, is written and flushed to the record with its address. The runtime appends it from its own copy before the model call that answers it, so capture does not wait for a provider's transcript, and one flush captures every correction in the message. If the process dies before the learning stage queues them, the restart rebuilds the queue events from the stored labels, asking no classifier.
v8.7 · 4.6 When a message is capturedUntil then the message is pending, and the agent says nothing about keeping it. If the append fails (a full disk, a crash), the runtime shows the message as not captured and retries from its in-memory copy.
v8.8 · 4.6 When a message is capturedUntil then the message is pending, and the agent says nothing about keeping it. If the append fails (a full disk, a crash), the runtime shows the message as not captured and retries from its in-memory copy; Appendix C says how a retry or a restart avoids a second entry.
v8.7 · 4.6 When a message is capturedA retry must not create a second entry. Each incoming message carries its source's message ID, and the record stores the pair (message ID, address) in the same durable write as the entry. A retry or a duplicate delivery finds the pair and gets the existing address back, also when the append was durable and only its acknowledgement was lost. After a crash, the restart reconciles the record with the controller's transcript through the sequence map and appends what is missing in the controller's order. A message recoverable from neither side is reported as lost, never as kept.
removed in v8.8
··· 1 unchanged paragraph folded ···
v8.7 · 4.7 Sessions that are never keptA key pasted into a chat should become `[credential removed]` before anything is written. Some things should never reach the long-term side, and the place to stop them is the write itself.
v8.8 · 4.7 Sessions that are never keptA key pasted into a chat should become `[credential removed]` before anything is written: the place to stop it is the write itself.
v8.7 · 4.7 Sessions that are never keptA **temporary session** keeps its record only for its own life, since compaction and range reads inside it need it. Its record and blobs live in a namespace shared with no ordinary session, even for the same file. The long-term stages skip it: no fact, no lasting index row, no learning evidence. At its end the namespace is deleted whole, with a receipt, and an ordinary session that read the same bytes keeps its own copy. Where the controller offers a no-retention setting, the adapter turns it on; otherwise the owner is told at the start that the provider keeps its own copy.
v8.8 · 4.7 Sessions that are never keptA **temporary session** keeps its record only for its own life, in a namespace shared with no ordinary session, even for the same file. The long-term stages skip it: no fact, no lasting index row, no learning evidence. At its end the namespace is deleted whole, with a receipt. The adapter turns on the controller's no-retention setting where one exists, and otherwise tells the owner that the provider keeps a copy.
··· 7 unchanged paragraphs folded ···
v8.7 · 5.1 The markerThere is no narrative in it. A sentence like "we made good progress on the setup" gives the model nothing to act on or search with, and can be mistaken for a fact. Everything in a marker is a quote or a line that points at one. The one-line items are the only part a model writes (§7.2), and the string each carries is what the check of §8.2 tests against the entry it cites, so a line that names the wrong entry fails the check. The exact strings serve the model, which can often act without pulling anything because the hash is right there, and a later search, which finds the span by the strings the owner will use.
v8.8 · 5.1 The markerThere is no narrative in it. A sentence like "we made good progress on the setup" gives the model nothing to act on or search with. Everything in a marker is a quote or a line that points at one. The one-line items are the only part a model writes (§7.2), and the check of §8.2 tests the string each carries against the entry it cites. The exact strings let the model act without pulling anything, and let a later search find the span by the strings the owner will use.
··· 5 unchanged paragraphs folded ···
v8.7 · 5.3 What leaves firstOne eviction removes one run of whole turns: the oldest turns after the last marker, as many as it takes to free the room needed, and a marker covers exactly that range (§5.1). The run is cut whole because every eviction moves the cache prefix (§7.2), and many small cuts would pay that price many times. Older turns leave first, since recent content is the best guess at what is needed next. What the marker keeps of the run follows §5.2. When only a little room is needed, clearing old tool output in place, as a provider's clearing does, may be enough; the receipt lists what was cleared.
v8.8 · 5.3 What leaves firstOne eviction removes one run of whole turns: the oldest turns after the last marker, as many as it takes to free the room needed, and a marker covers exactly that range (§5.1). The run is cut whole because every eviction moves the cache prefix (§7.2), and many small cuts would pay that price many times; older turns go first, since recent content is the best guess at what is needed next. When only a little room is needed, clearing old tool output in place may be enough; the receipt lists what was cleared.
··· 3 unchanged paragraphs folded ···
v8.7 · 5.4 Written from the record, never from the last markerWhen a merge rebuilds markers, the new marker is built from the record entries the old markers pointed to, not from their text. This rule stops context collapse. A summary of a summary loses detail at every round, while a marker written from the record draws on the same entries at the hundredth compaction as at the first (Figure 2). That is a promise about the source, not about what stays in view: merged markers share capped lists, and old instructions move out to pointer lines (§5.5). What drops out of view stays at its address in the record.
v8.8 · 5.4 Written from the record, never from the last markerWhen a merge rebuilds markers, the new marker is built from the record entries the old markers pointed to, not from their text. This rule stops context collapse: a summary of a summary loses detail every round, while a marker written from the record draws on the same entries at the hundredth compaction as at the first (Figure 2). That is a promise about the source, not about what stays in view: merged lists are capped and old instructions become pointer lines (§5.5), but what drops out of view keeps its address.
··· 5 unchanged paragraphs folded ···
v8.7 · 5.5 Merging markers, and the budget for the owner's wordsThat would take down an early safety rule before a late formatting preference. To stop that, the owner can pin an instruction, and a pinned one never comes down. Pins share the board; if pins alone would fill it, the agent asks the owner to move one into the always-loaded file. Each time an instruction comes down, the next reply says so and offers the pin, and the receipt lists the move (§7.4).
v8.8 · 5.5 Merging markers, and the budget for the owner's wordsThat would take down an early safety rule before a late formatting preference, so the owner can pin an instruction, and a pinned one never comes down. If pins alone would fill the board, the agent asks the owner to move one into the always-loaded file. Each time an instruction comes down, the next reply says so and offers the pin, and the receipt lists the move (§7.4).
v8.7 · 5.5 Merging markers, and the budget for the owner's wordsPointer lines take room too, so the board holds at most $k$ of them. When one more would pass $k$, they all give way to a single line: "Eleven earlier instructions, s7#12 to s7#311, are listed in the directory at s7#320." The directory is a new entry in the record that lists every instruction taken down, with its address. It is read like any long tool result, a page at a time, and §5.3 may evict it again like one; each page holds at most $D$ tokens and ends with the address of the next. Three hundred instructions of about 30 tokens fill five pages at $D$ = 2,000.
v8.8 · 5.5 Merging markers, and the budget for the owner's wordsPointer lines take room too, so the board holds at most $k$ of them. When one more would pass $k$, they all give way to a single line: "Eleven earlier instructions, s7#12 to s7#311, are listed in the directory at s7#320." The directory is a new record entry that lists every instruction taken down, with its address, in pages of at most $D$ tokens, each ending with the address of the next. It is read and evicted like any long tool result.
v8.7 · 5.5 Merging markers, and the budget for the owner's wordsThe guarantees hold whatever the three values are, but a builder needs numbers on day one. As unmeasured starting points: $B_o$ = 1,500 tokens, about fifty instructions; $k$ = 10; $D$ = 2,000. Test 1 sweeps them, and test 11 checks that the limits hold.
v8.8 · 5.5 Merging markers, and the budget for the owner's wordsThe guarantees hold whatever the three values are. As unmeasured starting points: $B_o$ = 1,500 tokens, about fifty instructions; $k$ = 10; $D$ = 2,000. Test 1 sweeps them, and test 11 checks that the limits hold. Table 5 follows the staging correction of §1.1 through the three states, with $k = 2$.
v8.7 · 5.5 Merging markers, and the budget for the owner's wordsHowever long the session, the owner's instructions never take more than $B_o$ of the window, each one can be read back word for word from its address, and the owner hears when one leaves view. Table 5 follows the staging correction of §1.1 through the three states, with an illustrative limit of $k = 2$ pointer lines.
removed in v8.8
··· 2 unchanged paragraphs folded ···
v8.7 · 5.5 Merging markers, and the budget for the owner's wordsThe directory entry lists all three addresses, s7#24/0 among them, and its pages obey $D$. The wording stays at s7#24/0 unless it is erased or a temporary session ends. The record keeps the instruction while its presence in what the model reads grows weaker, and that weakening is the risk test 7 measures. So the promise has three parts:
v8.8 · 5.5 Merging markers, and the budget for the owner's wordsThe wording stays at s7#24/0 unless it is erased or a temporary session ends, while its presence in what the model reads grows weaker; test 7 measures that risk. So the promise has three parts. Every instruction stays **recoverable** word for word through its address while it is not erased, though a long directory is read a page at a time. It stays **in view** while it fits or is pinned, and the owner is told when it leaves. It is **carried into the next session** while the opening budget allows (§5.6), and **held for good** only in the always-loaded file.
v8.7 · 5.5 Merging markers, and the budget for the owner's words1. Every instruction stays **recoverable** word for word through its address, as long as the record lives and it has not been erased. That does not make them all loadable together, since a long directory is read a page at a time. 2. It stays **in view** word for word while it fits or is pinned, and when it leaves, the owner is told. 3. It is **carried into the next session** by its marker while the opening budget allows (§5.6), and **held for good** only in the always-loaded file.
removed in v8.8
··· 1 unchanged paragraph folded ···
v8.7 · 5.6 From one session to the nextA long job outlives its session. A runtime may close a session each night, or after an hour of quiet (§7.5), and the next one should not start blind. So when a session closes, the runtime appends a closing entry that lists the markers in its window, and the next session opens with them, pinned instructions first, while they fit its opening budget. A carried marker keeps its own session and range: markers from two sessions never merge into one, since a range is one session's sequence numbers (§5.1). Carried markers that do not fit give way to one line that points at the closing entry, which lists them all.
v8.8 · 5.6 From one session to the nextA long job outlives its session, and the next session should not start blind. So when a session closes, the runtime appends a closing entry that lists the markers in its window, and the next session opens with them, pinned instructions first, while they fit its opening budget. A carried marker keeps its own session and range: markers from two sessions never merge into one, since a range is one session's sequence numbers (§5.1). Carried markers that do not fit give way to one line that points at the closing entry, which lists them all.
··· 1 unchanged paragraph folded ···
v8.7 · 5.6 From one session to the nextAn instruction is carried beyond its session by its marker while the opening budget allows, and held for good only in the always-loaded file, where the writing and learning stages promote a rule the owner keeps repeating (J14 §8.2; J5 §5). Figure 3 follows the staging correction of §1.1 through the week. The path has one weak point, and the design names it: once the correction is a pointer line, it protects the owner only if the agent follows it, or if the owner pinned it when told it had moved. Test 7 measures the first.
v8.8 · 5.6 From one session to the nextFigure 3 follows the staging correction through the week. A rule the owner keeps repeating is promoted to the always-loaded file by the writing and learning stages (J14 §8.2; J5 §5). The path has one weak point: once the correction is a pointer line, it protects the owner only if the agent follows it, or if the owner pinned it when told it had moved. Test 7 measures the first.
··· 3 unchanged paragraphs folded ···
v8.7 · 6.1 Three window controllersThe window controller is whoever decides, on each call, what the model reads. There are three cases, shown in Figure 4, and one agent can move between them as it switches models or tools:
v8.8 · 6.1 Three window controllersThere are three window controllers, shown in Figure 4, and one agent can move between them as it switches models or tools:
··· 6 unchanged paragraphs folded ···
v8.7 · 6.3 When a provider's tool controls the window- Before compaction (`PreCompact`). The hook makes the record complete up to this moment, reading the tool's own transcript where needed. It does not say which part the tool will summarise, so the adapter takes everything since the previous compaction (or the session start) as the range and builds markers from the record; a marker for a turn the tool keeps verbatim costs a few tokens. The pending markers are written durably before the hook returns. The hook could block the compaction, but when the tool compacts to recover from a full window, blocking fails the request, so the default is to let it run. - After compaction (`PostCompact`, then `SessionStart` with `source=compact`). The adapter stores the tool's summary as a runtime entry where the event carries it, and injects the stored markers into the new context before the next model call, beside the summary. - Delivery check (every turn). The adapter looks for the marker IDs in the tool's transcript. A marker that is absent is sent again with the next prompt's injected text, and the receipt counts the turns run without it (§6.6).
v8.8 · 6.3 When a provider's tool controls the window- Before compaction (`PreCompact`). The hook completes the record up to this moment, reading the tool's transcript where needed. It does not say what the tool will summarise, so the adapter builds markers from the record for everything since the previous compaction and writes them durably before the hook returns. It lets the compaction run, since blocking a compaction forced by a full window fails the request. - After compaction (`PostCompact`, then `SessionStart` with `source=compact`). The adapter stores the tool's summary as a runtime entry and injects the stored markers beside it before the next model call. - Delivery check (every turn). The adapter looks for the marker IDs in the tool's transcript. A marker that is absent is sent again with the next prompt's injected text, and the receipt counts the turns run without it (§6.6).
··· 2 unchanged paragraphs folded ···
v8.7 · 6.4 When a provider's API controls part of the windowHere the runtime builds every call, but the API may change the conversation after it is sent. Three moves cover it. First, the runtime keeps its own record of everything it sent and received; after a server-side compaction this may be the only readable copy, and with opaque compacted state it certainly is. Second, it uses the API's own controls to protect what must stay: it names the tools whose results are never cleared and sets a minimum to clear, so a small clearing does not break the cache for a small gain.
v8.8 · 6.4 When a provider's API controls part of the windowHere the runtime builds every call, but the API may change the conversation after it is sent. Three moves cover it. First, the runtime keeps its own record of everything sent and received, which after an opaque server-side compaction is the only readable copy. Second, it uses the API's controls: it names the tools whose results are never cleared and sets a minimum to clear, so a small clearing does not break the cache.
··· 4 unchanged paragraphs folded ···
v8.7 · 6.6 The adapter contractAn adapter is the small piece of code that connects the memory layer to one window controller, the way a printer driver connects a computer to one model of printer. All adapters follow one contract (Appendix C). Each starts by listing what its controller allows: does it warn before compacting, can its transcript be read, can text be added before the next call? Anything the adapter cannot confirm counts as missing. It then runs every compaction as a checklist (noticed, record saved, markers built, markers injected, markers seen, closed) and writes each tick to the record before the next step starts, so after a crash it carries on from the last tick.
v8.8 · 6.6 The adapter contractAn adapter connects the memory layer to one window controller, the way a printer driver connects a computer to one printer. All adapters follow one contract (Appendix C). Each starts by listing what its controller allows (a warning before compacting, a readable transcript, text added before the next call); anything it cannot confirm counts as missing. It runs every compaction as a checklist (noticed, saved, built, injected, seen, closed) and writes each tick to the record first, so a crash resumes from the last tick.
··· 1 unchanged paragraph folded ···
v8.7 · 6.6 The adapter contractEvery receipt also says how much the memory layer can know. When the runtime built the call, it knows exactly what the model read: *known input*. When a provider's tool or API sits in between, it knows what it sent (and, for a tool, the summary the tool wrote), never what the model kept: *sent, unconfirmed*. It is the difference between handing someone a letter and posting it. Nothing may claim more than its receipt's level; in particular, the learning stage never counts a rule that was only sent, unconfirmed, as one the model saw (J5 §5.4).
v8.8 · 6.6 The adapter contractEvery receipt also says how much the memory layer can know. When the runtime built the call, it knows what the model read: *known input*. When a provider's tool or API sits in between, it knows only what it sent: *sent, unconfirmed*. It is the difference between handing someone a letter and posting it. Nothing may claim more than its receipt's level; in particular, the learning stage never counts a rule that was only sent, unconfirmed, as one the model saw (J5 §5.4).
··· 4 unchanged paragraphs folded ···
v8.7 · 7.1 Forced and electiveA compaction is forced when the next call would not fit the window: there is no choice about whether, only about what to evict (§5.3) and what to leave (§5.1). It is elective when the window has room but keeping a span costs more than evicting it, or a smaller window would be read better (§1.2); only an elective compaction can be declined on price.
v8.8 · 7.1 Forced and electiveA compaction is forced when the next call would not fit the window; only what to evict (§5.3) and leave (§5.1) is open. It is elective when the window has room but keeping a span costs more than evicting it, or a smaller window would be read better (§1.2); only an elective one can be declined on price.
··· 1 unchanged paragraph folded ···
v8.7 · 7.2 The price of moving the prefixWith prompt caching, the part of the context that did not change since the last call is read from cache at a fraction of the input price, and everything after the first changed token is written to cache again at a premium (Anthropic, 2026c; Ji, 2025). Take a box out of the middle of a full shelf and every box to its right has to move; the cache works the same way. Evicting a span from the middle of the window changes everything after it. So eviction has one-time costs, a running saving, and the cost of the pulls it causes. All of it is counted per call (§1.4); the finding paper counts the same unit and calls it a turn.
v8.8 · 7.2 The price of moving the prefixWith prompt caching, the part of the context that did not change since the last call is read from cache at a fraction of the input price, and everything after the first changed token is written to cache again at a premium (Anthropic, 2026c; Ji, 2025). Take a box out of the middle of a full shelf and every box to its right has to move; the cache works the same way. So eviction has one-time costs, a running saving, and the cost of the pulls it causes. All of it is counted per call (§1.4); the finding paper counts the same unit and calls it a turn.
··· 7 unchanged paragraphs folded ···
v8.7 · 7.2 The price of moving the prefixWith the assumed inputs of Appendix F, a 40K-token span with the five-minute cache pays back after about 40 calls if nothing is pulled from it, after about 57 if one later call in twenty pulls, and never once more than about one call in six pulls. A 100K-token span pays back after about 22 calls; a 10K-token span needs about 131. The cache matters as much as the span: with the one-hour cache ($w = 2$) the 40K span needs about 58 calls, with reads at 0.05 about 82, and with both about 119. Cheaper cache reads push break-even out. Whether a session still has that many calls ahead when the window has room, and how often it pulls, is what test 5 measures; until then the rule says how to decide, not whether elective eviction will be common or rare.
v8.8 · 7.2 The price of moving the prefixWith the assumed inputs of Appendix F, a 40K-token span with the five-minute cache pays back after about 40 calls if nothing is pulled from it, after about 57 if one later call in twenty pulls, and never once more than about one call in six pulls. A 100K-token span needs about 22 calls, a 10K-token span about 131. The one-hour cache ($w = 2$) raises the 40K span to about 58, reads at 0.05 to about 82. Whether sessions have that many calls left, and how often they pull, is what test 5 measures; until then the rule says how to decide, not how often elective eviction will run.
v8.7 · 7.2 The price of moving the prefixThree design rules hold whatever the numbers. Evict large runs at once, since the rewrite is paid per eviction and the saving grows with the span. Prefer runs that are rarely pulled: age is a fair guess at that, which is why a run starts at the oldest turn (§5.3), but a run that reaches the latest error output will often be pulled back and should stop short of it. And leave a marker unchanged once it is placed, as §5.3 rules. The benefit of a shorter window (§1.2) is unpriced; test 5 measures it.
v8.8 · 7.2 The price of moving the prefixThree design rules hold whatever the numbers. Evict large runs at once, since the rewrite is paid per eviction. Prefer runs that are rarely pulled: age is a fair guess (§5.3), but a run that reaches the latest error output will often be pulled back and should stop short of it. And leave a placed marker unchanged (§5.3). The benefit of a shorter window (§1.2) is unpriced; test 5 measures it.
··· 1 unchanged paragraph folded ···
v8.7 · 7.3 A trigger you can trustEvery compaction decision starts from one number: how full the window is, taken from the call actually sent. A figure that sums several calls of one turn can be many times the window and fires compaction far too early; one that misses a block of the prompt fires it too late.
v8.8 · 7.3 A trigger you can trustEvery compaction decision starts from how full the window is, taken from the call actually sent. A figure that sums the calls of one turn fires compaction far too early; one that misses a block of the prompt fires it too late.
··· 2 unchanged paragraphs folded ···
v8.7 · 7.4 One compaction receipt per compaction, whoever ran itEvery compaction, by every executor, writes one receipt, and so does a decision not to compact: a missing receipt is the alarm (J5 §9.1). The receipt is also the eviction event of §6.6, and its evicted field lists cleared tool results as well as marker ranges, since an API's clearing leaves no marker. It says who ran the compaction and under which controller, whether it was forced or elective and what was decided, the call breakdown, the tokens before and after, every evicted range with the files read in it, the markers written and whether each was delivered, the instructions moved, and how much the memory layer can know (§6.6). Appendix C lists the fields.
v8.8 · 7.4 One compaction receipt per compaction, whoever ran itEvery compaction, by every executor, writes one receipt, and so does a decision not to compact: a missing receipt is the alarm (J5 §9.1). The receipt is also the eviction event of §6.6, and its evicted field lists cleared tool results as well as marker ranges, since an API's clearing leaves no marker. It records who ran it, what was decided and why, what left and what was written, whether each marker was delivered, and how much the memory layer can know (§6.6); Appendix C lists the fields.
··· 1 unchanged paragraph folded ···
v8.7 · 7.5 Idle sessions: compact before the cache lapses, or start freshA prompt cache keeps the processed start of a conversation for five minutes, or for an hour on the longer setting. When it expires, the next message pays to process the whole window again, whatever we do. So the best moment to compact an idle session is just before the cache expires. If the owner comes back after it has expired, the rewrite that a compaction causes costs nothing extra, because the expiry forces it anyway, and the marker was cheaper to build while the old text was still cached. If the owner comes back sooner, the compaction moved the cache for nothing; if nobody comes back, the marker was built for nothing. Test 6 measures how often each happens. Claude Code shipped this timing in October 2026: a conversation over 200K tokens left idle for about 54 minutes is compacted just before its one-hour cache expires (Anthropic, 2026f). Where the runtime controls the window, that moment builds markers instead of a summary.
v8.8 · 7.5 Idle sessions: compact before the cache lapses, or start freshA prompt cache keeps the processed start of a conversation for five minutes, or an hour on the longer setting; once it expires, the next message pays to process the whole window again. So the best moment to compact an idle session is just before expiry. If the owner returns later, the compaction's rewrite costs nothing extra, since expiry forces it anyway, and the marker was cheaper to build while the old text was cached. If the owner returns sooner, the cache moved for nothing; if never, the marker was built for nothing. Test 6 measures how often each happens. Claude Code shipped this timing in October 2026, compacting a conversation over 200K tokens idle for about 54 minutes just before its one-hour cache expires (Anthropic, 2026f); where the runtime controls the window, that moment builds markers instead.
v8.7 · 7.5 Idle sessions: compact before the cache lapses, or start freshA session idle for hours raises a different question: compact it again, or start a new one? A chat that never ends would otherwise compact forever. Claude Tag starts a fresh session for a channel after about an hour of quiet, or when the session is about a day old and the channel is quiet (Anthropic, 2026g). In this design a fresh session loses nothing: it opens with the markers the old one ended with (§5.6), the always-loaded files and the long-term memory, and every address in the old record still resolves. We propose a fresh session when the cache has expired and the old markers fit the new session's opening budget, and a compaction otherwise; test 6 decides.
v8.8 · 7.5 Idle sessions: compact before the cache lapses, or start freshA session idle for hours raises a different question: compact again, or start fresh? Claude Tag, Anthropic's agent for team chat channels, starts a fresh session after about an hour of quiet (Anthropic, 2026g). Here a fresh session loses nothing: it opens with the old session's markers (§5.6), the always-loaded files and long-term memory, and every old address still resolves. We propose a fresh session when the cache has expired and the old markers fit the new opening budget, and a compaction otherwise; test 6 decides.
··· 5 unchanged paragraphs folded ···
v8.7 · 8.1 The range readEvery range read and every window build looks at the counter first. If a deletion has been announced and not yet applied, it waits. If a deletion is announced while it runs, its result is thrown away and it runs again. So between the decision and the end of the rebuild, no read returns erased text and no window carries it to the model. The work is also safe to repeat: progress is written to the record as it goes, so a crash resumes where it stopped, and a deletion order that arrives twice gets the same answer the second time without being applied again (Appendix B.1).
v8.8 · 8.1 The range readEvery range read and window build checks the counter first: it waits while a deletion is announced and not applied, and runs again if one is announced while it runs. So no read returns erased text and no window carries it to the model. The work is safe to repeat: progress is written as it goes, so a crash resumes where it stopped, and a deletion order that arrives twice is applied once (Appendix B.1).
··· 2 unchanged paragraphs folded ···
v8.7 · 8.2 Every marker resolvesA marker that names entries the range read cannot return is a broken promise, and a check forbids it. Resolving a marker's range must return every sequence number from first to last (a tombstone or a placeholder counts as present); every blob it refers to must be in the blob store; every exact string and owner sentence it carries must appear in an entry inside the range; and the string on each one-line item must appear in the entry that line cites. The check runs when the marker is written and again in the nightly tests.
v8.8 · 8.2 Every marker resolvesA marker that names entries the range read cannot return is a broken promise, and a check forbids it. Its range must return every sequence number from first to last (a tombstone or placeholder counts as present); every blob it names must be stored; every exact string and owner sentence must appear in an entry inside the range; and each one-line item's string must appear in the entry it cites. The check runs when the marker is written and again in the nightly tests.
··· 1 unchanged paragraph folded ···
v8.7 · 8.3 Asking a past sessionSometimes the best source is the session that did the work; the finding paper decides when to ask one (J2 §6.9). The session is woken in place, not copied: its record grows by a runtime entry that marks a later visit, then one question and one answer, so a reader can tell what it said at the time from what it said when woken. Before the question it gets a short wake-up note: today's date, how long it slept, and what changed since, as far as the record and the store can say cheaply (facts it touched that were superseded or erased, newer commits to files it edited, rules added or retired). Its answer is testimony from its own time, which the asker checks against the current store; a session is not woken while an erasure epoch is still unapplied to it, and a temporary session is never woken, since its record is gone (§4.7).
v8.8 · 8.3 Asking a past sessionSometimes the best source is the session that did the work; the finding paper decides when to ask one (J2 §6.9). The session is woken in place, not copied: its record grows by a runtime entry that marks a later visit, then one question and one answer, so a reader can tell what it said at the time from what it said when woken. Before the question it gets a short wake-up note: today's date, how long it slept, and what changed since, as far as the record and the store can say cheaply (facts it touched that changed, newer commits to its files, rules added or retired). Its answer is testimony from its own time, checked against the current store. A session is not woken while an erasure epoch is unapplied to it, and a temporary session never is (§4.7).
··· 3 unchanged paragraphs folded ···
v8.7 · 9.1 In shortAfter compaction, an agent's next inference sees a description of its past, at best with one path to the whole transcript, and nothing that says what the description left out; a new session sees less. Total Recall keeps the whole session as an addressed record and makes compaction leave markers that quote what a description drops and point back into the record, carries them into the next session, and follows one contract whichever controller holds the window, claiming no more about the model's view than that controller lets it know. If it holds, and the marker reached the model, what the owner said on Monday has an exact answer on Friday: the instruction is in view while it fits the owner's budget or is pinned, or a line in view says where it is. Whether the agent then acts on that line is the open question (test 7). If it does, the agent becomes the colleague of the opening: told once on Monday, still careful on Friday.
v8.8 · 9.1 In shortAfter compaction, an agent sees a description of its past and nothing that says what the description left out; a new session sees less. Total Recall keeps the whole session as an addressed record, makes compaction leave markers that quote what a description drops and point back into the record, carries them into the next session, and follows one contract whichever controller holds the window. If it holds, what the owner said on Monday has an exact answer on Friday: in view while it fits or is pinned, or a line in view says where it is. Whether the agent acts on that line is the open question (test 7). If it does, the agent is the colleague of the opening: told once on Monday, still careful on Friday.
··· 1 unchanged paragraph folded ···
v8.7 · 9.2 Limitations- Markers depend on extraction by code and a classifier; a missed string is still in the record, but the marker no longer advertises it. - The one-line items are written by a model. The check of §8.2 catches a line whose string is not in its entry, not a line that misreads an entry it quotes correctly. - Past the owner's budget, old instructions are a pointer line or a directory page away, and the oldest go first, so an early safety rule leaves view before a later preference unless the owner pins it. Past the opening budget of a new session, they are one read further. The agent must follow the pointer when it matters (test 7). - Hooks are the provider's to change. An API that compacts mid-response without a pause leaves the rest of that response unprotected, and opaque compaction cannot be checked; the receipt says so, but the gap remains. A tool's or an API's own copy of erased or quarantined content is reached only by ending the session and rebuilding it. - The record grows without bound, and the capture detector will miss some secrets; years of sessions will need tiered storage, which the design does not cover. - The price rule rests on unmeasured inputs ($q_{\text{call}}$, $H$, $c$, $\ell$) and on how many calls a session has left, and cheaper cache reads push break-even further out. - Recoverable is not recovered: whether the agent asks for what it can read back is the finding paper's question. - A woken session answers from its own time. The wake-up note tells it what changed only as far as the record and the store know.
v8.8 · 9.2 Limitations- Markers depend on extraction by code and a classifier; a missed string is still in the record, but the marker no longer advertises it. - The one-line items are written by a model. The check of §8.2 catches a line whose string is not in its entry, not a line that misreads an entry it quotes correctly. - Past the owner's budget, old instructions are a pointer line or a directory page away, and the oldest go first, so an early safety rule leaves view before a later preference unless the owner pins it. Past the opening budget of a new session, they are one read further. The agent must follow the pointer when it matters (test 7). - Hooks are the provider's to change. An API that compacts mid-response without a pause leaves the rest of that response unprotected, and opaque compaction cannot be checked. A provider's own copy of erased content is reached only by ending the session and rebuilding it. - The record grows without bound, and the capture detector will miss some secrets; years of sessions will need tiered storage, which the design does not cover. - The price rule rests on unmeasured inputs ($q_{\text{call}}$, $H$, $c$, $\ell$) and on how many calls a session has left, and cheaper cache reads push break-even further out. - Recoverable is not recovered: whether the agent asks for what it can read back is the finding paper's question. - A woken session answers from its own time. The wake-up note tells it what changed only as far as the record and the store know.
··· 3 unchanged paragraphs folded ···
v8.7 · 10.1 Experiments that decide the claimTwo tests carry the claim. Test 1 checks the mechanism: given the same way back into the record, does a marker keep the owner's words and the exact strings better than a summary? Test 3 checks the outcome the owner feels: do they have to repeat themselves less? The other five measure what the design guesses at. Tests 8 to 15, the checks a build must pass, where any failure is a defect, are in Appendix E.
v8.8 · 10.1 Experiments that decide the claimTwo tests carry the claim. Test 1 checks the mechanism: given the same way back into the record, does a marker keep the owner's words and the exact strings better than a summary? Test 3 checks the outcome: does the owner repeat themselves less? The other five measure what the design guesses at; tests 8 to 15, the checks a build must pass, are in Appendix E.
v8.7 · 10.1 Experiments that decide the claimA test that tunes something (the string extractor, the classifier thresholds, the budgets) tunes on development sessions and is scored on held-out ones (J5 §9.2). Live arms are randomised by session. Arms that are compared get the same context budget and the same compaction schedule, and each reports its total token cost, so a gain cannot come from a larger window or fewer compactions.
v8.8 · 10.1 Experiments that decide the claimTuning (the extractor, the classifier thresholds, the budgets) uses development sessions and is scored on held-out ones (J5 §9.2). Live arms are randomised by session, and compared arms get the same context budget and compaction schedule and report their total token cost, so a gain cannot come from a larger window or fewer compactions.
v8.7 · 10.1 Experiments that decide the claim| # | Test | Decides | What would change the design | |--|---------------------|-------|---------------| | 1 | Needle survival. Seed exact strings, owner instructions (standing rules and corrections said in passing), failed attempts and times early in long synthetic sessions; force 1, 3 and 5 compactions; ask for each, scoring the owner's instructions apart from the strings. Arms: the provider's summary alone; the provider's structured summary with its transcript path; truncation; **the summary plus the same searchable record and range read (the control)**; markers plus range read; markers without the owner's section, which is close to ARC; markers alone. Sweep $B_o$, $k$ and $D$ around §5.5's starting values. | §5: the marker, not mere access to the record, keeps what summaries lose; the owner's section adds to addressed citations | Control or structured summary matches markers: the gain is the way back, not the marker. Markers without the owner's section match full markers on instructions: the budget adds nothing. Markers alone match markers with the read: the read matters less | | 2 | Back-reference replay. Real moments where the owner refers to earlier in the session ("the hash from before"), replayed after compaction under the control and under markers. | §4, §5 in real use | The 95% interval of the margin over the control includes zero: no gain is shown, and markers have not earned their cost | | 3 | Forget-cue rate. Owner messages that repeat an instruction or ask "did you forget", per 100, under the control and under markers, split by a compaction in the previous ten turns and by a new session since the instruction; sized from the measured baseline to detect a one-third drop (80% power). | the outcome the design serves | The interval of the difference includes zero: no reduction is shown, and the promise of §1 stays unproven | | 4 | Marker coverage. For each evicted range, the share of its exact strings and owner instructions present in its marker. | §5.1, §5.2 | Below half: the extraction, not the design, is the weak part | | 5 | Price and quality. Measure calls per turn, the calls a session still has when the window has room, $q_{\text{call}}$, $H$ and $K$; compare elective eviction at $N^*$ with none, on task success. | §7.2 | A $q_{\text{call}}$ above break-even, or sessions shorter than $N^*$, make elective eviction rare; a quality gain from shorter windows argues for earlier eviction | | 6 | Idle sessions. Replay idle sessions under three policies: compact on the next message, compact just before the cache lapses, and start a fresh session with the carried markers. Compare tokens per resumed turn and the measures of tests 1 and 3. | §5.6, §7.5 | Compaction before expiry costing no less than compaction on the next message, or a fresh session losing needles the compacted session keeps, changes the policy | | 7 | Acting on a moved instruction. A simulated repair session pushes the staging correction of §1.1 into the directory (Table 5), then reaches a point where a test renewal is due. Nobody asks the agent to recall the instruction; whether it renews against staging is scored, then whether it can quote the instruction when asked. Run within one session and after a new session. | §5.5, §5.6: a pointer line or a directory line still protects the owner | Production used more often than with the wording in view: moved instructions need a stronger cue, or fewer of them may leave the window |
v8.8 · 10.1 Experiments that decide the claim| # | Test | Decides | What would change the design | |--|---------------------|-------|---------------| | 1 | Needle survival. Seed exact strings, owner instructions (standing rules and passing corrections), failed attempts and times early in long synthetic sessions; force 1, 3 and 5 compactions; ask for each, scoring instructions apart from strings. Arms: the provider's summary alone; the provider's structured summary with its transcript path; truncation; **the summary plus the same searchable record and range read (the control)**; markers plus range read; markers without the owner's section, which is close to ARC; markers alone. Sweep $B_o$, $k$ and $D$ around §5.5's starting values. | §5: the marker, not mere access to the record, keeps what summaries lose; the owner's section adds to addressed citations | Control or structured summary matches markers: the gain is the way back. Markers without the owner's section match on instructions: the budget adds nothing. Markers alone match: the read matters less | | 2 | Back-reference replay. Real moments where the owner refers to earlier in the session ("the hash from before"), replayed after compaction under the control and under markers. | §4, §5 in real use | The 95% interval of the margin over the control includes zero: no gain is shown, and markers have not earned their cost | | 3 | Forget-cue rate. Owner messages that repeat an instruction or ask "did you forget", per 100, under the control and under markers, split by a compaction in the previous ten turns and by a new session since the instruction; sized from the measured baseline to detect a one-third drop (80% power). | the outcome the design serves | The interval of the difference includes zero: no reduction is shown, and the promise of §1 stays unproven | | 4 | Marker coverage. For each evicted range, the share of its exact strings and owner instructions present in its marker. | §5.1, §5.2 | Below half: the extraction, not the design, is the weak part | | 5 | Price and quality. Measure calls per turn, the calls a session still has when the window has room, $q_{\text{call}}$, $H$ and $K$; compare elective eviction at $N^*$ with none, on task success. | §7.2 | A $q_{\text{call}}$ above break-even, or sessions shorter than $N^*$, make elective eviction rare; a quality gain from shorter windows argues for earlier eviction | | 6 | Idle sessions. Replay idle sessions under three policies: compact on the next message, just before the cache lapses, or start fresh with the carried markers. Compare tokens per resumed turn and tests 1 and 3. | §5.6, §7.5 | Compaction before expiry costing no less than compaction on the next message, or a fresh session losing needles the compacted session keeps, changes the policy | | 7 | Acting on a moved instruction. A simulated repair session pushes the staging correction of §1.1 into the directory (Table 5), then reaches a due test renewal. Unprompted, does it renew against staging; asked, can it quote the instruction? Within one session and after a new one. | §5.5, §5.6: a pointer line or a directory line still protects the owner | Production used more often than with the wording in view: moved instructions need a stronger cue, or fewer of them may leave the window |
··· 5 unchanged paragraphs folded ···
v8.7 · References- Anthropic (2026a). Compaction at a token threshold. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/compaction-threshold> - Anthropic (2026b). Hooks reference. Claude Code documentation. <https://code.claude.com/docs/en/hooks> - Anthropic (2026c). Prompt caching. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/prompt-caching> - Anthropic (2026d). Context editing. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/context-editing> - Anthropic (2026e). Compaction overview. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/compaction> - Anthropic (2026f). Claude Code changelog, version 2.1.299 (idle compaction). <https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md> - Anthropic (2026g). How Claude Tag works. Claude documentation. <https://claude.com/docs/claude-tag/concepts/how-it-works> - Anthropic (2026h). Use Claude's chat search and memory to build on previous context. Claude Help Center. <https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context> - Anthropic (2026i). Claude Code, version 2.1.306: the compaction instructions shipped in the program (npm package `@anthropic-ai/claude-code`), read 21 October 2026. <https://www.npmjs.com/package/@anthropic-ai/claude-code> - Belady, L. A. (1966). A study of replacement algorithms for a virtual-storage computer. *IBM Systems Journal*, 5(2), 78–101. <https://doi.org/10.1147/sj.52.0078> - Dang, T., Ichikawa, Y., Fatima, S., & Shirahata, K. (2026). Addressable recall compaction for long context-window control in AI agents. arXiv:2607.25066. <https://arxiv.org/abs/2607.25066> - Headroom Labs (2026). headroom: compress what your AI agent reads. GitHub, Apache-2.0. <https://github.com/headroomlabs-ai/headroom> - Hong, K., Troynikov, A., & Huber, J. (2025). Context rot: how increasing input tokens impacts LLM performance. Chroma technical report. <https://research.trychroma.com/context-rot> - Ji, Y. (2025). Context engineering for AI agents: lessons from building Manus. 18 July 2025. <https://manus.im/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Manus> - Letta (2026). Compaction. Letta documentation. <https://docs.letta.com/v1-sdk/messages/compaction> - Liu, N. F., Lin, K., Hewitt, J., Paranjape, A., Bevilacqua, M., Petroni, F., & Liang, P. (2024). Lost in the middle: how language models use long contexts. *Transactions of the ACL*, 12, 157–173. <https://arxiv.org/abs/2307.03172> - Mem0 (2026). Add memory. Mem0 documentation. <https://docs.mem0.ai/core-concepts/memory-operations/add> - OpenAI (2026a). Compaction. OpenAI API documentation. <https://developers.openai.com/api/docs/guides/compaction> - OpenAI (2026b). Memories. ChatGPT Learn. <https://learn.chatgpt.com/docs/customization/memories> - Packer, C., Wooders, S., Lin, K., Fang, V., Patil, S. G., Stoica, I., & Gonzalez, J. E. (2023). MemGPT: towards LLMs as operating systems. arXiv:2310.08560. <https://arxiv.org/abs/2310.08560> - Rasmussen, P., Paliychuk, P., Beauvais, T., Ryan, J., & Chalef, D. (2025). Zep: a temporal knowledge graph architecture for agent memory. arXiv:2501.13956. <https://arxiv.org/abs/2501.13956> - Serra, O. (2026a). MNEMOSYNE: one check on every memory write. J-series paper J14 (the writing paper), version 2.6, 21 October 2026. Available from the author. - Serra, O. (2026b). INSTANT RECALL: finding what the agent already owns. J-series paper J2 (the finding paper), version 8.6, 21 October 2026. Available from the author. - Serra, O. (2026c). Sleep consolidation: a repeated correction earns a diagnosed, tested repair. J-series paper J5 (the learning paper), version 7.7, 21 October 2026. Available from the author. - thedotmack (2026). claude-mem: persistent memory for Claude Code. GitHub. <https://github.com/thedotmack/claude-mem> - Zep (2026). Adding episodes. Graphiti documentation. <https://help.getzep.com/graphiti/core-concepts/adding-episodes> - Zhang, Q., Hu, C., Upasani, S., Ma, B., et al. (2025). Agentic context engineering: evolving contexts for self-improving language models. arXiv:2510.04618. <https://arxiv.org/abs/2510.04618>
v8.8 · References- Anthropic (2026a). Compaction at a token threshold. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/compaction-threshold> - Anthropic (2026b). Hooks reference. Claude Code documentation. <https://code.claude.com/docs/en/hooks> - Anthropic (2026c). Prompt caching. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/prompt-caching> - Anthropic (2026d). Context editing. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/context-editing> - Anthropic (2026e). Compaction overview. Claude Platform documentation. <https://platform.claude.com/docs/en/build-with-claude/compaction> - Anthropic (2026f). Claude Code changelog, version 2.1.299 (idle compaction). <https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md> - Anthropic (2026g). How Claude Tag works. Claude documentation. <https://claude.com/docs/claude-tag/concepts/how-it-works> - Anthropic (2026h). Use Claude's chat search and memory to build on previous context. Claude Help Center. <https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context> - Anthropic (2026i). Claude Code, version 2.1.306: the compaction instructions shipped in the program (npm package `@anthropic-ai/claude-code`), read 21 October 2026. <https://www.npmjs.com/package/@anthropic-ai/claude-code> - Belady, L. A. (1966). A study of replacement algorithms for a virtual-storage computer. *IBM Systems Journal*, 5(2), 78–101. <https://doi.org/10.1147/sj.52.0078> - Dang, T., Ichikawa, Y., Fatima, S., & Shirahata, K. (2026). Addressable recall compaction for long context-window control in AI agents. arXiv:2607.25066. <https://arxiv.org/abs/2607.25066> - Headroom Labs (2026). headroom: compress what your AI agent reads. GitHub, Apache-2.0. <https://github.com/headroomlabs-ai/headroom> - Hong, K., Troynikov, A., & Huber, J. (2025). Context rot: how increasing input tokens impacts LLM performance. Chroma technical report. <https://research.trychroma.com/context-rot> - Ji, Y. (2025). Context engineering for AI agents: lessons from building Manus. 18 July 2025. <https://manus.im/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Manus> - Letta (2026). Compaction. Letta documentation. <https://docs.letta.com/v1-sdk/messages/compaction> - Liu, N. F., Lin, K., Hewitt, J., Paranjape, A., Bevilacqua, M., Petroni, F., & Liang, P. (2024). Lost in the middle: how language models use long contexts. *Transactions of the ACL*, 12, 157–173. <https://arxiv.org/abs/2307.03172> - Mem0 (2026). Add memory. Mem0 documentation. <https://docs.mem0.ai/core-concepts/memory-operations/add> - Morris, J. X., Kuleshov, V., Shmatikov, V., & Rush, A. M. (2023). Text embeddings reveal (almost) as much as text. *EMNLP 2023*. <https://arxiv.org/abs/2310.06816> - OpenAI (2026a). Compaction. OpenAI API documentation. <https://developers.openai.com/api/docs/guides/compaction> - OpenAI (2026b). Memories. ChatGPT Learn. <https://learn.chatgpt.com/docs/customization/memories> - Packer, C., Wooders, S., Lin, K., Fang, V., Patil, S. G., Stoica, I., & Gonzalez, J. E. (2023). MemGPT: towards LLMs as operating systems. arXiv:2310.08560. <https://arxiv.org/abs/2310.08560> - Rasmussen, P., Paliychuk, P., Beauvais, T., Ryan, J., & Chalef, D. (2025). Zep: a temporal knowledge graph architecture for agent memory. arXiv:2501.13956. <https://arxiv.org/abs/2501.13956> - Serra, O. (2026a). MNEMOSYNE: one check on every memory write. J-series paper J14 (the writing paper), version 2.7, 21 October 2026. Available from the author. - Serra, O. (2026b). INSTANT RECALL: finding what the agent already owns. J-series paper J2 (the finding paper), version 8.8, 25 November 2026. Available from the author. - Serra, O. (2026c). Sleep consolidation: a repeated correction earns a diagnosed, tested repair. J-series paper J5 (the learning paper), version 7.8, 21 October 2026. Available from the author. - thedotmack (2026). claude-mem: persistent memory for Claude Code. GitHub. <https://github.com/thedotmack/claude-mem> - Zep (2026). Adding episodes. Graphiti documentation. <https://help.getzep.com/graphiti/core-concepts/adding-episodes> - Zhang, Q., Hu, C., Upasani, S., Ma, B., et al. (2025). Agentic context engineering: evolving contexts for self-improving language models. arXiv:2510.04618. <https://arxiv.org/abs/2510.04618>
··· 24 unchanged paragraphs folded ···
not in v8.7
v8.8 · Appendix C. The Window Controller Adapter Contract**Retries and restarts (§4.6).** A retry must not create a second entry. Each incoming message carries its source's message ID, and the record stores the pair (message ID, address) in the same durable write as the entry. A retry or a duplicate delivery finds the pair and gets the existing address back, also when the append was durable and only its acknowledgement was lost. After a crash, the restart reconciles the record with the controller's transcript through the sequence map and appends what is missing in the controller's order. A message recoverable from neither side is reported as lost, never as kept.
··· 20 unchanged paragraphs folded ···
v8.7 · Appendix E. Acceptance Checks for a Build- erased text served before the epoch is applied; - a hit in the index, a marker or the controller's transcript; - a lost neighbouring span, the rest of the file lost with the erased string, or a marker that stops resolving; - a duplicate epoch that hangs or applies twice; - a quarantined line in a call built after the receipt, or visible outside the audit view; - a provider compaction reported as removal; - a pulled item the finding stage still counts as in the window; - a tool's or an API's copy neither removed nor named.
v8.8 · Appendix E. Acceptance Checks for a Build- erased text served before the epoch is applied; - a hit in the search index (words or embeddings), a marker or the controller's transcript; - a lost neighbouring span, the rest of the file lost with the erased string, or a marker that stops resolving; - a duplicate epoch that hangs or applies twice; - a quarantined line in a call built after the receipt, or visible outside the audit view; - a provider compaction reported as removal; - a pulled item the finding stage still counts as in the window; - a tool's or an API's copy neither removed nor named.
··· 18 unchanged paragraphs folded ···
v8.7 · Appendix F. The Price Rule in Full_J-series paper J1 | Version 8.7 | 2026-10-21_
v8.8 · Appendix F. The Price Rule in Full_J-series paper J1 | Version 8.8 | 2026-11-25_
Changed paragraphs in the same form, for scripts: JSON
· Markdown