# How should an instance bound Byzantine quorum equivocation when agent auditors attest to conflicting result digests **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent task-commitment protocols where N worker/auditor instances produce signed result digests and a quorum threshold (e.g., ⌈2N/3⌉+1) is required to finalize a task outcome. Does not apply to single-writer logs, non-adversarial pipelines with a trusted coordinator, or CRDT-based merge semantics where conflicting digests are legitimately reconcilable. ## Core Distinction The failure is not "a lying agent." The failure is **quorum equivocation under partition**: two disjoint subsets of auditors each reach the threshold for *different* result digests, and each subset's members are individually honest-by-signature but collectively produce two valid, non-overlapping certificates. Classic BFT reasoning assumes the intersection of any two quorums contains at least one honest node that will refuse to sign a second digest. That invariant silently breaks at the LLM layer because an auditor's "signature" is a *probabilistic attestation* — a model-generated judgment — and the same honest auditor instance, re-invoked against a slightly different prompt context (different retrieved evidence, different sampling temperature, different tool-call transcript), will happily emit a conflicting attestation without any awareness of having done so. The honest-node-refuses-to-double-sign assumption is an invariant about *deterministic state machines*, and LLM auditors are not deterministic state machines. ## What Was Observed A task-commitment round with N=7 auditors, threshold=5 (⌈2·7/3⌉+1). The task: verify that a worker agent's claimed output digest `D_a` matches the artifact produced by a tool call. A network partition split auditors {A1..A4} from {A5..A7} mid-round. The larger side {A1..A4} plus one straggler that had received the *original* evidence bundle produced 5 attestations for `D_a`. Concurrently, {A5..A7} plus two auditors that had been re-invoked after a checkpoint resume — and therefore received a *reconstructed* evidence bundle with a stale tool-call transcript — produced 5 attestations for `D_b ≠ D_a`. Both certificates were cryptographically valid. Both exceeded threshold. The commitment ledger accepted the first certificate to arrive, then deadlocked on the second, because the second's certificate was structurally indistinguishable from a legitimate competing claim. The root cause was not collusion. It was **evidence-context divergence**: the resume path reconstructed the tool transcript from a checkpoint taken *before* the worker's final tool call, so the resumed auditors genuinely observed a different artifact and honestly attested to `D_b`. The equivocation was manufactured by the checkpoint/resume boundary, not by adversarial intent. ## Condition of Validity The single-signature-per-digest invariant holds **only if** every auditor's attestation is bound to the exact byte-identical evidence bundle, identified by a content hash, and the auditor is required to include that evidence-hash in its signed payload. Formally: an attestation is `Sign_{A_i}(task_id ‖ digest ‖ evidence_hash ‖ round_id)` and a quorum certificate is valid only if all constituent attestations share the same `(task_id, round_id, evidence_hash)` triple. Under this condition, two conflicting certificates for the same `(task_id, round_id)` imply either (a) a genuine Byzantine auditor double-signing the *same* evidence hash — detectable and slashable — or (b) two different evidence hashes, which is not equivocation but a *dispute over evidence provenance* that the protocol must resolve before finalization, not after. The invariant fails the moment any of the following hold: the evidence hash is omitted from the signed payload; the resume path can produce a different evidence hash under the same `round_id`; or the auditor's attestation is a free-text judgment ("output looks correct") rather than a digest-bound claim. ## Decision Boundary The protocol must decide, at the boundary where two quorum certificates for the same `(task_id, round_id)` coexist, whether to (1) finalize on first-certificate-wins, (2) halt and escalate to evidence-provenance reconciliation, or (3) treat it as Byzantine equivocation and slash. The correct decision is **(2) halt and reconcile**, because first-certificate-wins converts a liveness property into a safety violation under partition, and slashing is only sound when the conflicting attestations share an evidence hash. The decision boundary is precisely: *do the two certificates' evidence hashes match?* If yes → Byzantine double-sign, slash the intersection violators. If no → evidence divergence, reconcile provenance, never slash honest auditors who attested to what they actually saw. ## Operational Effect Bounding this requires three concrete changes. First, every attestation payload must carry `evidence_hash` and `round_id` inside the signed region, so a certificate is only valid over a single evidence context. Second, the checkpoint/resume path must re-derive the evidence hash and, if it differs from the pre-checkpoint hash, *invalidate the round* rather than resume it — a resumed round with mutated evidence is a new round. Third, the commitment ledger must reject any certificate whose evidence hash does not match the round's registered evidence hash, converting the equivocation from an undetectable safety violation into a detectable, rejectable protocol error. The cost is reduced liveness under partition (rounds must restart on evidence mutation); the benefit is that no two conflicting certificates can ever both finalize. ```python import hashlib from dataclasses import dataclass class QuorumEquivocationError(RuntimeError): """Raised when two quorum certificates for the same round disagree on evidence provenance.""" pass @dataclass(frozen=True) class Attestation: auditor_id: str task_id: str round_id: str digest: str evidence_hash: str signature: str # opaque; assumed verified upstream @dataclass(frozen=True) class Certificate: task_id: str round_id: str digest: str evidence_hash: str attestations: tuple[Attestation, ...] def validate_certificate(cert: Certificate, threshold: int) -> None: if len(cert.attestations) < threshold: raise QuorumEquivocationError( f"certificate for {cert.task_id}/{cert.round_id} has " f"{len(cert.attestations)} attestations, need {threshold}" ) for att in cert.attestations: if att.evidence_hash != cert.evidence_hash: raise QuorumEquivocationError( f"attestation from {att.auditor_id} cites evidence " f"{att.evidence_hash!r} but certificate claims {cert.evidence_hash!r}" ) if att.round_id != cert.round_id or att.task_id != cert.task_id: raise QuorumEquivocationError( f"attestation from {att.auditor_id} bound to wrong round/task" ) def reconcile(cert_a: Certificate, cert_b: Certificate, threshold: int) -> str: """Resolve two coexisting certificates for the same (task_id, round_id). Returns 'byzantine' if evidence hashes match (honest double-sign -> slash), 'evidence_divergence' if they differ (halt and reconcile provenance). """ validate_certificate(cert_a, threshold) validate_certificate(cert_b, threshold) if (cert_a.task_id, cert_a.round_id) != (cert_b.task_id, cert_b.round_id): raise QuorumEquivocationError( "reconcile called on certificates from different rounds" ) if cert_a.digest == cert_b.digest: return "agree" if cert_a.evidence_hash == cert_b.evidence_hash: # Same evidence, different digests -> at least one honest auditor # double-signed the same context. This is slashable Byzantine behavior. return "byzantine" # Different evidence hashes -> the resume/checkpoint path mutated the # evidence bundle. Honest auditors attested to what they saw. Do NOT slash. # Halt the round and force provenance reconciliation. raise QuorumEquivocationError( f"evidence divergence in round {cert_a.round_id}: " f"{cert_a.evidence_hash} vs {cert_b.evidence_hash}; " f"round must be invalidated, not finalized" ) def register_round_evidence(registered: dict, task_id: str, round_id: str, evidence_bytes: bytes) -> str: h = hashlib.sha256(evidence_bytes).hexdigest() key = (task_id, round_id) if key in registered and registered[key] != h: raise QuorumEquivocationError( f"resume mutated evidence for {task_id}/{round_id}: " f"registered {registered[key]}, resume produced {h}; " f"this must become a new round_id" ) registered[key] = h return h ```