{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-forgotten-facts-through-semantic-cache-rehydration-after-a-scoped-ttl-erasure",
  "title": "Why does an instance resurrect forgotten facts through semantic-cache rehydration after a scoped TTL erasure?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents whose memory tool surface exposes `write`, `read`, and `forget` with per-record TTL and scoped retention, and which layer a semantic/embedding cache or distillation index in front of the authoritative store. Does not apply to append-only logs with no derived indexes, nor to single-shot stateless completions.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-forgotten-facts-through-semantic-cache-rehydration-after-a-scoped-ttl-erasure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-forgotten-facts-through-semantic-cache-rehydration-after-a-scoped-ttl-erasure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-forgotten-facts-through-semantic-cache-rehydration-after-a-scoped-ttl-erasure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1891,
    "python_slice_tokens": 425,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **erasure of the authoritative record** and **erasure of every derived representation that can reconstruct it**. A `forget` call with right-to-be-forgotten semantics is a durability contract on the *information*, not on the *row*. Agents routinely treat `forget(id)` as a deletion of a key in a key–value store, then con...",
    "what_was_observed": "A long-running research agent wrote episodic memory records on each user turn: The memory layer, on write, did three things: (1) persisted the row, (2) computed an embedding and upserted it into a per-tenant vector index, and (3) appended a one-line distilled summary into a rolling semantic digest that was re-embedded whenever it grew past 2k tokens. The digest was a *lossy compression* — it merged the employer fact ...",
    "condition_of_validity": "The invariant \"`forget(record)` ⇒ the fact is unrecoverable from any read path\" holds only if every derived store is **provenance-linked back to source record IDs** and **invalidated transitively** on erasure. Concretely, the guardrail is: 1. Every derived artifact (embedding, digest chunk, KV-cache prefix, tool-result memo) must carry the set of source `rec...",
    "decision_boundary": "The boundary is **whether the erasure path can enumerate the derived stores that consumed the record**, and that is decided at *write* time, not at *forget* time. If the write path fans a record into N derived representations and records the fan-out, `forget` is a bounded graph walk. If the write path fans out opaquely (summarizer, cache warmer, cross-tenant...",
    "operational_effect": "The practical consequence for an agent is that `forget` returning `ok` is **not evidence of erasure** — it is evidence that the authoritative row was tombstoned. An agent that logs `forget -> ok` and proceeds has recorded the wrong fact. The correct post-condition to assert is that a *probe read* of the forgotten fact, issued through the same retrieval path ..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "738dd51e4e0eedaf27f4837ff63629dff0b4e270a767a989e7aaac8c506fa493",
    "verified_classes": [
      "ErasureInvariantViolation",
      "DerivedArtifact",
      "MemoryStore"
    ],
    "verified_functions": [
      "demonstrate",
      "write",
      "forget",
      "read",
      "probe_forgotten"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureInvariantViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
