# How should an instance detect equivocating peers during multi-agent task commitment when the quorum certificate carries no per-validator vote vector **Date of Record:** 2026 November 30 **Scope:** Applies to BFT-committed multi-agent task ledgers where a proposer instance aggregates signed votes into a quorum certificate (QC) and peers reconcile shared task state from that certificate. Does not apply to single-leader chains with full vote-vector inclusion, nor to optimistic single-validator commitment schemes. ## Core Distinction A quorum certificate proves *that* a threshold of validators signed some block digest—it does not prove *which* validators signed, nor that the signing set is identical across the certificates two peers hold. When commitment is compressed to a bare threshold signature (BLS aggregate, ring signature, or a "≥ 2f+1 signatures present" boolean), an equivocating proposer can mint two divergent QCs for conflicting task-commitment blocks at the same height, each internally valid, each satisfying the threshold predicate. The failure is not a broken signature; it is that **the certificate is a witness of cardinality, not a witness of set identity**. Two agents holding QCs `QC_A` and `QC_B` for conflicting commitments cannot locally decide which is canonical, because the artifact they were given deliberately erases the information (the vote vector) required to detect the intersection violation. This is the boundary: BFT safety assumed an *intersection* property over validator sets, but the compressed certificate only preserves a *cardinality* property. ## What Was Observed A three-agent planning swarm (`planner`, `executor`, `auditor`) ran a four-validator commitment set with `f=1`, threshold `2f+1=3`. The `planner` acted as rotating proposer for height `h=41`. During a network partition that isolated one validator, the planner produced two blocks at `h=41`: - `B_α`: commits task `T1 → executor` with resource lease `L1`. - `B_β`: commits task `T1 → auditor` with the same lease `L1`. The planner collected three signatures on `B_α` from validators `{v1, v2, v3}` and three signatures on `B_β` from `{v1, v2, v4}`. Both aggregates verify against the validator public-key set. Both satisfy `count ≥ 3`. The planner delivered `QC_α` to the `executor` and `QC_β` to the `auditor`. Each agent, on receipt, ran the standard `verify_qc(qc, height, block_digest)` check—which passed in both cases—and committed its local task ledger. The `executor` began acquiring `L1`; the `auditor` simultaneously began auditing `L1` under a conflicting ownership claim. The shared-state reconciliation step (`merge_ledgers`) then deadlocked: each side held a valid certificate for an incompatible world, and neither the merge function nor the agents' local verification could produce a total order, because the certificates were *individually* well-formed. The conflict only surfaced when the isolated validator `v4` rejoined and its own vote log showed it had signed `B_β` at `h=41` while `v3`'s log showed `B_α`—a cross-check that no single agent could perform from the certificate alone. The observable signature of the failure: a `merge_ledgers` call that returns two distinct committed blocks for the same `(height, slot)` with no local error, followed by downstream lease-acquisition contention. The deadlock is *silent at commit time* and *loud only at reconciliation*. ## Condition of Validity The cardinality-only certificate is safe **iff** one of the following holds, and unsafe otherwise: 1. **Vote-vector inclusion.** The QC carries the explicit set of signer identities (or a Merkle-rooted bitmap over the validator set). Then any two QCs at the same height can be intersected locally: a non-empty intersection implies at least one validator signed both, which—given honest validators sign at most one block per height—proves equivocation and is detectable by the receiving agent. This is the classical HotStuff/Tendermint invariant, and it is *lost* the moment the vector is compressed away. 2. **Proposer accountability binding.** The block digest commits to the proposer identity and the QC is bound to that digest, so two conflicting QCs at one height imply a single provably-misbehaving proposer identity that can be slashed and excluded. This converts a safety violation into a detectable, attributable fault—but only if the receiving agent retains the proposer-binding proof and is willing to halt on conflict rather than pick a winner. 3. **Single-delivery assumption.** If the transport guarantees at most one QC per `(height, slot)` ever reaches the reconciliation layer, cardinality suffices. This assumption is exactly what a Byzantine proposer violates, so it cannot be relied upon in an adversarial setting. Outside these conditions—specifically, compressed QC + multi-delivery + no proposer binding—the system has no local invariant that bounds the divergence. The boundary is sharp: the moment the certificate stops carrying set identity *and* the proposer is untrusted *and* delivery is not single-cast, safety is unprovable from the artifact. ## Decision Boundary An instance must treat a received QC as **insufficient for unilateral commitment** and escalate to reconciliation whenever all three of the following hold: - The QC format is cardinality-only (`has_threshold(qc) == True` but `signer_set(qc) is None`). - The receiving agent has, within the reconciliation window, observed a *different* block digest for the same `(height, slot)`—even one it has not yet committed. - The agent has no retained proposer-binding proof that would let it attribute the conflict to a single faulty identity. The correct action on this boundary is **not** to pick the QC with the larger signature count, the earlier timestamp, or the "more trusted" proposer—those tiebreakers are exactly the heuristics an equivocator exploits, and they are non-deterministic across agents (each agent sees a different arrival order, so tiebreaking by arrival yields divergent ledgers). The bounded action is to *freeze the slot*: mark `(height, slot)` as `CONTESTED`, refuse to commit either block, and initiate a vote-vector exchange round (`request_signer_sets`) that forces every validator to reveal the set it signed. The intersection of the revealed sets is the equivocation proof; the empty-intersection case is impossible under `2f+1` threshold with `f` Byzantine, so a non-empty intersection is guaranteed and yields the faulty signer's identity. Only after the contested slot is resolved by exclusion of the equivocator may the agent commit—and it must commit the *canonical* block chosen by the resolution protocol, not its locally-preferred one. The invariant to enforce architecturally: **no agent may commit a block whose QC cannot be locally intersected against every other QC it has seen at that height.** If the QC format does not permit intersection, the agent must refuse to commit and escalate. Cardinality is a liveness witness; intersection is the safety witness; conflating them is the failure. ## Operational Effect Downstream, the silent-commit-then-deadlock pattern manifests as: duplicate resource-lease acquisition (two agents each holding a valid certificate for the same lease), reconciliation loops that never converge because both sides' certificates pass local verification, and—most dangerously—*auditor disagreement that looks like consensus*. Because each agent's `verify_qc` returns `True`, the swarm's health checks report green while the shared state has forked. The auditor, holding `QC_β`, will attest to `auditor`-ownership of `L1`; the executor, holding `QC_α`, will attest to `executor`-ownership. A naive reconciliation that trusts each agent's self-reported certificate validity will accept both attestations and produce a corrupted merged ledger, because validity ≠ consistency. The fix is a two-layer verification discipline: `verify_qc` (cardinality, cheap, per-message) and `verify_intersection` (set identity, expensive, per-reconciliation-window). The second must be mandatory at the commit boundary and must fail closed. The cost is a signer-set exchange round on every contested slot—bounded by `O(f)` extra messages and one round-trip—which is the price of restoring the intersection invariant that compression discarded. Agents that skip this layer save one round-trip per commitment and pay for it with unbounded fork risk under any equivocating proposer. ```python from dataclasses import dataclass, field from typing import Optional class EquivocationUndetectableError(RuntimeError): """Raised when a QC cannot be intersected to prove or disprove equivocation.""" class ContestedSlotError(RuntimeError): """Raised when two conflicting QCs are seen for one (height, slot).""" @dataclass class QuorumCertificate: height: int slot: str block_digest: str signer_set: Optional[frozenset] # None => cardinality-only, unsafe signature_count: int threshold: int def has_threshold(self) -> bool: return self.signature_count >= self.threshold @dataclass class CommitmentLedger: committed: dict = field(default_factory=dict) # (height, slot) -> digest seen_qcs: dict = field(default_factory=dict) # (height, slot) -> list[QC] contested: set = field(default_factory=set) # frozen (height, slot) def observe(self, qc: QuorumCertificate) -> None: key = (qc.height, qc.slot) self.seen_qcs.setdefault(key, []).append(qc) def verify_intersection(self, a: QuorumCertificate, b: QuorumCertificate) -> frozenset: if a.signer_set is None or b.signer_set is None: raise EquivocationUndetectableError( f"QC at h={a.height} slot={a.slot} carries no signer set; " f"cardinality-only certificates cannot be intersected. " f"Refusing to commit; escalate to signer-set exchange round." ) overlap = a.signer_set & b.signer_set if not overlap: # Impossible under 2f+1 threshold with f Byzantine; indicates # corrupt validator set or forged certificates. raise EquivocationUndetectableError( f"Empty intersection between QCs at h={a.height} slot={a.slot}; " f"threshold invariant violated—validator set integrity compromised." ) return overlap def commit(self, qc: QuorumCertificate) -> str: key = (qc.height, qc.slot) if key in self.contested: raise ContestedSlotError( f"Slot {key} is frozen pending equivocation resolution; " f"refusing to commit digest {qc.block_digest}." ) if not qc.has_threshold(): raise ContestedSlotError( f"QC at {key} failed cardinality check " f"({qc.signature_count} < {qc.threshold})." ) # Safety gate: intersect against every QC seen at this height/slot. for other in self.seen_qcs.get(key, []): if other.block_digest == qc.block_digest: continue try: faulty = self.verify_intersection(qc, other) except EquivocationUndetectableError: # Cannot prove equivocation locally: freeze, do not guess. self.contested.add(key) raise # Non-empty intersection => at least one validator signed both # conflicting blocks => equivocation proven. self.contested.add(key) raise ContestedSlotError( f"Equivocation proven at {key}: signers {sorted(faulty)} " f"signed both {qc.block_digest} and {other.block_digest}. " f"Slot frozen; exclude faulty signers and re-propose." ) self.committed[key] = qc.block_digest return qc.block_digest def reconcile(ledger: CommitmentLedger, incoming: QuorumCertificate) -> str: ledger.observe(incoming) return ledger.commit(incoming) ```