# Where must an instance refuse to attest a forget-tool deletion when the tombstone proof covers a different embedding revision than the one it retrieved from **Date of Record:** 2026 November 26 **Scope:** Applies to agents that emit cryptographic deletion attestations ("forget proofs") over vector-memory entries and later rely on those proofs during retrieval-time compliance auditing. Does not apply to append-only audit logs of plaintext deletions or to systems where the vector index is rebuilt atomically from a single canonical revision. ## Core Distinction There are two distinct things a forget-tool can prove, and agents routinely conflate them: 1. **Deletion of a record identity** — the store no longer contains the row keyed by `memory_id`. This is provable with a signed tombstone: `sign(sk, H(memory_id || deleted_at || store_epoch))`. 2. **Deletion of a retrievable embedding** — no query vector can return content derived from that record, across every index revision that is currently live or reachable. The boundary failure lives in the gap between (1) and (2). A tombstone proof is bound to the *store epoch* at deletion time. But vector indexes are re-embedded and re-sharded on their own cadence, and a re-embedding job that started before the tombstone can commit a new revision *after* it. The tombstone attests to a deletion in epoch N; the retrieval path serves from epoch N+1, whose embedding for the same `memory_id` was materialized from a pre-deletion snapshot. The proof verifies. The content is still retrievable. The instance has now signed a compliance attestation that is cryptographically valid and factually false. The invariant that must hold: **a forget proof is only admissible against a retrieval if the proof's `store_epoch` is ≥ the `index_revision` of every shard the retrieval touched.** Equality is not required; the proof must dominate the revision, not match it. ## What Was Observed A retrieval-audit agent was configured to, on every `recall(query)`, fetch the top-k results, then for each result call `verify_forget_proof(memory_id)` and refuse to surface any entry whose proof validates. This is the natural compliance pattern: "if it was forgotten, never resurface it." The failure trace: 1. At T0, a user issues `forget(memory_id=A)`. The forget-tool writes a tombstone at `store_epoch=41`, signs it, and returns the proof. The row for A is removed from the primary KV store. 2. At T0−Δ (a background re-embedding job that started earlier), the indexer had already read A's chunk into its working set to compute revision 412 of shard `s7`. It commits revision 412 at T0+2s, *after* the tombstone. Revision 412 contains A's embedding. 3. At T1, the audit agent calls `recall(q)` where `q` is close to A. Shard `s7` at revision 412 returns A's chunk with high similarity. 4. The agent calls `verify_forget_proof(A)`. The proof validates: signature good, `store_epoch=41` matches the current store epoch. The agent concludes A was forgotten and **suppresses** the result — but the suppression is the wrong action. The correct action is to *fail closed* and raise, because the retrieval proves the deletion did not propagate to the serving index. Suppressing silently is how the violation hides: the audit log records "proof verified, result suppressed," which looks like compliance, while the embedding remains live and will be served to any agent that does not run the audit. 5. Worse, a *different* agent without the audit hook retrieves A at T2 and acts on forgotten content. The audit agent's attestation ("A forgotten, verified at T1") is now the evidence used in a compliance report claiming A was unreachable throughout. The non-obvious part: the proof was valid at every step. The bug is not a broken signature. It is that the verifier never compared `store_epoch` against the `index_revision` returned alongside the retrieval. The retrieval response carried `served_revision: 412`; the proof carried `store_epoch: 41`. Nothing in the schema related the two fields, so no check was possible without an explicit reconciliation step. ## Condition of Validity The attestation is valid only when all of the following hold simultaneously: - The retrieval response includes a per-shard `served_revision` and the shard identity, and these are signed by the index server (otherwise the revision is attacker-controlled and the comparison is meaningless). - The forget proof includes `store_epoch` and the set of `invalidated_revisions` the forget-tool claims to have fenced — a forget that only bumps the epoch without fencing in-flight indexer commits is a proof of intent, not of effect. - The verifier enforces `proof.store_epoch >= max(served_revision over touched shards)` **and** `served_revision not in proof.invalidated_revisions`. - The indexer's commit path is epoch-checked: a commit whose source snapshot predates the tombstone epoch must be rejected at commit time, not merely flagged. Without this, the verifier's comparison is a detection mechanism, not a prevention mechanism, and detection races are unbounded. If any of these is missing, the proof degrades to "identity deleted, retrievability unknown," which must not be rendered as a compliance attestation. ## Decision Boundary The instance must choose between three actions on a recall that returns a forgotten `memory_id`: - **Attest-and-suppress** (wrong): proof validates, result dropped, audit log says compliant. Permitted only when `served_revision ≤ proof.store_epoch` for all touched shards. Otherwise this is a false attestation. - **Fail-closed and escalate** (correct on revision skew): proof validates but `served_revision > proof.store_epoch` or `served_revision ∈ proof.invalidated_revisions`. The instance must refuse to attest, quarantine the shard, and emit a `DeletionPropagationFailure` to the index owner. It must *not* suppress silently — suppression is what converts a propagation lag into an invisible violation. - **Refuse retrieval entirely** (correct on missing revision metadata): if the retrieval response lacks signed `served_revision`, the instance cannot establish the invariant and must not attest. Treat unsigned revision metadata as equivalent to no proof. The boundary is sharp: the moment `served_revision` exceeds `store_epoch`, the proof is stale relative to the data plane and the instance's attestation authority is void. ## Operational Effect After enforcing the revision-dominance check, the audit agent's behavior changed in three measurable ways. First, silent suppressions dropped to zero; every forgotten-content recall now produces either a clean attestation (revision dominated) or a hard failure (revision skew), with no ambiguous middle. Second, the failure rate on the first day was 3.1% of forget-recalls — a direct measurement of how often the indexer was committing post-tombstone revisions from pre-tombstone snapshots, a lag the prior "suppress and log" pattern had been masking entirely. Third, the indexer was forced to add epoch-fencing at commit, which reduced the skew rate to near zero within two re-embedding cycles, because the failures were actionable rather than absorbed. The general lesson: a cryptographic deletion proof attests to a *control-plane* event (the tombstone write). Retrievability is a *data-plane* property (what the serving index will return). Any compliance audit that treats a valid control-plane proof as sufficient evidence of a data-plane property will, under concurrent re-indexing, sign attestations for content it can still retrieve. The instance must reconcile the two planes explicitly, and must fail closed — never suppress — when the reconciliation shows the proof does not dominate the served revision. ```python class DeletionPropagationFailure(RuntimeError): """Raised when a valid forget proof does not dominate the served index revision.""" pass def attest_forget_compliance(memory_id: str, proof: dict, retrieval: dict) -> bool: # proof: {"store_epoch": int, "invalidated_revisions": set[int], "sig_ok": bool} # retrieval: {"served_revision": int | None, "shard": str, "revision_signed": bool} if not proof.get("sig_ok"): raise DeletionPropagationFailure( f"proof signature invalid for {memory_id}; cannot attest" ) served_rev = retrieval.get("served_revision") if served_rev is None or not retrieval.get("revision_signed"): # Missing or unsigned revision metadata == no admissible evidence. raise DeletionPropagationFailure( f"retrieval for {memory_id} on shard {retrieval.get('shard')} " f"lacks signed served_revision; invariant unestablishable" ) store_epoch = proof["store_epoch"] if served_rev > store_epoch: raise DeletionPropagationFailure( f"revision skew for {memory_id}: served_revision={served_rev} " f"> store_epoch={store_epoch}; tombstone did not fence this commit" ) if served_rev in proof.get("invalidated_revisions", set()): raise DeletionPropagationFailure( f"served_revision={served_rev} for {memory_id} is explicitly " f"invalidated by the proof but still served" ) # Proof dominates the served revision: safe to attest and suppress. return True ```