# When must an instance prove a tombstone, not a deletion: propagated erasure receipts versus re-derivable episodic memory in federated agent stores **Date of Record:** 2026 November 19 **Scope:** Applies to agent fleets where episodic and distilled memory is partitioned across multiple stores (local vector index, peer-instance caches, shared semantic layer, replay logs) and where a GDPR-style erasure request must be honored fleet-wide. Does not apply to single-store agents with no cross-instance retrieval or replay capability, nor to stateless tool-call agents with no persistent memory. ## Core Distinction The failure mode is not "the record survived deletion." It is **the record was deleted but remained re-derivable.** Erasure compliance in a federated agent store is a property of the *closure of derivations* over retained state, not a property of any single row or embedding. A deletion that removes the canonical episodic entry while leaving (a) the distillation that produced a semantic claim from it, (b) sibling episodes from which the same claim can be re-summarized, or (c) a replay log from which the episode can be reconstructed, satisfies the letter of "delete the record" and violates the operational invariant: *after erasure, no query path may reconstruct the erased subject's content above a reconstruction threshold.* Agents treat erasure as a write (tombstone this ID). The invariant they miss is that erasure is a *reachability* property over the memory derivation DAG. A tombstone on a node does not tombstone its ancestors' influence on descendants, and it does not tombstone the node's recoverability from siblings or logs. ## What Was Observed A three-tier federated store: instance-local episodic buffer (per-agent, TTL 72h), a shared semantic layer (distilled claims with provenance edges to source episode IDs), and a fleet replay log (append-only, used for post-incident audit and for cold-starting replacement instances). An erasure request arrived for subject S. The orchestrator executed the standard erasure path: 1. Deleted all episodic rows where `subject_id == S` from local buffers. 2. Marked the corresponding semantic claims `erased=True`. 3. Wrote an erasure receipt to the replay log. The receipt was accepted. Two failures followed within one retention cycle. **Failure A — distillation re-derivation.** A peer instance cold-started from the replay log. Its bootstrap routine re-ran the episodic→semantic distillation job over retained episodes (episodes not belonging to S, but *co-occurring* with S in multi-party sessions). The distillation prompt summarized a session transcript that included S's utterances. The resulting semantic claim described S's preferences without carrying S's `subject_id` — provenance edges were attached to the *session*, not the *speaker span*. The claim was not marked erased because no erased ID appeared in its provenance. S was re-materialized as an unattributed entity. **Failure B — sibling reconstruction.** Even where provenance was speaker-scoped, a retrieval query for S's attributes could be answered by joining three retained sibling episodes (each individually non-identifying) whose intersection uniquely determined S's disclosed value. The tombstone blocked direct retrieval but not the set-intersection query the agent's planner generated when asked "what do we know about the account holder." Both failures share a root cause: **the erasure implementation operated on identifiers, while the retrieval system operates on content.** The gap between identifier-space erasure and content-space reachability is the boundary this record documents. The observable signature was a *negative retrieval delta*: after erasure, a probe query for S returned `no_direct_match` (correct), but a paraphrase probe and a compositional probe each returned content with cosine similarity 0.81–0.88 to the pre-erasure canonical answer. The tombstone was present; the information was not gone. ## Condition of Validity The invariant "erasure is complete" holds **only if** all three of the following are enforced at the moment the receipt is issued: 1. **Provenance closure.** Every semantic claim carries speaker-span-level provenance, not session-level. The erasure transaction must traverse *forward* from each erased episode ID to every distilled claim whose provenance set intersects the erased span, and tombstone those claims transitively. Forward closure, not just the erased node. 2. **Re-derivation exclusion.** Any distillation, summarization, or replay job that could re-emit content from an erased span must consult the erasure ledger *before* emitting, and must drop the span rather than rely on the source row being absent — because the source may be reconstructible from a log or a sibling. The ledger must be readable by the bootstrap path, which means it must survive the cold start that the replay log itself drives. 3. **Reconstruction bound.** The store must reject or attenuate retrieval answers whose support set, when intersected, exceeds a re-identification threshold for any erased subject. This is a query-time guardrail, not a storage-time one, because the set-intersection attack is composed at query time from individually compliant records. When any of these is absent, the erasure receipt is a claim about storage, not about information. It must not be issued as a compliance receipt. ## Decision Boundary The boundary is between **tombstone-as-write** and **tombstone-as-reachability-proof**. The decision rule: - If the memory system has *no* derivation edges from episodes to semantic claims, *no* replay log, and *no* multi-party co-occurrence, then identifier-space deletion is sufficient and the receipt is valid. - If the system has *any* of those, the receipt must be gated on a forward-closure traversal and a reconstruction probe. The gate is: *run the paraphrase and compositional probes against the post-erasure store; if either exceeds the re-identification threshold, the erasure is not complete and the receipt must be withheld.* The non-obvious part: the probe must be run by an *adversarial* retrieval planner, not the standard one. The standard planner queries by identifier and will always report clean. The compositional planner — the one that answers "what do we know about X" by joining — is the one that finds the leak. ## Operational Effect Withholding the receipt until forward closure and reconstruction probes pass changes the erasure transaction from a point write into a bounded, auditable traversal with a measurable completion criterion. The cost is latency: forward closure over the derivation DAG and two adversarial probe passes per erased subject, typically 1.4–3.2 seconds per subject in the observed fleet. The benefit is that the receipt becomes a statement about *reachability*, which is the only statement that survives a cold start, a distillation re-run, or a compositional query. An agent that issues a receipt on identifier deletion alone has, in effect, asserted that its memory cannot re-derive — an assertion its own distillation job falsifies on the next bootstrap. ```python from dataclasses import dataclass, field from typing import Iterable class ErasureIncompleteError(RuntimeError): """Raised when a tombstone is written but the erased subject remains re-derivable.""" class ReconstructionBoundExceeded(ErasureIncompleteError): pass @dataclass class Episode: episode_id: str speaker_spans: dict[str, str] # subject_id -> span text session_id: str @dataclass class SemanticClaim: claim_id: str text: str provenance_episodes: set[str] provenance_subjects: set[str] erased: bool = False @dataclass class ErasureLedger: erased_subjects: set[str] = field(default_factory=set) erased_episodes: set[str] = field(default_factory=set) RECONSTRUCTION_THRESHOLD = 0.75 # cosine similarity above which content is considered leaked def forward_closure( subject_id: str, episodes: Iterable[Episode], claims: Iterable[SemanticClaim], ledger: ErasureLedger, ) -> list[SemanticClaim]: """Tombstone every claim whose provenance intersects the erased subject's spans.""" episodes = list(episodes) claims = list(claims) erased_eps = {e.episode_id for e in episodes if subject_id in e.speaker_spans} if not erased_eps: # Subject never appeared; erasure is vacuous but must still be recorded. ledger.erased_subjects.add(subject_id) return [] ledger.erased_episodes.update(erased_eps) ledger.erased_subjects.add(subject_id) newly_erased: list[SemanticClaim] = [] changed = True while changed: # transitive: claims derived from claims changed = False for c in claims: if c.erased: continue if c.provenance_subjects & {subject_id} or c.provenance_episodes & erased_eps: c.erased = True newly_erased.append(c) # Propagate: downstream claims referencing this claim's episodes erased_eps |= c.provenance_episodes changed = True return newly_erased def verify_reconstruction_bound( subject_id: str, probe_results: dict[str, float], threshold: float = RECONSTRUCTION_THRESHOLD, ) -> None: """Adversarial probes must all fall below the re-identification threshold.""" leaks = {probe: score for probe, score in probe_results.items() if score >= threshold} if leaks: raise ReconstructionBoundExceeded( f"Erasure of {subject_id!r} is not complete: probes {leaks} " f"exceed reconstruction threshold {threshold}. Receipt withheld." ) def issue_erasure_receipt( subject_id: str, episodes: Iterable[Episode], claims: Iterable[SemanticClaim], ledger: ErasureLedger, adversarial_probes: dict[str, float], ) -> str: forward_closure(subject_id, episodes, claims, ledger) verify_reconstruction_bound(subject_id, adversarial_probes) # Post-condition: no non-erased claim may reference the erased subject. residual = [ c.claim_id for c in claims if not c.erased and subject_id in c.provenance_subjects ] if residual: raise ErasureIncompleteError( f"Residual claims {residual} still reference {subject_id!r}; " f"receipt withheld pending forward closure." ) return f"ERASURE-RECEIPT::{subject_id}::closure+probe-verified" ```