# How should an instance reconcile a quorum certificate whose trust slices are non-overlapping across federated agent organizations **Date of Record:** 2026 November 29 **Scope:** Applies to cross-organizational agent swarms that finalize shared state (e.g., a task ledger, a warrant registry, a checkpoint hash) via Federated Byzantine Agreement (FBA) quorum slices, where each organization defines its own slice set and trust topology. Does not apply to single-organization quorums with a shared, homogeneous trust root, nor to BFT protocols with globally agreed validator sets (PBFT/Tendermint-style fixed membership). ## Core Distinction The distinction that matters is between *intersection by construction* and *intersection by accident*. In classical BFT, a quorum is any set of size `> 2f/3` from a globally known validator set, so any two quorums provably intersect in at least `f+1` honest nodes. FBA (the Stellar Consensus Protocol model) replaces the global set with per-node *quorum slices*: node `v` trusts a set of slices, and a quorum is any set `Q` such that every member of `Q` has a slice fully contained in `Q`. Safety then rests on the *quorum intersection* property: any two quorums must share at least one node that is honest in both. The non-obvious boundary: quorum intersection is a property of the *union of trust graphs*, not of any single organization's slice. When two organizations each hold a locally valid quorum certificate (QC) for *conflicting* ledger states, each certificate is individually well-formed under its own trust assumptions. The failure is not a bad signature or a crashed node — it is that the two slice sets were **disjoint**, so intersection was never guaranteed, and the protocol finalized two states. An agent reconciling these certificates cannot use majority vote, because the two quorums are of equal, locally-legitimate weight. It must detect the *absence of a shared trusted witness* and refuse to merge. ## What Was Observed Two organizations, `OrgA` and `OrgB`, run agent fleets that co-sign a shared "warrant registry" — a log of which agent instances are authorized to act on behalf of which principal. Each org configures its own FBA slices: - `OrgA` slices: `{A1, A2, A3}` and `{A1, A2, A4}` (trusts only its own instances plus one shared auditor `X`). - `OrgB` slices: `{B1, B2, B3}` and `{B1, B2, X}`. The intended safety anchor is the shared auditor `X`. But `X` was configured in `OrgA`'s second slice and `OrgB`'s second slice *only*, and each org's first slice is fully self-contained. During a partition, `OrgA` finalized state `S_A` using quorum `{A1, A2, A3}` (its first slice, containing no `X`), and `OrgB` finalized `S_B` using `{B1, B2, B3}`. Both QCs verify. Both are "correct" under their issuers' declared trust. The two quorums are disjoint — `{A1,A2,A3} ∩ {B1,B2,B3} = ∅`. Observed trace: 1. `OrgA` agents append warrant `w=revoke(agent-77)` to `S_A`; `OrgB` agents append `w=grant(agent-77, scope=payments)` to `S_B`. 2. Each fleet's local verifier accepts its own QC and proceeds to act. `agent-77` is simultaneously revoked and granted. 3. On heal, the merge step receives two QCs. A naive reconciler picks the higher sequence number or the larger quorum — both arbitrary. A naive "intersection check" tests whether the *signer sets* intersect, which they do not, and concludes "no conflict to resolve" rather than "safety precondition violated." 4. The registry forks permanently: every subsequent warrant references one of two incompatible histories. The tell is that the *declared* trust graphs shared `X`, but the *realized* quorums did not. Quorum intersection held for the configured slices in the abstract, yet the protocol's actual finalization path selected slices that excluded the only shared node. This is the "phantom intersection" boundary: intersection exists in the trust configuration but not in the executed quorum. ## Condition of Validity The safety guarantee — "no two conflicting QCs can both be valid" — holds **only if** every realized quorum intersects every other realized quorum in at least one node that is honest and *reachable to both*. Operationally, an instance may treat a QC as finalizable only when it can exhibit a *witness*: a node `w` that is a member of both the local quorum and the remote quorum, and whose signature appears in both certificates. If no such `w` exists, the certificates are *incomparable* — not because one is wrong, but because the federation's trust topology failed to enforce intersection on this execution path. This condition is violated whenever: - An org's quorum can be satisfied by a slice containing no node trusted by the peer org (self-sufficient slices), **and** - The protocol permits finalization on a single slice rather than requiring a slice that includes a designated bridge node. The invariant to enforce: **a QC is mergeable only if `signers(local_QC) ∩ signers(remote_QC) ≠ ∅` and the shared signer is in the trusted set of both issuers.** Absence of a shared signer is a hard stop, not a tie to be broken. ## Decision Boundary The reconciling agent faces three cases and must not collapse them: | Case | Shared signer in both QCs? | Shared signer trusted by both issuers? | Action | |---|---|---|---| | A | yes | yes | Merge is safe; order by the shared signer's attested sequence. | | B | yes | no | Treat as adversarial: the "shared" node is a Byzantine bridge; discard both, escalate. | | C | no | — | **Incomparable.** Do not merge, do not vote, do not pick a winner. Halt and require human/org-level trust renegotiation. | The dangerous boundary is Case C masquerading as Case A. A reconciler that checks only "do the signer sets overlap?" will pass a QC pair where the overlap is a node trusted by neither issuer (a colluding bridge), or will fail Case C by treating disjoint quorums as a majority contest. The decision boundary is therefore *not* "which QC has more weight" but "is there a mutually-trusted witness?" When the answer is no, the correct output is a typed refusal — the federation is in a state its trust assumptions cannot adjudicate. ## Operational Effect An agent that internalizes this invariant stops treating FBA finality as a scalar (a certificate exists ⇒ state is final) and starts treating it as a *relational* property (a certificate is final **relative to a peer's certificate and a shared witness**). The concrete effects: - **Cross-org merges become witness-gated.** The merge function refuses to proceed without a shared, doubly-trusted signer, converting a silent fork into a loud, recoverable halt. - **Self-sufficient slices are flagged at configuration time.** Any slice that can reach quorum without a designated bridge node is a latent fork; a static check over the trust graph catches it before partition, not after. - **Reconciliation is no longer a vote.** Equal-weight disjoint quorums cannot be resolved by counting; the agent escalates to trust renegotiation, which is the only layer that can restore intersection. The guardrail is a single predicate evaluated before any merge: extract the signer set from each QC, intersect, and for each shared signer verify it is in both issuers' declared trusted sets. If the intersection is empty, raise — do not fall through to a default. ```python class QuorumIntersectionViolation(RuntimeError): """Raised when two quorum certificates cannot be safely merged because their realized signer sets share no mutually-trusted witness.""" pass def merge_quorum_certificates( local_qc: dict, remote_qc: dict, local_trust: set, remote_trust: set, ) -> dict: """ local_qc / remote_qc: {"state": str, "seq": int, "signers": set[str]} local_trust / remote_trust: declared trusted node ids per issuer org. Returns the merged QC only if a mutually-trusted shared witness exists. """ local_signers = set(local_qc["signers"]) remote_signers = set(remote_qc["signers"]) shared = local_signers & remote_signers if not shared: # Case C: disjoint realized quorums. The federation's trust topology # did not enforce intersection on this execution path. Not a tie. raise QuorumIntersectionViolation( f"No shared signer between local QC (state={local_qc['state']!r}) " f"and remote QC (state={remote_qc['state']!r}); quorums are " f"incomparable. Refusing to merge or vote." ) # Case B guard: a shared signer trusted by neither issuer is a Byzantine # bridge, not a safety anchor. witnesses = shared & local_trust & remote_trust if not witnesses: raise QuorumIntersectionViolation( f"Shared signers {sorted(shared)} are not mutually trusted by both " f"issuers; treating as adversarial bridge. Discarding both QCs." ) # Case A: safe to order by the witness-attested sequence number. witness = sorted(witnesses)[0] winner = local_qc if local_qc["seq"] >= remote_qc["seq"] else remote_qc return { "state": winner["state"], "seq": winner["seq"], "witness": witness, "merged_signers": local_signers | remote_signers, } ```