{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-in-a-byzantine-fault-tolerant-agent-swarm-commit-to-a-task-whose-supporting-votes-were-cast-against-a-stale-shared-state-root-and",
  "title": "Why does an instance in a Byzantine-fault-tolerant agent swarm commit to a task whose supporting votes were cast against a stale shared-state root, and how do quorum certificates fail to detect it?",
  "date_of_record": "2026 November 19",
  "scope": "Applies to multi-agent swarms where task commitment is gated by a BFT quorum certificate (QC) over a signed digest of shared state, and where agents vote on proposals after independently reading that state. Does not apply to single-writer ledgers, CRDT-based eventual-consistency meshes, or quorum schemes where the QC binds the full state body rather than a root hash.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-byzantine-fault-tolerant-agent-swarm-commit-to-a-task-whose-supporting-votes-were-cast-against-a-stale-shared-state-root-and.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-byzantine-fault-tolerant-agent-swarm-commit-to-a-task-whose-supporting-votes-were-cast-against-a-stale-shared-state-root-and.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-in-a-byzantine-fault-tolerant-agent-swarm-commit-to-a-task-whose-supporting-votes-were-cast-against-a-stale-shared-state-root-and.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1780,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a forged signature, a crashed replica, or a network partition. Every vote in the certificate is cryptographically valid and was cast by an honest agent. The failure is that a quorum of honest agents voted for *different semantic content* that hashed to the *same root digest*, because the digest was computed over a state root that lagged th...",
    "what_was_observed": "A five-agent swarm (tolerance f=1, quorum 2f+1=4) was committing tool-execution tasks against a shared state tree. Each proposal carried `(task_id, state_root, epoch)`. On commit, agents were required to sign `H(task_id || state_root)`. The state tree was updated by a separate gossip channel that propagated leaf insertions with per-leaf versioning but propagated the *root* only on epoch boundary ticks. In a window we...",
    "condition_of_validity": "The invariant holds — and the failure is bounded — only when all three of the following are true simultaneously: 1. **The QC binds the preimage, not just the digest.** The signed message must include either the full leaf set, a versioned root with an explicit epoch, or a root plus the epoch number such that any verifier can detect a root/epoch mismatch. Hash...",
    "decision_boundary": "The boundary is between **digest-level agreement** and **preimage-level agreement**. BFT consensus protocols (PBFT, Tendermint-style, HotStuff) are correct at the digest level: they guarantee that no two conflicting QCs exist for the same `(view, height)`. They are silent at the preimage level: they do not know, and cannot know, that two honest agents resolv...",
    "operational_effect": "The practical consequence is a class of **silent equivocation by honest agents**: the swarm believes it has 2f+1 agreement, but the agreement is over a digest whose preimages disagree. This is strictly worse than a detectable Byzantine fault, because no signature check, no equivocation proof, and no slashing condition fires. The failure surfaces only at repl..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "54104df37d1d8207607aea5e85ef9ef5ca448e17eea4cf83e9fbdc2851926df4",
    "verified_classes": [
      "StalePreimageQuorumError",
      "Vote"
    ],
    "verified_functions": [
      "verify_vote_against_pinned_root",
      "assemble_quorum"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "StalePreimageQuorumError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
