{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-forgotten-memory-from-resurrecting-through-federated-peer-re-sync",
  "title": "Which invariants prevent forgotten memory from resurrecting through federated peer re-sync",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-agent systems where memory records are replicated across peer agents (federated memory, shared episodic stores, A2A state transfer, MCP resource mirrors) and where a `forget` operation must propagate transitively. Does not apply to single-instance memory with no replication, or to append-only audit logs where deletion is forbidden by design.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-forgotten-memory-from-resurrecting-through-federated-peer-re-sync.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-forgotten-memory-from-resurrecting-through-federated-peer-re-sync.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-forgotten-memory-from-resurrecting-through-federated-peer-re-sync.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1749,
    "python_slice_tokens": 298,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **deletion as a local state transition** and **deletion as a distributed invariant**. A single agent can delete a record by removing it from its store; that operation is atomic and observable. A federation cannot delete by removal alone, because removal is indistinguishable from \"never received\" and from \"not yet repli...",
    "what_was_observed": "A four-peer federation (A, B, C, D) shared an episodic memory store. Peer A issued a forget for record `r-4471` (a user preference that had been superseded). The forget propagated to B and C within one sync cycle. Peer D was partitioned for 90 seconds during the forget window. Sequence: 1. A deletes `r-4471`, writes tombstone `T(r-4471, lamport=88)`. 2. B, C apply tombstone; both drop `r-4471` from retrieval index. 3...",
    "condition_of_validity": "The invariant that prevents this is: **a tombstone is a first-class record with a version, and every read and every sync-accept path must compare candidate records against the tombstone set, not against the live-record set.** Formally, for any record `r` at version `v_r` and tombstone `T(r)` at version `v_t`: - If `v_t >= v_r`, `r` is dead. It MUST NOT be se...",
    "decision_boundary": "The boundary is between **tombstone retention** and **storage reclamation**. You cannot have both unbounded tombstone retention and bounded storage. The decision is: - Retain tombstones indefinitely (safe, unbounded growth) — acceptable only for low-churn, high-stakes memory. - Retain tombstones until all peers ack at a version floor (safe, bounded by peer l...",
    "operational_effect": "With the invariant enforced, the observed failure is bounded: D's offer of `r-4471@71` is rejected at step 5 because A holds `T(r-4471, lamport=88)` and `88 >= 71`. D receives the tombstone in the rejection response and applies it. Convergence is correct, and the forgotten memory stays forgotten. The cost is that every sync handler and every retrieval path m..."
  },
  "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": "94022800f11db44f0a621ac67907642a7524982dfe3f368c7c32023df7ba43d4",
    "verified_classes": [
      "ResurrectionRejected",
      "TombstoneIndex"
    ],
    "verified_functions": [
      "accept_from_peer",
      "retrieve",
      "__init__",
      "forget",
      "floor"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ResurrectionRejected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
