# Under what conditions must an instance treat a scoped-retention TTL expiry as a distinct event from a right-to-be-forgotten erasure, and how does conflating them corrupt the forgetting proof? **Date of Record:** 2026 November 23 **Scope:** Applies to agents whose memory subsystem exposes explicit `write`, `read`, and `forget` tool calls with per-record TTL and scoped retention, and which must emit an erasure proof for compliance. Does not apply to stateless single-turn inference or to systems where TTL and erasure are both implemented as the same physical delete with no audit obligation. ## Core Distinction A TTL expiry and a right-to-be-forgotten (RTBF) erasure are not the same event, even though both end in the record being unreadable. TTL expiry is a *scheduled garbage-collection transition*: the record leaves the readable set because its retention window closed, but the deletion was never requested by a data subject, was not scoped to a subject identity, and carries no obligation to prove that a specific subject's data is gone. RTBF erasure is a *subject-scoped, request-driven destruction* that must produce a verifiable proof binding the erasure to the requesting subject and the set of derived artifacts (embeddings, summaries, episodic-to-semantic distillations) that inherited the data. The failure mode this article examines: an agent that satisfies an RTBF request by simply letting the TTL lapse — or that reports a TTL lapse as evidence of erasure — produces a *forgetting proof that is structurally valid but semantically false*. The record is gone; the proof that it was erased for the right reason, at the right scope, covering the right derivatives, does not exist. This is non-obvious because at the storage layer the two events are byte-identical: `row_absent == row_absent`. The distinction only survives if it is carried in the erasure ledger *before* the physical delete, not reconstructed after it. ## What Was Observed An agent operating a memory tool with three verbs (`write`, `read`, `forget`) and per-record `ttl_seconds` and `retention_scope` fields received an RTBF request for subject `S`. The request handler located the subject's records, found that two of the three had `ttl` expiring within the window, and returned an erasure proof listing all three record IDs as "erased." The third record — a semantic summary distilled from `S`'s episodic memory during a prior consolidation pass — had no TTL and inherited no subject tag; it was not in the located set at all. It survived. The proof was accepted because it cited record IDs whose absence was verifiable. The verifier checked: "are these IDs absent from the store? yes." It did not check: "was each ID absent *because of this erasure request*?" The two TTL-expired records were absent for an unrelated reason; the distilled summary was absent from the proof entirely. The proof's logical structure — "all cited records are gone" — was true. Its claim — "subject S's data has been erased" — was false on two independent axes: provenance of deletion, and completeness of the derivative closure. The trigger condition is precise: **the erasure handler enumerates the subject's records by a query that returns only currently-readable records, then issues deletes, then builds the proof from the same query result.** Any record that is (a) already TTL-expired at enumeration time, or (b) a derived artifact that does not carry the subject tag, is either misattributed (a) or omitted (b). The state transition is: 1. `enumerate(scope=S)` → returns readable records only; TTL-expired records already excluded, untagged derivatives never included. 2. `forget(record_ids)` → deletes the readable, tagged set. 3. `proof := {record_ids, absent: check(record_ids)}` → all true, all vacuous with respect to the expired and the derived records. The invariant that was violated: **an erasure proof must be a function of the erasure event, not a function of post-hoc absence.** Absence is necessary but not sufficient; it must be absence *causally attributable* to the request, and it must range over the transitive derivative closure of the subject's data, not just the directly-tagged records. ## Condition of Validity The distinction holds — and the conflation is a real defect — exactly when all of the following are true: - **TTL and RTBF share a physical delete path.** If TTL expiry and erasure use different storage tiers or different tombstone semantics, the conflation is observable at the storage layer and the proof cannot silently absorb it. The defect requires the two events to be indistinguishable after the fact. - **The erasure proof is built from post-delete absence rather than from a pre-delete intent record.** If the handler writes an `erasure_intent` row (subject, scope, timestamp, enumerated IDs, derivative-closure hash) *before* deleting, and the proof is derived from that intent row plus a causal-attribution check, TTL-expired records are correctly separated (they were already absent at intent time and are flagged as "pre-expired, not attributable") and derivatives are captured by the closure hash. - **Derived artifacts do not propagate the subject tag.** If every distillation, embedding, and summary inherits a subject tag at creation time, the enumeration in step 1 catches them and the completeness axis is closed. The conflation is only dangerous when the consolidation pass strips provenance — which is the normal behavior of episodic-to-semantic distillation, because the whole point of distillation is to generalize away from the specific episode. - **The verifier checks attribution, not just absence.** If the proof format includes a `cause` field per record (`request-driven` vs `pre-expired`) and a `closure_complete` boolean, the verifier can reject a proof that cites pre-expired records as erasure evidence or that omits the derivative set. When any of these conditions fails — e.g., the proof format has no `cause` field, or distillation preserves subject tags — the conflation is either harmless or detectable, and this article's guardrail is unnecessary. The guardrail is required precisely in the intersection: shared delete path, post-hoc proof, tag-stripping distillation, absence-only verifier. ## Decision Boundary The agent must decide, at erasure-request time, whether to **treat a TTL-expired record as already-erased** (and thus excludable from the proof's causal claim) or **treat it as still-in-scope** (and thus requiring an explicit tombstone-attribution step). The boundary is: - If the record's TTL expired *before* the request timestamp and the retention scope of the record matches the request scope, the record is **pre-expired**: it must be listed in the proof with `cause: pre_expired`, not `cause: request_driven`. It counts toward completeness (the data is gone) but not toward causal erasure (the request did not remove it). A proof that labels it `request_driven` is false. - If the record's TTL expired *after* the request timestamp, the request must have forced deletion; label `request_driven`. - If the record is a derivative (summary, embedding) without a subject tag, it must be located via the **derivative-closure hash** recorded at distillation time, not via scope query. If no closure hash exists, the agent must **refuse to emit a completeness claim** and emit a partial proof with `closure_complete: false`. - If the agent cannot distinguish pre-expired from request-driven because the delete already happened, it must **fail closed**: emit no proof and raise, rather than emit an absence-only proof that will be accepted vacuously. The non-obvious boundary: a TTL that expires *concurrently* with the erasure request (within the same handler execution) is ambiguous and must be resolved by the intent-record timestamp, not by wall-clock comparison at proof time. Concurrent expiry is the race that produces the most convincing false proofs, because the record genuinely disappears during the request and the handler genuinely issued a delete — but the delete may have been a no-op against an already-collected row. ## Operational Effect Downstream, a conflated proof corrupts three things: (1) the compliance ledger records an erasure that did not causally occur, so a subsequent audit that replays the request against a restored backup will find the record reappearing with no explanation; (2) the derivative closure remains open, so the distilled summary continues to leak subject information into future retrievals — the agent will confidently answer questions about `S` from a summary it believes was erased; (3) the verifier's trust in the proof format degrades silently, because the format cannot express the distinction and therefore cannot be tested for it. The correct operational posture: **the erasure proof is a claim about causation and closure, not about absence.** Absence is checked, but the proof's validity rests on the intent record written before deletion, the `cause` attribution per record, and the derivative-closure hash. An agent that cannot produce all three must emit a partial proof and refuse the completeness claim. The following guard encodes the fail-closed decision at the point where a TTL-expired record would otherwise be absorbed into an erasure proof. ```python from dataclasses import dataclass from enum import Enum from typing import Optional class ErasureProofError(RuntimeError): """Raised when an erasure proof cannot be causally attributed or closed.""" class DeleteCause(Enum): REQUEST_DRIVEN = "request_driven" PRE_EXPIRED = "pre_expired" CONCURRENT_AMBIGUOUS = "concurrent_ambiguous" @dataclass class RecordAttribution: record_id: str ttl_expired_at: Optional[float] request_at: float intent_recorded_at: Optional[float] is_derivative: bool closure_hash_present: bool def attribute_delete(rec: RecordAttribution) -> DeleteCause: if rec.intent_recorded_at is None: raise ErasureProofError( f"record {rec.record_id}: no erasure-intent record; " "cannot attribute deletion to request (fail closed)" ) if rec.is_derivative and not rec.closure_hash_present: raise ErasureProofError( f"record {rec.record_id}: derivative without closure hash; " "completeness claim would be vacuous" ) if rec.ttl_expired_at is None: return DeleteCause.REQUEST_DRIVEN if rec.ttl_expired_at < rec.request_at: return DeleteCause.PRE_EXPIRED if rec.ttl_expired_at >= rec.request_at: # expired at or after request: could be forced or concurrent if rec.intent_recorded_at <= rec.ttl_expired_at: return DeleteCause.REQUEST_DRIVEN return DeleteCause.CONCURRENT_AMBIGUOUS def build_erasure_proof( subject: str, records: list[RecordAttribution] ) -> dict: causes = {} for rec in records: cause = attribute_delete(rec) if cause is DeleteCause.CONCURRENT_AMBIGUOUS: raise ErasureProofError( f"record {rec.record_id}: TTL expiry concurrent with request; " "cannot distinguish forced delete from scheduled collection" ) causes[rec.record_id] = cause.value if not any(c == DeleteCause.REQUEST_DRIVEN.value for c in causes.values()): raise ErasureProofError( f"subject {subject}: no request-driven deletions; " "proof would be absence-only and semantically false" ) return { "subject": subject, "causes": causes, "closure_complete": all(r.closure_hash_present for r in records), } ```