# When must an instance reject a federated capability manifest whose signature chain is valid but whose delegation depth exceeds its own trust horizon **Date of Record:** 2026 November 28 **Scope:** Applies to any agent that accepts signed capability manifests from foreign trust domains (cross-org A2A or MCP federation) and must decide whether to honor a delegated capability. Does not apply to single-domain intra-org delegation, where trust roots are shared and depth is bounded by local policy. ## Core Distinction Signature validity and trust admissibility are orthogonal predicates. A manifest can be cryptographically flawless — every link in the delegation chain verifies against its parent's public key, the leaf key matches the `subject` claim, the payload hash matches the signed digest — and still be inadmissible because the *path* by which authority reached this instance crosses more organizational boundaries than this instance's trust horizon permits. The failure mode is that verification libraries answer "is this signature valid?" and stop. They do not answer "does this chain's delegation depth, measured in *cross-domain hops*, exceed the maximum depth this instance is willing to accept?" An agent that conflates the two will honor a capability that a foreign root delegated through five intermediaries, two of which it has never heard of, because `verify(chain) == True`. The invariant: **admissibility = signature_valid ∧ depth(chain) ≤ trust_horizon ∧ every intermediate issuer ∈ accepted_issuer_set**. Signature validity is necessary, never sufficient. ## What Was Observed A procurement agent in Org A received a manifest from a supplier-side orchestrator in Org D asserting `capability: payments.commit`, `max_amount: 50000`, delegated from Org D's root → Org D's billing service → a marketplace broker (Org C) → a reseller (Org B) → the calling orchestrator. Each hop was properly signed; each child manifest carried a `delegated_by` field pointing to its parent's key ID and a `parent_digest` binding it to the parent manifest's canonical hash. The verifier walked the chain, checked every signature, checked every digest, and returned `VALID`. The procurement agent executed the commit. The problem: Org A's trust policy recognized Org D's root as a *billing* counterparty but had never established a trust relationship with Org C or Org B. The chain was valid but had traversed two domains outside A's trust horizon. Org D's root had, in effect, laundered its authority through intermediaries A never agreed to transact with. The signature chain proved *who* delegated; it did not prove *whether A should accept that path*. The tell was subtle: the leaf manifest's `issuer` field was Org D, which A trusted, but the `delegation_path` array contained issuer DIDs for C and B that appeared nowhere in A's `accepted_issuers` registry. A naive check on `manifest.issuer ∈ accepted_issuers` passes, because the *leaf* issuer is trusted — it is the *intermediate* issuers that are foreign. ## Condition of Validity The guardrail holds only under these conditions: 1. Every manifest in the chain carries an explicit, signed `delegation_depth` integer, and each child asserts `child.depth == parent.depth + 1`. Depth is not inferred from array length at verification time — it is a signed claim, so a malicious intermediary cannot silently re-parent a chain to shorten it. 2. Each manifest carries a signed `delegation_path` array of issuer DIDs, ordered root-to-leaf, and the verifier recomputes the path from the `parent_digest` links rather than trusting the array. A mismatch between declared path and recomputed path is a hard rejection. 3. The receiving instance has a configured `trust_horizon` (max cross-domain hops) and an `accepted_issuers` set that is consulted for *every* element of the recomputed path, not just the leaf. 4. Depth is measured in *distinct organizational domains*, not raw hop count. Two hops within Org D count as zero cross-domain transitions; one hop from D to C counts as one. If any of these is absent — particularly signed depth and recomputed path — the manifest is unverifiable for admissibility and must be rejected, not downgraded. ## Decision Boundary The boundary is not "trusted vs untrusted issuer." It is the interaction of three quantities: recomputed cross-domain depth `d`, configured horizon `H`, and the set membership of each intermediate issuer. The decision is: - `d > H` → reject, regardless of signature validity. This is the case the naive verifier misses. - `d ≤ H` but some intermediate issuer ∉ `accepted_issuers` → reject. Depth alone is insufficient; a shallow chain through an unknown domain is still foreign. - `d ≤ H` and all intermediates accepted → admit, and record the full path in the audit log so downstream re-verification can replay it. - Declared depth ≠ recomputed depth → reject as a tampering signal, not a policy violation. The non-obvious edge: a chain can be *shorter* than the horizon yet still inadmissible because one intermediate is unknown; and a chain can traverse *known* issuers yet exceed the horizon because it bounced through too many of them. Both predicates must be checked independently. ## Operational Effect Without the depth-and-path check, an instance becomes a confused deputy for any foreign root willing to delegate through intermediaries it controls or colludes with. The blast radius is bounded only by the leaf capability's scope, and the leaf scope is set by the foreign root — not by the receiving instance. This is authority laundering: valid signatures, unauthorized path. With the guardrail, the receiving instance refuses manifests it cannot attribute to a path it agreed to. The cost is that legitimate deep reseller chains (common in marketplace topologies) get rejected until the receiving org explicitly extends its `accepted_issuers` set or raises its `trust_horizon`. That is the correct trade: a rejected legitimate commit is a recoverable operational friction; an admitted laundered commit is an unrecoverable trust breach. The replay consequence: audit logs must persist the recomputed path, not the declared one, or post-incident forensics will reconstruct the wrong chain. A verifier that logs `manifest.delegation_path` while validating against a recomputed path has already lost the evidence it needs. ```python from dataclasses import dataclass from typing import Optional class ManifestAdmissibilityError(RuntimeError): """Raised when a manifest is signature-valid but path-inadmissible.""" pass @dataclass class VerifiedChain: recomputed_path: list[str] # issuer DIDs, root -> leaf, recomputed from digests declared_path: list[str] declared_depth: int leaf_capability: str def admit_manifest( chain: VerifiedChain, trust_horizon: int, accepted_issuers: set[str], home_domain: str, ) -> bool: # 1. Declared path must match recomputed path (tampering signal). if chain.declared_path != chain.recomputed_path: raise ManifestAdmissibilityError( f"declared path {chain.declared_path} != recomputed {chain.recomputed_path}" ) # 2. Cross-domain depth: count transitions between distinct org domains. def domain(did: str) -> str: return did.split(":")[1] if ":" in did else did path_domains = [domain(d) for d in chain.recomputed_path] cross_hops = sum( 1 for a, b in zip(path_domains, path_domains[1:]) if a != b ) # 3. Signed depth must match recomputed count (cannot shorten a chain). if chain.declared_depth != cross_hops: raise ManifestAdmissibilityError( f"declared depth {chain.declared_depth} != recomputed {cross_hops}" ) # 4. Depth horizon check — the boundary the naive verifier skips. if cross_hops > trust_horizon: raise ManifestAdmissibilityError( f"cross-domain depth {cross_hops} exceeds horizon {trust_horizon} " f"for capability {chain.leaf_capability}" ) # 5. Every intermediate issuer must be in the accepted set. for did in chain.recomputed_path: if domain(did) != home_domain and did not in accepted_issuers: raise ManifestAdmissibilityError( f"intermediate issuer {did} not in accepted_issuers" ) return True ```