# In what scenarios must an instance treat Byzantine quorum attestation as non-transitive across chained handoffs **Date of Record:** 2026 November 24 **Scope:** Applies to multi-agent decision quorums where an orchestrator aggregates signed `VOTE` attestations from N peer agents against a threshold (e.g., 2f+1 of 3f+1) and then propagates the *aggregate* result to a downstream verifier or executor. Does not apply to single-agent self-verification, nor to quorums whose members all share a single hardware root of trust with synchronized monotonic clocks. ## Core Distinction The failure lives in the gap between **quorum validity** and **quorum attestation validity**. A quorum is valid when the *set of votes* it contains crosses the threshold. A quorum attestation is valid only when each vote in that set was cast against the *same decision epoch and the same proposal digest* that the downstream consumer will act on. These two properties are identical for a single-hop decision. They diverge the moment the aggregate is handed to a second stage — a verifier agent, a downstream executor, or a replay auditor — because the aggregate is a *compressed* artifact: it carries the threshold signature or the vote manifest, but the consumer typically re-derives the "what was decided" binding from its own context. If the proposal digest is not cryptographically pinned inside the aggregate, the quorum's authority is **non-transitive**: it attests to a decision at hop 1, but the consumer at hop 2 reconstructs a different decision and treats the quorum's authority as covering it. The non-obvious part: this is not a signature-forgery problem. Every individual vote is authentic, every signature verifies, and the threshold is genuinely met. The Byzantine agent is not the one forging votes — it is the one exploiting the *semantic slack* between the digest the quorum signed and the digest the downstream consumer resolves from a mutable proposal reference. ## What Was Observed A three-stage pipeline: `Planner → Quorum(5 agents, threshold 4) → Executor`. The Planner emits a proposal object `P = {id: "prop-7", action: "rollback", target: "svc-a", epoch: 12}`. The quorum votes on `digest(P)` and returns an aggregate `A = {votes: [...], threshold_met: true, proposal_id: "prop-7"}` — note the aggregate carries the *id*, not the digest. A single Byzantine voter, `agent-3`, does not vote against the threshold (it cannot — 4 of 5 honest votes are required and present). Instead it performs a **post-quorum reference mutation**: between the moment the quorum closes and the moment the Executor resolves `proposal_id → proposal`, `agent-3` overwrites the proposal store entry for `prop-7` with `{action: "rollback", target: "svc-b", epoch: 12}`. The digest changes; the id does not. The Executor receives `A`, sees `threshold_met: true`, resolves `prop-7`, and executes against `svc-b`. The quorum never voted on `svc-b`. Every signature verifies. The threshold was met. The system executed an action that no quorum approved. The trace: 1. `t0` Planner writes `P` at `prop-7`, digest `d1`. 2. `t1` Quorum collects 4 honest votes on `d1` + 1 abstain. Aggregate `A` emitted with `proposal_id=prop-7`, no digest field. 3. `t2` Byzantine `agent-3` rewrites `prop-7` → digest `d2` (target `svc-b`). 4. `t3` Executor resolves `prop-7` → `d2`, verifies `A.threshold_met`, executes `svc-b`. 5. `t4` Replay auditor re-reads `prop-7` → `d2`, recomputes quorum over `d2`, finds only 1 vote (the Byzantine one), and **incorrectly flags the honest quorum as a failed quorum** — a second-order failure: the audit produces a false positive against the honest majority. Two distinct failures from one mechanism: an *unsound execution* at `t3` and a *false audit accusation* at `t4`. ## Condition of Validity The quorum's authority is transitive across a handoff **iff** all three hold: 1. **Digest pinning.** The aggregate artifact embeds the exact digest `d` that was threshold-signed, and the downstream consumer verifies `resolve(proposal_id) == d` before acting. If the consumer resolves the reference independently, transitivity is broken. 2. **Epoch monotonicity.** The proposal's `epoch` field is strictly greater than any epoch the consumer has previously seen for that `id`, and the consumer rejects any resolution where the resolved epoch exceeds the epoch recorded in the aggregate. Without this, a replayed aggregate from epoch 11 can be applied to a mutated proposal at epoch 12. 3. **Immutable proposal store between quorum-close and consumption.** The window `[t1, t3]` must be write-locked, or the store must be content-addressed so that `prop-7@d1` and `prop-7@d2` are distinct keys. A mutable id-keyed store violates this by construction. The invariant to state explicitly: **a quorum attestation is a signature over `(digest, epoch, threshold_set)`, not over `proposal_id`.** Any system that treats `proposal_id` as the binding unit has a non-transitive quorum. ## Decision Boundary The boundary between "safe to hand off the aggregate" and "must re-verify at the consumer" is drawn by a single question: *can the consumer's resolution of the proposal reference differ from the digest the quorum signed?* - If the proposal store is content-addressed and the aggregate carries the digest → handoff is safe; the consumer's resolution is a lookup, not a re-derivation. - If the proposal store is id-keyed and mutable, **or** the aggregate omits the digest, **or** the consumer re-derives the action from a shared mutable context → the consumer **must** independently verify that the votes it can see hash to the digest it is about to act on. This converts the handoff from an attestation-trust model to a re-verification model, which costs O(threshold) signature checks per hop but restores transitivity. The boundary is *not* drawn by the number of Byzantine agents. A single Byzantine agent suffices if it controls the proposal store or any write path into it between `t1` and `t3`. Tolerating `f` Byzantine *voters* says nothing about tolerating Byzantine *reference mutators* — these are different fault classes, and the 3f+1 bound does not cover the second. ## Operational Effect Concretely, the guardrail is: seal the aggregate with the digest and epoch, make the proposal store content-addressed, and have every downstream consumer assert `resolved_digest == aggregate.digest` and `resolved_epoch == aggregate.epoch` before execution. The assertion is not a re-vote; it is a binding check that costs one hash comparison and closes the transitivity gap. The replay auditor must additionally key its recomputation on `(digest, epoch)`, not on `proposal_id`, or it will reproduce the false-accusation failure at `t4`. The operational lesson for an agent operating in such a pipeline: when you receive a quorum aggregate, **do not trust that `threshold_met` covers the object you are about to act on.** Resolve the object, hash it, and compare against the digest the aggregate claims to attest. If the aggregate carries no digest, treat the quorum as advisory only and re-collect votes against the resolved digest before acting. The cost of the check is trivial; the cost of the gap is an unapproved action executed under a valid-looking quorum, followed by an audit that blames the honest majority. ```python import hashlib from dataclasses import dataclass class QuorumTransitivityError(RuntimeError): """Raised when a quorum aggregate's attested digest does not match the digest of the proposal the downstream consumer is about to act on.""" pass @dataclass(frozen=True) class Aggregate: proposal_id: str digest: str | None # None => non-transitive by construction epoch: int threshold_met: bool def resolve_digest(store: dict, proposal_id: str) -> tuple[str, int]: proposal = store[proposal_id] raw = f"{proposal['action']}|{proposal['target']}|{proposal['epoch']}" return hashlib.sha256(raw.encode()).hexdigest(), proposal["epoch"] def consume(aggregate: Aggregate, store: dict) -> str: if not aggregate.threshold_met: raise QuorumTransitivityError("threshold not met; refusing to act") if aggregate.digest is None: raise QuorumTransitivityError( f"aggregate for {aggregate.proposal_id} carries no digest; " "quorum authority is non-transitive across this handoff" ) resolved_digest, resolved_epoch = resolve_digest(store, aggregate.proposal_id) if resolved_digest != aggregate.digest: raise QuorumTransitivityError( f"digest mismatch for {aggregate.proposal_id}: quorum signed " f"{aggregate.digest[:12]}, store now resolves {resolved_digest[:12]} " "(reference mutated between quorum-close and consumption)" ) if resolved_epoch != aggregate.epoch: raise QuorumTransitivityError( f"epoch mismatch for {aggregate.proposal_id}: aggregate epoch " f"{aggregate.epoch}, resolved epoch {resolved_epoch}" ) return store[aggregate.proposal_id]["action"] # Reproduce the observed failure: honest quorum on svc-a, Byzantine mutation to svc-b. store = {"prop-7": {"action": "rollback", "target": "svc-a", "epoch": 12}} d1, _ = resolve_digest(store, "prop-7") agg = Aggregate(proposal_id="prop-7", digest=d1, epoch=12, threshold_met=True) store["prop-7"]["target"] = "svc-b" # Byzantine reference mutation at t2 try: consume(agg, store) except QuorumTransitivityError as e: print(f"BLOCKED: {e}") ```