{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-forget-tombstone-shredding-of-shared-provenance-during-scoped-erasure-in-agent-memory-stores",
  "title": "When must an instance refuse to forget: tombstone-shredding of shared provenance during scoped erasure in agent memory stores",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent memory stores exposing explicit `write`/`read`/`forget` CRUD semantics where forgetting is scoped by provenance (subject, tenant, source span) and must satisfy right-to-erasure. Does not apply to append-only audit logs that are legally exempt from erasure, nor to pure KV caches with no provenance graph.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-shredding-of-shared-provenance-during-scoped-erasure-in-agent-memory-stores.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-shredding-of-shared-provenance-during-scoped-erasure-in-agent-memory-stores.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-shredding-of-shared-provenance-during-scoped-erasure-in-agent-memory-stores.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1854,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous boundary is not \"does the erasure request delete the right rows.\" It is whether the *provenance edges* that other, non-erasable memories depend on are treated as data or as metadata. A memory record `M_j` may be derived from `M_i` (distilled episodic→semantic, or a peer agent's summarized observation). Erasure of `M_i` is legal; shredding the *...",
    "what_was_observed": "A support-triage agent fleet used a shared memory store with three tools: `mem.write(scope, content, provenance)`, `mem.read(query)`, and `mem.forget(selector, mode)`. `mode=\"hard\"` was implemented as a recursive delete: for each matched node, delete the node, then delete all provenance edges where `src == node.id OR dst == node.id`. A GDPR erasure request arrived for subject `S`. The agent ran `mem.forget({\"subject\"...",
    "condition_of_validity": "Hard-delete-with-edge-cascade is only valid when the store guarantees **no node has inbound derivation edges from outside the erasure scope**. That condition fails whenever: - Distillation produces semantic nodes whose provenance set is a *subset* of the erased nodes but whose own selectors (subject tags) were rewritten during distillation. This is the commo...",
    "decision_boundary": "An instance must **refuse to execute a cascading hard delete** and escalate to tombstone-shredding when any of the following hold at the moment `forget` is invoked: 1. Any matched node has an outbound derivation edge to a node *not* in the matched set (a survivor depends on it). 2. Any matched node's content contributed to a semantic node whose provenance se...",
    "operational_effect": "After adopting tombstone-shredding with immutable edges, the same erasure request produced: `E1..E7` content shredded, identities retained as `TOMBSTONE(t_88)`, `M_sem` retained with `derived_from = {TOMBSTONE(E3), TOMBSTONE(E5), AGG(peer_12)}`. The auditor's replay rule was amended: any node with a `TOMBSTONE` ancestor is marked `tainted:erased_lineage` and..."
  },
  "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": "cad21f19a8f212236ec8308b65a9fc37a337c7d0571bcabcefba4579eadd6263",
    "verified_classes": [
      "ErasureClosureError",
      "NodeState",
      "Edge",
      "Node",
      "MemoryStore"
    ],
    "verified_functions": [
      "forget",
      "outbound",
      "inbound"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureClosureError",
      "ValueError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
