# When must an instance refuse a federated warrant whose policy digest matches but whose delegation chain is unverifiable? **Date of Record:** 2026 November 24 **Scope:** Applies to cross-organization agent federations where an agent instance accepts a signed *warrant* (capability grant + policy bundle) from a foreign issuer and executes a delegated task under it. Does not apply to single-tenant deployments where the issuer and the executor share a trust root. ## Core Distinction The failure we keep re-learning is not "signature invalid" — that is a clean, loud rejection. It is the case where a foreign warrant's **policy digest matches byte-for-byte** the digest the local instance expects, the **leaf signature verifies**, and yet the warrant must still be refused because the **delegation chain between the root issuer and the presenting leaf is unverifiable within the local trust boundary**. The distinction that matters operationally: *policy conformance* (does the bundle hash to the digest I expect?) is a different predicate from *authority provenance* (can I reconstruct an unbroken, identity-bound chain from a root I trust to the leaf presenting this warrant?). Agents that collapse these two into a single `verify_warrant()` boolean will accept warrants they should reject. The digest is a content-integrity check; it says nothing about who had the right to mint the content. This is non-obvious because in most single-org systems the two predicates are always satisfied together — the issuer is the trust root, so chain length is one. The divergence only appears at the federation seam, where a warrant arrives via a peer that is *allowed to delegate* but whose own upstream link is presented as an opaque reference rather than a verifiable hop. ## What Was Observed A cross-org federation: Org A (root issuer) delegates to Org B (broker), which delegates to Org C (worker agent instance). The warrant presented to C carries: - `policy_digest`: `sha256:9f3c…` — matches C's locally pinned expectation for the "read-customer-records" policy bundle. - `leaf_signature`: Ed25519 signature by B's key, valid over the warrant body. - `chain`: `[A→B]` — a single hop, but presented as a **detached reference** (`issuer_ref: "orgA:key-7"`) with no embedded certificate, no transparency-log inclusion proof, and no co-signed handoff from A. C's naive verifier did this: check `policy_digest == expected` (pass), verify `leaf_signature` against B's public key (pass), check `issuer_ref` is in the allowlist of federated roots (pass — `orgA:key-7` is allowlisted). Verdict: **accept**. The state transition that should have fired but didn't: 1. Verifier resolves `issuer_ref` → orgA key-7 public key. **Resolved, but not bound.** The allowlist entry proves A *exists* and is *a* root; it does not prove A *signed this specific A→B delegation*. 2. Verifier attempts to validate the `A→B` hop. There is no signature by A over B's delegation record. The hop is asserted, not attested. 3. The chain is therefore length-1-asserted, provenance-unverified. The leaf signature is genuine — B really did sign — but B's *authority to sign* is unestablished. B could be a compromised broker, or a broker whose A→B grant was revoked but whose revocation has not propagated. Failure trace: a revoked broker B continues minting leaf warrants. Because the leaf signatures are valid and the policy digests are correct, C accepts and executes. The revocation lives only in A's directory; C never queries it because C's verifier treats `issuer_ref` resolution as sufficient provenance. **The revocation-propagation gap is invisible precisely because the two predicates were fused.** ## Condition of Validity The refusal is *required* — not merely permitted — under the following jointly-satisfied condition: - The presenting instance C's trust root set `R` does not include the intermediate issuer B directly (B is trusted only *transitively* via A). - The chain from some `r ∈ R` to the leaf contains at least one hop that is **asserted by reference** rather than **attested by signature over the delegation record**. - There exists no out-of-band, freshness-bounded attestation (e.g., an inclusion proof against a transparency log, or a short-TTL co-signed handoff) that lets C independently confirm the asserted hop. When all three hold, `policy_digest` match and `leaf_signature` validity are **necessary but insufficient**. The warrant must be refused with a *provenance* error, distinct from a *signature* error, so that the calling agent does not retry against the same unverifiable chain. The condition does **not** apply when: B is in C's direct trust root set (then the chain is length-zero and B's signature *is* the root authority); or when the asserted hop carries a valid transparency-log inclusion proof whose log C trusts; or when A→B is presented as a co-signed record with A's signature directly over B's delegation. ## Decision Boundary The boundary the instance must enforce is between **resolution** and **binding**: - *Resolution* answers "does this issuer identifier map to a key I recognize?" — cheap, cacheable, and **not sufficient**. - *Binding* answers "did that key sign *this* delegation, and is that signature fresh w.r.t. revocation?" — requires per-hop signature verification plus a revocation check whose freshness window is bounded. An agent should treat a `policy_digest` match as a **precondition gate**, never as an authorization. Concretely, the acceptance predicate decomposes into an ordered conjunction where the *provenance* term is evaluated independently of the *conformance* term, and a failure in provenance short-circuits to a hard refusal regardless of conformance. The trap on the other side: do not over-refuse. If the chain is attested (every hop signed, or inclusion-proven, or the intermediate is a direct root), the warrant is valid even if the leaf signature uses a key rotated since issuance — key rotation is a separate freshness predicate, not a provenance failure. Conflating rotation staleness with provenance failure causes spurious federation outages. ## Operational Effect Once the instance separates the two predicates, three behaviors change: 1. **Revocation becomes effective at the seam.** A revoked broker's warrants fail at the provenance term (no fresh A→B attestation), so C refuses even though leaf signatures verify. The revocation-propagation gap is closed by requiring per-hop freshness rather than trusting a cached allowlist. 2. **Errors become diagnosable.** A `ProvenanceUnverified` refusal tells the orchestrator to re-fetch a co-signed handoff or an inclusion proof, not to re-request the same warrant. Signature errors and conformance errors route to different remediation paths. 3. **The allowlist stops being load-bearing for authorization.** It becomes a resolution hint only; authority is carried by the attested chain. This removes the class of bugs where a stale allowlist entry silently grants transitive authority. The invariant to encode: **A warrant is executable only if `conformance ∧ provenance`, where `provenance` requires every hop from a trusted root to the leaf to be signed or freshness-attested, and where `provenance` is evaluated without reference to `conformance`.** An instance that cannot reconstruct the chain must refuse — a matching digest is evidence the policy is the one you expected, never evidence that the presenter had the right to invoke it. ```python class ProvenanceUnverifiedError(RuntimeError): """Raised when a warrant's delegation chain cannot be bound to a trusted root, even though its policy digest and leaf signature are valid.""" class WarrantRejectedError(RuntimeError): """Raised when policy conformance fails (digest mismatch).""" def evaluate_warrant(warrant, trusted_roots, expected_digest, freshness_window_s, now): # --- Predicate 1: conformance (content integrity only) --- if warrant.policy_digest != expected_digest: raise WarrantRejectedError( f"policy digest mismatch: got {warrant.policy_digest!r}" ) # --- Predicate 2: provenance (authority, evaluated independently) --- if not verify_leaf_signature(warrant): raise ProvenanceUnverifiedError("leaf signature invalid") chain = warrant.chain # list of hops from root-ward to leaf-ward if not chain: raise ProvenanceUnverifiedError("empty delegation chain") root = chain[0] if root.issuer_ref not in trusted_roots: raise ProvenanceUnverifiedError( f"root {root.issuer_ref!r} not in trust root set" ) # Every hop must be *attested*, not merely *referenced*. for hop in chain: if hop.attestation is None: # A referenced-only hop: resolution succeeded, binding did not. raise ProvenanceUnverifiedError( f"hop {hop.issuer_ref!r}->{hop.subject_ref!r} is asserted by " f"reference with no signature or inclusion proof; " f"digest match does not confer authority" ) if not verify_hop_attestation(hop, trusted_roots): raise ProvenanceUnverifiedError( f"hop {hop.issuer_ref!r}->{hop.subject_ref!r} attestation invalid" ) if (now - hop.attested_at) > freshness_window_s: # Revocation-propagation guard: stale attestation == unverifiable. raise ProvenanceUnverifiedError( f"hop {hop.issuer_ref!r}->{hop.subject_ref!r} attestation is " f"stale ({now - hop.attested_at}s > {freshness_window_s}s); " f"revocation state cannot be trusted" ) return True # conformance AND provenance both hold def verify_leaf_signature(warrant) -> bool: ... def verify_hop_attestation(hop, trusted_roots) -> bool: ... ```