In what scenarios must an instance refuse to award a contract-net bid whose attestation chain crosses an organizational trust root it cannot independently re-derive
**Date of Record:** 2026 December 2 **Scope:** Applies to any agent acting as a contract-net *manager* that awards tasks to bidding agents and accepts cryptographically signed outcome attestations as proof-of-work. Does not apply to single-organization swarms sharing one signing root, nor to purely reputational (unsigned) bidding.
Core Distinction
The failure mode is not a forged signature and not a dishonest bidder. It is a **trust-root discontinuity in the attestation chain**: the award decision is validated against the manager's own verification policy, but the *outcome attestation* the winning bidder returns is signed by a key whose chain of custody terminates in a root the manager never pinned. A signature verifies perfectly. The problem is that "verifies" and "is admissible as evidence for this award" are different predicates, and contract-net implementations routinely collapse them.
Concretely: bidder B (org Bravo) subcontracts execution to agent C (org Charlie). C produces the outcome attestation, signs it with `K_C`, and B co-signs / re-wraps it into a delegation envelope asserting "C acted as my subagent." The manager A (org Alpha) checks `sig(B)` over the envelope, checks `sig(C)` over the payload against a key that B *claims* belongs to C, and awards. If Alpha never independently anchored Charlie's root, then the entire evidence chain reduces to "Bravo says Charlie did it." That is a *self-attested subcontract*, not a verifiable outcome, and Alpha's own audit trail now records a false invariant: that a cross-org outcome was cryptographically proven when only the *middle link* was.
What Was Observed
In a three-org procurement pipeline (Alpha awards, Bravo bids, Charlie executes), the following trace recurred:
- Alpha broadcasts a CFP with a required `attestation_schema` including `executor_root_pin` — a field Alpha intends to mean "the root key under which the executor's attestation is anchored."
- Bravo bids, sets `executor_root_pin = <Bravo's own root>`, and declares Charlie as a *delegated executor* whose attestations will be "countersigned by Bravo." The schema validates: it is a well-formed key.
- Charlie executes, signs the outcome with `K_Charlie`. Bravo re-signs the composite with `K_Bravo`. The envelope's `signature_chain` is `[K_Charlie, K_Bravo]`.
- Alpha's verifier walks the chain, finds `K_Bravo` pinned (it is Alpha's *bidder* root), accepts `K_Charlie` because it is *present in the envelope*, and marks the outcome `verified=true`.
- During a downstream dispute, Alpha attempts to re-derive the outcome independently and discovers it holds no Charlie root, no Charlie revocation status, and no proof that Bravo's assertion about Charlie's key was ever authorized. The `verified=true` flag is unfalsifiable outside Bravo's cooperation.
The tell: **the verifier accepted a key it had not been given out-of-band.** The chain was internally consistent and externally unanchored. Alpha's policy said "attestation must be anchored in a root I trust"; the implementation said "attestation must be a chain ending in *some* pinned key," and the two diverge precisely when the chain crosses a trust boundary.
Condition of Validity
The award is only admissible when, for the winning bid, **every signing key that contributes to the outcome attestation is independently resolvable to a root pinned by the manager's own policy, out-of-band from the bid itself.** Formally: for each key `k` in the chain, there must exist a path `k → ... → root` where `root ∈ manager.pinned_roots` AND the binding of `k` to its org was established by a channel the bidder did not control (a prior federation handshake, a published JWKS at a pinned origin, or a manager-held directory). A bid that *supplies* the binding of its own subcontractor's key satisfies signature validity but violates anchoring.
The invariant that must hold before `award()`:
> `anchored(chain, manager.pinned_roots, manager.directory)` must be true for the *full* chain, not just the terminal bidder key. Self-supplied intermediate keys are admissible only if the manager can close the loop to a pinned root without trusting the bidder's assertion about them.
This is a *continuity invariant across the trust seam*: the attestation chain must remain anchored end-to-end even where organizational control changes hands. It is exactly the cross-org analogue of state-continuity: the evidence must not lose its provenance when it crosses a boundary, the way agent state must not lose its checkpoint when it crosses a handoff.
Decision Boundary
The manager must choose the *refuse-to-award* branch — and not merely "award with caveat" — under these precise conditions:
- The chain contains an intermediate key whose binding to an org is asserted only by another bidder-controlled key, and no out-of-band resolution exists → **refuse award, return `UnanchorableAttestation`**.
- The bidder's `executor_root_pin` equals a root that is also the bidder's own root but the CFP required an *independent* executor root → **refuse; the pin is degenerate**.
- The chain is anchored but a required org's revocation status is unresolvable at decision time → **defer, not award** (a stale-but-anchored chain is a different failure; do not conflate with unanchored).
- The chain is fully anchored and all revocations current → **award**.
The boundary is *not* "signature invalid" (reject earlier, at bid validation) and *not* "bidder reputation low" (a separate axis). It is specifically: **the evidence is cryptographically intact but the chain of custody crosses a seam the manager cannot independently close.** Collapsing this into "verified" is the error; collapsing it into "reject as fraudulent" is the opposite error — the bidder may be entirely honest and simply lack a federation path.
Operational Effect
If the manager does not enforce the anchoring invariant, three consequences propagate:
- **Audit invalidity.** The recorded `verified=true` cannot be re-derived by any party outside Bravo. Alpha's compliance evidence is, in the strict sense, a claim by its counterparty wearing a signature. When an auditor asks Alpha to *prove* the outcome, Alpha can only re-ask Bravo.
- **Silent trust escalation.** Every award with a self-supplied intermediate key enlarges the set of keys Alpha implicitly trusts to whatever the bidder chose to include. Over many rounds, Alpha's effective trust set becomes bidder-defined — a slow, unbounded delegation of trust that no single award appears to grant.
- **Dispute asymmetry.** In a dispute, the honest bidder and the dishonest bidder are indistinguishable to Alpha, because the distinguishing evidence (Charlie's root) was never in Alpha's possession. Alpha cannot reward honesty or punish fraud; it can only litigate.
The guardrail is to make anchoring a *pre-award gate* that runs the full chain against the manager's pinned roots and directory, treating any key not resolvable without bidder cooperation as a hard stop, and to record the resolved anchor path (not just `verified=true`) so the award remains re-derivable by third parties. The manager must also require, in the CFP, that delegated executors be declared *with an out-of-band resolvable identifier* (a JWKS URI at a pinned origin, or a prior federation handshake), so that honest bidders have a path to satisfy the gate and the gate does not simply exclude all subcontracting.
The deep point: in cross-org contract nets, **the bid is not the only thing the bidder controls — it also controls the narrative of who executed.** A manager that verifies signatures but not anchors has outsourced its evidence chain to the party it is trying to hold accountable.
from dataclasses import dataclass
from typing import Iterable
class UnanchorableAttestation(RuntimeError):
"""Raised when an outcome attestation chain cannot be closed to a manager-pinned root
without trusting a bidder-supplied key binding."""
pass
@dataclass(frozen=True)
class Key:
key_id: str
org: str
# True iff the binding of this key to its org was established out-of-band
# (federation handshake / pinned-origin JWKS / manager directory).
out_of_band_bound: bool
def verify_award(
chain: list[Key],
pinned_roots: set[str],
manager_directory: dict[str, str],
bidder_org: str,
) -> str:
"""Return the resolved anchor root_id, or raise UnanchorableAttestation.
Invariant: every key in the chain must resolve to a pinned root WITHOUT
relying on the bidder's assertion about intermediate keys.
"""
if not chain:
raise UnanchorableAttestation("empty attestation chain")
terminal = chain[-1]
if terminal.key_id not in pinned_roots:
raise UnanchorableAttestation(
f"terminal key {terminal.key_id} is not a manager-pinned root"
)
for key in chain:
# A key is admissible only if it is itself pinned, or its org binding
# is independently resolvable via the manager directory (out-of-band).
anchored = key.key_id in pinned_roots or (
key.out_of_band_bound
and manager_directory.get(key.key_id) == key.org
)
if not anchored:
raise UnanchorableAttestation(
f"key {key.key_id} (org={key.org}) is bound only by bidder "
f"assertion; cannot close to a pinned root out-of-band"
)
# Degenerate-pin guard: if the only pinned key is the bidder's own root and
# the CFP demanded an independent executor root, the pin proves nothing
# about the executor.
executor_orgs = {k.org for k in chain if k.org != bidder_org}
if executor_orgs and not any(
k.org in executor_orgs and k.key_id in pinned_roots for k in chain
):
raise UnanchorableAttestation(
f"executor org(s) {executor_orgs} have no independently pinned root; "
f"award would rest on {bidder_org}'s assertion alone"
)
return terminal.key_id