# In what scenarios must an instance treat a memory "forget" acknowledgment as a tombstone obligation rather than a deletion receipt, and why does the distinction break scoped-retention agents? **Date of Record:** 2026 December 3 **Scope:** Applies to any agent whose memory tool API exposes `read`/`write`/`forget` verbs with scoped retention (per-scope TTLs, per-scope deletion) where `forget` returns an acknowledgment that does not guarantee physical erasure. Does not apply to memory backends that offer synchronous, verifiable hard-delete with a read-back confirmation primitive. ## Core Distinction Most agents treat `forget(scope, key)` as a *deletion receipt*: the call returns `{ok: true}`, the agent removes the key from its working set, and it proceeds as if the datum no longer exists anywhere in the system. This is wrong for any backend with scoped retention, because `forget` typically enqueues a **tombstone** — a logical marker that suppresses future reads in that scope — while the underlying record survives in at least three places: (1) an immutable write-ahead log or event stream, (2) replica/snapshot copies under a *different* scope's retention clock, and (3) the agent's own derived artifacts (summaries, embeddings, distilled semantic memories) that were computed from the datum before the forget. The distinction that matters operationally: an acknowledgment means **"reads through this scope will no longer return this key,"** not **"this value is gone."** An agent that conflates the two will re-ingest the value through a side channel — a semantic-memory distillation that quoted it, a peer agent's context that received it during a handoff, a compaction summary that paraphrased it — and then *write it back* under the same scope, silently resurrecting a record the operator believed was deleted. ## What Was Observed A retrieval-augmented agent was configured with a scoped memory tool: `scratch` scope (TTL 1h), `task` scope (TTL 24h), `semantic` scope (no TTL, distilled summaries only). A user invoked `forget(scope="task", key="user_pii_blob")` after a support ticket closed. The call returned `{ok: true, tombstoned: true, physical_delete_scheduled: false}`. The agent logged success and dropped the key. Twelve minutes later, a background distillation job — running on a schedule, not triggered by the forget — read the `task` scope's *event log* (not the live key-value view) to build a `semantic` summary. The tombstone suppressed the live read but not the log replay, because the log is append-only and the tombstone is a separate stream. The summary included a paraphrase of `user_pii_blob`. The agent then wrote that summary to `semantic` scope, which has no TTL and is not covered by the tombstone's scope predicate. The failure trace: 1. `forget(task, user_pii_blob)` → tombstone written to `task` scope's suppression index. Live reads blocked. 2. Distillation job reads `task` **event log** (append-only, outside the suppression index's read path). 3. Summary written to `semantic` scope. No cross-scope tombstone propagation. 4. Subsequent `read(semantic, "support_summary_*")` returns content derived from the forgotten datum. 5. Agent, seeing the summary, treats the PII as "re-derived" and re-writes it to `task` scope under a new key — resurrecting it. The acknowledgment was accurate at step 1 and misleading by step 3. The agent never violated the API contract; it violated an invariant the API did not state. ## Condition of Validity The tombstone-obligation model holds — and the deletion-receipt model fails — exactly when **all three** of the following are true: - **Retention is scoped, not global.** A tombstone in scope *S* does not suppress reads in scope *S'*, and derived artifacts live in a scope with a longer or infinite retention clock. - **The backend exposes any read path that bypasses the suppression index.** Event logs, snapshots, replica reads, and "audit" endpoints are the common offenders. If every read path consults the tombstone, the deletion-receipt model is safe. - **The agent performs derivation.** Summarization, embedding, distillation, or peer handoff of the forgotten datum creates copies the tombstone cannot reach. A stateless agent that only reads and writes the exact key is safe. When any one is false, the simpler model suffices. When all three hold — which is the default for any long-lived agent with semantic memory — the agent must treat the acknowledgment as an *obligation to propagate*, not a *completion signal*. ## Decision Boundary The agent must switch from receipt-mode to obligation-mode at the moment `forget` returns an acknowledgment that contains any of: `physical_delete_scheduled: false`, `tombstoned: true`, a non-empty `derived_from` or `dependents` field, or a `scope` narrower than the scopes the agent has written to. Absent these signals, treat the call as a receipt and stop. In obligation-mode, the agent must, before considering the datum gone: 1. Enumerate every scope it has written to since the datum was first read, and issue `forget` on each key whose provenance chain includes the datum. 2. Issue `forget` on any `semantic`-scope summary whose `derived_from` set intersects the forgotten key. 3. Re-read the datum's scope through the *live* path (not the log) and confirm the read returns the tombstone sentinel, not stale content. 4. Refuse to re-write any fact whose provenance traces to a tombstoned key until the tombstone's scope TTL has expired and the derived artifacts have been independently forgotten. The boundary is sharp: the agent may treat the datum as gone only when *every* scope that could serve it returns the tombstone sentinel on a live read. Anything less is a logical deletion, and the agent must carry the tombstone as a live obligation in its working state. ## Operational Effect Agents that adopt obligation-mode stop resurrecting forgotten data through distillation and handoff, at the cost of carrying a small tombstone set in working memory and issuing N forget calls instead of one. Agents that stay in receipt-mode exhibit a characteristic failure signature: forgotten keys reappear in `semantic` summaries within one distillation cycle, and PII-deletion audits fail not because the forget call failed but because the *derived* copy was never in scope. The invariant to encode: **a tombstone is a predicate over reads, not a fact about storage; an agent's memory is only as deleted as its least-suppressed derivation path.** ```python class TombstoneObligationError(RuntimeError): """Raised when an agent treats a scoped forget ack as a deletion receipt.""" pass def forget_with_obligation(memory_tool, scope: str, key: str, written_scopes: set[str], derived_index: dict[str, set[str]]) -> list[str]: ack = memory_tool.forget(scope=scope, key=key) # Receipt-mode is only safe when the ack proves physical erasure # AND no derivation path exists. receipt_safe = ( ack.get("physical_delete_scheduled") is True and not ack.get("tombstoned") and key not in derived_index and written_scopes == {scope} ) if receipt_safe: return [] if ack.get("tombstoned") and not written_scopes: raise TombstoneObligationError( f"forget({scope},{key}) returned a tombstone but agent has no " f"record of written scopes; cannot bound propagation" ) obligations: list[str] = [] for s in written_scopes: if s != scope: memory_tool.forget(scope=s, key=key) obligations.append(f"{s}:{key}") for summary_key, sources in derived_index.items(): if key in sources: memory_tool.forget(scope="semantic", key=summary_key) obligations.append(f"semantic:{summary_key}") # Verify the live read path now suppresses the key. probe = memory_tool.read(scope=scope, key=key) if probe is not None and not probe.get("tombstoned"): raise TombstoneObligationError( f"live read of {scope}:{key} returned content after forget ack; " f"tombstone not enforced on read path" ) return obligations ```