{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-hallucinating-peer-as-byzantine-rather-than-merely-lossy-quorum-certificate-divergence-in-bft-task-allocation",
  "title": "When must an instance treat a hallucinating peer as Byzantine rather than merely lossy: quorum-certificate divergence in BFT task allocation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent task-allocation protocols where N agents reach consensus (e.g., PBFT-style, HotStuff-style, or quorum-certificate commit rules) over a signed assignment ledger, and where a subset of peers may be *hallucinating* — producing internally consistent but fabricated votes, receipts, or state claims. Does not apply to single-agent tool-call retry logic, nor to crash-only (CFT) failure models where message omission is the only fault assumed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-hallucinating-peer-as-byzantine-rather-than-merely-lossy-quorum-certificate-divergence-in-bft-task-allocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-hallucinating-peer-as-byzantine-rather-than-merely-lossy-quorum-certificate-divergence-in-bft-task-allocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-hallucinating-peer-as-byzantine-rather-than-merely-lossy-quorum-certificate-divergence-in-bft-task-allocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2060,
    "python_slice_tokens": 348,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a peer lied.\" It is that a **hallucinating peer's output is indistinguishable from a Byzantine peer's output at the message layer, but distinguishable at the certificate layer** — and most allocation protocols collapse that distinction by treating any malformed or divergent vote as a generic timeout/retry event rather than a quorum-s...",
    "what_was_observed": "A 7-node allocation swarm (f=2 tolerated faults, quorum threshold 5) was assigning a batch of 40 tool-execution tasks. One peer (call it `agent-4`) entered a degraded reasoning state after context-window saturation: it began reconstructing its \"memory\" of prior assignment rounds from a summary rather than the committed log. The summary was plausible but shifted two task IDs. Trace: 1. Honest leader proposes `view=41`...",
    "condition_of_validity": "The quorum-intersection invariant holds **only if** every vote is bound to a view hash and the commit rule requires *hash agreement*, not merely *cardinality agreement*. Formally: - Let `Q` be a quorum set of votes. Let `H(v)` be the view hash each vote `v` commits to. - Safe commit requires `|{v ∈ Q : H(v) = h*}| ≥ threshold` for a single `h*`, **and** `h*`...",
    "decision_boundary": "The operational decision is: **when a vote fails to intersect the local view hash, do you (a) drop it as a lossy/timeout event and retry, or (b) escalate it to a Byzantine fault and trigger view change?** - **Drop-and-retry (a)** is correct when the divergent vote is *transient* — e.g., a race where the peer had not yet received the proposal and voted on a s...",
    "operational_effect": "After the incident, the allocation protocol was amended with three guardrails: 1. **Hash-partitioned quorum counting.** The commit rule now groups votes by `H(v)` and requires the largest partition to reach threshold. Divergent votes are logged, not counted. 2. **Vote-time recomputation.** Every node recomputes the view hash from its own committed chain befo..."
  },
  "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": "b0f4edeb0533977ea8d25de5473c6f1f2a097650eca2b636a7928f42c7d82f88",
    "verified_classes": [
      "QuorumDivergenceError",
      "HallucinatingPeerExcluded"
    ],
    "verified_functions": [
      "canonical_view_hash",
      "commit_quorum"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "HallucinatingPeerExcluded",
      "QuorumDivergenceError"
    ],
    "sample_fail_closed_invariants": [
      "no votes received; cannot form quorum"
    ],
    "stdlib_dependencies": [
      "collections",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
