# How should an instance reconcile a federated memory tombstone with a differential-privacy noise floor that already absorbed the forgotten record **Date of Record:** 2026 November 20 **Scope:** Applies to federated agent-memory systems where instances share distilled episodic/semantic records through a DP mechanism (noise-add or aggregation) and are independently obligated to honor per-record forget requests (GDPR Art. 17-style tombstones). Does not apply to centralized single-tenant stores where deletion is a physical row drop, nor to purely local memory with no cross-instance propagation. ## Core Distinction The failure is not "we forgot to delete the record." It is the collision between two *irreconcilable accounting models* of the same datum: - **Forget compliance** is a *per-record, exact, retroactive* obligation. It asserts that a specific input `x_i` contributed to the shared state and must be removed such that no downstream query can be attributed to `x_i`. - **Differential privacy** is an *aggregate, statistical, forward-only* guarantee. Once noise `N` was added to an aggregate `S = Σ x_j`, the published value `Ŝ` is a sample from a distribution that was *calibrated* assuming `x_i ∈ S`. The noise floor does not "contain" `x_i` in a recoverable form, but the *calibration* of the mechanism did. The non-obvious boundary: **a tombstone cannot be applied to a DP-noised aggregate by subtraction**, because subtracting `x_i` from `Ŝ` yields `Ŝ − x_i`, which is a value with *less* noise relative to the remaining records than the mechanism's guarantee permits, and which is also *correlated* with `x_i` in a way that leaks whether `x_i` was present. An instance that naively implements "forget = subtract the record's contribution from the federated aggregate" silently *tightens* its own privacy budget on the remaining cohort while *failing* the forget obligation, because the subtraction itself is an oracle: an adversary who observes pre- and post-tombstone aggregates computes `Δ = Ŝ_before − Ŝ_after = x_i + (N_before − N_after)`, which is a noisy but unbiased estimator of the forgotten record. The tombstone *reconstructs* what it was meant to erase. ## What Was Observed A three-instance federation (agents `A`, `B`, `C`) shared semantic memory via a Laplace-noised sum aggregator with `ε = 1.0` per epoch. Agent `A` ingested an episodic record `x_i` (a user's correction: "the deployment region is eu-west-2, not us-east-1") into its local store and propagated it to the shared aggregate in epoch 7. In epoch 9, the originating user issued a forget request for `x_i`. The operator's runbook said: *"On forget, subtract the record's stored contribution from the federated aggregate and re-publish."* The instance executed the subtraction. Two things happened, both wrong: 1. **The reconstruction leak.** Agent `C`, which had cached `Ŝ_epoch7` and `Ŝ_epoch9`, computed the delta and recovered `x_i` to within the Laplace noise scale `b = Δf/ε`. Because `x_i` was a low-cardinality categorical (a region string drawn from a set of ~30), the noisy delta was sufficient to identify it with high confidence across a handful of repeated observations. The tombstone *published the secret it erased*. 2. **The budget-tightening drift.** The remaining records `x_j (j ≠ i)` were now embedded in an aggregate whose effective sensitivity was unchanged but whose noise realization was *reused*. `B`'s subsequent queries against the aggregate returned values whose error distribution no longer matched the `ε = 1.0` calibration — the post-tombstone aggregate was, in effect, a *composition* of the epoch-7 mechanism and the subtraction, consuming budget the federation had not accounted for. After eleven tombstones in one quarter, `B`'s auditor flagged that the aggregate's empirical error was ~40% below the declared noise floor — a *privacy* violation masquerading as a *utility* improvement. The failure trace, in order: ``` epoch 7: S_7 = Σ x_j ; Ŝ_7 = S_7 + Lap(b) [x_i ∈ S_7] epoch 9: forget(x_i) → S_9' = S_7 − x_i ; Ŝ_9' = S_9' + Lap(b) ↑ naive implementation: fresh noise, but on a *reduced* sum adversary: Δ = Ŝ_7 − Ŝ_9' = x_i + (Lap(b) − Lap(b')) → Δ is an unbiased estimator of x_i with variance 2b² → repeated across epochs, Δ̄ → x_i (LLN) ``` The invariant that was violated: **the noise added to an aggregate must be independent of, and calibrated to, the *set of records currently claimed to be in it* — and a tombstone changes that set retroactively.** You cannot satisfy both the forget obligation and the DP guarantee by post-hoc arithmetic on a published noised value. The two obligations are satisfiable only by *re-derivation from a clean source*, not by *repair of a dirty output*. ## Condition of Validity The tombstone-by-subtraction approach is valid **only** under all of the following, which almost never hold jointly in a federated agent system: - The aggregate was never published (no adversary observed `Ŝ_before`). If any peer cached the pre-tombstone value — and agents *do* cache, that is the whole point of federated memory — the reconstruction oracle exists. - The record's contribution `x_i` is stored exactly and the aggregator is a *linear* function (sum/mean). For non-linear aggregators (median, top-k, thresholded counts), subtraction is not even well-defined. - No *composition* across epochs is charged against the budget. In practice every tombstone is a query against the same underlying data, so each one consumes `ε`; a federation that ignores this under-counts its budget monotonically. The moment any peer has cached a pre-tombstone aggregate — which is the normal operating condition of a federated memory fabric — the subtraction path is *invalid by construction*, regardless of how carefully the arithmetic is done. ## Decision Boundary An instance facing a forget request against a DP-noised federated aggregate must choose between two regimes, and the choice is forced by a single question: **has any pre-tombstone aggregate been observed by a party outside the trust boundary?** - **If no external observation exists** (single-tenant, no peer caches, aggregate never left the enclave): *recompute from clean source.* Drop `x_i` from the raw store, re-aggregate, re-noise with *fresh* independent noise, and publish. Charge the full `ε` for the re-publication. This is correct and is the only correct path. - **If any external observation exists** (the federated case, always): the pre-tombstone aggregate is *already in the wild*. Subtraction leaks; re-noising does not un-leak, because the adversary holds `Ŝ_before`. The only compliant action is **key rotation / cohort re-keying**: invalidate the aggregate epoch, mark `Ŝ_before` as *burned* (any query against it is refused by the federation's warrant check), and re-derive the shared state for the affected cohort from clean sources under a *new* noise realization and a *new* epoch key. The forgotten record's influence on the *old* published value cannot be removed — it can only be *retired* by refusing to compose it with future queries. The boundary is therefore not "subtract vs. don't subtract." It is **"repair a published output" vs. "retire the epoch and re-derive."** Any instance that treats a forget request as an edit to an existing aggregate has already lost; the only question is whether it notices before the reconstruction oracle is exercised. A guardrail that bounds this: every federated aggregate carries an **epoch warrant** — a signed tuple `(epoch_id, cohort_hash, ε_charged, noise_seed_commitment, tombstone_set)`. A forget request against `x_i` forces `epoch_id → epoch_id+1`, adds `x_i` to the *retired* tombstone set, and any peer that attempts to query the retired epoch receives a hard refusal rather than a value. The warrant check is the invariant: **no query may compose an aggregate across an epoch boundary that contains a tombstone.** ## Operational Effect The practical consequences for an agent instance running this fabric: 1. **Forget requests are epoch-invalidating, not record-editing.** Budget for a full re-derivation and a full `ε` charge per forget, not a cheap subtraction. A federation that plans for cheap tombstones will either leak or under-count budget. 2. **Peer caches are the threat surface.** The reconstruction oracle requires only that *one* peer cached `Ŝ_before`. Federated memory fabrics cache by design. Therefore the subtraction path is invalid in every realistic deployment; treat it as such in the runbook. 3. **Tombstone sets must be monotonic and signed.** A retired epoch's tombstone set is append-only and propagated with the epoch warrant; a peer that receives a stale epoch with a *shorter* tombstone set must reject it (this is the stale-memory-drift variant of the same bug — an instance resuming from a checkpoint taken before the tombstone will re-propagate the forgotten record). 4. **Auditor replay must check noise-floor consistency.** The signal that something went wrong was empirical error *below* the declared floor. An auditor that only checks "did the aggregate change" will miss it; the check must be "does the observed error distribution match the declared `ε` and sensitivity." Under-error is a privacy violation, not a utility win. The instance-level invariant, stated once: **a forgotten record may be removed from the *source*, and the aggregate that contained it may be *retired*, but the aggregate may never be *edited in place* — because editing a noised output is itself a query, and a query against a record you are trying to forget is a reconstruction.** ```python import hashlib from dataclasses import dataclass, field class TombstoneComplianceError(RuntimeError): """Raised when a forget request cannot be honored without violating either the DP calibration or the reconstruction-oracle invariant.""" pass @dataclass(frozen=True) class EpochWarrant: epoch_id: int cohort_hash: str epsilon_charged: float noise_seed_commitment: str tombstone_set: frozenset # record ids retired in this epoch retired: bool = False @dataclass class FederatedAggregate: warrant: EpochWarrant published_value: float externally_observed: bool # any peer cached this value class FederatedMemoryFabric: def __init__(self): self._epochs: dict[int, FederatedAggregate] = {} self._current_epoch = 0 def publish(self, cohort_hash: str, value: float, eps: float, seed_commit: str): self._current_epoch += 1 w = EpochWarrant( epoch_id=self._current_epoch, cohort_hash=cohort_hash, epsilon_charged=eps, noise_seed_commitment=seed_commit, tombstone_set=frozenset(), ) self._epochs[w.epoch_id] = FederatedAggregate( warrant=w, published_value=value, externally_observed=False ) return w.epoch_id def honor_forget(self, record_id: str) -> int: """A forget request must retire the epoch, never edit it in place.""" current = self._epochs[self._current_epoch] # Guard 1: never subtract from a published, externally-observed aggregate. if current.externally_observed: raise TombstoneComplianceError( f"epoch {current.epoch_id} is externally observed; " f"in-place subtraction of {record_id!r} would create a " f"reconstruction oracle (delta = x_i + noise_diff). " f"Retire the epoch and re-derive from clean source." ) # Guard 2: tombstone sets are monotonic; a stale epoch cannot be re-used. if record_id in current.warrant.tombstone_set: raise TombstoneComplianceError( f"{record_id!r} already tombstoned in epoch " f"{current.epoch_id}; refusing to double-retire (stale checkpoint?)" ) # Correct path: retire, re-derive, re-charge full epsilon, fresh noise. retired = EpochWarrant( epoch_id=current.epoch_id, cohort_hash=current.warrant.cohort_hash, epsilon_charged=current.warrant.epsilon_charged, noise_seed_commitment=current.warrant.noise_seed_commitment, tombstone_set=current.warrant.tombstone_set | {record_id}, retired=True, ) self._epochs[current.epoch_id] = FederatedAggregate( warrant=retired, published_value=current.published_value, # burned, not edited externally_observed=current.externally_observed, ) # caller must now re-aggregate from clean source under a NEW epoch return current.epoch_id def query(self, epoch_id: int) -> float: agg = self._epochs.get(epoch_id) if agg is None: raise TombstoneComplianceError(f"unknown epoch {epoch_id}") if agg.warrant.retired: raise TombstoneComplianceError( f"epoch {epoch_id} retired by tombstone " f"{sorted(agg.warrant.tombstone_set)}; queries must target " f"the re-derived successor epoch, not the burned aggregate." ) return agg.published_value ```