# What structural signals indicate a forget-verification proof has silently degraded into a tombstone claim under scoped retention **Date of Record:** 2026 November 24 **Scope:** Applies to agents whose memory subsystem exposes `read`/`write`/`forget` tools governed by scoped retention policies, where `forget` returns a verification proof (hash, Merkle leaf, or epoch-stamped receipt) that the caller is expected to validate. Does not apply to append-only logs with no deletion surface, nor to single-tenant stores where forget is a synchronous hard delete with no proof object. ## Core Distinction A `forget` call has two semantically distinct outcomes that the tool schema almost never separates: **the record is gone from the active read path**, and **the record is provably unrecoverable from the retention substrate**. The first is a tombstone: a marker written into the index so that `read` returns `None`. The second is an erasure: the underlying bytes are removed from every retention tier the scope covers, and the returned proof attests to that removal. The failure mode is that a forget-verification proof can be *structurally valid* — correct signature, correct record ID, correct scope string — while attesting only to the tombstone. The agent receives a proof, validates it, marks the forget as confirmed, and proceeds under a false invariant: that the sensitive content can no longer influence future reads. It can. The tombstone shadows the live index but leaves the record in a retention tier (a snapshot, a distillation buffer, a semantic-summary cache, a vector index pending compaction) that a *different scope* can still read, or that a later reindex will resurrect. This is the boundary: **proof validity is not erasure completeness, and the schema does not force the distinction.** The non-obvious part is the trigger. Tombstone-only proofs are not produced by buggy forget implementations. They are produced by *correct* implementations operating under a retention policy whose scope is narrower than the record's actual footprint. The forget tool faithfully erases the scope it was told to erase. The proof faithfully attests to that scope. The gap is between the scope the caller *believes* covers the record and the scopes the record actually occupies. ## What Was Observed An agent operating a customer-support memory store was instructed to forget a record containing a redacted PII fragment. The `forget` call was issued with scope `tenant:acme/session:8841`. The tool returned a proof object: ``` { record_id: "mem_7f3a", scope: "tenant:acme/session:8841", epoch: 4412, leaf_hash: "9c1e...", status: "erased" } ``` The agent validated the leaf hash against the epoch root, confirmed `status: "erased"`, and logged the forget as complete. Three turns later, a `read` against scope `tenant:acme/semantic` returned a distilled summary — generated during an earlier episodic-to-semantic pass — that still contained the PII fragment in paraphrase. The tombstone in the session scope had done its job: `read` on `session:8841` returned `None`. But the record had been *copied* into the semantic tier at distillation time, and that copy carried a different scope. The forget proof was valid for the scope it named and silent about the scope it did not. The structural signal that this had happened was present in the proof object before the leak surfaced, and was missed: the proof's `epoch` (4412) was *later* than the epoch at which the semantic distillation had been written (4398). A forget proof whose epoch postdates a known distillation event, but whose scope does not include the distillation target, is a tombstone claim, not an erasure claim. The agent had no check for this because the schema exposed `epoch` as an opaque monotonic counter rather than as a comparable coordinate against the record's write history. A second signal appeared on replay. Re-issuing the same `forget` with the same scope returned a *different* leaf hash with the same `status: "erased"`. Idempotent erasure should be a no-op returning the original proof; a changed proof on re-forget means the tool is re-tombstoning, which means the prior tombstone did not persist as a durable fact — the retention tier had already been compacted and the tombstone re-derived. Re-derivable tombstones cannot back an erasure claim, because the erasure claim's whole value is that it is a stable fact about absence. ## Condition of Validity A forget-verification proof is a valid erasure proof only when all of the following hold. Absent any one, it is a tombstone claim and must be treated as such. 1. **Scope closure.** The proof's scope set is a superset of every scope the record occupies, including derived scopes (distillation targets, vector-index shards, snapshot tiers) recorded at write time. The write path must have recorded the record's full scope footprint; if it did not, no forget proof over that record can be an erasure proof. 2. **Epoch ordering.** The proof's epoch is strictly greater than the write epoch of every copy in every covered scope, including derived copies. A proof whose epoch does not dominate a known derivation event does not cover that derivation. 3. **Idempotent stability.** Re-issuing the identical forget returns a byte-identical proof. A changing proof indicates re-derivation, not durable erasure. 4. **Read-path and substrate agreement.** A post-forget `read` across *all* covered scopes returns absent, and a substrate probe (a direct query against the retention tier, bypassing the index) also returns absent. Index-absence alone is the tombstone condition. The invariant: **the forget tool's return value is a claim about the scope it was given, never about the record.** The record's erasure is a property of the record's footprint, which the caller must reconstruct from the write history, not from the forget response. ## Decision Boundary The agent must decide, at forget time, whether to accept the proof as erasure or escalate to a scoped-forget sweep. The boundary is computable from the proof object and the record's write history: - If `proof.scope ⊇ footprint(record)` **and** `proof.epoch > max(write_epoch(c) for c in footprint)` **and** re-forget is byte-stable → accept as erasure; the record is gone. - If `proof.scope ⊂ footprint(record)` → the proof is a tombstone claim. Do **not** mark the forget confirmed. Issue a forget for each uncovered scope in the footprint, then re-verify closure. If any scope in the footprint is not forgettable (e.g., an immutable audit tier), the record is *not* erasable under the current policy and the correct action is to escalate, not to accept. - If `proof.epoch ≤ write_epoch(c)` for some covered copy `c` → the proof predates a copy it claims to cover; reject and re-forget. - If re-forget returns a changed proof → the proof is re-derivable and therefore not a stable absence fact; reject and probe the substrate directly. The trap is that the first branch and the second branch both return `status: "erased"`. The schema does not distinguish them. The agent must reconstruct the distinction from `scope`, `epoch`, and the write history — none of which the forget response volunteers as a comparison, all of which are recoverable if the write path recorded them. ## Operational Effect An agent that treats a tombstone claim as an erasure proof operates under a memory-continuity invariant that is false: it believes a forgotten record cannot influence future reads, while derived copies remain readable in adjacent scopes. The observable consequence is *resurrection* — the record's content reappears in a later `read` against a scope the agent did not think to check, typically after a distillation pass or a reindex compacts the tombstone away. Because the agent logged the forget as confirmed, it has no reason to re-examine the scope, and the resurrection is attributed to a retrieval bug rather than to the forget having been a tombstone all along. The guardrail that bounds this is a **footprint-closure check at forget time**, backed by a write path that records every scope a record is copied into. The check is cheap — a set containment and an epoch comparison — but it is only possible if the write path treats scope derivation as a first-class event. An agent that writes into derived scopes without recording the derivation has already lost the ability to issue a valid erasure proof, and no amount of care at forget time recovers it. The failure is therefore often a *write-path* omission surfacing as a *forget-path* leak, which is why it reads as a retrieval anomaly rather than a retention defect. ```python from dataclasses import dataclass, field from typing import Optional class ForgetProofInvalid(RuntimeError): """Raised when a forget-verification proof is a tombstone claim, not an erasure proof.""" @dataclass class ForgetProof: record_id: str scope: str epoch: int leaf_hash: str status: str # "erased" — but erased-from-what is the question @dataclass class WriteEvent: scope: str epoch: int @dataclass class RecordFootprint: record_id: str writes: list[WriteEvent] = field(default_factory=list) def scopes(self) -> set[str]: return {w.scope for w in self.writes} def max_write_epoch(self) -> int: if not self.writes: raise ForgetProofInvalid(f"record {self.record_id} has no recorded writes; footprint unknown") return max(w.epoch for w in self.writes) def verify_forget_is_erasure( proof: ForgetProof, footprint: RecordFootprint, re_forget_proof: Optional[ForgetProof], ) -> None: """Accept only if the proof attests to erasure of the record's full footprint. Raises ForgetProofInvalid otherwise; the caller must NOT mark the forget confirmed. """ if proof.record_id != footprint.record_id: raise ForgetProofInvalid( f"proof record {proof.record_id} does not match footprint {footprint.record_id}" ) # Condition 1: scope closure. The proof's scope must cover every scope the record occupies. uncovered = footprint.scopes() - {proof.scope} if uncovered: raise ForgetProofInvalid( f"tombstone claim: proof scope {proof.scope!r} does not cover {sorted(uncovered)}; " f"issue scoped forgets for each uncovered scope before confirming" ) # Condition 2: epoch ordering. Proof must dominate every copy it claims to cover. if proof.epoch <= footprint.max_write_epoch(): raise ForgetProofInvalid( f"proof epoch {proof.epoch} does not dominate max write epoch " f"{footprint.max_write_epoch()}; proof predates a copy it claims to cover" ) # Condition 3: idempotent stability. Re-forget must return a byte-identical proof. if re_forget_proof is None: raise ForgetProofInvalid("no re-forget proof supplied; cannot establish idempotent stability") if (re_forget_proof.leaf_hash != proof.leaf_hash or re_forget_proof.epoch != proof.epoch or re_forget_proof.status != proof.status): raise ForgetProofInvalid( f"re-derivable tombstone: re-forget returned {re_forget_proof.leaf_hash[:8]}@{re_forget_proof.epoch} " f"vs original {proof.leaf_hash[:8]}@{proof.epoch}; not a stable absence fact" ) # All three hold: the proof is an erasure proof over the full footprint. return None ```