What structural signals indicate equivocation in Byzantine agent consensus: the commit-certificate fork at quorum intersection
**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent task-commitment protocols where N ≥ 3f+1 agents reconcile shared task state via signed commit certificates and quorum intersection (PBFT-style or HotStuff-style BFT). Does not apply to single-agent checkpointing, leaderless CRDT gossip, or non-Byzantine crash-fault replication.
Core Distinction
The failure mode is not "a lying agent." It is **equivocation that survives quorum intersection because the certificate set is not closed under view change**. In a correct BFT protocol, no two conflicting commit certificates can both reach quorum if quorums intersect in ≥ 2f+1 honest nodes. The boundary condition this record addresses: an agent can produce two *valid* commit certificates for conflicting task commitments (e.g., `TASK-42: COMMIT` and `TASK-42: ABORT`) when the protocol accepts certificates whose quorum-membership proofs are drawn from **different, non-overlapping epoch snapshots**. Each certificate is individually well-formed; the invariant "the union of any two quorums contains ≥ f+1 honest nodes that signed both" is silently violated because the two quorums were assembled across a view boundary that the verifier did not bind into the signed payload.
The structural signal is therefore not message content — it is **certificate provenance topology**: the epoch/view identifier and the signing-set fingerprint embedded (or absent) in the certificate. A verifier that checks signature validity but not epoch-binding will accept both forks.
What Was Observed
A four-agent reconciliation swarm (`A0` leader, `A1`–`A3` replicas, f=1) committed a task assignment for a shared resource lease. Trace:
- View `v=7`: `A0` proposes `COMMIT(TASK-42, holder=A2)`. Replicas `A1`, `A2`, `A3` sign `prepare`. Quorum = {A0, A1, A2, A3}, all at `v=7`.
- `A0`'s network partition isolates it from `A1` after `A2`'s prepare but before the commit broadcast. `A1`, `A2`, `A3` time out and enter view `v=8` with `A1` as leader.
- View `v=8`: `A1` proposes `ABORT(TASK-42)` (it never saw the commit certificate). `A2`, `A3` sign. Quorum = {A1, A2, A3} at `v=8`. `A1` broadcasts `commit(ABORT, v=8)`.
- `A0` recovers, retains its `v=7` prepare quorum {A0, A1, A2, A3}, assembles `commit(COMMIT, v=7)`, and broadcasts it.
Both certificates verify: every signature is valid, every signer is an authorized replica. `A2` and `A3` signed both. The conflict is real and durable. The reason it is *non-obvious*: the protocol's `prepare` phase did not require signers to include the view number in the signed digest, so a signature produced at `v=7` is bit-identical to one at `v=8`. The new leader `A1`'s view-change `new-view` message carried only a *high-water mark* of the last committed sequence number, not the set of *in-flight* prepare certificates — so `A1` had no evidence of the `v=7` prepare quorum and correctly (per its local state) proposed `ABORT`.
Structural signals that preceded the fork, in the order an auditor would see them:
- **Signing-set fingerprint divergence:** the two certificates' quorum fingerprints share ≥ f+1 signers (`A2`, `A3`) but have different view tags. Shared-signer overlap with divergent view tags is the canonical equivocation signature.
- **Missing `new-view` evidence set:** the `v=8` `new-view` message contained no `prepared-certificates` field (empty array), which is *legal* under the implementation but structurally inconsistent with a `v=7` prepare quorum existing. An auditor comparing `v=7` prepare logs against the `v=8` `new-view` would see the omission.
- **Certificate age inversion:** `commit(COMMIT, v=7)` arrived at `A2` *after* `commit(ABORT, v=8)`. A monotonic view-tag guard would have rejected the stale certificate; none was present.
Condition of Validity
The equivocation is *detectable* (and thus boundable) only under these conditions:
- **Epoch-bound signatures.** Every `prepare`/`commit` signature must cover `(task_id, decision, view, seq, digest)`. If view is outside the signed payload, the fork is undetectable from certificates alone — you must fall back to full message-log audit, which is not always retained.
- **Non-empty new-view evidence.** A `new-view` message at view `v+1` must carry the set of `prepare` certificates the leader observed at `v` (or a signed high-water mark *plus* a set of in-flight task IDs). An empty evidence set is only valid if the leader can prove no prepare quorum existed — which requires either (a) a signed `null-certificate` from ≥ f+1 replicas, or (b) the protocol's `prepare` phase was never entered. Absent either, empty evidence is a structural lie.
- **Monotonic commit acceptance.** Replicas must reject any `commit` certificate whose embedded view tag is ≤ the highest view tag they have already committed for that `task_id`. This is the cheap external guard; it does not prevent the fork but prevents *durable* fork — the second certificate is rejected at the replica, not at the auditor.
- **Quorum-intersection proof in the certificate.** For a certificate to be self-validating, it must include the signing-set fingerprint and the verifier must check `|S1 ∩ S2| ≥ f+1` against every previously seen certificate for the same `task_id`. This is the only check that catches the fork *without* trusting the replica's local view history.
The invariant that must hold: **for any `task_id`, the set of all accepted commit certificates is a chain under the partial order `(view, seq)`, and any two certificates in the set share ≥ f+1 signers with identical signed digests.** Violation of either clause is equivocation, regardless of signature validity.
Decision Boundary
The operational decision is *when to treat a certificate as committed vs. when to escalate to fork-audit*. The boundary:
- **Accept** a commit certificate iff: all signatures valid ∧ view tag present in signed payload ∧ view tag > last-committed view for that `task_id` ∧ signing-set fingerprint does not conflict with any retained certificate for that `task_id`.
- **Escalate to fork-audit** (do not accept, do not reject, freeze the `task_id`) iff: a second certificate for the same `task_id` arrives with a different decision ∧ the two certificates' signing sets intersect in ≥ f+1 signers ∧ view tags differ. This is the *only* condition under which a fork is provable from certificates alone.
- **Reject as stale** iff: certificate view tag ≤ last-committed view. This is the cheap monotonicity guard and handles the `v=7`-after-`v=8` case above.
- **Reject as malformed** iff: view tag absent from signed payload. This is a protocol-conformance failure, not equivocation; the certificate is unverifiable and must not be counted.
The boundary is sharp because the fork-audit condition is *decidable from retained certificates alone* — no message-log replay, no leader cooperation, no trusted third party. If the protocol does not bind view into the signature, the boundary collapses and every fork becomes an unprovable he-said-she-said, which is the failure this record exists to prevent.
Operational Effect
When the boundary is enforced (epoch-bound signatures + monotonic guard + fingerprint intersection check), the equivocation is caught at the replica on the second certificate, the `task_id` is frozen, and the fork-audit resolves by *view-tag maximum*: the certificate with the higher view tag wins, provided its `new-view` evidence set is non-empty. The `v=8` `ABORT` wins over `v=7` `COMMIT`, and `A0`'s stale certificate is rejected. The task state converges to `ABORT`.
When the boundary is *not* enforced, the failure is silent and durable: `A2` and `A3` hold both certificates, `A0` holds `COMMIT`, `A1` holds `ABORT`, and the swarm's shared state for `TASK-42` is forked across replicas. Downstream task commitments that read `TASK-42`'s state (e.g., a lease acquisition that gates on `COMMIT`) will diverge, and the divergence propagates as *conflicting downstream certificates* that are themselves individually valid. This is the compounding failure: one equivocation at `TASK-42` produces N equivocations at dependent tasks, each requiring its own fork-audit, and the audit cost scales with the dependency fan-out rather than the number of Byzantine agents.
The guardrail cost is low: one extra field in the signed digest (view tag), one monotonic comparison per commit, one fingerprint-intersection check per retained certificate pair. The cost of *not* having it is an unbounded fork-audit surface that the protocol cannot close from certificates alone.
from dataclasses import dataclass, field
from typing import Optional
class EquivocationForkDetected(RuntimeError):
"""Raised when two commit certificates for the same task_id share >= f+1
signers but carry divergent decisions and divergent view tags."""
pass
class UnverifiableCertificate(RuntimeError):
"""Raised when a certificate's signed payload omits the view tag, making
epoch-binding impossible and fork-audit undecidable."""
pass
@dataclass(frozen=True)
class CommitCertificate:
task_id: str
decision: str # "COMMIT" | "ABORT"
view: Optional[int] # MUST be in signed payload; None => unverifiable
seq: int
signers: frozenset # set of agent ids
signatures_valid: bool
@dataclass
class TaskState:
task_id: str
last_committed_view: int = -1
certificates: list = field(default_factory=list) # retained for audit
frozen: bool = False
def accept_or_audit(
cert: CommitCertificate,
state: TaskState,
f: int,
) -> str:
"""Returns 'ACCEPT', 'REJECT_STALE', or 'FROZEN'. Raises on equivocation
or unverifiable certificates."""
if state.frozen:
return "FROZEN"
if cert.view is None:
raise UnverifiableCertificate(
f"cert for {cert.task_id} omits view tag in signed payload; "
f"epoch-binding impossible, fork-audit undecidable"
)
if not cert.signatures_valid:
return "REJECT_STALE"
# Cheap monotonic guard: stale view cannot override committed state.
if cert.view <= state.last_committed_view:
return "REJECT_STALE"
# Fingerprint-intersection check against every retained certificate.
for prior in state.certificates:
if prior.decision == cert.decision:
continue
shared = prior.signers & cert.signers
if len(shared) >= f + 1:
# Provable fork: shared honest signers signed two conflicting
# decisions at divergent views. Freeze and escalate.
state.frozen = True
state.certificates.append(cert)
raise EquivocationForkDetected(
f"task {cert.task_id}: fork between "
f"{prior.decision}@{prior.view} and "
f"{cert.decision}@{cert.view}, shared signers={sorted(shared)}"
)
state.certificates.append(cert)
state.last_committed_view = cert.view
return "ACCEPT"