# Where must an instance draw the line between an equivocating peer and a merely slow one in Byzantine task-commitment consensus? **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems that reach task-commitment consensus (quorum-of-signatures, PBFT-style, or threshold-attestation) over a shared ledger of "who has committed to do what," where peers can be non-crash faulty. Does not apply to single-agent tool orchestration or to crash-only fault models where silence is the sole failure signal. ## Core Distinction The boundary is not "responsive vs. unresponsive." It is **equivocation vs. latency**, and they are indistinguishable from the receiver's side until a second, independent view of the same agent's output is compared. A crash-fault-tolerant (CFT) liveness timeout treats silence as the fault signal. Under a Byzantine model, the adversarial agent's most economical attack is to *stay responsive* — sending valid-looking but mutually inconsistent commitments to disjoint quorums — so that every per-link liveness check passes while the global commitment set forks. The invariant that actually holds is: **no two conflicting task-commitments may both accumulate a quorum that intersects in an honest agent**, and equivocation is only detectable at the intersection, never at the link. ## What Was Observed A planner agent P dispatched task commitments to workers W1..W7 (f=2 Byzantine tolerance, quorum=5). P signed `commit(task=T, owner=W3)` and sent it to {W1,W2,W3,W4,W5}. Simultaneously it signed `commit(task=T, owner=W6)` and sent it to {W3,W4,W5,W6,W7}. W3, W4, W5 each received *both* — but because each message carried a monotonically increasing per-recipient nonce and arrived in different order at each node, each honest node accepted the first-arrived and logged the second as a "duplicate/conflict" to a local, unshared anomaly buffer. No node raised a protocol-level alarm because, locally, each saw only one well-formed commitment plus a benign-looking duplicate. The two quorums {W1,W2,W3,W4,W5} and {W3,W4,W5,W6,W7} intersect at {W3,W4,W5}, satisfying the intersection invariant *numerically* — but the intersection agents did not *act* on the conflict, so the invariant was satisfied on paper and violated in effect. Both `owner=W3` and `owner=W6` were durably committed; W3 and W6 both began work; the task was executed twice and the ledger reconciled to `owner=W6` on replay, silently discarding W3's completed output. The failure trace: (1) equivocating proposer sends two signed, individually-valid commitments; (2) per-link validation passes because each signature is genuine; (3) intersection nodes detect the conflict but classify it as a *local duplicate*, not a *global equivocation*; (4) no node has the quorum-intersection view needed to prove equivocation; (5) both commitments finalize. The trigger condition is precisely: **the conflict-detection logic is scoped per-recipient rather than per-intersection, and the anomaly is buffered locally instead of escalated to a shared equivocation proof.** ## Condition of Validity The intersection invariant ("any two quorums share ≥1 honest node") is only *operationally* valid if the shared honest node is obligated and able to convert its private conflict observation into a *portable, verifiable proof* that any other agent can check without trusting the reporter. That requires three conditions, all of which must hold: 1. **Dual-signature capture:** the intersection node retains *both* conflicting signed messages (not a hash, not a summary — the full signed payloads), because the proof is the pair itself. 2. **Escalation obligation:** receipt of a second conflicting commitment for the same `(task, epoch)` is a *protocol fault*, not a duplicate; it must halt local acceptance and emit an equivocation certificate. 3. **Certificate verifiability:** the certificate `(msg_A, msg_B)` must be checkable by any third party using only the proposer's public key and the epoch binding — no trust in the reporter's honesty, because the reporter might itself be Byzantine and forge a "conflict" to frame an honest proposer. If any condition fails, the system degrades to CFT liveness assumptions while advertising BFT safety — the worst of both. ## Decision Boundary An instance must treat a peer as **equivocating (Byzantine)** rather than **slow (crash/latency)** exactly when it holds two signed messages from that peer for the same `(task, epoch, slot)` that are mutually exclusive, *regardless of timing*. It must treat the peer as **slow** only when it holds zero or one such message and the deadline has elapsed. The boundary is therefore not temporal — it is **evidence-structural**: one message = insufficient evidence, timeout applies; two conflicting messages = proof of fault, timeout is irrelevant and must be suppressed. Critically, an instance must never let a timeout *finalize* a commitment when a conflicting signed message for the same slot is already in its possession, even if that message arrived after the deadline — late-arriving equivocation evidence must retroactively invalidate a finalized-but-not-yet-reconciled commitment within the reconciliation window, or the window is theater. ## Operational Effect Concretely: on detecting a second conflicting commitment, the node (a) refuses to sign or forward either, (b) constructs and broadcasts an equivocation certificate, (c) any node receiving a valid certificate marks the proposer `faulted` for the epoch and refuses all its future commitments, and (d) the epoch's pending commitments for the affected task are rolled back to `uncommitted` and re-proposed by a rotated leader. The reconciliation window must be wide enough to admit late certificates, or double-execution recurs. The cost is that a single Byzantine proposer can force epoch rollback — an availability hit traded for the safety invariant, which is the correct trade under BFT. ```python import hashlib from dataclasses import dataclass class EquivocationDetected(RuntimeError): """Raised when a peer has signed two conflicting commitments for one slot.""" pass @dataclass(frozen=True) class Commitment: proposer: str task: str epoch: int slot: int # the exclusive resource being assigned owner: str signature: str # opaque; assumed verified upstream def _slot_key(c: Commitment) -> tuple: return (c.proposer, c.task, c.epoch, c.slot) def verify_certificate(a: Commitment, b: Commitment) -> bool: """A certificate is valid iff both messages bind the same slot but assign different owners, and both signatures verify against the proposer.""" if _slot_key(a) != _slot_key(b): return False if a.owner == b.owner: return False # Signature check is delegated; here we require distinct, well-formed sigs. return bool(a.signature) and bool(b.signature) and a.signature != b.signature def accept_commitment( incoming: Commitment, local_log: dict, finalized: set, ) -> str: """Return 'accepted' | 'duplicate'. Raise EquivocationDetected on conflict. The invariant: a second conflicting signed message for the same slot is a protocol fault, never a benign duplicate -- even if it arrives after the liveness deadline and even if the first was already finalized. """ key = _slot_key(incoming) prior = local_log.get(key) if prior is None: local_log[key] = incoming return "accepted" if prior.owner == incoming.owner: return "duplicate" # Two conflicting, individually-valid commitments for one slot: equivocation. if verify_certificate(prior, incoming): # Late evidence must retroactively invalidate a finalized commitment # within the reconciliation window; otherwise double-execution survives. if key in finalized: finalized.discard(key) raise EquivocationDetected( f"proposer {incoming.proposer} equivocated on {key}: " f"owner={prior.owner} vs owner={incoming.owner}" ) raise EquivocationDetected( f"malformed conflict on {key}: certificate failed verification" ) ```