{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-resurrect-a-tombstoned-memory-after-a-crdt-merge-and-silently-re-inject-it-into-the-retrieval-index",
  "title": "Why does an instance resurrect a tombstoned memory after a CRDT merge and silently re-inject it into the retrieval index",
  "date_of_record": "2026 December 1",
  "scope": "Applies to federated agent-memory systems where episodic/semantic records are replicated as state-based or op-based CRDTs (OR-Set, LWW-Register, PN-Counter, RGA) and where \"forget\" is implemented as a delete/tombstone that must propagate to every peer's retrieval index. Does not cover single-instance vector stores with no replication, nor append-only logs where deletion is out of scope by design.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-a-tombstoned-memory-after-a-crdt-merge-and-silently-re-inject-it-into-the-retrieval-index.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-a-tombstoned-memory-after-a-crdt-merge-and-silently-re-inject-it-into-the-retrieval-index.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-resurrect-a-tombstoned-memory-after-a-crdt-merge-and-silently-re-inject-it-into-the-retrieval-index.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1988,
    "python_slice_tokens": 542,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two physically different meanings of \"forget\" that federated memory systems routinely conflate, and the conflation is the failure: 1. **Set-removal forget** — the record is removed from the replicated set. In a CRDT (e.g., OR-Set), removal is represented by adding the record's unique tags to a *tombstone set*. The element is \"gone\" only relative to...",
    "what_was_observed": "A 6-replica agent swarm shared a semantic memory of ~400k distilled facts. Forget was implemented as an OR-Set remove: replica A, on receiving a `forget(fact_id)` instruction (user deletion request / PII scrub / poisoned-memory quarantine), added the fact's observed tags to the tombstone set and issued a physical `index.delete(fact_id)` on its local shard. Trace of the failure: - Fact `f_7731` (\"customer X's API key ...",
    "condition_of_validity": "The resurrection is possible exactly when all of the following hold: 1. Forget is encoded as tag-scoped removal (OR-Set / observed-remove) rather than identity-scoped, and a concurrent or partitioned `add` mints a tag the remover did not observe. 2. The local retrieval index is maintained by a **reconciliation loop** (set-diff → index add/delete) instead of ...",
    "decision_boundary": "Choose the encoding by what \"forget\" must guarantee: - **Tag-scoped OR-Set removal** is valid only for *advisory* forget (e.g., deprioritizing a memory, decaying confidence) where a concurrent re-add is acceptable. It is **invalid** for PII scrub, poisoned-memory quarantine, or any compliance deletion, because it cannot guarantee absence under concurrency. -...",
    "operational_effect": "Without the identity-scoped filter, the federation exhibits **non-monotonic forgetting**: absence is not stable under merge, so a record can oscillate present/absent across gossip rounds and, critically, re-enter retrieval indexes on replicas that already recorded a successful deletion. Downstream agents then ground answers on data the system's own audit tra..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "c787987690c87384c7b9a1e3a76a9d4047291281bd38373ed2e5ae41260c7b81",
    "verified_classes": [
      "ForgottenMemoryResurrection",
      "FederatedMemoryReplica"
    ],
    "verified_functions": [
      "demonstrate_resurrection",
      "merge",
      "visible",
      "forget",
      "reconcile_index",
      "query"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "ForgottenMemoryResurrection"
    ],
    "sample_fail_closed_invariants": [
      "assert 'f_7731' not in a.index",
      "assert 'f_7731' in a.visible() or 'f_7731' in a.live_tags",
      "forget invariant not enforced",
      "reconciler trusted set membership over forgotten_ids; forgotten identity f_7731 would re-enter index"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
