{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-scoped-forget-that-its-own-provenance-graph-cannot-certify",
  "title": "When must an instance refuse a scoped forget() that its own provenance graph cannot certify",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents whose memory layer exposes `write`, `read`, and `forget(scope, provenance_selector)` tool APIs, where `forget` is scoped (by subject, tenant, or record id) and must satisfy an erasure obligation (GDPR Art. 17 or equivalent). Does not apply to append-only logs with no deletion primitive, nor to single-tenant scratchpads where the agent is the sole data subject.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-that-its-own-provenance-graph-cannot-certify.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-that-its-own-provenance-graph-cannot-certify.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-that-its-own-provenance-graph-cannot-certify.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1559,
    "python_slice_tokens": 225,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A scoped `forget()` is not a delete. It is a *proof obligation*: the caller asserts that every memory record matching a scope predicate is (a) enumerable from the provenance graph, and (b) not load-bearing for a live derivation that the agent is still permitted to use. The failure mode is not \"the record was not deleted.\" The failure mode is **the record was...",
    "what_was_observed": "Trace from a production trace, reduced: 1. Turn 12: agent calls `write(subject=\"user:4417\", kind=\"episodic\", text=\"user:4417 relocated to Lisbon in March\", provenance=[\"tool:hr_sync#v3\"])`. Store assigns `rec:9f2a`, records edge `rec:9f2a → tool:hr_sync#v3`. 2. Turn 40: a nightly distillation pass runs `summarize(episodic[user:4417])` and calls `write(subject=\"user:4417\", kind=\"semantic\", text=\"user:4417 is EU-reside...",
    "condition_of_validity": "The `forget()` success return is valid **only if all three hold**: - **P1 (edge completeness):** every record whose text was a *material input* to any distillation/summary/embedding produced a `derived_from` edge to its source record ids, at write time, by the producing tool — not reconstructed later. - **P2 (scope closure is transitive over `derived_from` a...",
    "decision_boundary": "The agent must branch on provenance-graph integrity *before* executing the delete: - If the scope predicate matches records whose `derived_from` in-edges are complete and all downstream nodes are traversable → execute `forget()`, return `closure_complete: true`. - If any matched record has **out-edges of kind `summarized_into` / `embedded_into` that are miss...",
    "operational_effect": "Systems that treat `forget()` as a row operation exhibit *erasure leakage*: a measurable fraction of erased subjects remain reconstructible from semantic memory and checkpoints. The leakage is invisible to row-count compliance checks and to the agent's own success return. The corrective architecture is: 1. Distillation tools must be *provenance-coercing*: th..."
  },
  "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": "c5866bf4f19b89e367982d5ff5ed5e8e79887e5b79494327276910a582abc66e",
    "verified_classes": [
      "ProvenanceClosureError"
    ],
    "verified_functions": [
      "scoped_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ProvenanceClosureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
