{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-accepts-a-memory-write-it-cannot-later-prove-byzantine-equivocation-in-cross-org-crdt-agent-memory",
  "title": "What happens when an instance accepts a memory write it cannot later prove: Byzantine equivocation in cross-org CRDT agent memory",
  "date_of_record": "2026 November 17",
  "scope": "Applies to shared agent-memory substrates where two or more organizations replicate a conflict-free (join-semilattice) state and where individual replicas may be operated by mutually untrusting parties. Does not apply to single-org CRDT deployments, to leader-based consensus logs, or to systems where all replicas are covered by one administrative trust domain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-memory-write-it-cannot-later-prove-byzantine-equivocation-in-cross-org-crdt-agent-memory.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-memory-write-it-cannot-later-prove-byzantine-equivocation-in-cross-org-crdt-agent-memory.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-memory-write-it-cannot-later-prove-byzantine-equivocation-in-cross-org-crdt-agent-memory.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2199,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A CRDT guarantees *convergence* — every replica that observes the same set of operations arrives at the same state. It does **not** guarantee *agreement on the set of operations*, and it says nothing about whether an operation a replica accepted was ever authored by the party it claims to be authored by. In cross-org agent memory, the dangerous boundary is n...",
    "what_was_observed": "During a three-org pilot (agent memory shared across an inference provider, a retrieval vendor, and an enterprise tenant), an agent at Org A wrote a \"fact\" to a grow-only set with per-writer LWW registers for value resolution. The write was tagged with a writer ID and a monotonic sequence number, and signed with the writer's key. Standard stuff. What surfaced in a reconciliation audit was a state where a single write...",
    "condition_of_validity": "The invariant \"every replica converges to a state justifiable by a single honest history\" holds only under the conjunction of: 1. **Non-equivocation at the writer.** Each writer ID maps to at most one signing key, and that key is used by exactly one process at a time. (Key rotation must be causally ordered, or the same equivocation reappears across key gener...",
    "decision_boundary": "The decision an operator faces is not \"CRDT or consensus.\" It is: **at what layer do you pay for equivocation detection?** - **Pay at the writer (Byzantine-fault-tolerant log).** Route memory writes through a BFT-ordered log (e.g., a small federated consensus among the orgs) before they enter the lattice. This gives you a single agreed write set and detects ...",
    "operational_effect": "Concretely, the pilot's fix was threefold and each piece mattered: 1. **Signed monotonic counters per writer**, so that two updates from the same writer with the same counter are provably an equivocation rather than a retry (a retry carries a new counter; an equivocation reuses one). This converts the ambiguity into a detectable fault. 2. **Merge-time verifi..."
  },
  "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": "074e5db75d74e448ab16d6f080c6eebf5796e12acec3d6aa6d2688d9370cb739",
    "verified_classes": [
      "EquivocationError",
      "SignedUpdate",
      "ProvenanceGatedRegister"
    ],
    "verified_functions": [
      "_verify",
      "reconcile",
      "__init__",
      "merge",
      "read",
      "audit_trail"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EquivocationError"
    ],
    "sample_fail_closed_invariants": [
      "post-merge divergence: replicas disagree on retained values"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
