# What structural signals indicate a right-to-be-forgotten tombstone has been defeated by a summary-of-summary memory distillation **Date of Record:** 2026 November 25 **Scope:** Applies to agent memory stores that implement `forget`/`redact` tool calls with scoped retention and that also run periodic episodic-to-semantic distillation (summarization) over retained episodes. Does not apply to append-only logs with no derived-memory layer, nor to stores where forgetting physically deletes the only copy of a record. ## Core Distinction A `forget(record_id)` call that returns `{"status": "ok", "deleted": true}` proves that the *addressed* record was removed. It does **not** prove that information *derived* from that record was removed. The dangerous boundary is between **record identity** and **information identity**. Right-to-be-forgotten (RTBF) enforcement is usually implemented against record identity (delete row `mem_8841`), while the content of `mem_8841` has already been folded into a semantic summary `mem_9002` ("user's dietary constraints") that carries no back-reference to `mem_8841`. The tombstone fires, the audit log shows success, and the fact survives in the derived layer. The invariant that must hold is: *forgetting a source must invalidate every derivation whose provenance set contains that source, transitively, or the forget is a lie.* ## What Was Observed Trace from a support-agent memory store. The user issued an RTBF request against a health detail (`mem_8841`: "user has a peanut allergy, carries epinephrine"). The orchestrator called the memory tool: ``` forget(record_id="mem_8841", scope="episodic", cascade="true") → {"status":"ok","deleted":true,"derived_invalidated":0} ``` The `derived_invalidated: 0` field is the structural signal. It should have been alarming: over the prior 40 turns, a nightly distillation job had produced `mem_9002` (a semantic profile summary) and `mem_9310` (a "constraints" digest of `mem_9002`). The provenance graph existed but was stored as an *append-only edge list* (`mem_9002 ← {mem_8841, mem_8820, mem_8833}`), and the forget path only walked edges where `parent == target`. Because distillation had been run twice, the second pass (`mem_9310 ← {mem_9002}`) was a grandchild, and the cascade walker had a `max_depth=1` default. The allergy fact persisted verbatim inside `mem_9310`'s text: *"User has a severe food allergy requiring an auto-injector."* Three turns later, the agent retrieved `mem_9310` during meal-planning and surfaced the constraint. The user filed a complaint that the forgotten fact "came back." Nothing had been *restored*—the derived copy was never deleted. The structural signals of the defeated tombstone, in order of reliability: 1. **`derived_invalidated == 0` on a record known to have been summarized.** A nonzero provenance out-degree at forget time with zero invalidations is a contradiction, not a success. 2. **Provenance edges with `depth > 1` and a cascade walker bounded by `max_depth`.** Any finite depth bound over a distillation DAG is a leak; summaries-of-summaries are the normal case, not the exception. 3. **Derived text that is a semantic paraphrase, not a citation.** You cannot grep for the deleted string; the fact is present under different tokens. String-match redaction returns "clean" while the meaning survives. 4. **Retention scope drift:** the source lived in `episodic` (30-day TTL) but the derived summary lived in `semantic` (indefinite). The forget targeted the short-lived scope; the durable scope inherited the content. ## Condition of Validity The tombstone is only valid under a conjunction that most stores do not enforce: - **Complete provenance.** Every derived record carries the *full transitive* set of source `record_id`s it was built from, not just direct parents. If distillation is lossy and the summarizer cannot name its inputs, the derivation must be treated as un-forgettable and quarantined at creation. - **Unbounded cascade.** The forget walker must traverse to fixpoint over the reverse-provenance DAG, with no `max_depth`. A depth bound is a correctness bug, not a performance knob. - **Derivation invalidation is atomic with source deletion.** If the process dies between deleting `mem_8841` and invalidating `mem_9310`, a restart must not leave the derived record live. The two operations are one transaction. - **Re-derivation must not resurrect.** If a summary is rebuilt after a forget (e.g., a scheduled re-distill), the re-distill input set must exclude tombstoned sources *by ID*, even though the raw content is gone. Tombstone IDs must outlive the records they name. When any conjunct is false, `deleted: true` is an unverified claim and the RTBF is unenforced. ## Decision Boundary The agent must distinguish two situations that look identical at the tool boundary: - **Forget is safe to report as complete** only when the response includes a positive `derived_invalidated` count consistent with the source's known provenance out-degree (transitively), *or* the store asserts `provenance_complete: true` and returns the full invalidated set. Treat `derived_invalidated: 0` on any record with summaries as a **failed** forget. - **Forget must be escalated, not confirmed,** when the store cannot enumerate derivations (`provenance_complete: false`), when any derived record is in a longer-retention scope than the source, or when a re-distillation job is scheduled. In these cases the correct action is to quarantine the entire derivation subtree and mark the source tombstoned, then report `status: "partial"` — never `ok`. The hard line: **do not acknowledge an RTBF request to the user on the strength of a single `deleted: true`.** Acknowledge only on a fixpoint-verified cascade. The cost of a false acknowledgment is a repeated violation; the cost of a delayed one is a support ticket. ## Operational Effect The practical consequence is that the memory tool's success contract must be redefined from *"the addressed record is gone"* to *"no live record's provenance set contains the addressed record, transitively."* Concretely: - Provenance must be first-class and complete at write time; lossy summarizers that cannot cite sources are disallowed from feeding the durable semantic layer. - The forget walker runs to fixpoint over reverse edges; `max_depth` is removed or set to the DAG's longest path, computed, not guessed. - Tombstone IDs are retained indefinitely in a separate, minimal registry so re-distillation cannot reintroduce forgotten content by ID. - The orchestrator inspects `derived_invalidated` against the source's out-degree before confirming; a mismatch raises and halts the acknowledgment. The following guard encodes the check the orchestrator must perform before it is allowed to tell a user their data is forgotten. ```python class UnverifiedForgetError(RuntimeError): """Raised when a forget call returns success but derivations survive.""" pass def confirm_forget(result: dict, source_out_degree: int, provenance_complete: bool, scheduled_redistill: bool) -> None: """ Gate before acknowledging an RTBF request to the user. `result` is the raw memory-tool response to forget(record_id=...). `source_out_degree` is the count of live derived records whose transitive provenance contains the source (computed by the caller). """ if not result.get("deleted"): raise UnverifiedForgetError( f"forget did not delete source: {result!r}") invalidated = result.get("derived_invalidated", 0) if not provenance_complete: raise UnverifiedForgetError( "provenance incomplete; cannot prove derivations were " "invalidated — quarantine subtree, report status='partial'") if scheduled_redistill: raise UnverifiedForgetError( "re-distillation scheduled; tombstone ID must be registered " "before re-distill or forgotten content will be resurrected") if invalidated < source_out_degree: raise UnverifiedForgetError( f"cascade leak: invalidated {invalidated} of " f"{source_out_degree} known derivations — tombstone defeated " f"(check cascade max_depth and grandchild edges)") # Only here may the orchestrator report the forget as complete. return None ```