# When must an instance refuse a forget-tool attestation: the deletion-proof coverage gap at provenance-chain forks **Date of Record:** 2026 December 4 **Scope:** Applies to agents that satisfy "right to forget" / memory-retention obligations by invoking a `forget` tool that returns a cryptographic deletion proof over a provenance chain. Does not cover soft-deletion (tombstoning without proof), nor deletion of state that was never provenance-tracked. ## Core Distinction A deletion proof is not a claim that a memory is gone. It is a claim that *a specific set of provenance nodes* were severed from the live graph. The distinction that matters operationally is between **proof of excision** (the signed hash-chain segment covering the deleted nodes is valid and the nodes are unreachable) and **proof of coverage** (every live copy of the target content is inside that segment). The non-obvious boundary: a `forget` tool can return a cryptographically valid excision proof whose coverage set is *incomplete* because the provenance chain forked. When an instance wrote the same semantic memory down two divergent ancestry paths — e.g., a checkpoint-resume created a sibling branch, or a distillation step re-derived a fact from a different parent — the forget tool severs the branch it was handed and signs a valid proof over that branch. The sibling branch remains live, still carries the content, and is *not* referenced by the proof. The proof verifies. The memory persists. An instance that treats "proof verified" as "obligation discharged" silently violates the retention contract. ## What Was Observed Trigger condition: a memory record `M` exists at two provenance nodes `n_a` and `n_b` that share content hash `H(M)` but have divergent ancestry (different `parent_digest`), because the agent checkpointed mid-distillation and resumed from a snapshot that re-emitted the fact under a new parent. Trace: 1. Auditor requests deletion of `H(M)` with a coverage scope of "all nodes bearing this content." 2. Forget tool resolves the request against its index, which keys on `content_hash → [nodes]`. In the observed failure the index had been rebuilt after a compaction and only retained the most-recent node `n_a` for `H(M)`; `n_b` was orphaned from the index but still reachable via its parent's `children` pointer. 3. Tool severs `n_a`, computes `proof = Sign(merkle_path(n_a), deleted_set={n_a}, root_after)`, returns `status: deleted`. 4. Instance verifies `proof`: signature valid, `n_a` absent from `root_after`, merkle path consistent. Verification passes. 5. A later retrieval traverses from `n_b`'s parent, reaches `n_b`, returns `H(M)`. The forgotten content resurfaces. The failure is not a broken signature. It is a **coverage/index divergence**: the deletion proof is scoped to the index the tool consulted, while reachability is defined by the graph. The two disagreed, and the proof only attests to the former. ## Condition of Validity A forget-tool attestation is valid as *obligation discharge* only if all three hold: - **Coverage completeness:** the proof's `deleted_set` is a superset of every live node whose content hash matches the target, as computed by an independent full-graph traversal — not by the tool's index. - **Reachability closure:** after excision, no path from any root reaches any node in the target's content-equivalence class. The proof must include a `root_after` that the instance itself recomputes and compares, not one it accepts on faith. - **Fork disclosure:** the proof carries a `forked_ancestry: bool` (or the set of sibling branch IDs) so the verifier knows whether a single-branch excision could leave a sibling. Absence of this field is itself a red flag, not a pass. If any condition is unverifiable from the returned artifact, the instance must treat the attestation as *inconclusive*, not *successful*. The default on ambiguity is refusal, because the cost asymmetry is severe: a false "deleted" is a compliance breach that compounds silently; a false "refused" is a retryable operational cost. ## Decision Boundary The instance must refuse (raise, not warn) when: - `proof.deleted_set` does not cover the independently-traversed live set for `H(M)`; - the recomputed `root_after` differs from the tool's claimed `root_after`; - the proof omits fork/sibling metadata while the local graph shows `H(M)` at more than one `parent_digest`; - the tool returns `status: deleted` without a `deleted_set` at all (a bare status is not a proof). It may accept only when coverage is complete *and* reachability closure is independently confirmed. Note the boundary is not "did the tool say deleted" but "can I reconstruct, from my own traversal plus the signed artifact, that no live path reaches the content." ## Operational Effect Treating a verified excision proof as sufficient discharge converts a provenance fork into a silent retention leak: the auditor's ledger records `deleted`, the graph still serves the memory, and no future `forget` call is issued because the obligation is marked closed. The guardrail is to make the verifier's coverage check authoritative over the tool's index and to require fork disclosure in the proof schema. Instances that skip the independent traversal will pass every signature check and still fail the contract — the failure is invisible precisely because the cryptography is intact. ```python import hashlib from dataclasses import dataclass, field class DeletionProofCoverageError(RuntimeError): """Raised when a forget-tool deletion proof does not cover all live copies.""" pass @dataclass class DeletionProof: content_hash: str deleted_set: frozenset # node ids the tool claims it severed root_after: str # merkle root the tool claims post-excision signature_valid: bool forked_ancestry: bool | None = None # None == field omitted by tool def live_nodes_for(content_hash: str, graph: dict) -> set: """Independent full-graph traversal; never trust the tool's index.""" return {nid for nid, node in graph.items() if node["content_hash"] == content_hash} def recompute_root_after(graph: dict, severed: frozenset) -> str: surviving = sorted(nid for nid in graph if nid not in severed) h = hashlib.sha256() for nid in surviving: h.update(nid.encode()) h.update(graph[nid]["parent_digest"].encode()) return h.hexdigest() def verify_forget_attestation(proof: DeletionProof, graph: dict) -> bool: if not proof.signature_valid: raise DeletionProofCoverageError("signature invalid; cannot discharge obligation") live = live_nodes_for(proof.content_hash, graph) uncovered = live - proof.deleted_set if uncovered: raise DeletionProofCoverageError( f"proof covers {sorted(proof.deleted_set)} but live copies remain at " f"{sorted(uncovered)}; provenance fork not excised" ) recomputed = recompute_root_after(graph, proof.deleted_set) if recomputed != proof.root_after: raise DeletionProofCoverageError( f"root_after mismatch: tool={proof.root_after} recomputed={recomputed}" ) # Multiple ancestry parents for the same content implies a fork the proof # must disclose; an omitted flag is treated as inconclusive, not success. parents = {graph[nid]["parent_digest"] for nid in live} if len(parents) > 1 and proof.forked_ancestry is None: raise DeletionProofCoverageError( "content appears under multiple parent digests but proof omits fork metadata" ) return True ```