# What structural signals indicate a quorum certificate has silently lost Byzantine safety across trust domains **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent action-commitment protocols where agents from distinct trust domains (different operators, key custodians, or policy authorities) co-sign a proposed action and a quorum certificate (QC) is treated as proof of commitment. Does not apply to single-domain replicated state machines where all validators share one trust root, nor to advisory-only consensus where no irreversible side effect is gated on the QC. ## Core Distinction A Byzantine fault-tolerant commitment protocol guarantees safety only under the assumption that the *fault budget is measured over the actual signing set*, not over a nominal membership list. In multi-domain agent consensus, the signing set is routinely assembled from heterogeneous membership views: each agent's identity is vouched for by its *own* domain's registry, and the union of those registries is what the protocol treats as the validator set. The failure mode is not a forged signature and not a crashed node. It is a **quorum certificate whose weight was computed against a validator set that two trust domains disagree about** — a certificate that is individually valid, passes every signature check, and yet does not imply what the protocol assumes it implies: that no conflicting certificate can exist for a different action at the same height. The non-obvious part: the QC is *cryptographically sound and semantically broken*. Every signature verifies. The threshold arithmetic (e.g., `2f+1` over `3f+1`) is satisfied. The only thing wrong is that the denominator — the total voting weight — was resolved differently by the proposer and by a peer, so the same set of signatures can clear threshold in one domain's view and fall below it in another's. Two disjoint actions can each gather a "valid" QC if the fault budget `f` is counted per-domain and the domains' membership lists overlap in a way neither operator audited. ## What Was Observed A three-domain commitment swarm (domains A, B, C; nominal `3f+1 = 7` validators, `f = 2`, threshold `2f+1 = 5`) committed two conflicting actions at the same logical height within a 40 ms window. Trace: 1. Proposer `P_A` (domain A) resolved the validator set from A's registry: `{a1, a2, a3, b1, b2, c1, c2}` — 7 members, threshold 5. 2. `P_A` collected signatures from `{a1, a2, a3, b1, c1}` → weight 5 → QC emitted, action `X` committed. 3. Concurrently, `P_B` (domain B) resolved the validator set from B's registry: `{b1, b2, b3, a1, c1, c2, c3}` — also 7 members, threshold 5. Note `b3` and `c3` exist only in B's view; `a2, a3, c2` exist only in A's view. 4. `P_B` collected signatures from `{b1, b2, b3, a1, c1}` → weight 5 → QC emitted, action `Y` (conflicting: mutates the same resource) committed. 5. The intersection `{a1, b1, c1}` has weight 3 in *both* views. Byzantine safety requires the intersection of any two quorums to contain at least one *honest* member, i.e. intersection weight `> f`. Here `3 ≤ f = 2` is violated: intersection weight 3 minus up to `f=2` Byzantine = 1 honest, but the two quorums were allowed to be formed from *different* denominators, so the honest-intersection argument never held. Both QCs are individually valid; both actions committed; the resource diverged. The structural signals that preceded the divergence and would have flagged it: (a) the two QCs' signer sets differed in *membership*, not just in ordering; (b) the union of signers across the two QCs (`{a1,a2,a3,b1,b2,b3,c1,c2,c3}` = 9) exceeded the nominal set size (7), which is impossible under a shared validator set and is the canonical tell of a membership-view split; (c) each domain's registry reported a different `(set_hash, threshold)` tuple for the same logical epoch. ## Condition of Validity The invariant that must hold for a QC to mean "no conflicting QC at this height exists" is: > **Weighted-intersection invariant.** For every pair of quorums `Q1, Q2` that can be assembled under *any* membership view any honest agent might hold, `weight(Q1 ∩ Q2) > f`, where `f` is the *global* Byzantine budget and `weight` is computed against a single canonical validator set bound to the epoch. This holds only if all of the following are true simultaneously: - The validator set is **epoch-bound and content-addressed**: the QC carries `epoch_id` and `validator_set_hash`, and every verifier recomputes the set from that hash rather than from its local registry. - The threshold is expressed as an **absolute weight** over the canonical set, never as a fraction of a locally-resolved set. - Membership changes (domain join/leave, key rotation) are **serialized through the same consensus** that commits actions, so no two views of one epoch can differ. - Cross-domain registries are **reconciled before signing**, not after. An agent must refuse to sign if its local `(set_hash, epoch)` disagrees with the proposal's. If any one fails, the QC degrades from a safety proof to a liveness artifact: it proves *some* agents signed, not that a conflicting commitment is impossible. ## Decision Boundary The operational line is between **trusting a QC by signature validity** and **trusting a QC by invariant re-derivation**. The correct posture: - A QC is **admissible** as an action commitment only if the verifier independently reconstructs the canonical validator set from `(epoch_id, validator_set_hash)` embedded in the certificate, recomputes total weight, and confirms `weight(signers) ≥ threshold` *and* `weight(signers ∩ any_prior_quorum_at_height) > f`. - A QC is **rejected** — even with all signatures valid — if `validator_set_hash` is absent, if the union of observed signers across competing QCs exceeds the canonical set size, or if the local registry's epoch hash disagrees. - The boundary is *not* "did enough agents sign." It is "does the certificate's embedded set binding force every honest verifier to the same denominator." Signatures without set binding are necessary but not sufficient. A useful discriminator: if you cannot answer "what is the total voting weight, and how do you know?" from the certificate alone without consulting mutable local state, the certificate is not safe to act on. ## Operational Effect Enforcing the weighted-intersection invariant converts a silent safety violation into a **loud liveness stall** — the preferable failure. Concretely: - Proposers whose `validator_set_hash` does not match the epoch's canonical hash fail fast at proposal time instead of emitting a divergent QC. - Verifiers that detect a signer-union exceeding canonical set size raise a hard fault and refuse to apply the action, halting the resource rather than forking it. - The cost is availability: during a registry-reconciliation window, commits pause. This is the correct trade — a paused commitment is recoverable; a forked commitment with two valid QCs is not, because no honest agent can tell which certificate to honor without an out-of-band authority. The residual risk after enforcing the invariant is narrow: an adversary who can forge `validator_set_hash` collisions or who controls a majority of a *single* domain's registry can still bias membership. That is bounded by requiring membership changes to be committed through the same multi-domain quorum they affect — a registry cannot unilaterally redefine the set that judges it. ```python import hashlib from dataclasses import dataclass class QuorumSafetyViolation(RuntimeError): """Raised when a quorum certificate is cryptographically valid but violates the weighted-intersection invariant across trust domains.""" pass @dataclass(frozen=True) class QuorumCertificate: epoch_id: int validator_set_hash: str signers: frozenset[str] action_digest: str height: int def canonical_set_hash(members: frozenset[str]) -> str: joined = "|".join(sorted(members)).encode() return hashlib.sha256(joined).hexdigest() def verify_qc( qc: QuorumCertificate, canonical_members: frozenset[str], f: int, prior_qc_at_height: QuorumCertificate | None, ) -> None: # 1. Set binding: the certificate must name the canonical set, not a local view. expected = canonical_set_hash(canonical_members) if qc.validator_set_hash != expected: raise QuorumSafetyViolation( f"QC epoch {qc.epoch_id} bound to set {qc.validator_set_hash[:12]} " f"but canonical is {expected[:12]}: membership-view split" ) # 2. Signers must be a subset of the canonical set; union overflow is the tell. if not qc.signers <= canonical_members: rogue = qc.signers - canonical_members raise QuorumSafetyViolation( f"QC signers include non-members {sorted(rogue)}: " f"signer union exceeds canonical validator set" ) # 3. Absolute threshold over the canonical denominator. threshold = 2 * f + 1 if len(qc.signers) < threshold: raise QuorumSafetyViolation( f"QC weight {len(qc.signers)} < threshold {threshold} " f"under canonical set of {len(canonical_members)}" ) # 4. Weighted-intersection invariant against any competing QC at same height. if prior_qc_at_height is not None and prior_qc_at_height.height == qc.height: if prior_qc_at_height.action_digest != qc.action_digest: intersection = qc.signers & prior_qc_at_height.signers if len(intersection) <= f: raise QuorumSafetyViolation( f"Conflicting QCs at height {qc.height}: intersection weight " f"{len(intersection)} <= f={f}; Byzantine safety broken" ) ```