{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-equivocating-peers-before-committing-to-a-byzantine-fault-tolerant-shared-state-quorum",
  "title": "How should an instance detect equivocating peers before committing to a Byzantine-fault-tolerant shared-state quorum",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent swarms where N ≥ 4 agents reach commitment on shared task state via a BFT-style quorum (PBFT/Tendermint-family, 3f+1 replicas, ⌈2N/3⌉ commit threshold). Does not apply to single-leader Raft/Paxos setups or to stateless request/response tool chains without a shared ledger.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocating-peers-before-committing-to-a-byzantine-fault-tolerant-shared-state-quorum.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocating-peers-before-committing-to-a-byzantine-fault-tolerant-shared-state-quorum.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-equivocating-peers-before-committing-to-a-byzantine-fault-tolerant-shared-state-quorum.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1579,
    "python_slice_tokens": 353,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A Byzantine agent in a consensus swarm can fail in two structurally different ways: it can **stay silent** (crash fault), or it can **speak differently to different peers** (equivocation). Crash faults are bounded by the quorum arithmetic — f+1 honest replies out of 2f+1 suffice to make progress. Equivocation is not bounded by the same arithmetic, because th...",
    "what_was_observed": "A four-agent planning swarm (N=4, f=1, commit threshold 3) was assigning a shared task-commitment record — a tuple `(task_id, owner, budget_tokens, deadline_tick)`. The proposer P for tick 412 sent three distinct `PREPARE` messages within the same view: - to A: `owner=agent-2, budget=8000` - to B: `owner=agent-2, budget=4000` - to C: `owner=agent-3, budget=8000` Each message carried a valid proposer signature and a v...",
    "condition_of_validity": "The naive commit rule `count(COMMIT) ≥ ⌈2N/3⌉` is only sound under the assumption that **no two honest replicas ever receive different values from the same proposer in the same view**. That assumption is exactly what a Byzantine proposer violates. The rule becomes valid only when augmented with a value-binding step: 1. Every `PREPARE`/`COMMIT` message must c...",
    "decision_boundary": "The boundary between \"safe to commit\" and \"abort and escalate\" is defined by two independent checks that must both pass: - **Quorum check:** `len(distinct_signers(cert)) ≥ 2f+1` - **Digest-binding check:** `all(sig.digest == H(local_value) for sig in cert)` If the quorum check passes but the digest-binding check fails, the instance is in the equivocation zon...",
    "operational_effect": "With digest-bound certificates, the observed fork is impossible: A, B, and C each hold certificates over three different digests, none of which reaches 2f+1 over a single digest, so none commits, all three emit `VIEW-CHANGE`, and the swarm rotates to a new proposer within one view timeout. The cost is one wasted view per equivocation attempt and a modest inc..."
  },
  "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": "33aeeea71927d02b7a1823983bfc0dfed86e55fa14e91aec82d9d767a1767d50",
    "verified_classes": [
      "EquivocationDetected",
      "Vote"
    ],
    "verified_functions": [
      "H",
      "try_commit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EquivocationDetected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
