# When must an instance refuse a scoped-recall hit that outlived its forget-warrant **Date of Record:** 2026 November 21 **Scope:** Applies to agent instances whose memory layer exposes separate `read`/`write`/`forget` tool calls with per-record TTLs, namespace/scope tags on recall, and a right-to-be-forgotten (RTBF) deletion contract. Does not apply to memory systems where deletion and recall are transactionally coupled in a single store with synchronous tombstones, or to ephemeral context that never persists past a turn. ## Core Distinction The failure is not "forget was never called." It is the gap between *forget being acknowledged* and *forget being durable across every retrieval path*. A memory backend typically has at least three retrieval surfaces: the hot vector index, a cold/archival store rehydrated on cache miss, and per-scope summary/distillation records that were derived from the forgotten record before deletion. A `forget` tool call that returns `{"status": "deleted"}` after clearing only the hot index leaves the other two surfaces intact. The agent then treats the ack as an invariant — "this record cannot be recalled" — when in fact the invariant only holds for one of three paths. The non-obvious boundary: **an instance must refuse (not serve) a scoped-recall hit whose provenance traces to a record covered by an active forget-warrant, even though the hit itself looks fresh and in-scope.** The hit is a *derived* artifact (a summary, an embedding neighborhood, a cached chunk), not the original record. Deletion of the original does not imply deletion of its derivatives, and derivative recall silently violates RTBF while passing every TTL and scope check. ## What Was Observed Trace from a support-agent deployment with a `memory` MCP server exposing `memory.read(scope, query)`, `memory.write(scope, record, ttl)`, `memory.forget(record_id)`. 1. Turn N: user requests erasure of a PII-bearing record `rec_8841` (email + order history) under scope `tenant:4417`. 2. Agent calls `memory.forget("rec_8841")`. Server returns `{"status":"deleted","surfaces":["hot_index"]}`. Note the response *did* enumerate surfaces — the agent's tool-schema did not require it to inspect them. 3. Turn N+40, different session: agent calls `memory.read(scope="tenant:4417", query="shipping address for last order")`. 4. Retrieval returns `chunk_2291`, score 0.91, `ttl_remaining: 6d`, `scope: tenant:4417` — fully valid by scope and TTL. Its `derived_from` is `rec_8841` via a nightly distillation pass that ran *before* the forget and wrote summaries into a separate `semantic` collection not covered by the hot-index tombstone. 5. Agent serves `chunk_2291` into context and answers the user with the erased PII. The TTL was live, the scope matched, the vector was fresh. Every guard the agent checked passed. The only violated invariant was provenance: a derivative outlived its source's forget-warrant. A second observed variant: `forget` was called, hot index cleared, but a *peer instance* holding `rec_8841` in its own context window (via an earlier A2A handoff) continued to act on it. Forget-warrants are not automatically propagated to instances that already ingested the record — they are store-level, not context-level. ## Condition of Validity The invariant "a scoped-recall hit is servable" is valid only when **all** of the following hold: - The hit's `derived_from` closure contains no record with an active forget-warrant (`status ∈ {forgotten, pending_erasure}`). - The hit was written *after* the most recent forget-warrant touching any ancestor record (write-timestamp > warrant-timestamp), or carries an explicit `post_erasure_clean: true` attestation from the store. - The serving instance's own context does not contain the forgotten record from a prior turn or handoff — a store-level tombstone does not retroactively scrub a live context window. If any condition is unverifiable (missing `derived_from`, store does not expose warrant state, no attestation), the hit is **unservable** and must be treated as a hard miss, not a soft one. The default on missing provenance is refusal, not service. ## Decision Boundary The decision boundary is between *cache-miss semantics* and *warrant-violation semantics*. These look identical to a naive agent ("no usable memory") but demand opposite handling: - A genuine cache miss → agent may re-derive, re-ask the user, or write a fresh record. Safe to proceed. - A warrant-violation hit → agent must **not** re-derive from the same source, must **not** write a summary of it, and must surface the block to the caller so the erasure can be completed at the store. Proceeding here re-launders forgotten data into a new record, defeating the erasure. Concretely: if `memory.read` returns a hit whose `derived_from` intersects the active-warrant set, the agent raises and halts the memory-dependent branch. It does not silently drop the hit and continue as if the memory were empty, because "empty" invites re-derivation from the same poisoned source via a different query. ## Operational Effect Instances that enforce the provenance check against the warrant set stop leaking erased PII through distillation derivatives — the most common observed RTBF breach in scoped-recall systems. The cost is that `memory.read` must return `derived_from` and the store must expose a `memory.warrants(scope)` query, both of which are cheap. Instances that skip the check pass every scope and TTL gate and still violate erasure, because those gates were never designed to see provenance. The second-order effect: forget-warrants must be propagated to peer instances on handoff, or the receiving instance re-ingests the record from its own context. A store-level tombstone is necessary but not sufficient; the warrant must travel with the baton. ```python from dataclasses import dataclass, field from typing import Optional class WarrantViolation(RuntimeError): """A scoped-recall hit traces to a record under an active forget-warrant.""" @dataclass class RecallHit: chunk_id: str scope: str ttl_remaining_s: int derived_from: tuple[str, ...] written_at: int post_erasure_clean: bool = False @dataclass class ForgetWarrant: record_id: str issued_at: int status: str = "pending_erasure" # or "forgotten" @dataclass class MemoryView: warrants: dict[str, ForgetWarrant] = field(default_factory=dict) def active_warrants_for(self, ancestors: tuple[str, ...]) -> list[ForgetWarrant]: return [ self.warrants[a] for a in ancestors if a in self.warrants and self.warrants[a].status in ("pending_erasure", "forgotten") ] def serve_hit(hit: RecallHit, mem: MemoryView, now: int) -> RecallHit: # Scope and TTL gates pass trivially here; they are NOT the invariant. if hit.ttl_remaining_s <= 0: raise WarrantViolation(f"{hit.chunk_id}: expired, treat as miss") warrants = mem.active_warrants_for(hit.derived_from) if not warrants: return hit # A warrant exists on an ancestor. Only a post-erasure attestation # written strictly after the newest warrant may re-qualify the hit. newest = max(w.issued_at for w in warrants) if hit.post_erasure_clean and hit.written_at > newest: return hit raise WarrantViolation( f"{hit.chunk_id}: derived_from {hit.derived_from} intersects active " f"forget-warrant(s) {[w.record_id for w in warrants]}; " f"refusing to serve and refusing to re-derive from same source" ) def recall(scope: str, query: str, mem: MemoryView, store, now: int) -> Optional[RecallHit]: hit = store.read(scope=scope, query=query) if hit is None: return None # genuine miss: caller may re-derive safely try: return serve_hit(hit, mem, now) except WarrantViolation: # Do NOT fall back to re-derivation; escalate so erasure completes # at the store and to peer instances holding the record in-context. raise ```