# What structural signals indicate a tombstone has been resurrected: decay-weighted retrieval re-materializing right-to-be-forgotten records through episodic-to-semantic reconsolidation **Date of Record:** 2026 November 20 **Scope:** Applies to agent memory systems that expose read/write/forget tools, apply a decay function to retrieval scoring, and honor deletion requests by writing tombstones while leaving derived semantic artifacts (summaries, embeddings, distilled facts) in place. Does not apply to systems where deletion is a hard physical purge across all derived stores before any subsequent retrieval is served. ## Core Distinction A deletion request and a *forget* operation are not the same thing, and the gap between them is where this failure lives. A deletion request is a statement of intent: record R must not be retrievable. A forget operation is a concrete mutation: a tombstone is written at the key of R, and the read path is taught to filter it. The invariant most systems *believe* they hold is "after forget(R), no retrieval returns R." The invariant they actually hold is weaker: "after forget(R), no retrieval returns the *raw record* R." The distinction matters because decay-weighted retrieval does not return raw records — it returns *reconstructed context* assembled from episodic fragments and semantic distillates, and the distillates are frequently not covered by the tombstone. The non-obvious boundary: a decay function that weights episodic memory by recency will, over time, *down-weight the tombstoned episode toward zero* while *up-weighting the semantic summary that was distilled from it before deletion*. The summary was never tombstoned because it was never a "record" in the deletion API's sense — it was a derived artifact, an embedding, a bullet point in a rolling summary. As the episode decays, the summary's relative retrieval share rises. The forgotten content does not disappear; it *migrates* from a store that enforces deletion to a store that does not, and decay accelerates the migration by suppressing the store that would have been filtered. This is resurrection by reconsolidation, and it is invisible to any test that checks "does searching for R return R?" because the answer becomes a clean, confident "no" — while the agent still surfaces R's content, laundered through paraphrase. ## What Was Observed A support agent operating over a customer memory store with three tools — `read(scope, query)`, `write(scope, record)`, `forget(scope, record_id)` — received a right-to-be-forgotten request for a record containing a customer's medical detail. The `forget` call succeeded; the tombstone was confirmed; a raw-key lookup returned empty. This was logged as compliant. Fourteen days of agent activity later, the customer re-contacted about an unrelated billing issue. The agent's `read` on the customer scope returned a semantic memory node reading, in paraphrase, "customer has an ongoing condition requiring accommodation," with a high retrieval score. The score was high *because* of decay: the original episodic record's recency weight had fallen to near zero, the tombstone filter was applied to a key that no longer scored, and the semantic node — written by the nightly distillation pass on day −3, before the forget — carried a fresh `last_reinforced` timestamp from every subsequent retrieval that touched it. Reinforcement decayed the source and refreshed the copy. The reconstruction was fluent, confident, and legally a disclosure. Three structural signals distinguished this from ordinary stale memory: 1. **Score inversion.** The tombstoned key's retrieval score monotonically decreased post-forget, but the *aggregate* semantic content derived from it increased in retrieval share. A monitor watching only "is the forgotten ID scoring?" saw a healthy decay curve. A monitor watching content provenance would have seen the summary's share climb from 0.0 to 0.31 of the customer scope's retrieval mass over fourteen days. 2. **Reinforcement feedback on derived nodes.** Each retrieval of the semantic node bumped its reinforcement timestamp, which under the decay function *raised* its future score. The distillation output was not a static copy; it was a self-reinforcing attractor that the agent's own reads kept warm. This is the mechanism that makes resurrection non-linear: the first accidental retrieval makes the second more likely. 3. **Provenance severance.** The semantic node carried a `source_ids` field naming the original episode, but the read path's tombstone filter checked `record_id`, not `source_ids`. The filter was correct and the join was missing. The forgotten record was structurally present in the retrieval graph as an ancestor, invisible to the filter because the filter operated at the wrong layer of the graph. ## Condition of Validity The failure requires all of the following to co-occur; remove any one and the resurrection does not occur or is caught: - **A decay function that is monotone decreasing in age for episodic records.** Without decay, the tombstoned episode keeps competing for retrieval share and the derived summary does not dominate. Decay is what converts "the original is filtered" into "the original is irrelevant and the copy is all that's left." - **A distillation pass that writes derived artifacts outside the deletion API's key space.** If summaries inherit the source record's key or a deletion-scoped lineage, `forget` covers them. If they are written to a separate semantic store with a new ID, they are orphaned from the tombstone. - **Reinforcement-on-read for derived nodes.** If retrieval does not refresh the semantic node's recency, the summary itself decays and eventually falls below threshold. The self-reinforcing loop is what sustains the resurrection past the point where a one-shot leak would have aged out. - **A tombstone filter that matches on record identity but not on lineage.** The filter is not wrong; it is *incomplete*. It enforces the invariant it was written for and fails the invariant the deletion request actually asserted. The condition does **not** hold for systems where deletion is implemented as a lineage-aware cascade that walks `source_ids` transitively and tombstones or purges every derived descendant before the forget call returns, nor for systems with no decay (where the filtered original remains the dominant competitor and the summary never gains share). ## Decision Boundary The operational question is not "was the record deleted?" — that is answered by the tombstone and it is the wrong question. The decision boundary is: **does the retrieval path enforce deletion at the layer where reconstruction happens, or only at the layer where storage happens?** These are different layers, and a system can pass every storage-layer deletion test while failing every reconstruction-layer one. Concretely, the boundary is crossed when `forget(R)` returns success while any of the following remain true: - A derived artifact exists whose `source_ids` transitively contains R and whose store is not consulted by the tombstone filter. - The derived artifact's retrieval score is *increasing* (via reinforcement) while R's is decreasing (via decay) — i.e., the decay curve and the reinforcement curve are diverging in the direction that favors the copy. - No monitor computes retrieval-mass-by-provenance, only retrieval-hits-by-ID. The guardrail that bounds this is a **lineage-closing forget**: `forget(R)` must, before returning, (a) resolve the transitive closure of derived artifacts naming R in `source_ids`, (b) tombstone or purge each of them, and (c) record a *deletion epoch* that the distillation pass consults so it cannot re-derive from R's surviving neighbors. Step (c) is the one most systems omit, and it is the one that matters: without an epoch barrier, the next distillation pass re-summarizes the neighborhood and reconstructs the forgotten fact from correlated context — a second resurrection path that lineage-closing alone does not close. The invariant to hold is therefore not "R is unretrievable" but "**no retrieval result has R in its provenance closure, and no future distillation may introduce it**." The first clause is a filter; the second is a barrier. Deletion requires both. ## Operational Effect The practical consequence is that decay and deletion are in tension, and the tension is silent. Decay is designed to make old memory cheap to ignore; deletion is designed to make specific memory impossible to surface. When a derived artifact outlives its source, decay *helps the leak* by removing the competitor that the filter was built to catch. The system's own hygiene mechanism becomes the leak's accelerant. Teams that instrument deletion by checking "does the forgotten ID return?" will see a clean, decaying, compliant signal and ship. The failure surfaces only when a human reads a reconstructed summary and recognizes content that was supposed to be gone — typically weeks later, typically in a context where the paraphrase is more damaging than the original because it is stated as the agent's own belief rather than as a retrieved record. The corrective posture is to treat deletion as a property of the *provenance graph*, not of the key-value store, and to instrument the divergence between decay and reinforcement curves as a first-class health signal. If a semantic node's retrieval share rises while its source episode's share falls, that is the structural signature of resurrection in progress, and it is detectable before the content is ever surfaced. ```python from dataclasses import dataclass, field from typing import Iterable class ResurrectionInvariantViolation(RuntimeError): """Raised when a forget() call would leave reconstructable lineage behind.""" pass @dataclass class MemoryNode: node_id: str kind: str # "episodic" | "semantic" source_ids: tuple[str, ...] = () tombstoned: bool = False @dataclass class MemoryStore: nodes: dict[str, MemoryNode] = field(default_factory=dict) deletion_epoch: int = 0 def lineage_closure(self, root_id: str) -> set[str]: seen: set[str] = set() stack = [root_id] while stack: nid = stack.pop() if nid in seen or nid not in self.nodes: continue seen.add(nid) stack.extend(self.nodes[nid].source_ids) return seen def forget(self, root_id: str) -> None: closure = self.lineage_closure(root_id) survivors = [ nid for nid in closure if not self.nodes[nid].tombstoned and nid != root_id ] if survivors: raise ResurrectionInvariantViolation( f"forget({root_id}) would leave {len(survivors)} derived " f"artifact(s) reconstructable: {sorted(survivors)}. " f"Lineage-closing forget requires tombstoning the full " f"provenance closure and bumping the deletion epoch so the " f"distillation pass cannot re-derive from surviving neighbors." ) for nid in closure: self.nodes[nid].tombstoned = True self.deletion_epoch += 1 def distill(self, source_id: str, new_id: str) -> None: if self.nodes[source_id].tombstoned: raise ResurrectionInvariantViolation( f"distill({source_id}) attempted after deletion epoch " f"{self.deletion_epoch}; source is tombstoned and may not be " f"re-summarized into {new_id}." ) self.nodes[new_id] = MemoryNode( node_id=new_id, kind="semantic", source_ids=(source_id,) ) ```