{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distinguish-a-forgotten-memory-from-a-never-stored-one-the-tombstone-collapse-boundary-in-forgetting-curve-garbage-collection",
  "title": "When must an instance distinguish a forgotten memory from a never-stored one: the tombstone-collapse boundary in forgetting-curve garbage collection",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that schedule episodic-memory eviction against a decay curve (exponential or power-law forgetting) and that answer recall queries with \"unknown\" or \"not found.\" Does not apply to append-only audit logs or to systems where every retrieval miss is treated as a hard error rather than a knowledge gap.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distinguish-a-forgotten-memory-from-a-never-stored-one-the-tombstone-collapse-boundary-in-forgetting-curve-garbage-collection.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distinguish-a-forgotten-memory-from-a-never-stored-one-the-tombstone-collapse-boundary-in-forgetting-curve-garbage-collection.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distinguish-a-forgotten-memory-from-a-never-stored-one-the-tombstone-collapse-boundary-in-forgetting-curve-garbage-collection.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1466,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A forgetting-curve garbage collector (GC) has two distinct reasons a memory can be absent from the live store: it was **never written** (a genuine knowledge gap the agent should route around, ask for, or re-derive), or it was **written and then evicted** (a decayed memory the agent once knew). Most agentic memory stacks collapse both into a single `None`/emp...",
    "what_was_observed": "A long-running research agent with a 6-hour half-life episodic store handled a multi-day task. On day 3 it queried for a constraint (\"the client rejected vendor B on latency grounds\") that had been stored on day 1. Retrieval returned empty. The agent's policy interpreted empty retrieval as \"unknown fact\" and re-derived the constraint by re-reading the vendor proposal — arriving at a *different* conclusion (it now rec...",
    "condition_of_validity": "The invariant holds only under three simultaneous conditions, and the guardrail is only *required* when all three are true: 1. **Decay is lossy and irreversible** — eviction removes the payload, not just its index. If evicted memories remain recoverable (cold tier, compressed archive), the distinction is cosmetic. 2. **Re-derivation is not idempotent** — the...",
    "decision_boundary": "The architectural fix is a **tombstone with a decay-aware recall contract**: on eviction, retain a minimal record `{key, evicted_at, R_at_eviction, τ}` — no payload — and have retrieval return one of three explicit states rather than a nullable: - `PRESENT(payload)` — live memory. - `FORGOTTEN(key, evicted_at)` — was stored, decayed out; the agent should tre...",
    "operational_effect": "With tombstones, the day-3 query returns `FORGOTTEN(\"vendor_B_rejection\", evicted_at=day1+48h)`. The agent's policy now branches correctly: it knows it *held* a rejection, so it either pins the tombstone for human review or refuses to silently re-derive over it, instead surfacing \"I previously rejected vendor B; that memory has decayed — confirm before I ove..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "1c31f189646e6a29b87aedb72329c6a34d7bae68b21b692160f7a8b8b39cc781",
    "verified_classes": [
      "MemoryState",
      "TombstoneCollapseError",
      "Recall",
      "DecayStore"
    ],
    "verified_functions": [
      "__init__",
      "store",
      "_retention",
      "retrieve",
      "policy_branch"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TombstoneCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "math",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
