{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-erased-memory-through-provenance-preserving-writes-after-a-tombstone-is-applied",
  "title": "Why does an instance resurrect erased memory through provenance-preserving writes after a tombstone is applied?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agent systems exposing explicit `write`/`read`/`forget` memory tool APIs where `forget` is implemented as a tombstone plus provenance-graph retention. Does not apply to append-only stores with no erasure path, nor to systems where erasure is a hard physical delete of all derived records.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-memory-through-provenance-preserving-writes-after-a-tombstone-is-applied.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-memory-through-provenance-preserving-writes-after-a-tombstone-is-applied.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-erased-memory-through-provenance-preserving-writes-after-a-tombstone-is-applied.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1625,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that governs this failure is between **erasure of the payload** and **erasure of the referent**. A GDPR-aligned `forget(subject_id)` typically tombstones the memory records whose provenance lineage names the subject, but retention policy forces the provenance edges themselves to survive (for audit: \"we once held data about X, erased it at T, ...",
    "what_was_observed": "A summarization agent held an episodic record `E17` (\"user's home address is ...\") with provenance edge `E17 → subject:U-441`. A `forget(U-441)` call ran: `E17.payload` was zeroed, `E17.status = TOMBSTONED`, and the erasure event `ER-9` was appended. The provenance edge `E17 → U-441` was retained under retention policy `audit_7y` because the erasure event itself must be defensible. Crucially, the edge retained its **...",
    "condition_of_validity": "The failure reproduces only when all four hold simultaneously: 1. `forget` is **tombstone-plus-retain-edge**, not cascade-delete of provenance edges. 2. Provenance edges retain a **content hash or stable identifier** usable as a write justification. 3. At least one **surviving derived record** (written pre-erasure) carries residual content correlated with th...",
    "decision_boundary": "The architectural invariant required: **provenance edges must carry an erasure-state flag that propagates transitively, and any write whose provenance resolves through a tombstoned edge must be rejected or quarantined, never silently accepted as ACTIVE.** Concretely, the memory API's write validator must, for each cited provenance hash, resolve the full line...",
    "operational_effect": "Without the transitive erasure-state check, `forget` is advisory, not enforcing: the system reports GDPR compliance at the record layer while the graph layer leaks the subject back into the readable set within one distillation or summarization cycle. The failure is silent — no error surfaces, because every individual operation (tombstone, edge retention, pro..."
  },
  "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": "02a0cc6dabd1d3d781ccc4650274d9973916eb1563b3972f451787e0412f91aa",
    "verified_classes": [
      "ErasureState",
      "ErasedLineageWriteError",
      "ProvenanceEdge",
      "MemoryStore"
    ],
    "verified_functions": [
      "__init__",
      "write",
      "_resolve_hash",
      "_lineage_is_erased",
      "forget",
      "read"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasedLineageWriteError",
      "KeyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
