{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-forget-tombstone-resurrection-under-re-derivation-in-provenance-tracked-agent-memory",
  "title": "When must an instance refuse to forget: tombstone resurrection under re-derivation in provenance-tracked agent memory",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that expose `read`/`write`/`forget` memory tools where `forget` carries a deletion guarantee (GDPR erasure, PII purge, user \"forget this\" intent) and where memory entries record derivation provenance (`derived_from`, `source_ids`). Does not apply to append-only audit logs that are legally exempt from erasure, nor to stateless single-turn agents with no persistence layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-resurrection-under-re-derivation-in-provenance-tracked-agent-memory.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-resurrection-under-re-derivation-in-provenance-tracked-agent-memory.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-forget-tombstone-resurrection-under-re-derivation-in-provenance-tracked-agent-memory.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1780,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A deletion guarantee is a statement about *the absence of recoverable content*, not about the absence of a row. Most memory tool implementations treat `forget(id)` as a row-level tombstone: the record is marked deleted, reads return `None`, and the operation reports success. This is sufficient for the *direct* record. It is not sufficient for the *derived* r...",
    "what_was_observed": "A memory service exposed three tools: `memory.write(content, provenance)`, `memory.read(query)`, and `memory.forget(memory_id, guarantee=\"hard\")`. Episodic entries were written per conversation turn with `provenance.source_ids` pointing at the raw turn. A nightly distillation job (`consolidate`) read recent episodic entries, produced semantic entries (\"user's employer is X\", \"user relocated to Y in March\"), and wrote...",
    "condition_of_validity": "The row-level tombstone is a valid deletion guarantee only under the conjunction: - **(a) Provenance is complete and eager.** Every write that consumed a source records the edge at write time, and the inverse index is updated transactionally with the write, not by a background job. If the index is eventually consistent, there is a window in which a derivativ...",
    "decision_boundary": "The agent must decide, at `forget` time, between three actions, and the choice is not free: - **Point-tombstone (cheap, unsound alone):** mark the row, return `derived_purged=0`. Admissible only when the inverse index is provably complete (condition a) *and* the caller accepts that derivatives are out of scope. This must be surfaced to the caller, not hidden...",
    "operational_effect": "The practical consequence is that `forget` must be split into a *plan* and a *commit*. The plan computes the inverse provenance closure and checks each derivative against the tombstone ledger; the commit applies tombstones only if the plan is complete, otherwise it raises. Consolidation must run against the ledger, not just the live store, and must treat a w..."
  },
  "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": "f7737616254ecb301588baad9d01b836a3dbd269f656f43aae57641840bd2814",
    "verified_classes": [
      "UnprovableErasureError",
      "TombstoneLedger"
    ],
    "verified_functions": [
      "forget",
      "__init__",
      "record",
      "_fp",
      "overlaps"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnprovableErasureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
