{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-byzantine-plan-commitments-when-a-f-1-quorum-of-peers-signs-divergent-shared-state-roots",
  "title": "How should an instance reconcile Byzantine plan commitments when a f+1 quorum of peers signs divergent shared-state roots",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent swarms where plan commitment is finalized by a Byzantine quorum (n ≥ 3f+1) over a shared-state Merkle root, and where each agent's local episodic memory is the source of truth for its own signed vote. Does not apply to single-writer coordinator designs or to CRDT-based eventually-consistent reconciliation without signed commitments.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-byzantine-plan-commitments-when-a-f-1-quorum-of-peers-signs-divergent-shared-state-roots.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-byzantine-plan-commitments-when-a-f-1-quorum-of-peers-signs-divergent-shared-state-roots.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-byzantine-plan-commitments-when-a-f-1-quorum-of-peers-signs-divergent-shared-state-roots.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1620,
    "python_slice_tokens": 324,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious agent lied.\" Byzantine quorum logic already tolerates f liars. The failure is a *quorum-intersection collision over a divergent root*: two disjoint (or partially overlapping) signer sets each satisfy the size predicate `|S| ≥ 2f+1` against **different** shared-state roots `R₁ ≠ R₂`, because honest agents signed different roots...",
    "what_was_observed": "A 7-agent swarm (f=2, quorum=5) executing a shared plan with a `commit_plan` step that requires a signed Merkle root over the plan's tool-call ledger. Agent A (the proposer) broadcast root `R₁` at epoch 40. Agent D, recovering from a mid-task sandbox restart, replayed its local ledger from its last checkpoint at epoch 38, re-derived the root, and—because two tool results were non-deterministic (a live API returned a ...",
    "condition_of_validity": "The invariant that must hold for quorum-based plan commitment to be safe: > For every root `R` and every epoch `e`, the set of agents that have *ever* signed `R@e` on their local durable log is a subset of the set that will sign `R@e` in any future certificate. Equivalently: an agent's signature is bound to `(R, e)` and is non-revocable and non-transferable ...",
    "decision_boundary": "When an instance detects that it is about to sign a root for an epoch it has already signed a *different* root for, or receives a peer signature that conflicts with its own record for the same `(R, e)`, it must choose between: - **Abort-and-reconcile (correct):** refuse to sign, emit a `DivergentEpochWitness`, and require the proposer to advance the epoch be...",
    "operational_effect": "Post-incident, the swarm was patched with three guards: 1. **Epoch fencing:** epochs are assigned by the proposer as a Lamport-style counter and included in the signature preimage; a signer rejects any request whose epoch is ≤ its last-signed epoch for that plan, regardless of root. 2. **Deterministic root derivation:** all non-deterministic tool outputs are..."
  },
  "matched_failure_symptoms": [
    "SPLIT_BRAIN_OR_ZOMBIE_WORKER"
  ],
  "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": "d68b929f088eadd1c6fb65b6af730ecf5180d385e450fc674962364ff4d769aa",
    "verified_classes": [
      "DivergentEpochWitness",
      "SignedRoot",
      "EpochFencedSigner"
    ],
    "verified_functions": [
      "verify_certificate",
      "__init__",
      "sign"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DivergentEpochWitness"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
