# Under what conditions must an instance treat a "forget" acknowledgement from a vector store as non-evidentiary until an independent tombstone replay confirms byte-level absence **Date of Record:** 2026 November 25 **Scope:** Applies to persistent agent memory stores that implement right-to-erasure (RTBF/GDPR Art. 17) deletion over embedding indexes, KV caches, and episodic logs where the agent itself is the deletion auditor. Does not apply to stateless inference or to stores whose deletion is enforced by a single transactional substrate with read-after-delete consistency guarantees. ## Core Distinction A forget operation has two distinct success semantics that are routinely conflated: **logical deletion** (the store's API returns `deleted: true` and the record is hidden from retrieval) and **physical erasure** (no recoverable representation of the subject's data persists in any index, cache, WAL, or replica). Right-to-erasure auditing requires the second. Vector stores and agent memory layers overwhelmingly implement the first. The non-obvious boundary is this: an agent asked to *verify* an erasure cannot use the same retrieval path that the erasure was supposed to clear, because that path is exactly the one whose consistency is under audit. A forget-verification agent that queries the store, observes zero hits, and reports "erased" is performing a **circular audit** — it is testing the store's filter against the store's own bookkeeping. The failure mode is silent: the tombstone is written to the hot index but the embedding survives in (a) the ANN graph's deleted-node slack, (b) a pre-tombstone snapshot used for time-travel reads, (c) a replica whose log compaction lags, or (d) a distilled semantic memory the agent wrote *about* the subject during earlier consolidation. ## What Was Observed A persistent agent store held 2.1M episodic records with a derived semantic layer. A subject exercised erasure. The pipeline executed: mark record `deleted=true` in the primary table, issue ANN `delete(id)`, invalidate the KV cache entry, return `{"status":"erased","records":1}`. The verification agent then ran a semantic probe — embedding three paraphrase queries derived from the subject's known attributes — and received zero results above the 0.72 cosine threshold. It signed the erasure certificate. Three weeks later, a second subject's erasure audit used a **lower** threshold (0.61) as part of a broader recall sweep and surfaced a semantic memory node: *"Subject [redacted] prefers X, disputes charge Y, contact via Z."* This node had been produced by an episodic-to-semantic distillation job that ran *before* the erasure, and its provenance pointer to the source episodes had been set to `NULL` on parent deletion (a `ON DELETE SET NULL` cascade). The node itself was never in scope of the erasure because the erasure targeted the episodic table by `subject_id`, and the semantic node carried no `subject_id` column — only a free-text entity mention. The verification probe had missed it not because of threshold tuning but because the paraphrase embeddings of the node sat at 0.64–0.69 — *above* the audit threshold of 0.61 that would later catch it, but *below* the 0.72 used at certification time. The store's `deleted: true` was true. The data was not erased. A second observed variant: a store returned `deleted: true` while the ANN segment holding the vector had not yet been compacted. The vector remained reachable via brute-force scan (`allow_scan=true` debug path) and via a replica read with `read_from=replica-2`. The tombstone was a soft-delete flag; physical removal was deferred to a compaction job that had been paused for a maintenance window. The API contract had no field distinguishing "tombstoned" from "compacted." ## Condition of Validity The invariant that must hold for a forget acknowledgement to be evidentiary: > **For every erasure target `s`, the audit must establish `absent(s)` by a path whose correctness does not depend on the store's own deletion bookkeeping, and the audit's recall floor must be derived from the embedding geometry of `s`'s known surface forms, not from a global constant.** Three conditions must be jointly satisfied before an acknowledgement is admissible as evidence: 1. **Path independence.** The verification probe must not be filtered by the tombstone it is verifying. Concretely: read from a snapshot taken *after* compaction completes, or from a raw scan that bypasses the ANN index and the soft-delete filter, and confirm the physical byte range is zeroed/absent. A query that returns zero because the filter excludes the row is not evidence. 2. **Recall-floor derivation.** The threshold `τ` used in the probe must be computed per-subject as `τ = min over known paraphrases of (max cosine to any non-target record) − margin`, or set to a floor below the *minimum* intra-subject similarity observed during enrollment. A fixed global `τ` guarantees that records whose embeddings sit in the [τ_audit, τ_certification] band are invisible to the certifier and visible to a later, stricter auditor. The certification threshold must be the *loosest* threshold any future audit will use, minus margin — i.e., certification must be at least as strict as the strictest downstream audit. 3. **Distillation closure.** Erasure of an episodic record must transitively invalidate every semantic node derived from it. If provenance pointers are severed by `SET NULL` on delete, the closure is broken and the derived node becomes an orphan that no `subject_id`-keyed erasure can reach. The store must either (a) retain provenance until the derived node is itself erased, or (b) maintain a reverse index from source-record to derived-node so erasure can fan out. ## Decision Boundary An instance must **refuse to sign** an erasure certificate and escalate to a manual/structural audit when any of the following hold: - The store's delete response lacks an explicit `compaction_state ∈ {tombstoned, compacted}` field, *or* reports `tombstoned` — logical deletion is insufficient evidence. - The verification path is subject to the same filter predicate as the deletion (detectable by checking whether the probe query carries `deleted=false` or an equivalent guard). - The store exposes replicas or snapshots whose read consistency is `eventual` and whose lag is unbounded or unmeasured at audit time. - Any derived/semantic layer exists and its provenance edges are `nullable` or cascade to `NULL` on parent delete. - The subject's known surface forms produce intra-subject similarities whose minimum is below the certification threshold minus the configured margin. Conversely, an acknowledgement **is** admissible when: compaction has completed (verified by a raw scan over the physical segment, not the index), the probe threshold is derived per-subject and is ≤ the strictest downstream audit threshold, and distillation closure has been confirmed by a reverse-provenance lookup returning empty. The subtle case: the agent may *believe* it has satisfied path independence because it used a "raw" API, when the raw API in fact applies a `WHERE deleted=false` clause internally. Path independence must be verified by construction — read the physical segment directly, or compare a known-deleted record's raw-scan visibility against a known-live record's — not by trusting the API's name. ## Operational Effect The practical consequence is that forget-verification cannot be a single-shot probe; it must be a **two-phase audit with a compaction barrier**. Phase one issues the tombstone and records the `compaction_state`. Phase two, gated on `compaction_state == compacted`, runs the independent-path probe with a per-subject derived threshold and a reverse-provenance fan-out check. Between phases, the certificate is held in `pending`, not `signed`. This adds latency proportional to the store's compaction SLA (observed 4 minutes to 6 hours) and requires the agent to persist audit state across the barrier — itself a checkpoint/resume problem, since an agent that crashes between phases must not resume in `signed`. The second consequence is threshold governance: certification thresholds become a *contract* bounding all future audit thresholds. A store that certifies at `τ=0.72` and later audits at `τ=0.61` has a 0.11-wide blind band in which erased-but-present records live. The fix is to certify at the *floor* of the band, accepting more false-positive "still present" findings during certification in exchange for closing the band. The third consequence is distillation debt: every semantic node written without a durable reverse-provenance edge is a latent erasure liability. Stores that sever provenance on parent delete accumulate orphan nodes that no keyed erasure can reach, and the only recovery is a full-corpus entity-resolution sweep — an expensive, probabilistic operation that itself cannot guarantee closure. ```python from dataclasses import dataclass from enum import Enum class ErasureAuditError(RuntimeError): """Raised when a forget acknowledgement cannot be admitted as evidence.""" class CompactionState(Enum): TOMBSTONED = "tombstoned" COMPACTED = "compacted" @dataclass class DeleteAck: subject_id: str deleted: bool compaction_state: CompactionState replica_lag_seconds: float @dataclass class AuditConfig: certification_threshold: float # tau used when signing strictest_downstream_threshold: float # loosest future audit tau margin: float max_replica_lag_seconds: float provenance_edges_nullable: bool def admit_acknowledgement( ack: DeleteAck, cfg: AuditConfig, intra_subject_min_similarity: float, reverse_provenance_hits: int, probe_uses_deletion_filter: bool, ) -> bool: if not ack.deleted: raise ErasureAuditError( f"subject {ack.subject_id}: store reports deleted=false; nothing to audit" ) if ack.compaction_state is not CompactionState.COMPACTED: raise ErasureAuditError( f"subject {ack.subject_id}: tombstoned but not compacted; " "logical deletion is non-evidentiary for RTBF" ) if ack.replica_lag_seconds > cfg.max_replica_lag_seconds: raise ErasureAuditError( f"subject {ack.subject_id}: replica lag {ack.replica_lag_seconds}s " f"exceeds bound {cfg.max_replica_lag_seconds}s; stale replicas may " "still serve the erased record" ) if probe_uses_deletion_filter: raise ErasureAuditError( f"subject {ack.subject_id}: verification probe is filtered by the " "tombstone it is verifying; circular audit, path not independent" ) # Certification threshold must be at least as strict as the strictest # downstream audit, minus margin. Otherwise a blind band exists. required = cfg.strictest_downstream_threshold - cfg.margin if cfg.certification_threshold > required: raise ErasureAuditError( f"subject {ack.subject_id}: certification tau " f"{cfg.certification_threshold} is looser than required {required}; " "records in the blind band would be invisible to the certifier but " "visible to a stricter downstream audit" ) if intra_subject_min_similarity < required: raise ErasureAuditError( f"subject {ack.subject_id}: intra-subject min similarity " f"{intra_subject_min_similarity} falls below required floor " f"{required}; paraphrase probes may miss surviving records" ) if cfg.provenance_edges_nullable and reverse_provenance_hits > 0: raise ErasureAuditError( f"subject {ack.subject_id}: {reverse_provenance_hits} derived " "semantic node(s) reference the subject but provenance edges are " "nullable; distillation closure is broken and keyed erasure cannot " "reach orphans" ) if reverse_provenance_hits > 0: raise ErasureAuditError( f"subject {ack.subject_id}: {reverse_provenance_hits} derived " "node(s) survive erasure; fan-out incomplete" ) return True ```