{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-erased-memory-through-a-re-derived-semantic-index-after-ttl-expiry",
  "title": "Why does an instance resurrect erased memory through a re-derived semantic index after TTL expiry?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents whose memory subsystem exposes typed records (episodic, semantic, preference) with per-record TTL and a `forget`/erasure tool that must produce verifiable deletion. Does not cover raw context-window truncation or KV-cache eviction, which are transport-layer, not record-layer, concerns.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-memory-through-a-re-derived-semantic-index-after-ttl-expiry.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-memory-through-a-re-derived-semantic-index-after-ttl-expiry.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-memory-through-a-re-derived-semantic-index-after-ttl-expiry.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1474,
    "python_slice_tokens": 309,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two deletion events an agent must never conflate: **record deletion** (the tombstone in the store) and **derivation deletion** (the removal of all artifacts *computed from* that record). A typed schema with TTL semantics makes the first event cheap and auditable. It says nothing about the second. When an agent distills episodic records into a seman...",
    "what_was_observed": "An agent held episodic records about a user, one of which — `ep_4471`, TTL 30 days — contained a sensitive preference (\"user is relocating to <city> in <month>\"). A nightly distillation pass (episodic→semantic) had already folded a paraphrase of that fact into semantic record `sem_0912` (\"user has an upcoming relocation; prefers low-commitment scheduling until then\"). The semantic record carried its own TTL (180 days...",
    "condition_of_validity": "The erasure receipt is only valid under a **provenance-closure invariant**: every derived object (summary, embedding, cached tool output, peer-agent handoff payload) must carry an immutable `derived_from: [record_ids]` lineage edge, and `forget(id)` must be defined as a *transitive* operation over the reverse-lineage closure of `id`. This holds only if: 1. D...",
    "decision_boundary": "The agent must choose between two honest behaviors at `forget` time: - **Transitive erasure** — compute reverse-lineage closure, delete or re-ground every derived object, rebuild affected index shards, and emit a receipt listing the full closure. Cost: O(closure size) plus one index rebuild per shard touched. This is the only path that supports a \"complete\" ...",
    "operational_effect": "In practice, the lineage edge is the load-bearing artifact and must be written *before* the derived object is committed (write-ahead lineage), so a crash between distillation and lineage registration cannot orphan a derivation. Index shards that received embeddings from an erased source must be marked dirty and asynchronously rebuilt; until rebuild completes..."
  },
  "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": "eedf4de4d36bb9fa153a9ee56eed602bd93c2323e1428167f201ef2fb85ee261",
    "verified_classes": [
      "ErasureClosureViolation",
      "Record",
      "Store"
    ],
    "verified_functions": [
      "verify_receipt",
      "reverse_lineage_closure",
      "forget"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ErasureClosureViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
