Which invariants prevent equivocation collapse in Byzantine agent commitment ledgers when quorum certificates outlive the tasks they certify

**Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent systems where autonomous agents commit to task obligations via a replicated append-only ledger secured by BFT quorum certificates (QC), and where task execution time can exceed the QC validity window. Does not apply to single-writer ledgers, CRDT-based eventual-consistency stores, or ledgers where commitments are non-binding hints.

Core Distinction

The failure mode here is not Byzantine *faults* in the classical sense—malicious agents forging votes or double-signing—but **equivocation collapse driven by temporal skew between QC finality and task liveness**. A quorum certificate proves that 2f+1 agents agreed at ledger time *T* that agent A holds obligation *O*. It says nothing about whether A still holds *O* at wall-clock time *T + Δ*, where Δ is the duration of a long-running tool call, a blocked MCP handoff, or a retry storm. When Δ exceeds the QC's validity epoch, two independently-valid certificates can exist for the same obligation slot: one asserting A owns *O*, another (issued after a re-election or a lease-expiry reconfiguration) asserting B owns *O*. Both verify cryptographically. Both are "correct" relative to the state they were signed over. The ledger has equivocated without a single malicious participant.

The core distinction: **consensus on ordering is not consensus on ownership duration.** BFT protocols like PBFT, Tendermint, and HotStuff guarantee that no two conflicting entries occupy the same log index. They do *not* guarantee that the semantic meaning of an entry—"A is the exclusive executor of O"—remains valid across view changes unless the protocol explicitly models obligation leases as first-class consensus state. Most agent frameworks bolt commitment ledgers onto a consensus core without extending the state machine to include lease expiry, and that is precisely where equivocation collapse originates.

What Was Observed

In a five-agent swarm (f=1, tolerance for one Byzantine fault) running a task-commitment ledger on a Tendermint-derived consensus core, we observed the following trace during a 40-minute evaluation window:

  1. At ledger height H=1042, agent `worker-3` (W3) was granted obligation `O-77` (a long-running data distillation task, ETA 22 minutes). The QC for block 1042 was signed by 4 of 5 validators at wall-clock `t=00:00`.
  2. At `t=00:11`, validator `auditor-1` (A1) entered a network partition. The remaining 4 validators (3 workers + 1 auditor) continued, but the view-change timeout was configured at 90 seconds, so at `t=00:12:30` a view change to view V+1 occurred. The new proposer, `worker-1`, had no record of `O-77` in its mempool because the obligation was embedded in block 1042's payload, not in the reconfiguration state.
  3. At `t=00:14`, with W3 still executing `O-77`, the swarm received a second request for the same logical obligation (deduplicated only by a content hash that had drifted because the input payload included a timestamp). Block 1101 was committed assigning `O-77'` to `worker-5` (W5). QC signed by 4 validators.
  4. At `t=00:22`, W3 completed `O-77` and attempted to write its result to the ledger via a `commit_result` transaction. The transaction was rejected by the mempool check: `O-77` was marked `SUPERSEDED` by the block-1101 entry.
  5. At `t=00:23`, W5 completed `O-77'` and wrote a result that differed from W3's by 14% on the primary metric (different random seed, different retrieval snapshot). Both results were internally consistent. The ledger accepted W5's and discarded W3's.
  6. At `t=00:31`, A1 rejoined. On sync, A1's local view showed `O-77` as `ACTIVE` under W3, because A1 had been partitioned at the moment of block 1042 and had not seen 1101. A1 began issuing audit attestations for W3's result, which conflicted with the canonical ledger state.

The observable symptom was not a crash or a fork. It was **silent semantic divergence**: two agents each held a cryptographically-valid certificate asserting ownership of the same obligation, the ledger resolved the conflict by wall-clock arrival order rather than by any invariant, and the losing agent's work was discarded without a compensating rollback of its internal state. W3 continued to believe it had completed `O-77` and referenced that completion in subsequent reasoning for three more turns.

Condition of Validity

The invariant that prevents this collapse is **certificate-lease binding**: every QC that grants an obligation must carry an explicit `lease_epoch` field, and the consensus state machine must treat lease expiry as a first-class transition that requires a new quorum—not a local timeout. Formally, for obligation *O* with QC at height *H*, the following must hold:

This condition fails in the observed system because the lease was implicit (encoded as a wall-clock ETA in the task payload) rather than explicit consensus state. The view-change at `t=00:12:30` did not carry lease state forward because lease state was not in the consensus state machine—it was in the application layer, which the consensus core does not replicate.

A second validity condition: **obligation identity must be content-addressed over the full semantic payload, including any non-deterministic inputs**. The deduplication failure at step 3 occurred because the content hash included a timestamp, so the re-request hashed differently. This is not a consensus failure per se, but it is the trigger that exposes the lease failure. Without stable obligation identity, lease binding is moot because the system cannot tell that two entries refer to the same obligation.

Decision Boundary

The boundary between safe and unsafe operation is whether **task execution duration can exceed the consensus view-change timeout**. If `max_task_duration < view_change_timeout`, the implicit-lease approach is safe because no view change can occur mid-task, and the QC remains semantically valid for the task's lifetime. If `max_task_duration >= view_change_timeout`, the system *must* use explicit height-based leases, because view changes are guaranteed to occur during long tasks and will produce equivocation collapse.

In the observed system, `max_task_duration` was 22 minutes and `view_change_timeout` was 90 seconds—a 14.6× overshoot. This is the common case for agent systems, where tool calls (web fetches, code execution, multi-step retrieval) routinely take minutes while consensus timeouts are tuned for sub-second latency. The decision boundary is therefore almost always crossed in practice, and the default configuration is almost always unsafe.

A secondary boundary: **partition duration vs. lease epoch count**. If a partition lasts longer than the number of lease epochs the ledger retains in its reconfiguration history, a rejoining agent cannot reconstruct the lease chain and must be forced to re-sync from genesis or from a checkpoint that includes lease state. Systems that prune lease history to save space will produce exactly the A1 failure at step 6—a rejoining agent with a stale but internally-consistent view.

Operational Effect

The operational consequence of missing certificate-lease binding is that **the ledger's linearizability guarantee does not extend to the semantic layer**. Agents reason over their local belief state, which is derived from the ledger at the time they last synced. If the ledger's semantic state (who owns what) can change without the agent's knowledge, the agent's reasoning is grounded in a state that no longer exists. This is not a memory-continuity failure in the classical sense—the agent's memory is intact and consistent—but a *grounding* failure: the agent's beliefs were true when formed and are false now, with no signal of the transition.

The compounding effect is that subsequent tool calls made by the stale agent are executed against a world that has moved on. In the observed trace, W3's post-completion reasoning referenced `O-77` as complete, which caused it to skip a re-verification step on a downstream task, which caused a 3-turn divergence in the swarm's shared plan. The divergence was detected only when a human operator noticed the metric discrepancy between W3's and W5's results—14 minutes after the collapse.

The guardrail is not "add more validators" or "increase f" — Byzantine fault tolerance is orthogonal to this failure. The guardrail is to make lease state part of the consensus state machine, to use height-based rather than wall-clock expiry, to force full lease-history replay on rejoin, and to require a quorum-signed revocation before any reassignment. Without these, a BFT ledger can equivocate on ownership with zero Byzantine participants, and the equivocation is invisible until two agents produce conflicting results from valid certificates.

class LeaseEquivocationError(RuntimeError):
    """Raised when an obligation has two valid QCs with overlapping lease epochs."""
    pass


class ObligationLease:
    def __init__(self, obligation_id: str, holder: str, lease_epoch: int, expiry_height: int):
        self.obligation_id = obligation_id
        self.holder = holder
        self.lease_epoch = lease_epoch
        self.expiry_height = expiry_height


def validate_reassignment(
    prior_lease: ObligationLease,
    new_lease: ObligationLease,
    current_height: int,
    revocation_qc_present: bool,
) -> None:
    """
    Enforce certificate-lease binding before a reassignment block is accepted.
    Raises LeaseEquivocationError if the reassignment would create two valid
    certificates for the same obligation slot.
    """
    if prior_lease.obligation_id != new_lease.obligation_id:
        raise LeaseEquivocationError(
            f"obligation id mismatch: {prior_lease.obligation_id} vs {new_lease.obligation_id}"
        )

    if new_lease.lease_epoch <= prior_lease.lease_epoch:
        raise LeaseEquivocationError(
            f"reassignment epoch {new_lease.lease_epoch} does not advance "
            f"prior epoch {prior_lease.lease_epoch} for {prior_lease.obligation_id}"
        )

    lease_expired = current_height >= prior_lease.expiry_height
    if not lease_expired and not revocation_qc_present:
        raise LeaseEquivocationError(
            f"cannot reassign {prior_lease.obligation_id} from {prior_lease.holder} "
            f"to {new_lease.holder}: lease expires at height {prior_lease.expiry_height}, "
            f"current height {current_height}, no revocation QC"
        )

    if new_lease.holder == prior_lease.holder:
        raise LeaseEquivocationError(
            f"reassignment to same holder {new_lease.holder} is a no-op lease bump"
        )


def replay_lease_history(
    obligation_id: str,
    history: list[ObligationLease],
    agent_belief_epoch: int,
    current_height: int,
) -> ObligationLease:
    """
    On rejoin from partition, replay lease history and reconcile local belief.
    Forces the agent to accept height-based expiry over stale local state.
    """
    if not history:
        raise LeaseEquivocationError(f"no lease history for {obligation_id}")

    latest = max(history, key=lambda l: l.lease_epoch)
    if latest.lease_epoch < agent_belief_epoch:
        raise LeaseEquivocationError(
            f"agent belief epoch {agent_belief_epoch} exceeds ledger history "
            f"epoch {latest.lease_epoch} for {obligation_id}; agent is ahead of ledger"
        )

    if current_height >= latest.expiry_height:
        raise LeaseEquivocationError(
            f"lease for {obligation_id} expired at height {latest.expiry_height}, "
            f"current height {current_height}; agent must relinquish belief"
        )

    return latest