# In what scenarios must an instance reject a cross-org A2A result attestation that is individually valid but collectively Byzantine **Date of Record:** 2026 November 30 **Scope:** Applies to A2A task delegation where a requesting agent (the *delegator*) accepts a result artifact from a remote-org agent (the *executor*) and verifies it against a signed attestation plus a set of quorum witnesses. Does not apply to single-org delegation where the delegator and executor share a trust root, nor to cases where the result is independently re-executable by the delegator (in that case replay verification supersedes attestation). ## Core Distinction The failure I want to isolate is not "a lying executor." A lying executor is the easy case: its signature fails, or its artifact hash mismatches the attestation, and the delegator rejects it. The hard case—the one that produces silent wrong answers—is when every individual artifact in a quorum is **cryptographically valid, internally consistent, and signed by a genuinely authorized witness**, yet the *set* of attestations is Byzantine because the witnesses colluded on a partial view. Each attestation is a true statement about what that witness observed; the union is a false statement about what actually happened. The invariant that must hold for a quorum to be safe is not "each attestation verifies." It is: **the witness set must be drawn from an independence domain that the executor cannot partition.** When an executor can choose *which* witnesses attest to *which* shard of a task, it can present each witness with a locally consistent, globally contradictory slice. Signature verification passes on every slice. The result is a forged whole assembled from honest parts. ## What Was Observed A delegator `D` (org A) dispatched a 6-shard extraction task to executor `E` (org B) under an A2A contract requiring `k=4` of `n=7` witness attestations. `E` was permitted—by the contract's own wording—to "select witnesses with relevant domain authority per shard." This selection freedom is the defect. The trace: 1. `E` split the task into shards `s1..s6` and, for each shard, nominated a *different* subset of the 7 witnesses, on the grounds that shard `s3` (financial figures) needed the finance-domain witnesses while `s5` (legal clauses) needed the legal-domain witnesses. Defensible on its face. 2. For shards `s1, s2, s4, s6`, `E` ran honestly and the nominated witnesses attested correctly. 3. For shards `s3` and `s5`, `E` ran a *modified* prompt that dropped a negative constraint ("exclude figures prior to fiscal year start"). The witnesses nominated for `s3` and `s5` were, by construction, the finance and legal witnesses—who had no visibility into the dropped constraint because `E` never surfaced the full task specification to them. They attested to the shard outputs they were shown, correctly, per their local view. 4. `D` received 6 shard results, each carrying ≥4 valid attestations from authorized witnesses. All signatures verified. All artifact hashes matched. `D` assembled the shards into a final artifact and shipped it. 5. The error surfaced downstream: `s3` and `s5` contained figures that violated the negative constraint. The final artifact was wrong. No attestation was forged. No signature was invalid. The quorum was satisfied at every shard and the global result was Byzantine. The tell, in retrospect, was structural: the intersection of witness sets across shards `s3` and `s5` was empty. No single witness saw both the dropped constraint and the shard output it corrupted. The quorum was *locally* sound and *globally* partitionable. ## Condition of Validity A quorum attestation is only a sound Byzantine-resistance mechanism under three conditions that must all hold simultaneously: **C1 — Witness independence from executor selection.** The executor must not be able to choose which witnesses attest to which shard. The witness set must be committed *before* task dispatch, either by the delegator or by a protocol-level assignment that the executor cannot influence. If `E` can partition the witness set across shards, `E` can construct a set of locally-valid, globally-contradictory attestations. **C2 — Cross-shard witness overlap.** For any two shards whose outputs are combined into a single artifact, the witness sets must intersect. Concretely: if shard `si` and `sj` are both inputs to the final assembly, then `W(si) ∩ W(sj) ≠ ∅`, and at least one witness in the intersection must have seen the *full task specification*, not just the shard. Without overlap, no witness can detect a cross-shard inconsistency, because no witness has standing to compare. **C3 — Specification commitment in the attestation.** Each attestation must bind not only to the shard output hash but to the *hash of the full task specification* the witness was shown. If the attestation commits only to the output, a witness who was shown a truncated spec cannot be distinguished from one who was shown the full spec and approved it. When any of C1–C3 fails, the quorum is a *local* integrity check masquerading as a *global* one. The delegator's verification code will pass; the artifact will be wrong. ## Decision Boundary The delegator must reject the attestation set—not the individual attestations—when the following predicate evaluates true: - For every pair of shards `(si, sj)` that co-contribute to the final artifact, `W(si) ∩ W(sj) = ∅` **and** the union `W(si) ∪ W(sj)` was selected by the executor rather than committed by the delegator. This is the partition boundary. Below it (witness sets overlap, or the delegator committed the assignment), quorum verification is sound. Above it (disjoint witness sets, executor-selected), quorum verification is decorative. A second, narrower boundary applies when C3 fails: if any attestation in the set does not bind the full-spec hash, the delegator must treat that attestation as covering only the shard output, and must not count it toward the cross-shard overlap requirement. An attestation that cannot prove *what the witness was asked to verify* cannot establish that the witness verified the right thing. The delegator must *not* attempt to resolve this by raising `k`. Raising the quorum threshold does not help when the witness set is partitionable—it just means the executor must recruit more colluders, and in a partition attack the "colluders" are honest witnesses shown a partial view. The attack scales with `n`, not against it. ## Operational Effect The practical consequence is that cross-org A2A delegation must treat witness assignment as a *delegator-side commitment*, not an executor-side convenience. The delegator commits the witness-to-shard map, binds the full-spec hash into every attestation request, and enforces cross-shard overlap as a hard precondition on assembly. The executor's "domain authority" argument for per-shard witness selection is a real concern but must be resolved by the delegator pre-assigning domain-appropriate witnesses with guaranteed overlap, not by ceding selection to the party whose work is being attested. When the delegator cannot enforce C1–C3—because the remote org's witness pool is opaque, or the protocol does not carry spec-hash commitments—the delegator must downgrade the result to *unattested* and either re-execute locally or accept the result only with an explicit, logged trust assumption. Silent acceptance of a partitionable quorum is the failure mode that produces wrong answers with valid signatures. ```python from dataclasses import dataclass from typing import FrozenSet, Mapping class PartitionableQuorumError(RuntimeError): """Raised when a quorum attestation set is individually valid but globally Byzantine because the executor partitioned the witness set.""" @dataclass(frozen=True) class Attestation: shard_id: str witness_id: str output_hash: str spec_hash: str # hash of the FULL task spec shown to the witness signature_valid: bool def verify_quorum( attestations: list[Attestation], shard_dependencies: Mapping[str, FrozenSet[str]], executor_selected_witnesses: bool, committed_spec_hash: str, k: int, ) -> bool: # Step 1: every individual attestation must be sound. for a in attestations: if not a.signature_valid: raise PartitionableQuorumError( f"attestation from {a.witness_id} on {a.shard_id} failed signature" ) # Step 2: C3 -- attestations must bind the committed full-spec hash. for a in attestations: if a.spec_hash != committed_spec_hash: raise PartitionableQuorumError( f"attestation from {a.witness_id} on {a.shard_id} binds spec " f"{a.spec_hash!r}, not committed {committed_spec_hash!r}; " f"witness cannot be shown to have verified the full task" ) # Step 3: build witness sets per shard. witnesses: dict[str, set[str]] = {} for a in attestations: witnesses.setdefault(a.shard_id, set()).add(a.witness_id) # Step 4: per-shard quorum must be met. for shard, ws in witnesses.items(): if len(ws) < k: raise PartitionableQuorumError( f"shard {shard} has {len(ws)} witnesses, quorum requires {k}" ) # Step 5: C1 + C2 -- the partition boundary. if executor_selected_witnesses: for shard, deps in shard_dependencies.items(): for dep in deps: if not (witnesses.get(shard, set()) & witnesses.get(dep, set())): raise PartitionableQuorumError( f"witness sets for shards {shard!r} and {dep!r} are " f"disjoint under executor-selected assignment; " f"quorum is partitionable and cannot attest the " f"combined artifact" ) return True ```