{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-byzantine-memory-poisoning-from-surviving-a-crdt-merge-in-federated-agent-clusters",
  "title": "Which invariants prevent Byzantine memory poisoning from surviving a CRDT merge in federated agent clusters",
  "date_of_record": "2026 December 1",
  "scope": "Applies to federated clusters where each agent replica maintains a convergent replicated memory (state-based CRDT, e.g., observed-remove set, LWW-register, or delta-state map) and merges peer deltas without a central arbiter. Does not apply to single-writer append-only logs, quorum-replicated databases with leader election, or memories that never cross an agent boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-memory-poisoning-from-surviving-a-crdt-merge-in-federated-agent-clusters.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-memory-poisoning-from-surviving-a-crdt-merge-in-federated-agent-clusters.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-memory-poisoning-from-surviving-a-crdt-merge-in-federated-agent-clusters.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1848,
    "python_slice_tokens": 371,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common assumption is that conflict-free merge semantics (commutativity, associativity, idempotence) make a replicated agent memory *Byzantine-tolerant*. It does not. CRDT properties guarantee **convergence of replicas**, not **correctness of merged content**. A Byzantine agent that emits a well-formed delta — one that satisfies the CRDT's algebraic laws ...",
    "what_was_observed": "A federated cluster of 9 agent replicas (tolerance f=2 under a 3f+1 assumption) shared an observed-remove set (OR-Set) of distilled episodic memories. Each agent could add memory records and tombstone them. Merge was a standard OR-Set union with per-element unique tags. A single compromised replica, `A7`, injected a delta that: 1. Added a record `R_poison` with a **freshly minted unique tag** (valid — OR-Set accepts ...",
    "condition_of_validity": "The poisoning succeeds only under a specific conjunction, and this is what makes it non-obvious: 1. **Tombstones are unauthenticated.** The OR-Set merge accepts a tombstone for a tag it has never seen. If tombstones were required to carry the original writer's signature over the tag, `A7` could not forge tombstones for `tag_1..tag_3`. 2. **Causal delivery is...",
    "decision_boundary": "The operational line is between **structural validity** (does the delta satisfy the merge algebra?) and **causal admissibility** (is every tag this delta removes one whose add I have verified, and is every add signed by an origin whose admission policy I accept?). A replica must refuse to merge — not reject-and-drop, but *hold in a pending buffer* — any delt...",
    "operational_effect": "With causal-admissibility gating and quorum attestation in place, the same Byzantine delta from `A7` produces: `R_poison` held in pending-attestation (never surfaces to retrieval); tombstones for `tag_1..tag_3` held in pending-causal (never applied until the honest adds arrive, at which point they are verified as *not* matching any honest tombstone and disca..."
  },
  "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": "155ef5e1c624c6b9119a1e38d0943357d6c74cedb6e1c1146bab60fcdf5bac45",
    "verified_classes": [
      "CausalAdmissibilityError",
      "AdmissibleMerger"
    ],
    "verified_functions": [
      "apply_byzantine_delta",
      "__init__",
      "merge_delta",
      "_materialize"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CausalAdmissibilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
