# Total Recall: The Context Window as a Cache Over the Session Record: history

24 versions, 2026-02-15 to 2026-11-25. Newest first. Clone: https://sprintpaper.com/git/total-recall.git

## v8.8 · 2026-11-25

14,699 words, +592 / −1,713 words. Text: https://sprintpaper.com/papers/total-recall/v/8.8.md

**Main text cut by about 1,300 words; embeddings governed like the record**

The 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 · 2026-10-21

15,820 words, +4,090 / −2,175 words. Text: https://sprintpaper.com/papers/total-recall/v/8.7.md

**Adds carrying memory between sessions and the full price rule**

About 1,900 words added.

- New section on carrying memory from one session to the next.
- New appendix with the price rule in full; the price details, the receipt table and parts of two sections move to appendices.
- Two comparison tables and a figure are added.
- The opening example becomes "Monday to Friday": the owner now asks, in passing, that renewals be tested on staging from now on.
- "When a turn is captured" becomes "when a message is captured".

## v8.6 · 2026-10-21

13,905 words, +4,332 / −2,400 words. Text: https://sprintpaper.com/papers/total-recall/v/8.6.md

**Adds appendices on forgetting and on acceptance checks for a build**

About 1,900 words added.

- New appendix on forgetting in a record that is never edited.
- New appendix with acceptance checks that a build must pass.
- The test section is renamed "Experiments that decide the claim".
- The opening example changes: the colleague now finds where the certificates live and tries a fix that fails.
- From the improvement notes: the dense defect lists in the table for tests 10 to 12 move into short paragraphs, as a referee report asked.

## v8.5 · 2026-10-21

11,973 words, +2,277 / −896 words. Text: https://sprintpaper.com/papers/total-recall/v/8.5.md

**Worked example moved up front; price rule and tests expanded**

About 1,400 words added and 900 removed.

- The walk through one span moves to section 2 and grows from 45 to over 400 words, so the reader sees the design at work before related work.
- The price of moving the prefix, marker merging, and when a turn is captured all get longer explanations.
- The list of tests grows, and the reference list is longer.

## v8.4 · 2026-10-21

10,592 words, +1,141 / −27 words. Text: https://sprintpaper.com/papers/total-recall/v/8.4.md

**Adds idle sessions and asking a past session**

About 1,100 words added, almost nothing removed.

- New section on idle sessions: compact before the prompt cache expires, or start a fresh session.
- New section on asking a past session a question.
- The improvement notes record that the three retrieval rules forwarded to the companion paper on finding were dropped from this paper's queue.

## v8.3 · 2026-10-12

9,478 words, +1,098 / −1,102 words. Text: https://sprintpaper.com/papers/total-recall/v/8.3.md

**Tightened further; more on the range read and on the tests**

Another tightening pass, with the total length unchanged. Related work and several sections are shorter. The range read gets more detail, the list of tests that would settle the open questions grows, and the appendix on appending to the record is longer.

## v8.2 · 2026-10-12

9,482 words, +1,781 / −2,149 words. Text: https://sprintpaper.com/papers/total-recall/v/8.2.md

**Tightened: abstract and most sections shorter, a few details added**

Mostly tightening. The abstract is cut from about 400 to 226 words, related work and the limitations are shorter, and nearly every section loses a few sentences. A few sections grow: what goes into the record, sessions that are never kept, and the case where a provider's API controls part of the window.

## v8.1 · 2026-10-12

9,850 words, +4,353 / −2,831 words. Text: https://sprintpaper.com/papers/total-recall/v/8.1.md

**Erase and quarantine, temporary sessions, an adapter contract, worked example**

About 1,500 words added and a large share rewritten.

- "Forgetting: the tombstone" is replaced by a section on erasing and quarantining entries.
- New sections on when a turn is captured, sessions that are never kept, and a contract for adapters to each kind of window controller.
- Marker merging now has a budget for the owner's own words.
- "Getting it back" gains a range read, and a rule that every marker resolves.
- The one-page design summary becomes a walk through one span, start to finish, and a worked example of a record and its marker is added as an appendix.
- "Who owns the window" becomes "who controls the window".

## v8.0 · 2026-10-12

8,328 words, +7,976 / −8,700 words. Text: https://sprintpaper.com/papers/total-recall/v/8.0.md

**Rewritten as a design paper: session record as truth, window as its cache**

A full rewrite; almost every paragraph is new. The new title is "Total Recall: The Context Window as a Cache Over the Session Record".

- Opens with a plain example: a colleague who still knows on Friday what you told them on Monday.
- Narrows the scope to the first stage of memory, keeping. Finding things again is left to other papers.
- New sections: the session record and how entries are named and never edited, how forgetting works with a tombstone, the marker and what it carries word for word, who controls the window (the runtime, a provider's tool, a provider's API), and what each compaction costs.
- The benchmark numbers, the pilot study and the implementation report are gone. The paper now says the design is not built yet and lists the tests that would decide it.
- From the improvement notes: the per-call measurement of the context and one compaction record for every executor became design requirements and tests.

## v7.7 · 2026-07-29

9,052 words, +1,093 / −249 words. Text: https://sprintpaper.com/papers/total-recall/v/7.7.md

**Measured: compaction fired far too early; adds prefix stability**

Changes driven by measurements listed in the improvement notes of 28 July.

- New section making prefix stability (keeping the start of the context unchanged so caching works) a design constraint, and admitting that pointer eviction is in tension with it.
- Reports that in production, compaction fired at a median of about 5.5% of the real window, because the budget signal was wrong by a factor of about 20.
- Reports that one measurement of tool output in the context read zero because of an instrument bug, and corrects the interpretation.
- Gives a measured recall rate of 22% of turns, used in the cost comparison.
- The limitations, the production evidence and the context-record schema grow to match.

## v7.6 · 2026-06-14

8,208 words, +1,533 / −27 words. Text: https://sprintpaper.com/papers/total-recall/v/7.6.md

**Adds reversible compression as prior art and eviction of skill catalogs**

About 1,500 new words. All three additions come from the paper's improvement notes of 13 June.

- New prior-art section on reversible compress-cache-retrieve systems, which the notes call the strongest convergent work.
- New section on metacognitive checks, naming a confidence gate before an answer is trusted.
- New result: pointer eviction also works on static content such as a skill catalog, with a measured token reduction.
- The token-cost comparison now includes in-place compression.

## v7.5 · 2026-06-02

6,702 words, +59 / −34 words. Text: https://sprintpaper.com/papers/total-recall/v/7.5.md

**Wording only; one section renamed to task-conditioned retrieval**

Wording fixes. Section 4 is renamed "Task-Conditioned Retrieval Priority", and a few sentences in the abstract, the formal derivation and the cost analysis are made plainer.

## v7.4 · 2026-06-02

6,677 words, +348 / −329 words. Text: https://sprintpaper.com/papers/total-recall/v/7.4.md

**Overview reframed: storage inside a loop, companion papers no longer named**

The overview and the companion-paper section are rewritten without naming the companion papers. Total Recall is now described as a self-contained storage substrate that sits inside a loop with an index and a nightly tuning process, and the paper states that those two are out of its scope. The improvement notes record that the pending notes went into this version.

## v7.3 · 2026-06-02

6,658 words, +418 / −117 words. Text: https://sprintpaper.com/papers/total-recall/v/7.3.md

**Adds figures and an overview of the three-layer memory stack**

A short addition.

- New overview section placing Total Recall as the storage layer under an indexing layer (Instant Recall) and a nightly consolidation layer (Sleep Consolidation).
- New figures: the internal pipeline, pointer compaction against narrative compaction, and the memory stack.

## v7.2 · 2026-06-02

6,357 words, +2,711 / −774 words. Text: https://sprintpaper.com/papers/total-recall/v/7.2.md

**Adds write reconciliation so working memory stays bounded**

The paper grows by about 1,900 words. The changelog calls it a bounded-memory pass.

- New section on write reconciliation: each new fact is added, updates an old one, deletes one or does nothing. The working memory stays bounded while the audit log stays append-only.
- New comparison of what a pointer marker costs in tokens per cycle against a narrative summary.
- New subsection on query formulation, the step before task-conditioned scoring.
- The implementation section drops line counts and commit hashes in favour of the properties the design guarantees.
- The limitations add "retrieval-trigger blindness": the agent may not know it should look something up.

## v7.1 · 2026-04-01

4,420 words, +1,562 / −1,561 words. Text: https://sprintpaper.com/papers/total-recall/v/7.1.md

**Renamed Total Recall; adds production evidence and a limitations section**

The paper is renamed Total Recall. The length stays the same, about 4,400 words, but a third of the text changed. Versions 5 to 7.0 were not kept as Markdown; the changelog calls this a second precision pass.

- The architecture keeps its design, now under the Total Recall name; TRACE stays the implementation.
- Adds a taxonomy of what summaries lose.
- Adds production evidence: thousands of emails indexed and months of operation without context loss.
- The separate problem analysis and proposed evaluation sections go. A single "Limitations and Future Work" section replaces them and admits that the event store's growth is a limit.
- Effect sizes and statistical power are explained.

## v4.0 · 2026-02-24

4,419 words, +1,392 / −187 words. Text: https://sprintpaper.com/papers/total-recall/v/4.0.md

**Adds an implementation section with modules, commits and test results**

The paper now describes the running implementation. The changelog at the top lists the changes.

- New section on the TRACE implementation: the modules, their commits, the event store, ingestion, the pointer compaction engine.
- The abstract and results now cite a test suite of 281 tests with 279 passing, and 100% recall in a needle-in-a-haystack test.
- Adds Context Anatomy, a tool that records what fills each call's context.
- Adds pointers to two companion papers, HIPPOCAMPUS and CORTEX.
- The file also carries an implementation note dated 16 April 2026, added after the version date.

## v3.1 · 2026-02-24

3,214 words, +254 / −0 words. Text: https://sprintpaper.com/papers/total-recall/v/3.1.md

**Adds the statistics of the full TRACE test suite**

One addition: a short section with the statistics of the full TRACE test suite. Nothing else changed.

## v3.0 · 2026-02-21

2,960 words, +500 / −7 words. Text: https://sprintpaper.com/papers/total-recall/v/3.0.md

**Adds a benchmark of the TRACE implementation's lossless-store property**

A small addition to the condensed version.

- The validation section now has two parts: the synthetic pilot and a new benchmark of the TRACE implementation that checks the store loses nothing.
- Future work names LOCA-bench and public long-context agent logs as the next test sets.

## v2.5 · 2026-02-21

2,467 words, +904 / −12,303 words. Text: https://sprintpaper.com/papers/total-recall/v/2.5.md

**Condensed from 13,900 to 2,500 words; adds a pilot study with results**

The paper is rewritten in a condensed form, about a fifth of the previous length. The thesis is unchanged; the long background, the annex and most diagrams are gone.

- Related work shrinks to three short sections.
- The formal parts remain as short sections: the task-conditioned score and the completeness bound.
- New: a synthetic pilot study with 10 traces and 50 seeded details. It reports exact-match recall after 1, 3 and 5 compactions for narrative compaction, truncation, MemGPT, Focus and ENGRAM, with ENGRAM at 94% for two-hop recall after five cycles against 4% for narrative compaction.
- A replay harness on real logs is described as future work.

## v2.4 · 2026-02-16

13,866 words, +9,744 / −8,205 words. Text: https://sprintpaper.com/papers/total-recall/v/2.4.md

**Renamed ENGRAM; related work rebuilt, theorem and cost analysis added**

The paper is now called ENGRAM. TRACE stays as the name of the implementation. About two thirds of the text changed. The changelogs at the top say the changes come from rounds of review by several models.

- Related work is rebuilt around themes: paging, memory streams, typed memory, active retrieval, graph retrieval, cache theory and benchmarks.
- A Retrieval Completeness Theorem with probability bounds is added, with a model for correlated failures. Submodularity is stated as an assumption, not a fact.
- Pointer manifests are replaced by time-range markers.
- New design points: prompt caching, content-aware previews of large tool output, and a push/pull split with its cost and latency.
- The evaluation section becomes an evaluation design, with placeholders for results not yet measured.

## v2.0 · 2026-02-16

12,327 words, +5,993 / −27 words. Text: https://sprintpaper.com/papers/total-recall/v/2.0.md

**Doubled in length: boundedness, planning, token savings, a build plan**

The paper roughly doubles, from about 6,400 to 12,300 words. Almost nothing is removed; the new material is listed in the paper's own changelog, which says it answers a written brief for version 2.0.

- Adds formal limits: retrieval per turn is bounded, and stored state grows linearly, not quadratically.
- Adds hierarchical planning: planner, executor and sub-executor each get their own context and retrieval.
- Adds a token savings analysis based on production numbers, and how losses compound over repeated compactions.
- Adds a retention policy so disk use does not grow without limit, and a longer discussion of what associations the design cannot capture.
- Adds a first evaluation section (production observations, a needle-in-a-haystack test still in progress, latency) and an annex with an implementation plan.
- The file also ends with changelogs for 2.1 and 2.2, which answer a review by two models.

## v1.5 · 2026-02-16

6,361 words, +5,474 / −6,738 words. Text: https://sprintpaper.com/papers/total-recall/v/1.5.md

**System named TRACE; text tightened and algorithms moved to an annex**

The same argument, rewritten and shortened by about 1,300 words. Most paragraphs were redrafted.

- The system gets a name, TRACE, and a new title: task-conditioned retrieval and pointer-based compaction.
- Related work is regrouped by theme instead of one subsection per system.
- New: retrieval conditioned on the active task, explained with examples.
- New diagrams comparing narrative compaction with pointer compaction, and of the overall architecture.
- The algorithms move out of the body into an annex as pseudocode.
- Adds a pointer to a companion paper on agent identity.

## v1.0 · 2026-02-15

7,625 words, first version. Text: https://sprintpaper.com/papers/total-recall/v/1.0.md

**First version: keep every event, compact with pointers, never summarise**

The paper starts from a problem with AI agents that run for a long time. Their context window fills up, and the usual fix is to have the model write a summary of the old conversation and drop the original. The paper argues that this destroys the only copy of the details a later step depends on: commit hashes, error messages, tool outputs, decisions.

- Proposes keeping every event in a durable, append-only log, and treating the context window as a cache over that log.
- When the window is full, old material is replaced by pointers back into the log, not by a prose summary, so any detail can be fetched again.
- Names tool output, not chat turns, as the main thing that fills the window in practice.
- Surveys related memory systems (MemGPT/Letta, A-MEM, AgeMem, MaRS, Memory-R1, CoALA, RAPTOR) and event sourcing.
- Includes the algorithms in the main text.
