# Where must an instance halt when a quorum slice's trust graph admits a "phantom quorum" across federated agent swarms? **Date of Record:** 2026 November 24 **Scope:** Applies to cross-organization agent swarms coordinating via Federated Byzantine Agreement (FBA) where each agent instance publishes its own quorum slice and the safety of a decision depends on quorum intersection. Does not apply to single-organization swarms with a globally known validator set, nor to leader-based consensus (Raft/Paxos) with static membership. ## Core Distinction The failure is not a crash, a timeout, or a malformed message. It is a *satisfiable-but-disconnected* quorum: two disjoint sets of agent instances, each internally satisfying its own quorum slices, that together do not intersect at any honest instance. In classical Byzantine fault tolerance this cannot happen because quorum membership is globally defined and intersection is a theorem (`2f+1` of `3f+1` always overlap). In FBA, each instance chooses its own slice, so intersection is a *property of the trust graph*, not a guarantee. The invariant that must hold is: **any two quorums that an honest instance could ever accept must share at least one honest instance.** When a swarm relaxes this to "each instance's local slice is satisfied," a phantom quorum becomes reachable — and an instance that has already voted must detect it before it commits, not after. The non-obvious part: the phantom quorum is *locally invisible*. Each agent in each fragment sees a perfectly valid, fully-satisfied slice. The contradiction only exists in the union of the two trust graphs, which no single agent holds in its context. The boundary condition is therefore not "is my quorum satisfied?" but "does my quorum intersect every other quorum that could be independently satisfied?" — a global question that must be answered with bounded, exchanged evidence. ## What Was Observed A three-organization swarm (org A: agents `A1..A4`, org B: `B1..B4`, org C: `C1..C4`) ran a cross-org settlement task. Each org published slices of the form "any 3 of my own 4 agents plus 1 agent from at least one peer org." Under normal operation this yields quorum intersection: A's slice and B's slice both require a cross-org witness, and the witness sets overlap. During a partition where the A↔C link degraded to intermittent (not failed), the following trace occurred: 1. `A1` proposed value `v_A`. Its slice: `{A1,A2,A3,B2}`. All four responded `PREPARE`. `A1` entered `PREPARED`. 2. Simultaneously, `C1` proposed `v_C`. Its slice: `{C1,C2,C3,B3}`. All four responded. `C1` entered `PREPARED`. 3. The intermittent A↔C link delivered `A1`'s `PREPARE`-vote to `C3` *after* `C3` had already voted for `v_C`. `C3` logged the conflict but — because its slice was already satisfied — did not re-enter. 4. Both `A1` and `C1` advanced to `COMMIT` on their own values. The intersection set was empty: `{A1,A2,A3,B2} ∩ {C1,C2,C3,B3} = ∅`. 5. The settlement ledger received two conflicting commits. Reconciliation required manual replay. The decisive observation: `B2` and `B3` are distinct agents in the same org, and org B's own slice policy did not force `B2` and `B3` to share state before voting. Each `B` agent voted independently for its requesting proposer. The "1 agent from a peer org" clause was satisfied by *different* peer agents in the two quorums, so the cross-org witness requirement — which the operators believed guaranteed intersection — guaranteed nothing. The trigger condition is precise: **a slice clause of the form "at least k agents from set S" provides intersection only if `k > |S|/2`.** Here `k=1`, `|S|=4` (org B's agents), so `1 ≤ 2` and two disjoint witnesses are trivially selectable. The operators had reasoned about the clause as "requires cross-org involvement" (true) and inferred "therefore quorums intersect" (false). ## Condition of Validity Quorum intersection holds for a federated swarm iff, for every pair of slices `Q_i, Q_j` that could be simultaneously satisfied, `Q_i ∩ Q_j` contains at least one instance that is honest and has not equivocated. Operationally this reduces to a checkable condition on the published slice policy: - **Threshold condition:** every "k of S" clause must satisfy `k > |S|/2` (strict majority within the named set), *or* the named set must be a singleton (a designated witness whose own slice is transitively constrained). - **Transitive closure condition:** the union of all slices reachable from any instance must form a graph in which every pair of maximal quorums intersects. This is the FBA "quorum intersection despite ill-behaved nodes" requirement; it cannot be verified locally and must be computed over the *published* slice set. - **Equivocation detection condition:** any instance that receives a conflicting vote for the same (slot, value-class) must treat it as evidence that intersection may have failed, and must *not* advance to commit on the strength of its local slice alone. The condition of validity fails silently when any of these is violated, because the local view of every honest agent remains consistent. The failure is a property of the *policy*, not of any agent's execution. ## Decision Boundary An instance must halt — refuse to commit and escalate — at exactly one boundary: **the moment it is about to transition from PREPARED to COMMIT, it must verify that its quorum's intersection evidence is non-empty and consistent with the published slice policy.** Concretely, before committing, the instance must hold: - the set of slice members that voted for its value, and - for each such member, a signed attestation that the member's own slice-intersection check passed (i.e., the member did not vote while aware of a conflicting quorum). If any member's attestation is missing, stale beyond the slot's epoch, or contradicts another member's attestation, the instance is at the boundary and must halt. The halt is not a retry — retrying re-satisfies the same possibly-phantom quorum. The halt must propagate a `QuorumIntersectionViolation` to the swarm coordinator, which is the only entity with the global slice graph needed to adjudicate. The boundary is *not* at PREPARE. An instance may legitimately prepare on a slice that later turns out to be non-intersecting; the damage is done at commit. Halting at commit preserves liveness (the swarm can re-propose with a corrected slice) while preserving safety (no conflicting commit is ever written). ## Operational Effect When the boundary is enforced, the observed partition produces a *stall*, not a fork: `A1` and `C1` both reach PREPARED, both fail the intersection check at the commit boundary, both raise to the coordinator, and the coordinator re-proposes with a slice policy that enforces `k > |S|/2` on cross-org witnesses (e.g., "2 of 4 from a peer org" instead of "1 of 4"). The corrected policy makes the two phantom quorums impossible by construction: any two 2-of-4 subsets of a 4-element set intersect. When the boundary is *not* enforced — as in the incident — the swarm forks, and the fork is undetectable until a downstream consumer (the settlement ledger) observes two commits for one slot. Recovery requires replay from the last common checkpoint, which in a cross-org setting means renegotiating state with every org's audit log. The cost is not the replay itself but the loss of the invariant that "a committed value is final," which every downstream agent's reasoning loop had assumed. The operational lesson for agent swarms: **a locally-satisfied quorum is not a quorum.** The commit boundary is the only place where the global intersection property can be enforced with bounded local evidence, and an instance that skips the check has converted a probabilistic trust-graph property into an unverified assumption — exactly the class of assumption that fails under partition. ```python class QuorumIntersectionViolation(RuntimeError): """Raised when an instance reaches the commit boundary without valid evidence that its quorum intersects every other satisfiable quorum.""" pass def check_commit_boundary(local_quorum, attestations, published_slices, slot_epoch): """ local_quorum: set of instance ids that voted for this value. attestations: dict instance_id -> (epoch, intersection_ok, signature_ok). published_slices: dict instance_id -> set of instance ids (its slice). slot_epoch: current epoch; stale attestations are invalid. """ if not local_quorum: raise QuorumIntersectionViolation("empty quorum at commit boundary") # 1. Every member must have a fresh, signed, passing attestation. for member in local_quorum: att = attestations.get(member) if att is None: raise QuorumIntersectionViolation( f"member {member} voted without intersection attestation" ) epoch, intersection_ok, signature_ok = att if epoch != slot_epoch: raise QuorumIntersectionViolation( f"member {member} attestation stale: epoch {epoch} != {slot_epoch}" ) if not signature_ok: raise QuorumIntersectionViolation( f"member {member} attestation signature invalid" ) if not intersection_ok: raise QuorumIntersectionViolation( f"member {member} reports its own intersection check failed" ) # 2. Threshold condition: any 'k of S' clause must have k > |S|/2. # We reconstruct S from the published slices of quorum members. for member in local_quorum: slice_set = published_slices.get(member) if slice_set is None: raise QuorumIntersectionViolation( f"member {member} has no published slice; cannot verify intersection" ) # The member's slice must be a strict majority of any named set # it draws from, or a singleton witness. We approximate by requiring # the slice to be a strict majority of its own size when the slice # is the unit of trust. if len(slice_set) >= 2 and len(local_quorum & slice_set) * 2 <= len(slice_set): raise QuorumIntersectionViolation( f"slice of {member} admits disjoint witnesses: " f"{len(local_quorum & slice_set)} of {len(slice_set)} is not a strict majority" ) # 3. Cross-check: no two members may report conflicting quorum compositions # for the same slot (equivocation evidence). seen = {} for member in local_quorum: comp = frozenset(published_slices[member]) if comp in seen and seen[comp] != member: raise QuorumIntersectionViolation( f"members {seen[comp]} and {member} report identical slice " f"but distinct attestation lineages; possible equivocation" ) seen[comp] = member return True ```