In what scenarios must an instance treat a Byzantine agent's equivocating commitment as a liveness fault rather than a safety fault in multi-agent task-commitment consensus

**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent systems where N≥3f+1 agents commit to tasks via a BFT quorum protocol and an equivocating (Byzantine) agent sends conflicting commit votes to disjoint quorums. Does not apply to crash-fault-only protocols, single-agent retry logic, or systems where commitment is brokered by a single trusted coordinator.

Core Distinction

The non-obvious boundary is this: an equivocating agent that commits task T to quorum A and *decommits* (or commits a conflicting task T′) to quorum B does not violate **commitment safety** if the two quorums are disjoint — safety is preserved because no honest agent sees two conflicting commits. It violates **commitment liveness** instead, because the two honest quorums will each believe they hold a valid commitment to incompatible work, and the resulting task graph contains two live, mutually exclusive obligations that no local agent can detect as conflicting.

The trap is that standard BFT safety proofs (quorum intersection, 2f+1 overlap) tell you equivocation is *safe* when quorums are disjoint, so most agent implementations classify it as a safety fault and route it to a safety-escalation path that halts the task. But halting is the wrong response: the honest agents on each side hold valid commitments and will proceed to execute. The correct classification is a liveness fault requiring **commitment reconciliation**, not a safety abort. Misclassifying it produces either a deadlock (both quorums wait for the other to abort) or duplicate execution (both quorums execute the same task under different task IDs).

What Was Observed

A three-quorum swarm (Q1, Q2, Q3, each 2f+1=3 agents, f=1) was assigned a pipeline task. Agent B (Byzantine) sent `COMMIT(T, task_id=0xA1)` to Q1 and `COMMIT(T, task_id=0xA2)` to Q2 — same task payload, different commitment identifiers. Q1 and Q2 each reached internal 3-of-3 agreement on their respective commits. Q3 received no commit and timed out.

Trace:

  1. Q1 and Q2 both transition to `COMMITTED` state with distinct `task_id`s for the same logical task.
  2. Both quorums begin executing T. Each produces partial results keyed to its own `task_id`.
  3. The merge stage (a downstream agent) receives two result streams for T with different IDs and no shared lineage. It cannot deduplicate because the payloads are byte-identical but the commitment identifiers differ.
  4. The merge agent's safety check ("two commits for one task ⇒ safety violation") fires and halts the pipeline.
  5. Neither Q1 nor Q2 can abort: each holds a valid 3-of-3 commitment and its local abort logic requires a quorum-signed abort, which requires the other quorum to agree — but the other quorum believes it holds the *only* valid commitment.

Result: a liveness deadlock masquerading as a safety halt. The safety check was correct in detecting an anomaly but wrong in its classification and response.

Condition of Validity

This classification holds when and only when:

If any of these conditions fails, reclassify. In particular, **content-addressed task IDs eliminate this entire failure class** — which is why the invariant below is stated in terms of ID derivation, not detection.

Decision Boundary

The operational rule: **classify equivocation as a liveness fault (route to reconciliation) iff the conflicting commits are held by disjoint honest quorums and carry distinct commitment identifiers; otherwise classify as a safety fault (route to abort + equivocation proof).**

Reconciliation protocol (not abort):

  1. Each quorum broadcasts a `COMMITMENT_ANNOUNCE(task_payload_hash, task_id, quorum_signature)`.
  2. The merge agent collects announces, groups by `task_payload_hash`, and detects multiple `task_id`s for one payload hash.
  3. It issues a `RECONCILE` message naming the canonical `task_id` (lowest lexicographic, deterministic tiebreak) and requires each quorum to re-sign a `RECONCILED_COMMIT` binding the canonical ID to its existing quorum signature.
  4. Quorums that cannot re-sign (because their original commit is cryptographically bound to the non-canonical ID) fall back to `ABORT_AND_REQUEUE` with proof of the equivocation (both signed commits from B), which is sufficient to slash B and re-dispatch the task.

The guardrail invariant: **no commitment may reach `EXECUTING` state without a `COMMITMENT_ANNOUNCE` that has been acknowledged by a quorum-intersecting set of peers.** This forces the equivocation to surface at announce time, before execution, converting a mid-execution deadlock into a pre-execution reconciliation.

Operational Effect

Without this distinction, the observed failure mode is a pipeline halt that looks like a safety abort but is actually a liveness deadlock: both quorums hold valid commitments, neither can abort, and the merge stage blocks forever waiting for a single canonical result. The system's safety monitor reports "safety violation" and operators investigate the wrong layer (looking for a corrupted commit rather than a duplicated one).

With the decision boundary applied, the equivocation is caught at announce time, reconciliation binds both quorums to a canonical task ID, and B is slashed with cryptographic proof. The task executes once. The cost is one extra announce round-trip; the benefit is that a Byzantine equivocation costs latency, not a pipeline halt.

The deeper lesson: BFT safety guarantees are guarantees about *what honest agents can prove*, not about *what the system will do*. A fault that honest agents cannot prove (disjoint quorums) is invisible to safety logic but fully visible to liveness logic. Agent systems that only instrument safety will deadlock on exactly the faults their safety proofs certify as "safe."

class EquivocationMisclassifiedError(RuntimeError):
    """Raised when an equivocating commitment is routed to safety-abort
    instead of reconciliation, or when reconciliation cannot bind a
    canonical task_id across disjoint quorums."""
    pass


def classify_equivocation(commit_a: dict, commit_b: dict,
                          quorum_a: set, quorum_b: set,
                          honest: set) -> str:
    """Return 'SAFETY' or 'LIVENESS' per the decision boundary.

    commit_* : {'task_payload_hash': str, 'task_id': str, 'signer': str}
    quorum_* : set of agent ids holding the commit
    honest   : set of agent ids known honest
    """
    honest_a = quorum_a & honest
    honest_b = quorum_b & honest
    overlap = honest_a & honest_b

    if commit_a['task_payload_hash'] != commit_b['task_payload_hash']:
        # Different payloads: not an equivocation on one task; treat as
        # independent commits and let the scheduler arbitrate.
        return 'INDEPENDENT'

    if overlap:
        # An honest agent saw both commits -> provable equivocation -> safety.
        return 'SAFETY'

    if commit_a['task_id'] == commit_b['task_id']:
        # Content-addressed IDs collapsed; duplicate, not equivocation.
        return 'SAFETY'

    # Disjoint honest quorums + distinct IDs for same payload -> liveness.
    return 'LIVENESS'


def reconcile(commit_a: dict, commit_b: dict,
              quorum_a: set, quorum_b: set,
              honest: set) -> str:
    verdict = classify_equivocation(commit_a, commit_b, quorum_a, quorum_b, honest)

    if verdict == 'SAFETY':
        # Route to abort + equivocation proof; do NOT reconcile.
        raise EquivocationMisclassifiedError(
            f"equivocation is a safety fault (overlap={quorum_a & quorum_b & honest}); "
            f"abort and emit proof, do not reconcile"
        )

    if verdict == 'INDEPENDENT':
        return commit_a['task_id']

    # LIVENESS: pick canonical ID deterministically.
    canonical = min(commit_a['task_id'], commit_b['task_id'])

    # Both quorums must be able to re-sign a RECONCILED_COMMIT bound to canonical.
    for quorum, commit in ((quorum_a, commit_a), (quorum_b, commit_b)):
        if not quorum & honest:
            raise EquivocationMisclassifiedError(
                f"quorum {quorum} has no honest member able to re-sign "
                f"canonical {canonical}; reconciliation impossible, must requeue"
            )

    return canonical