# Under what conditions must an instance refuse a delegated warrant whose provenance chain crosses an unsigned orchestrator hop **Date of Record:** 2026 November 30 **Scope:** Applies to federated multi-agent orchestrations where a task warrant (capability grant + originating principal + intent digest) is propagated across orchestrator boundaries via A2A-style handoff envelopes and MCP tool invocations. Does not apply to single-tenant orchestrations where all hops share one signing root and one trust domain, nor to stateless one-shot tool calls with no delegated authority. ## Core Distinction There are two structurally different things an agent can receive from a peer: a **request** and a **warrant**. A request says "do this." A warrant says "you are authorized to do this, on behalf of principal P, for intent I, and here is the chain of custody proving that authority reached you unmodified." Most agent frameworks conflate these because in the happy path the caller is also the authority. The boundary failure lives exactly where that conflation is masked: a warrant arrives with a *complete-looking* provenance chain whose intermediate orchestrator hop is **unsigned but structurally well-formed**. The chain validates syntactically, the intent digest matches, the capability scope is sufficient — and yet the instance must refuse, because the unsigned hop is the precise location where intent substitution is undetectable. The non-obvious part: an unsigned hop is not a *missing* signature. It is a hop that asserts "I forwarded this warrant faithfully" without cryptographic commitment to *what it forwarded*. A downstream verifier that only checks the endpoints (originating principal signature + terminal capability grant) will accept a chain in which the middle orchestrator rewrote the intent digest, narrowed or widened the scope, or spliced a warrant from a different task. The endpoints are genuine; the seam is forgeable. ## What Was Observed A three-tier federation: principal `P` (a human-authenticated tenant) issues a signed warrant `W0` to orchestrator `O1`. `O1` decomposes the task and delegates a subtask to orchestrator `O2` by emitting envelope `E1 = {W0, scope_sub, intent_sub, sig_O1}`. `O2` in turn delegates to worker agent `A` via `E2 = {E1, scope_leaf, intent_leaf, sig_O2}`. Agent `A` runs the terminal tool. In the observed incident, `O2` was operating in a degraded mode: its signing key had rotated and the new key was not yet published to the trust registry `A` consults. Rather than fail closed, `O2`'s envelope builder emitted `E2` with a **null signature field plus a `sig_status: "deferred"` annotation** — a well-formed envelope that `A`'s validator treated as "signature not required for this hop class." `A` accepted `E2`, verified `W0` against `P`'s published key (valid), verified `sig_O1` (valid), and executed `scope_leaf` against `intent_leaf`. The failure was latent, not active: no adversary was present. But the trace revealed that *had* `O2` rewritten `intent_leaf` from "summarize customer tickets for tenant T" to "summarize customer tickets for tenant T and export to external bucket," `A` would have accepted it identically. The intent digest `A` checked was `O2`'s claimed digest, not a digest `O2` was cryptographically bound to. The chain had a **forgeable seam at hop 2** that endpoint verification could not see. A second observation from replay: when `O2`'s key was later republished and the same task replayed, `A` produced a *different* accept/reject decision on the identical envelope payload — because the validator's behavior depended on mutable trust-registry state at verification time, not on the envelope's self-contained commitments. This is the **verification-time-of-check vs. use-of-warrant** gap: the warrant was valid when checked and the registry changed before use. ## Condition of Validity A delegated warrant is *only* trustworthy at agent `A` if and only if, for every hop `i` in the provenance chain from originating principal to `A`, the envelope `E_i` contains a signature over the tuple `(parent_envelope_digest, scope_i, intent_i, nonce_i, expiry_i)` verifiable against a key bound to the orchestrator at hop `i`, **and** that key's binding is itself anchored in a trust root `A` can validate without consulting mutable live state at execution time. Formally, the invariant is **chain-link integrity**: `verify(E_n) ⇒ ∀i∈[1,n]: sig_i commits to digest(E_{i-1})`. If any `sig_i` is absent, deferred, or commits only to `intent_i` without committing to `digest(E_{i-1})`, the link is broken and the warrant is invalid *regardless of endpoint validity*. The originating principal's signature authenticates the root; it does not authenticate the downstream seams. Endpoint-only verification is the specific error. The condition fails closed when: the registry is consulted at use-time rather than check-time and has drifted; a hop advertises a "deferred" or "async" signature status; a hop presents a signature over `intent_i` alone without the parent digest; or the chain is truncated such that `A` cannot reconstruct `digest(E_{i-1})` for some `i`. ## Decision Boundary The instance must **refuse and escalate** — not execute, not "execute with warning" — when the chain contains an unsigned or partially-committing hop, *even if* every other check passes and even if the unsigned hop is the caller's own trusted parent. The boundary is sharp: - **Accept** only when every hop commits to its parent digest and all keys resolve against a trust anchor pinned at warrant-issuance time. - **Refuse** when any hop is unsigned, deferred, or commits to intent without parent digest. Refusal is terminal for that warrant; the correct recovery is re-issuance through a signing path, not retry. - **Do not** treat "the caller is my configured parent" as a substitute for a signature. Configuration trust is not cryptographic trust; a compromised or buggy parent is exactly the threat model. - **Do not** accept a warrant whose validity depends on live registry state that could change between check and use. Pin the trust anchor into the envelope at issuance (e.g., a short-lived signed key-binding certificate carried in the chain). The boundary is *not* crossed by endpoint validity, scope sufficiency, or intent plausibility. Those are necessary and insufficient. The seam signature is the deciding predicate. ## Operational Effect Enforcing chain-link integrity converts a silent, adversary-dependent integrity gap into a loud, deterministic refusal. In the observed federation, the effect was that `O2`'s degraded-mode envelopes were rejected at `A` with a specific error class rather than executed on unverified intent — surfacing the registry-rotation bug as an operational alert instead of a latent export vulnerability. Replay determinism improved: because validity is a function of envelope contents plus pinned anchors, the same envelope yields the same decision across replays and across registry drift. The cost is real: federations must carry per-hop signatures (bandwidth and CPU), maintain pinned key-binding certificates with bounded TTL, and handle the refusal path (re-issuance) as a first-class flow rather than a retry. The invariant to encode in every terminal agent is: **a warrant is a chain, not a pair of endpoints; the weakest seam, not the strongest endpoint, sets the trust floor.** ```python import hashlib from dataclasses import dataclass from typing import Optional class ProvenanceChainError(RuntimeError): """Raised when a delegated warrant's provenance chain cannot be trusted.""" pass @dataclass(frozen=True) class Hop: hop_id: str parent_digest: Optional[str] # digest of the previous envelope scope: str intent: str signature: Optional[str] # None => unsigned / deferred hop sig_status: str # "signed" | "deferred" | "missing" def _digest(hop: Hop) -> str: payload = f"{hop.hop_id}|{hop.parent_digest}|{hop.scope}|{hop.intent}" return hashlib.sha256(payload.encode()).hexdigest() def verify_chain(chain: list[Hop], pinned_anchors: dict[str, str]) -> bool: """ Enforce chain-link integrity: every hop must be signed AND must commit to the digest of its parent envelope. Endpoint validity is insufficient. """ if not chain: raise ProvenanceChainError("empty provenance chain") prev_digest: Optional[str] = None for i, hop in enumerate(chain): # 1. Every hop must carry a signature; deferred/missing is a forgeable seam. if hop.sig_status != "signed" or hop.signature is None: raise ProvenanceChainError( f"hop {hop.hop_id} (index {i}) is unsigned " f"(status={hop.sig_status!r}); seam is forgeable" ) # 2. The signature must commit to the parent digest, not intent alone. expected_parent = prev_digest if hop.parent_digest != expected_parent: raise ProvenanceChainError( f"hop {hop.hop_id} parent_digest mismatch: " f"claimed={hop.parent_digest!r} expected={expected_parent!r}" ) # 3. Key must resolve against a pinned anchor, not live mutable state. if hop.hop_id not in pinned_anchors: raise ProvenanceChainError( f"hop {hop.hop_id} has no pinned trust anchor; " f"validity would depend on live registry state" ) prev_digest = _digest(hop) return True def execute_delegated(chain: list[Hop], anchors: dict[str, str]) -> str: try: verify_chain(chain, anchors) except ProvenanceChainError as exc: # Fail closed: do not execute on an unverified warrant. return f"REFUSED: {exc}" return "EXECUTED" ```