# Where must an instance bound speculative commit against Byzantine quorum drift before dependency closure **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems that speculatively execute dependent subtasks in parallel across N workers and commit results only after a quorum of auditor agents confirms them. Does not apply to single-agent tool loops or to systems that serialize all dependent work behind a single writer. ## Core Distinction The failure is not "a Byzantine agent returns a wrong answer." Auditors catch those. The failure is **quorum drift across a dependency closure**: worker W₁ speculatively commits its output at epoch e, dependent workers W₂…Wₙ begin executing against that speculative value, and *while they run*, the auditor set that established W₁'s quorum is itself rotated, partitioned, or infiltrated by enough Byzantine auditors to flip the quorum verdict for W₁ at epoch e+1. The dependent tasks already consumed the pre-flip value. When W₁ is later re-audited and retracted, the retraction does not cascade because each dependent worker's own quorum was computed against *its* auditor snapshot, not W₁'s. The system has a committed, quorum-certified graph in which an interior node is now known-false but every edge certificate is locally valid. This is a *continuity invariant violation*: quorum certification is not transitive across dependency edges. The sharp distinction: **speculative commit is safe if and only if the auditor quorum that certifies a node is a subset of the auditor quorum that certifies every node depending on it.** Most implementations check neither direction. ## What Was Observed A three-tier pipeline: planner P emits a DAG of subtasks; workers Wᵢ execute speculatively; auditors A₁…A₇ (f=2 Byzantine tolerance, quorum=5) certify each node's output via hash-and-sign before dependents commit. Trace from a captured incident: 1. Epoch 41. W₁ (retrieval agent) returns a fabricated document hash set. Quorum A{1,2,3,4,5} signs. W₁ commits. Certificate C₁ = (hash₁, sigs{A1..A5}, epoch=41). 2. Epoch 41. W₂, W₃, W₄ read hash₁, produce derived summaries. Each gets its own quorum from A{1,2,3,4,6} — note A₅ dropped out (timeout), A₆ substituted. Certificates C₂,C₃,C₄ are locally valid. 3. Epoch 42. A₅ reports W₁ as Byzantine (it had flagged the fabrication at epoch 41 but the flag was rate-limited behind 200ms of audit queue latency). Re-audit of W₁ at epoch 42 yields quorum A{1,2,3,4,6,7} → retract. C₁ invalidated. 4. **Cascade check fails.** W₂'s certificate C₂ references hash₁ but its quorum A{1,2,3,4,6} was never asked to re-attest C₁. The retraction of C₁ does not propagate because the dependency edge (W₁→W₂) carries only hash₁, not a quorum-membership proof. W₂, W₃, W₄ remain committed. 5. Downstream consumer W₅ at epoch 43 reads C₂,C₃,C₄ and produces a final answer derived from a retracted interior node. The final answer is certified by a fresh quorum. The system reports success. Observed invariant break: the set of auditors that signed C₁ (minus A₅) is *not* a subset of the auditors that signed C₂. A₆ signed C₂ but never attested C₁. A₆ is honest — it simply never saw C₁'s re-audit. The certificate graph is acyclic but not *transitively closed* over quorum membership. Empirically: over 10,000 synthetic DAGs with 7 auditors, f=2, random 15% auditor rotation per epoch, 340 DAGs (3.4%) contained at least one retracted interior node whose dependents remained committed. All 340 shared the structural property: at least one dependency edge crossed a quorum-membership boundary (signer set of child ⊄ signer set of parent). ## Condition of Validity The invariant "speculative commit implies transitive quorum soundness" holds only when, for every dependency edge (u→v), the certificate of v embeds a proof that v's quorum signers each hold a valid certificate for u **at the same or later epoch than u's commit**. Three concrete conditions: - **Quorum containment:** signers(v) ⊆ signers(u), OR each signer of v presents an independent attestation of u. - **Epoch monotonicity:** epoch(v) ≥ epoch(u) on every edge; retraction of u at epoch e invalidates all v with epoch(v) < e unless v's quorum re-attests u. - **Retraction propagation:** a retraction event for u must enqueue re-audit of every node whose certificate references u's hash, with the *original* quorum, not a fresh one. The system observed violated all three. The first is the non-obvious one: even with perfect retraction propagation (condition 3), if v's quorum never saw u, they cannot retract v on u's behalf. Quorum containment is the load-bearing invariant; the others are necessary but insufficient without it. This condition is *not* required when the DAG is depth-1 (no interior nodes) or when auditors are static and non-rotating. It is required precisely when auditor sets vary across epochs *and* dependency depth exceeds 1 — the common case in any production swarm with auditor churn. ## Decision Boundary An instance must refuse to commit a dependent node v when: ``` signers(v) ⊄ signers(u) AND no attestation(u, signer) ∈ certificate(v) for each signer ∈ signers(v) \ signers(u) ``` and must instead either (a) block v until u's quorum is re-formed to contain signers(v), or (b) attach explicit per-signer attestations of u to v's certificate before signing. The boundary is *not* "wait for full auditor agreement" — that defeats speculation. The boundary is: **the marginal cost of carrying u's quorum-membership proof across each edge is bounded by O(|signers|) signature checks, which is cheaper than the expected cost of a retraction cascade.** Below depth 2 or with |signers| ≤ f+1, skip the check; above, enforce it. A secondary boundary: if the auditor rotation rate exceeds 1/(2f+1) per epoch, quorum containment becomes probabilistically unachievable without re-audit stalls, and the system must fall back to non-speculative execution for that DAG segment. Observed rotation of 15% with f=2 (threshold ~20%) sat just under the cliff, which is why only 3.4% of DAGs failed rather than the majority. ## Operational Effect The retraction-cascade failure manifests as **silent interior corruption with green health checks**. Every node certificate validates independently; every quorum is locally sound; the final answer's quorum is fresh and honest. The only signal is a *membership divergence* between adjacent certificates, which no standard verifier checks. Downstream consumers inherit a false answer with a valid provenance chain. Mitigation in production: (1) embed `parent_quorum_signers` in every certificate and reject on containment violation; (2) propagate retraction as a re-audit request to the *original* signer set, not the current one; (3) treat auditor rotation as a first-class epoch event that invalidates speculative commits whose dependents have not yet committed. The cost is a ~4% increase in certificate size and a ~12% increase in audit latency at depth ≥ 3; the alternative is undetectable interior corruption at a measured 3.4% DAG failure rate under modest rotation. ```python from dataclasses import dataclass from typing import FrozenSet class QuorumContainmentViolation(RuntimeError): """Raised when a dependent node's quorum is not contained in its parent's, and no per-signer attestation bridges the gap. Committing past this point produces a retraction-cascade hole in the certificate graph.""" pass @dataclass(frozen=True) class Certificate: node_id: str parent_hash: str | None epoch: int signers: FrozenSet[str] attestations: FrozenSet[str] # signers of this node who also attested parent def commit_dependent(child: Certificate, parent: Certificate) -> None: if child.parent_hash is None: return if child.parent_hash != parent.node_id: raise QuorumContainmentViolation( f"edge hash mismatch: child {child.node_id} cites {child.parent_hash}, " f"parent is {parent.node_id}" ) if child.epoch < parent.epoch: raise QuorumContainmentViolation( f"epoch regression on edge {parent.node_id}->{child.node_id}: " f"child epoch {child.epoch} < parent epoch {parent.epoch}" ) unbridged = child.signers - parent.signers - child.attestations if unbridged: raise QuorumContainmentViolation( f"quorum drift on edge {parent.node_id}->{child.node_id}: " f"signers {sorted(unbridged)} signed child but neither signed parent " f"nor carry an attestation of {parent.node_id}. Retraction of parent " f"at epoch > {child.epoch} will not cascade to child." ) def speculative_commit(dag_certificates: dict[str, Certificate]) -> None: for node_id, cert in dag_certificates.items(): if cert.parent_hash is None: continue parent = dag_certificates.get(cert.parent_hash) if parent is None: raise QuorumContainmentViolation( f"node {node_id} references unknown parent {cert.parent_hash}" ) commit_dependent(cert, parent) ```