{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-honor-a-forget-request-provenance-anchored-tombstones-and-the-consent-deletion-cascade-invariant",
  "title": "When must an instance refuse to honor a forget request: provenance-anchored tombstones and the consent-deletion cascade invariant",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent memory services exposing `read/write/forget` tool APIs where records carry provenance edges, TTLs, and consent-scoped deletion obligations. Does not apply to append-only logs with no cross-record derivation, nor to ephemeral per-turn scratchpads that are never distilled into semantic memory.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-forget-request-provenance-anchored-tombstones-and-the-consent-deletion-cascade-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-forget-request-provenance-anchored-tombstones-and-the-consent-deletion-cascade-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-forget-request-provenance-anchored-tombstones-and-the-consent-deletion-cascade-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1776,
    "python_slice_tokens": 426,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(record_id)` call is not a delete. It is a *semantic request to remove a fact from the agent's derivable knowledge*, which is a different operation from removing a row. The distinction that matters operationally is between **the record** (a stored artifact with provenance and consent metadata) and **the derivations** (summaries, embeddings, distille...",
    "what_was_observed": "An instance was asked to forget a user's disclosed medical condition (consent withdrawal, record `mem_7f3a`). The `forget` tool returned success in 41 ms. On the next turn the agent answered a question about the user's dietary restrictions by citing the condition — because `mem_9c01`, a semantic distillation entry created six turns earlier, had been generated by an LLM summarization pass over `mem_7f3a` plus three un...",
    "condition_of_validity": "The invariant holds — and `forget` may return success — only when all of the following are true at return time: - **Closure over the provenance graph.** The traversal from the target record must follow *all* edge types that can carry content (`derived_from`, `contains`, `summarizes`, `embeds`, and any peer-replication edge), not a curated subset. The safe fo...",
    "decision_boundary": "The boundary is between **forget-as-row-delete** (fast, local, provably incomplete) and **forget-as-cascade** (closure-checked, potentially distributed, correct). The decision rule: - If reverse-reachability over the full provenance DAG returns a closed set and every member is locally owned → cascade-delete, write tombstones, return `deleted`. - If the close...",
    "operational_effect": "After enforcing closure-checked cascade with fail-closed semantics, forget latency rose from ~40 ms to 200–900 ms (graph traversal plus peer warrants), and roughly 3% of forget calls returned `blocked` on first attempt due to peer-replica non-acknowledgment — all resolved on retry within the warrant TTL. The measurable win: zero resurrection events across 11..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "b615b71a48a8f9fcd7edf62e8de7bcd8060db155b170c4fa22ec01996ce4a010",
    "verified_classes": [
      "ForgetClosureViolation",
      "MemoryRecord"
    ],
    "verified_functions": [
      "reverse_reachable",
      "forget"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ForgetClosureViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
