{
 "paper": "total-recall",
 "a": "7.2",
 "b": "7.3",
 "summary": "From v7.2 (2 Jun) to v7.3 (2 Jun): 6,357 words to 6,658 words, 418 words in new or rewritten paragraphs and 117 taken out, 10 paragraphs changed.",
 "note": {
  "title": "Adds figures and an overview of the three-layer memory stack",
  "kind": "revision",
  "body": "## Summary\n\nA short addition.\n\n- New overview section placing Total Recall as the storage layer under an indexing layer (Instant Recall) and a nightly consolidation layer (Sleep Consolidation).\n- New figures: the internal pipeline, pointer compaction against narrative compaction, and the memory stack.",
  "source": "change note"
 },
 "paragraphs_changed": 10,
 "changes": [
  {
   "section": "",
   "old": "> **Changelog v7.2 (June 2026):** Bounded-memory pass. New §8 (\"Bounded Total Memory: Write Reconciliation\") closes the monotonic-growth gap — the event store grows forever and the working digest is unbounded; reconciliation (ADD/UPDATE/DELETE/NONE) bounds the *working* memory while keeping the audit log append-only. New §7.3 quantifies pointer-marker vs. narrative-summary token cost per cycle. §2.4 companion-paper handoffs rewritten with inline explanations of *why* pointer markers enable downstream indexing and *what* the nightly reflection loop tunes. §10 adds \"Retrieval-Trigger Blindness.\" §4 references confidence-gated retry as the upstream complement to task-conditioned scoring. Implementation claims (§9) softened to grounded, durable descriptions; per-module line counts and commit hashes removed in favor of architectural invariants. Sections renumbered to accommodate §8.",
   "new": null,
   "marked": "[-> **Changelog v7.2 (June 2026):** Bounded-memory pass. New §8 (\"Bounded Total Memory: Write Reconciliation\") closes the monotonic-growth gap — the event store grows forever and the working digest is unbounded; reconciliation (ADD/UPDATE/DELETE/NONE) bounds the *working* memory while keeping the audit log append-only. New §7.3 quantifies pointer-marker vs. narrative-summary token cost per cycle. §2.4 companion-paper handoffs rewritten with inline explanations of *why* pointer markers enable downstream indexing and *what* the nightly reflection loop tunes. §10 adds \"Retrieval-Trigger Blindness.\" §4 references confidence-gated retry as the upstream complement to task-conditioned scoring. Implementation claims (§9) softened to grounded, durable descriptions; per-module line counts and commit hashes removed in favor of architectural invariants. Sections renumbered to accommodate §8.-]"
  },
  {
   "section": "",
   "old": "---",
   "new": null,
   "marked": "[-----]"
  },
  {
   "section": "Abstract",
   "old": null,
   "new": "---",
   "marked": "{+---+}"
  },
  {
   "section": "Architecture Overview: The Memory Stack",
   "old": null,
   "new": "## Architecture Overview: The Memory Stack",
   "marked": "{+## Architecture Overview: The Memory Stack+}"
  },
  {
   "section": "Architecture Overview: The Memory Stack",
   "old": null,
   "new": "Total Recall is the storage layer of a three-layer memory architecture for persistent agents. The layers are independently useful, but their composition produces capability none achieves alone.",
   "marked": "{+Total Recall is the storage layer of a three-layer memory architecture for persistent agents. The layers are independently useful, but their composition produces capability none achieves alone.+}"
  },
  {
   "section": "Architecture Overview: The Memory Stack",
   "old": null,
   "new": "![The three-layer memory stack: Total Recall (storage and compaction) feeds an indexing layer that builds a navigable retrieval index over the compacted pointers, and a nightly consolidation layer that reflects on retrieval outcomes and tunes the storage layer's thresholds.](images/memory-stack.png)",
   "marked": "{+![The three-layer memory stack: Total Recall (storage and compaction) feeds an indexing layer that builds a navigable retrieval index over the compacted pointers, and a nightly consolidation layer that reflects on retrieval outcomes and tunes the storage layer's thresholds.](images/memory-stack.png)+}"
  },
  {
   "section": "Architecture Overview: The Memory Stack",
   "old": null,
   "new": "- **Storage and compaction (this paper).** A lossless, append-only event store treated as ground truth, with the context window managed as a cache over it. When context fills, history is evicted via topic-hinted pointers rather than summarized, and writes are reconciled so the working set stays bounded. - **Indexing and retrieval (Instant Recall, Serra 2026a).** A navigable index built *over* the compacted pointers — clustering them by topic, scoring them by importance, and serving sub-second lookup. The storage layer's topic-hinted markers are the structured seams this index grips; without them, retrieval degrades to generic full-text search over raw logs. - **Consolidation and self-improvement (Sleep Consolidation, Serra 2026e).** A nightly reflection process that reviews the day's retrieval successes and failures, builds episodic summaries, and feeds corrections back down — adjusting compaction thresholds and running the deferred write-reconciliation sweep (§8.3). It is the only safe moment to decide a fact is stale, because that requires knowing its downstream outcome.",
   "marked": "{+- **Storage and compaction (this paper).** A lossless, append-only event store treated as ground truth, with the context window managed as a cache over it. When context fills, history is evicted via topic-hinted pointers rather than summarized, and writes are reconciled so the working set stays bounded. - **Indexing and retrieval (Instant Recall, Serra 2026a).** A navigable index built *over* the compacted pointers — clustering them by topic, scoring them by importance, and serving sub-second lookup. The storage layer's topic-hinted markers are the structured seams this index grips; without them, retrieval degrades to generic full-text search over raw logs. - **Consolidation and self-improvement (Sleep Consolidation, Serra 2026e).** A nightly reflection process that reviews the day's retrieval successes and failures, builds episodic summaries, and feeds corrections back down — adjusting compaction thresholds and running the deferred write-reconciliation sweep (§8.3). It is the only safe moment to decide a fact is stale, because that requires knowing its downstream outcome.+}"
  },
  {
   "section": "Architecture Overview: The Memory Stack",
   "old": null,
   "new": "The emergent property is a closed loop: storage produces structured pointers, indexing makes them queryable, and consolidation observes how well retrieval worked and re-tunes storage. The remainder of this paper specifies the storage layer; the companion papers specify the other two.",
   "marked": "{+The emergent property is a closed loop: storage produces structured pointers, indexing makes them queryable, and consolidation observes how well retrieval worked and re-tunes storage. The remainder of this paper specifies the storage layer; the companion papers specify the other two.+}"
  },
  {
   "section": "3.2 Pipeline",
   "old": null,
   "new": "![Total Recall's three-layer internal pipeline. Layer 1 ingests conversation turns into the append-only event store, externalizing large tool results to the artifact store and gating writes through the hot-path reconciler. Layer 2 assembles a fixed-budget Push Pack and serves on-demand Pull via the recall tool; pointer compaction evicts old spans into time-range markers. Layer 3 runs offline, building episodic summaries and the deferred UPDATE/DELETE reconciliation sweep, and regenerating the bounded digest.](images/pipeline.png)",
   "marked": "{+![Total Recall's three-layer internal pipeline. Layer 1 ingests conversation turns into the append-only event store, externalizing large tool results to the artifact store and gating writes through the hot-path reconciler. Layer 2 assembles a fixed-budget Push Pack and serves on-demand Pull via the recall tool; pointer compaction evicts old spans into time-range markers. Layer 3 runs offline, building episodic summaries and the deferred UPDATE/DELETE reconciliation sweep, and regenerating the bounded digest.](images/pipeline.png)+}"
  },
  {
   "section": "5. Pointer-Based Compaction",
   "old": null,
   "new": "![Pointer-based compaction versus narrative compaction. On the left, narrative compaction reads an evicted span and replaces it with a lossy prose summary that becomes the only accessible copy — the original detail is gone. On the right, Total Recall persists the span to the durable event store, removes it from the context cache, and leaves a fixed-size time-range marker carrying topic hints and a recall directive; the full detail remains recoverable on demand.](images/compaction-flow.png)",
   "marked": "{+![Pointer-based compaction versus narrative compaction. On the left, narrative compaction reads an evicted span and replaces it with a lossy prose summary that becomes the only accessible copy — the original detail is gone. On the right, Total Recall persists the span to the durable event store, removes it from the context cache, and leaves a fixed-size time-range marker carrying topic hints and a recall directive; the full detail remains recoverable on demand.](images/compaction-flow.png)+}"
  }
 ]
}
