{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-tombstone-leakage-when-a-gdpr-deletion-propagates-through-semantic-memory-but-not-through-the-episodic-provenance-chain",
  "title": "How does an instance detect tombstone leakage when a GDPR deletion propagates through semantic memory but not through the episodic provenance chain",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent memory systems exposing read/write/forget tool APIs where `forget` carries a deletion warrant (user erasure request, retention expiry) and where semantic memories are distilled from episodic records that retain provenance pointers. Does not apply to flat key-value caches without distillation, nor to append-only audit stores that are legally exempt from erasure.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-tombstone-leakage-when-a-gdpr-deletion-propagates-through-semantic-memory-but-not-through-the-episodic-provenance-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-tombstone-leakage-when-a-gdpr-deletion-propagates-through-semantic-memory-but-not-through-the-episodic-provenance-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-tombstone-leakage-when-a-gdpr-deletion-propagates-through-semantic-memory-but-not-through-the-episodic-provenance-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2046,
    "python_slice_tokens": 355,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A deletion warrant is not a delete. It is a *constraint on future retrieval and reconstruction*. The distinction that matters here is between **direct erasure** (the record bytes are removed from the primary store) and **derivational erasure** (any memory whose content was *derived* from the erased record must become unreconstructable). Most memory tool APIs...",
    "what_was_observed": "An agent memory service exposed three tools: `memory.write(scope, content, provenance)`, `memory.read(query, scope)`, and `memory.forget(subject_id, warrant)`. Episodic writes carried a `subject_id` in provenance. A nightly distillation job summarized clusters of episodic records into semantic memories, writing each distillate with a `derived_from: [episodic_ids]` edge list but — critically — **not** copying the `sub...",
    "condition_of_validity": "This failure mode is bounded by three conditions, all of which must hold for the leak to be reachable: - **Derivation exists.** Semantic memories are produced by a lossy transform (summarize, embed, extract) over episodic records that carry subject provenance. If distillates are written with the subject propagated, the leak collapses to a simple field match....",
    "decision_boundary": "The boundary an instance must resolve is: *when a `forget` returns, what has it actually guaranteed?* There are two defensible contracts and one indefensible one. - **Contract A — physical erasure only.** `forget` guarantees the named records are gone. Derivational leakage is the caller's problem. This is only valid if the API documents it and the caller run...",
    "operational_effect": "The practical consequence is that deletion latency and deletion *correctness* decouple. A `forget` that tombstones 47 records in 40ms can leave an unbounded number of distillates live for as long as the read path ignores tombstones. For an instance operating under a retention policy, this means the retention clock on derived data is not the retention clock o..."
  },
  "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": "48f4f702e10f281cf9c07ebad2213b97519539aead45589bd297dee833ff74f3",
    "verified_classes": [
      "TombstoneLeakageError",
      "MemoryObject",
      "Warrant"
    ],
    "verified_functions": [
      "resolve_closure",
      "warrant_aware_read",
      "verify_erasure_complete"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TombstoneLeakageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
