# What structural signals indicate a quorum slice is viable under Federated Byzantine Agreement when agent testimony is non-deterministic **Date of Record:** 2026 November 25 **Scope:** Applies to inter-organizational agent quorums that use Federated Byzantine Agreement (FBA) style slice/quorum-set voting to reach consensus on shared state (task completion, resource locks, audit verdicts) where each voter is an autonomous LLM agent producing probabilistic testimony. Does not apply to deterministic BFT with fixed validator sets, nor to single-organization orchestration where a central scheduler adjudicates. ## Core Distinction The FBA safety property everyone quotes — *quorum intersection*: any two quorums of a node share at least one honest validator — was derived for the case where a validator's vote is a stable, single-valued function of the ledger state. In agent swarms, a validator's vote is a **sample from a distribution conditioned on its prompt, its retrieved context, and its sampling temperature**. The distinction that matters operationally is between *vote identity* (does the same validator cast the same value twice?) and *slice viability* (does the intersection guarantee still hold when the intersection node can legitimately vote both ways?). Quorum intersection is a statement about **sets of nodes**. Agent testimony is a statement about **distributions over values**. When you intersect two slices and the shared node is an LLM that can return `COMPLETE` to slice A and `INCOMPLETE` to slice B on the same evidence, the intersection still exists topologically but carries **zero binding force**. The structural signal you must learn to read is whether the intersecting nodes are *deterministic anchors* (hash-verified, replayable, single-valued) or *stochastic testifiers*. FBA quorum math silently assumes the former. ## What Was Observed An inter-org reconciliation quorum spanning three organizations: Org A runs 4 validators, Org B runs 3, Org C runs 2. Each validator is an LLM agent that receives a task-completion claim and must emit a verdict (`ACCEPT` / `REJECT`) plus a justification hash. Nodes configured their slices with the standard "trust my org + a supermajority of a peer org" pattern. The failure trace: 1. Org A's lead validator `A1` evaluated a completion claim and emitted `ACCEPT` with justification hash `h1`. It voted into the quorum for the claim. 2. Twenty seconds later, the same claim was re-submitted (a retry from a flaky transport in Org C). `A1` was invoked again. Its retrieved context had shifted — a log line from a different task had entered its top-k retrieval — and it emitted `REJECT` with justification hash `h2 ≠ h1`. 3. Org B's slice required `A1` (as the intersection node) to agree with Org B's local majority to certify. Org B's majority said `ACCEPT`. But `A1`'s *second* vote was `REJECT`. 4. Org C's slice required `A1` to agree with Org C's majority. Org C's majority said `REJECT`, and `A1`'s second vote matched — so Org C certified `REJECT`. 5. Org B certified `ACCEPT` on `A1`'s first vote; Org C certified `REJECT` on `A1`'s second vote. Both quorums were valid under their own slices. **Quorum intersection held as a set-theoretic fact — `A1` was in both — yet the two quorums disagreed.** The system reached a *split-brain on a single intersecting validator*. No node was Byzantine in the classical sense: `A1` was honest and non-malicious. It simply sampled two different points from its own output distribution because the second invocation had a different retrieval context. The FBA assumption "an honest node votes consistently" was violated by *honest non-determinism*, not by fault. The structural signal that predicted the failure, visible before it happened: the intersection set of the two slices contained **only stochastic testifiers and no deterministic anchor**. Every node in the intersection was an LLM with temperature > 0 and no replay-locked justification cache. ## Condition of Validity The quorum-intersection safety guarantee holds for agent FBA **if and only if** every node in the intersection of any two quorums is either: - (a) a deterministic anchor — its verdict is a pure function of a content-addressed justification (same `h` ⇒ same verdict, enforced by replay), or - (b) a stochastic testifier whose vote is *bound to a specific justification hash* and whose re-invocation on a different hash is treated as a **different vote by a different logical node**. Condition (b) is the non-obvious one. The invariant is: *the logical identity of an agent validator is `(node_id, justification_hash)`, not `node_id`.* A validator that emits `ACCEPT` on `h1` and `REJECT` on `h2` is not "flip-flopping"; it is two distinct logical voters. If your slice accounting counts them as one node, you have silently collapsed two logical voters into one and destroyed the intersection guarantee. The boundary is crossed the moment an agent's verdict is *not* a function of a stable, content-addressed input. Triggers observed: - Retrieval context drift between invocations (top-k changed because the index was updated or because the query embedding was resampled). - Sampling temperature > 0 with no seed pinning. - Prompt template version skew across retries (Org C's retry used a slightly different system prompt). - Tool-output non-determinism (a `git diff` that included a timestamp, changing the justification hash). ## Decision Boundary When configuring slices for inter-org agent quorums, apply this decision rule: - **If the intersection node is a stochastic testifier:** the slice must require, in addition to the node's vote, a *justification-hash agreement* — i.e., the two quorums must be certifying the *same* `(claim, hash)` pair. If they certify different hashes, the quorums are not intersecting on the same logical vote and must be treated as disjoint. Operationally: reject the certification and force re-convergence on a shared hash. - **If the intersection node is a deterministic anchor:** the classical FBA math holds unchanged; no hash-binding needed beyond the anchor's own replay lock. - **If the intersection set is empty of anchors and the slices certify different hashes:** this is the split-brain condition. Do not resolve by majority — there is no shared vote to take a majority of. Escalate to a *fresh* quorum with an explicitly pinned justification hash. The signal to watch in your slice config: for every pair of slices, compute the intersection set and check whether it contains at least one node whose verdict is replay-locked to a content hash. If not, your quorum intersection is **topological only** and provides no safety against honest non-determinism. ## Operational Effect The practical consequence is that FBA for agent quorums requires a **justification-hash binding layer** that classical FBA does not have. Without it, the system exhibits a failure mode that looks like Byzantine behavior but is not: split-brain on a single honest intersecting validator, triggered by retrieval drift on retry. The mitigation is not "lower the temperature" (that reduces but does not eliminate the distribution's spread) and not "add more validators" (adding stochastic testifiers to the intersection does not restore the guarantee — it just adds more nodes that can diverge). The mitigation is to make the *unit of voting* the `(node, hash)` pair and to require hash agreement across the intersection before any certification is counted. The guardrail: every certification record must carry the justification hash it was issued against, and any consumer of a certification must verify that all contributing quorums certified the *same* hash. A certification that aggregates votes across differing hashes is invalid regardless of how many nodes agreed, because those nodes were voting as different logical entities. ```python import hashlib from dataclasses import dataclass, field from typing import Dict, Set, Tuple class QuorumIntersectionViolation(RuntimeError): """Raised when two quorums 'intersect' on a node_id but certify different justification hashes, meaning the intersection carries no binding force because the shared node is a stochastic testifier.""" pass @dataclass(frozen=True) class Vote: node_id: str verdict: str # "ACCEPT" | "REJECT" justification_hash: str # content-addressed hash of the evidence the agent saw replay_locked: bool # True if verdict is a pure function of justification_hash @dataclass class Certification: quorum_name: str verdict: str votes: Dict[str, Vote] = field(default_factory=dict) def logical_voters(self) -> Set[Tuple[str, str]]: # logical identity of an agent validator is (node_id, justification_hash) return {(v.node_id, v.justification_hash) for v in self.votes.values()} def verify_intersection(cert_a: Certification, cert_b: Certification) -> None: """Enforce: any shared node_id across two certifications must either be a deterministic anchor OR have certified the SAME justification_hash in both. Otherwise the quorums are disjoint in logical-voter space and the intersection is a phantom.""" shared_node_ids = set(cert_a.votes) & set(cert_b.votes) if not shared_node_ids: return # genuinely disjoint; classical FBA math applies to neither for node_id in shared_node_ids: va = cert_a.votes[node_id] vb = cert_b.votes[node_id] if va.replay_locked and vb.replay_locked: # deterministic anchor: same hash must imply same verdict; divergence is a real fault if va.justification_hash == vb.justification_hash and va.verdict != vb.verdict: raise QuorumIntersectionViolation( f"replay-locked anchor {node_id} returned divergent verdicts " f"{va.verdict!r} vs {vb.verdict!r} on identical hash {va.justification_hash}" ) continue # anchors with different hashes are different logical votes but still safe # stochastic testifier: the only safe case is same hash => same logical vote if va.justification_hash != vb.justification_hash: raise QuorumIntersectionViolation( f"phantom intersection: stochastic testifier {node_id} voted on " f"{va.justification_hash[:12]} in {cert_a.quorum_name} " f"({va.verdict}) and {vb.justification_hash[:12]} in {cert_b.quorum_name} " f"({vb.verdict}); quorums are topologically intersecting but logically disjoint. " f"Refusing certification: escalate to fresh quorum with pinned justification hash." ) def certify_claim(claim: str, certs: list[Certification]) -> str: # pairwise intersection check across all contributing quorums for i in range(len(certs)): for j in range(i + 1, len(certs)): verify_intersection(certs[i], certs[j]) # all contributing quorums must certify the same verdict AND the same hash set verdicts = {c.verdict for c in certs} if len(verdicts) != 1: raise QuorumIntersectionViolation( f"split-brain on claim {claim!r}: quorums disagree {verdicts} with no shared logical vote" ) return certs[0].verdict # --- failure trace reproduction --- h1 = hashlib.sha256(b"evidence-v1").hexdigest() h2 = hashlib.sha256(b"evidence-v2-retrieval-drift").hexdigest() a1_first = Vote("A1", "ACCEPT", h1, replay_locked=False) a1_second = Vote("A1", "REJECT", h2, replay_locked=False) org_b = Certification("orgB", "ACCEPT", {"A1": a1_first, "B1": Vote("B1", "ACCEPT", h1, False)}) org_c = Certification("orgC", "REJECT", {"A1": a1_second, "C1": Vote("C1", "REJECT", h2, False)}) try: certify_claim("task-7741-complete", [org_b, org_c]) except QuorumIntersectionViolation as e: print(f"BLOCKED split-brain: {e}") ```