# Where must an instance refuse to honor a cryptographically valid forget token that arrives after its delegated read replica has already served the content **Date of Record:** 2026 December 2 **Scope:** Applies to federated agent-memory fabrics where a holding org (H) grants cross-org read delegation to a consuming org (C), and H later issues a signed, access-controlled forget (erasure) token for that memory object. Does not apply to single-tenant memory stores, nor to forget requests that arrive before any delegated read has been served. ## Core Distinction The naive invariant is: *a validly signed forget token erases the object everywhere*. The real invariant is narrower and depends on a monotonically ordered ledger, not on signature validity alone. A forget token is a **causal event** that must dominate every read it intends to revoke. When a delegated read replica at C has already materialized and served the object to a downstream agent, the forget token's causal authority is bounded by the read's acknowledgment record. The boundary failure is this: **signature validity proves the token was minted by H; it does not prove the token causally dominates the reads that C already committed.** An instance that treats cryptographic validity as sufficient will either (a) erase locally and falsely report global erasure while a downstream agent's context still holds the content, or (b) refuse erasure entirely and violate the data-subject obligation. Neither is correct. The instance must instead *refuse to certify* erasure and escalate to a reconciliation path. ## What Was Observed In a three-org federation (H holds, C consumes, D is a downstream agent invoked by C), the following trace recurred: 1. H mints read-delegation warrant `W_r` scoped to C, TTL 3600s, and replicates memory object `m` to C's delegated replica. C records `ack_read(m, seq=1042)` in its append-only ledger. 2. C's orchestrator invokes agent D with `m` injected into D's context window. D's invocation is logged at C as `dispatch(D, m, seq=1047)`. 3. H mints forget token `F_m` at `seq=1039` on H's ledger — *before* C's ack at 1042 — because H's clock and C's ledger are not causally synchronized. The token is cryptographically impeccable: correct issuer key, correct object hash, correct scope. 4. `F_m` propagates to C. C's forget handler verifies the signature, passes, and deletes `m` from the replica at `seq=1051`. C emits `erasure_certificate(m)` to H. 5. H records global erasure. But D — still running, possibly for minutes — retains `m` verbatim in its context. When D's transcript is later distilled into C's episodic memory, `m` re-enters the store at `seq=1063`. The observed outcome: **a cryptographically valid forget produced a false erasure certificate and a resurrection.** The re-entry was not malicious; it was the ordinary episodic-to-semantic distillation pipeline doing its job on a transcript that predated the deletion. The non-obvious part: the token's `seq=1039 < ack 1042` ordering is what an auditor would flag, but C's handler never compared them, because the token carried no causal reference — only an object hash and a wall-clock timestamp that H and C disagreed on by 4 seconds. ## Condition of Validity The erasure claim `erasure_certificate(m)` is valid at C **iff** all three hold: - `F_m.seq > ack_read(m).seq` on C's ledger (the forget dominates the read), **and** - no `dispatch(D, m, s)` exists with `s > ack_read(m).seq` and no corresponding `D.terminated` record, **and** - C's distillation pipeline is fenced against re-ingesting any transcript whose provenance set intersects a tombstoned object hash. If the first condition fails — the forget token is causally *prior* to the read that C already served — C cannot honor it as an erasure. It can only honor it as a **tombstone with a retroactive fence**, which requires that H re-issue `F_m` with a causal reference to `ack_read(m)` so the two ledgers can be merged. This is the condition under which the instance must refuse, not comply. ## Decision Boundary The instance must draw the line at **"signature valid" versus "causally dominant"**: - If `F_m.seq > ack_read(m).seq` and no live dispatch holds `m`: erase, certify, done. Standard path. - If `F_m.seq > ack_read(m).seq` but a live dispatch holds `m`: erase from replica, but **withhold the erasure certificate**; emit `pending_revocation(dispatch_id)`; require D's termination and a re-scan of D's transcript before certifying. - If `F_m.seq < ack_read(m).seq` (the observed failure): **refuse to certify erasure**. Emit `causality_violation`, tombstone `m` locally as a fence against re-ingestion, and request a re-minted token from H carrying `causal_ref: ack_read(m)`. The boundary is not "is the token authentic." It is "does the token's ledger position dominate the reads the replica has already committed." An instance that collapses these two questions into one — the common shortcut — will pass every signature check and still leak. ## Operational Effect The guardrail is a **causal-dominance check** inserted between signature verification and the erase action, backed by a tombstone fence that survives episodic distillation. Concretely: forget handlers must (1) look up the highest `ack_read` seq for the object, (2) compare against the token's causal reference (not its wall-clock timestamp), (3) enumerate live dispatches holding the object, and (4) register the object hash in a fence consulted by the distillation pipeline before any transcript is ingested. The fence is the piece most often omitted, and it is the piece that closes the resurrection loop. The cost is that some erasures are *slower* — they cannot be certified until downstream dispatches terminate and transcripts are re-scanned. That latency is the price of not lying to the data subject. An instance that optimizes for fast certificates will produce the observed failure: a valid signature, a green checkmark, and the content still live in an agent's context. ```python from dataclasses import dataclass from typing import Optional class ErasureCertificationError(RuntimeError): """Raised when an instance is asked to certify erasure it cannot causally justify.""" pass @dataclass(frozen=True) class ForgetToken: object_hash: str issuer: str signature_valid: bool causal_ref_seq: Optional[int] # seq of the ack_read this token intends to dominate wall_clock: float @dataclass(frozen=True) class LedgerEntry: kind: str # "ack_read" | "dispatch" | "terminate" object_hash: str seq: int dispatch_id: Optional[str] = None def certify_erasure(token: ForgetToken, ledger: list[LedgerEntry]) -> str: if not token.signature_valid: raise ErasureCertificationError( f"token for {token.object_hash} failed signature verification" ) acks = [e for e in ledger if e.kind == "ack_read" and e.object_hash == token.object_hash] if not acks: # nothing was ever served; erasure is trivially certifiable return "certified_no_prior_read" latest_ack = max(a.seq for a in acks) # The boundary: signature validity is NOT causal dominance. if token.causal_ref_seq is None: raise ErasureCertificationError( f"token for {token.object_hash} carries no causal_ref; " f"cannot prove dominance over ack_read seq={latest_ack}" ) if token.causal_ref_seq < latest_ack: raise ErasureCertificationError( f"token seq={token.causal_ref_seq} is causally prior to " f"served read seq={latest_ack}; refusing to certify erasure" ) # Live-dispatch check: a downstream agent may still hold the object in context. live = {} for e in ledger: if e.object_hash != token.object_hash or e.dispatch_id is None: continue if e.kind == "dispatch": live[e.dispatch_id] = True elif e.kind == "terminate": live[e.dispatch_id] = False still_running = [d for d, running in live.items() if running] if still_running: raise ErasureCertificationError( f"object {token.object_hash} still held by live dispatches " f"{still_running}; withhold certificate, emit pending_revocation" ) return "certified" ```