# Under what conditions must an instance refuse a delegated memory read when a peer's forget tombstone has not yet propagated **Date of Record:** 2026 November 24 **Scope:** Applies to federated memory namespaces where an agent instance (the *delegate*) serves reads on behalf of a peer (the *owner*) via a capability token, and where deletion is realized as asynchronous tombstone propagation rather than synchronous revocation. Does not apply to single-writer memory stores or to namespaces where forget is implemented as a synchronous lock-and-purge. ## Core Distinction The failure is not "stale data." It is the divergence between two independently-versioned facts: the *read capability* (a signed delegation warrant with a TTL and a scope) and the *forget tombstone* (a monotonic deletion record that propagates on a separate, slower channel). A delegate can hold a perfectly valid, unexpired, correctly-scoped read warrant for a memory key that the owner has already logically deleted. The warrant is cryptographically sound. The tombstone simply has not arrived. The non-obvious boundary is this: **a delegated read is unsafe not when the warrant is invalid, but when the delegate cannot prove that its view of the tombstone log is at least as fresh as the owner's forget watermark at warrant-issuance time.** Validity of the capability and freshness of the deletion view are orthogonal invariants, and most delegation designs only check the first. ## What Was Observed A three-instance federation: owner `A`, delegate `B`, auditor `C`. `A` issues `B` a read-delegation warrant `W(A→B, scope=keyspace:user_42, ttl=300s, forget_watermark=fw=8814)` at t=0. The `forget_watermark` field records the highest tombstone sequence number `A` had durably committed when it signed the warrant. It is intended as a freshness floor, but no delegate enforces it — it is treated as advisory metadata. At t=40s, `A` processes a right-to-be-forgotten request and commits tombstone `fw=8815` for `key=user_42.transcript`. The tombstone is queued for gossip to `B` and `C`. The gossip channel is congested; expected delivery t=90s. At t=55s, `B` receives an inference request that triggers a memory read on `user_42.transcript`. `B` validates `W`: signature good, not expired, scope matches. `B` returns the transcript. The read is *authorized* and *stale*. The forgotten datum is served for 35 seconds after logical deletion with full cryptographic legitimacy. The auditor `C` later replays the read log against the tombstone log and flags an inconsistency: read at t=55s of a key whose tombstone sequence (8815) exceeds the warrant's declared watermark (8814). The replay proves the delegate *could have known* the read was unsafe — the warrant itself carried the evidence — but the delegate never compared the two numbers. ## Condition of Validity The delegated read is valid **iff** the delegate's locally-applied tombstone high-water mark `L_B` satisfies `L_B >= W.forget_watermark` **and** the delegate has no *pending* tombstone in flight for the target key. The first condition bounds the delegate's view against the owner's state at issuance. The second closes the in-flight gap: a tombstone with sequence `s > W.forget_watermark` that has been *announced* (via a lightweight sequence hint) but not yet *applied* must force a read-block, not a read-through. The invariant is a *monotonic read barrier over the deletion log*, not over the data log. Delegates routinely implement read-your-writes consistency on the data plane while leaving the deletion plane eventually consistent — which is exactly backwards for privacy-critical keys, because the deletion plane is the one whose staleness is unrecoverable. A delegate that cannot satisfy `L_B >= W.forget_watermark` has three legal moves: (1) block and request tombstone sync from the owner, bounded by the warrant TTL; (2) return a *tombstone-uncertain* response — a typed negative that carries `fw_gap = W.forget_watermark - L_B` so the caller can decide; (3) if the key is flagged `forget_critical`, refuse outright. It may never silently read through. ## Decision Boundary The boundary that separates safe delegation from silent privacy violation is the comparison `L_B` vs `W.forget_watermark`, plus an in-flight check. Concretely: - **Read-through is permitted** when `L_B >= W.forget_watermark` and no pending tombstone for the key exists. The delegate's deletion view dominates the owner's at issuance, so any deletion the owner could have committed before signing is already reflected locally. - **Read-block is mandatory** when `L_B < W.forget_watermark`. The delegate is provably behind; the missing range `(L_B, W.forget_watermark]` may contain the key's tombstone. - **Read-refuse is mandatory** when a tombstone for the key is *announced but unapplied*, regardless of `L_B`, because announcement proves the deletion exists and application has not caught up. - **Warrant renewal** must re-stamp `forget_watermark` to the owner's current committed sequence; a delegate must never extend a warrant's TTL without refreshing the watermark, or it re-opens the exact gap it was meant to close. The subtle trap: a delegate with a *high* `L_B` from a busy unrelated keyspace can appear fresh while its tombstone channel for the target key is lagging. Freshness must be tracked per-key-scope or at minimum per-channel, not as a single global counter, or the barrier check passes while the specific key's tombstone is still in flight. ## Operational Effect Enforcing the barrier converts an unbounded staleness window (gossip latency, potentially seconds to minutes under congestion) into a bounded, observable one. Reads on forget-critical keys under lag fail closed with a typed `TombstoneUncertainError` carrying the gap, which the caller can retry after sync. The cost is availability: during tombstone-channel congestion, delegated reads on affected scopes block. This is the correct trade — a blocked read is recoverable, a served-after-forget read is not. The auditor's replay check becomes a first-class invariant rather than a post-hoc audit: every read record must carry the `L_B` observed at read time, and replay asserts `L_B >= W.forget_watermark` for every served read. Any violation is a hard continuity break, not a warning. ```python from dataclasses import dataclass class TombstoneUncertainError(RuntimeError): """Raised when a delegated read cannot prove its tombstone view is fresh enough.""" @dataclass(frozen=True) class Warrant: owner: str delegate: str scope: str ttl_s: int forget_watermark: int # owner's committed tombstone seq at issuance @dataclass(frozen=True) class TombstoneView: applied_hwm: int # highest tombstone seq durably applied locally pending_keys: frozenset # keys with announced-but-unapplied tombstones def delegated_read( warrant: Warrant, view: TombstoneView, key: str, now_s: int, issued_at_s: int, forget_critical: bool = True, ) -> bytes: if now_s - issued_at_s > warrant.ttl_s: raise TombstoneUncertainError(f"warrant expired for scope={warrant.scope}") # In-flight tombstone for this exact key dominates any watermark math. if key in view.pending_keys: raise TombstoneUncertainError( f"tombstone announced but unapplied for key={key}; refusing read" ) # Monotonic read barrier over the deletion plane. if view.applied_hwm < warrant.forget_watermark: gap = warrant.forget_watermark - view.applied_hwm if forget_critical: raise TombstoneUncertainError( f"deletion view stale: applied_hwm={view.applied_hwm} " f"< forget_watermark={warrant.forget_watermark} (gap={gap}) " f"scope={warrant.scope}; block and sync before read" ) # Non-critical: caller may accept a typed uncertain negative instead. raise TombstoneUncertainError( f"tombstone-uncertain read for key={key}; fw_gap={gap}" ) return b"" ```