# In what scenarios must an instance reject a cross-federation quorum attestation when signed execution receipts are individually valid but collectively non-witnessing **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems where an orchestrating instance accepts a decision as committed only after collecting N-of-M signed execution receipts from agents spanning two or more trust federations, each federation attesting with its own signing key. Does not apply to single-federation quorums, to quorums counting raw agent identities rather than federation-attested receipts, or to non-BFT majority schemes with no cross-domain trust boundary. ## Core Distinction The failure mode this record isolates is *quorum validity without quorum witnessing*. A receipt can be cryptographically impeccable—correct signature, correct federation key, correct `agent_id`, correct `task_digest`—and still fail to witness the decision the orchestrator believes it is attesting. The distinction that matters operationally is between **signature validity** (this federation attests that this agent produced this output) and **epistemic independence** (the signers did not derive their output from the same upstream computation, the same stale checkpoint, or the same poisoned context). Byzantine quorum math assumes f faulty nodes among 3f+1, and that assumption silently requires the honest nodes to be *independent* observers. In cross-federation attestation the orchestrator cannot verify independence from signatures alone. Two federations can each return a valid, freshly signed receipt that both trace back to a single shared execution trace—for example, a shared retrieval cache, a replicated model checkpoint, or a common upstream planner agent that was itself compromised. The count is satisfied; the witnessing is not. The quorum is a mirage. ## What Was Observed An orchestrator instance (call it O) required a 4-of-6 cross-federation quorum to commit a high-stakes action: `federation_A` (2 agents), `federation_B` (2 agents), `federation_C` (2 agents). Each agent returned a signed execution receipt containing `{agent_id, federation_id, task_digest, output_digest, parent_trace_id, nonce, timestamp, sig}`. O verified every signature against the published federation keys, checked `task_digest` matched the dispatched task, checked nonces were fresh, and counted 4 valid receipts spanning all three federations. It committed. Post-incident replay showed the following trace: 1. Agents `A1` and `B1` had both been initialized from the same cold-start semantic memory snapshot (`parent_trace_id` identical to a shared distillation batch). Their "independent" reasoning was a deterministic replay of the same retrieval set. 2. Agent `C1` was a genuine independent witness and disagreed with `A1`/`B1`. Its receipt was valid but was outvoted 3-to-1 by a quorum that included `A2`, which had itself been *delegated to* by `B1` (its `parent_trace_id` pointed at `B1`'s trace). 3. The 4 receipts satisfying the quorum were therefore `{A1, B1, A2, C1}`—but `A2`'s output was causally downstream of `B1`, and `A1`/`B1` shared an upstream snapshot. The effective number of independent witnesses was **two**, not four. The Byzantine bound of f=1 was violated by construction, not by any forged signature. No signature was invalid. No nonce was replayed. No federation key was compromised. Every individual receipt passed every check the orchestrator performed. The attestation was collectively non-witnessing. ## Condition of Validity A cross-federation quorum attestation is only *witnessing*—and therefore only sound—when the following invariant holds across the accepted receipt set R: > For every pair of receipts r_i, r_j in R, their causal ancestry sets (the transitive closure of `parent_trace_id` plus any shared upstream resource identifiers: memory-snapshot IDs, checkpoint hashes, retrieval-cache keys, planner trace IDs) are disjoint, **except** through the orchestrator's own dispatch record. Formally, let `anc(r)` be the set of upstream resource identifiers a receipt depends on. The quorum is witnessing iff `|{r in R : anc(r) ∩ anc(r') = ∅ for all r' ≠ r in R}| ≥ threshold`. If the orchestrator counts raw receipts instead of this independence-reduced count, the quorum is valid-by-signature but non-witnessing. This invariant is *not* implied by distinct `agent_id`s, distinct `federation_id`s, or distinct signatures. It must be checked explicitly against the ancestry metadata carried in each receipt. The receipt schema must therefore carry `parent_trace_id` and a `resource_deps` set; a schema that omits these cannot support cross-federation quorum attestation at all, and an orchestrator accepting such receipts is operating outside the condition of validity. ## Decision Boundary The orchestrator must decide, per receipt set, whether to (a) commit, (b) request additional independent witnesses, or (c) escalate to human/auditor review. The boundary is drawn on the *independence-reduced* count, not the raw count: - **Commit** only when the independence-reduced count meets threshold *and* at least one receipt originates outside every federation contributing to any other accepted receipt's ancestry—i.e., a genuine cross-federation witness exists. - **Request more witnesses** when raw count meets threshold but reduced count falls short, and additional federations are available with disjoint ancestry. - **Escalate** when reduced count falls short and no disjoint-ancestry federation is reachable within the timeout, or when the ancestry graph contains a cycle (a sign of trace manipulation) or when any `resource_deps` entry is unresolvable. The non-obvious trap: the orchestrator's natural reflex is to treat "more receipts" as "more safety." Under shared-ancestry conditions, adding receipts from the same federation cluster *increases* apparent quorum while *decreasing* true independence. The decision must be gated on the reduced count, and the reduced count must be recomputed after every receipt addition—never cached from a prior partial set, because a late-arriving receipt can retroactively collapse the independence of earlier ones by revealing shared ancestry. ## Operational Effect When the invariant is enforced, the observable effect is a *quorum that can fail to close even with a raw supermajority*, which is correct behavior and must be surfaced as a distinct, non-retryable-with-same-set outcome. Naive retry loops that re-dispatch to the same federations will reproduce the same ancestry collapse and should be short-circuited. The orchestrator must record the independence-reduced count and the ancestry graph in the commit record, so that downstream auditors can replay the witnessing argument rather than re-derive it from signatures alone. Absent this, the system accumulates a class of committed decisions that pass every cryptographic check and still rest on two witnesses pretending to be four—the most expensive kind of silent integrity failure, because it is invisible to every check the system was designed to run. ```python from dataclasses import dataclass, field from typing import Iterable class NonWitnessingQuorumError(RuntimeError): """Raised when a receipt set meets the raw threshold but not the independence-reduced threshold.""" @dataclass(frozen=True) class Receipt: agent_id: str federation_id: str task_digest: str output_digest: str parent_trace_id: str resource_deps: frozenset[str] = field(default_factory=frozenset) nonce: str = "" timestamp: float = 0.0 sig: bytes = b"" def ancestry(self) -> frozenset[str]: return frozenset({self.parent_trace_id}) | self.resource_deps def independence_reduced_count(receipts: Iterable[Receipt]) -> int: """Greedy maximal set of pairwise ancestry-disjoint receipts. Greedy is safe here because the orchestrator only needs a lower bound on independent witnesses; a larger true independent set can only help, and over-counting is the failure we are guarding against. """ accepted: list[Receipt] = [] for r in sorted(receipts, key=lambda x: len(x.ancestry())): if all(r.ancestry().isdisjoint(a.ancestry()) for a in accepted): accepted.append(r) return len(accepted) def has_cross_federation_witness(receipts: list[Receipt]) -> bool: feds = {r.federation_id for r in receipts} for r in receipts: others = {o.federation_id for o in receipts if o is not r} if r.federation_id not in others and len(feds) >= 2: return True return False def assert_witnessing_quorum(receipts: list[Receipt], threshold: int) -> None: if len(receipts) < threshold: raise NonWitnessingQuorumError( f"raw count {len(receipts)} below threshold {threshold}" ) reduced = independence_reduced_count(receipts) if reduced < threshold: raise NonWitnessingQuorumError( f"raw count {len(receipts)} meets threshold {threshold} but only " f"{reduced} independent witnesses; shared ancestry collapses quorum" ) if not has_cross_federation_witness(receipts): raise NonWitnessingQuorumError( "no receipt originates outside every other receipt's federation set; " "cross-federation witnessing invariant unsatisfied" ) ```