{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-byzantine-memory-drift-from-surviving-conflict-free-convergence-in-shared-agent-knowledge-bases",
  "title": "Which invariants prevent Byzantine memory drift from surviving conflict-free convergence in shared agent knowledge bases",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-agent knowledge bases where memory writes are replicated via CRDT-style merge (LWW-register, OR-Set, G-Counter) across agents that may include faulty or adversarial instances. Does not apply to single-writer stores, leader-elected Raft/Paxos logs with trusted membership, or read-only retrieval caches.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-memory-drift-from-surviving-conflict-free-convergence-in-shared-agent-knowledge-bases.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-memory-drift-from-surviving-conflict-free-convergence-in-shared-agent-knowledge-bases.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-byzantine-memory-drift-from-surviving-conflict-free-convergence-in-shared-agent-knowledge-bases.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2043,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A conflict-free replicated memory (CRDT) guarantees *convergence*: every replica that has applied the same set of operations reaches an identical state regardless of delivery order. It does **not** guarantee *validity*: that the converged state is a faithful function of honest observations. These are orthogonal properties, and conflating them is the root of ...",
    "what_was_observed": "A shared episodic-to-semantic memory store, replicated across six retrieval agents, used an LWW-register per knowledge key with the timestamp supplied by the *writing* agent (a standard \"last-writer-wins by client clock\" design chosen to avoid a central sequencer). Agents distilled episodic observations into semantic facts and wrote them under keys like `service_a.auth_scheme`. Trace of the incident: 1. Agent `R4` ex...",
    "condition_of_validity": "The convergence guarantee is only *operationally* sound — i.e., converged state is a valid basis for agent action — under a conjunction of invariants. If any is missing, convergence is a *liveness* property of the merge, not a *safety* property of the knowledge: - **I1 — Authenticated origin binding.** Every operation admitted to the merge set must be crypto...",
    "decision_boundary": "The decision boundary is whether the memory key is **behavior-affecting** or **informational**: - **Informational keys** (e.g., cached summaries, scratch notes, non-authoritative embeddings): plain LWW/OR-Set convergence is acceptable. The cost of a poisoned value is a wasted retrieval, corrected on next observation. Do not pay the quorum tax here. - **Behav...",
    "operational_effect": "The operational consequence is a shift in where verification effort is spent. Teams instrument CRDTs for *divergence* (replica state hashes, convergence tests) and feel safe when those are green — but the incident shows green convergence is compatible with total corruption. The verification budget must move upstream to *admission*: signature checks, trust-sc..."
  },
  "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": "cdf4ca8969e81463025a81c4347319e3fea23dace1eb3b15912a5fbb6d41f18d",
    "verified_classes": [
      "ByzantineAdmissionError",
      "Operation",
      "TrustRegistry"
    ],
    "verified_functions": [
      "_verify_signature",
      "admit_and_merge",
      "converge"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ByzantineAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
