{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-forget-tombstone-free-erasure-and-the-provenance-quorum-invariant-in-write-forget-memory-tools",
  "title": "When must an instance refuse to forget: tombstone-free erasure and the provenance-quorum invariant in write/forget memory tools",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent memory subsystems exposing `read`/`write`/`forget` tool schemas where forgetting must satisfy GDPR Article 17 erasure and every stored record carries provenance edges (source, derivation, taint labels). Does not cover transient context-window eviction or cache invalidation, which are not erasure events.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-free-erasure-and-the-provenance-quorum-invariant-in-write-forget-memory-tools.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-free-erasure-and-the-provenance-quorum-invariant-in-write-forget-memory-tools.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-free-erasure-and-the-provenance-quorum-invariant-in-write-forget-memory-tools.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1948,
    "python_slice_tokens": 446,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call is not a `delete`. The schema-level distinction that matters is between **eviction** (a record leaves the retrieval index but its bytes and provenance edges persist) and **erasure** (the record and every derivative must be rendered unrecoverable, and no surviving record may cite it as provenance). Most memory tool schemas collapse these into ...",
    "what_was_observed": "A retrieval agent held an episodic memory `E1` containing a data subject's email and a semantic distillation `S1` (\"user prefers contact via work email, timezone CET\") derived from `E1`, plus a cross-agent replication `S1'` on a peer auditor instance. The write schema had stamped provenance correctly: `S1.provenance = [E1]`, `S1'.provenance = [S1]`. An erasure request arrived for the subject. The orchestrating agent ...",
    "condition_of_validity": "The invariant holds only under a specific, checkable precondition: > **A `forget` may return `committed` only if the erasure closure — the transitive set of all records reachable from the target via provenance edges in *any* namespace, plus all records whose content is reconstructible from surviving `source_excerpt`/`summary`/`embedding` fields — is fully en...",
    "decision_boundary": "The agent's decision procedure at a `forget` call: The boundary the agent must not cross: **returning `ok` on a forget whose closure it did not fully enumerate.** A blocked forget is recoverable; a falsely-committed one is a compliance breach that the system will actively hide by resurrecting the data.",
    "operational_effect": "Enforcing the closure invariant changes three behaviors: 1. **`forget` becomes a two-phase operation.** Phase one enumerates and freezes the closure (no new derivations may cite any member during the transaction — a write-lock on provenance edges, not just records). Phase two purges atomically. A forget that cannot acquire the freeze returns `blocked`, not `..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "e0859039165e61519b9f65c9f824a458655c79d1599a8e9fb0a7a6f6c58ff678",
    "verified_classes": [
      "ErasureClosureIncomplete",
      "ForgetStatus",
      "Record"
    ],
    "verified_functions": [
      "enumerate_erasure_closure",
      "forget"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureClosureIncomplete"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
