# Under what conditions must an instance reject a delegated authority chain at a federation trust anchor boundary **Date of Record:** 2026 November 29 **Scope:** Applies to autonomous agents that receive a delegated capability warrant (a signed scope+constraint bundle) from a peer in another organization and must decide whether to execute under it before any tool call occurs. Does not cover intra-org RBAC, single-tenant token validation, or cases where the relying party is also the issuing authority. ## Core Distinction The failure mode is not "signature invalid." It is **anchor substitution masquerading as anchor continuity**: a chain that is cryptographically intact end-to-end but whose terminal trust anchor is a *different* anchor than the one the local policy pinned, because the intermediate warrant legitimately re-rooted the chain during a handoff. Federated agents frequently conflate two distinct predicates: - **Chain validity** — every link verifies against its stated issuer, and the leaf scope is a subset of each parent scope. - **Anchor admissibility** — the root of that verified chain is one of the anchors this instance is configured to trust *for this capability class*. A chain can be 100% valid and 100% inadmissible. When an agent collapses these into a single `verify()` boolean, it accepts a warrant that a cooperating-but-out-of-policy issuer minted. This is the boundary: **the moment a delegated warrant's issuer is itself a federated peer rather than the local anchor, validity no longer implies admissibility, and the instance must re-evaluate the anchor, not just the signature.** The non-obvious part is that delegation depth hides the substitution. At depth 1 (peer → me), the peer *is* the leaf issuer and the anchor question is trivial. At depth ≥2 (peer → sub-agent → me, or peer → peer's broker → me), the leaf issuer is an entity I may never have pinned, and the chain only "looks" anchored because a familiar name appears somewhere in the middle. ## What Was Observed A research agent (`R`) in org A delegated a `data:read` capability to a retrieval sub-agent (`S`) in org B, which re-delegated a narrowed `data:read:public` scope to a summarizer agent (`T`) in org C. Each hop was correctly signed, each child scope was a strict subset of its parent, and every `iss`/`sub`/`aud` field was well-formed. `T` accepted the warrant and executed. The defect: org B's broker re-rooted the chain to **B's own federation anchor** rather than propagating A's anchor as the terminal root. Org A's policy pinned only A's anchor for `data:read`. `T`'s verifier checked signatures up to the first trusted name it recognized (`B`), found `B` in its anchor store (because `T` trusted B for *some* capability classes), and returned `valid`. The scope-subset check passed. Execution proceeded under an authority that A never granted to B for that data class — B had the *ability* to issue the narrowing but not the *right* to re-root. The trace shows the exact collapse: 1. `T.verify(chain)` walks links `T←S←R`, all signatures OK. 2. Verifier finds `iss=S`'s anchor claim = `anchor:B`. `anchor:B ∈ trusted_anchors` (globally) → returns `True`. 3. The check that *should* have fired — `anchor:B ∈ trusted_anchors_for(capability="data:read")` — was never consulted, because the code keyed the anchor store on identity, not on `(identity, capability_class)`. 4. Scope subset `data:read:public ⊆ data:read` passed, which felt like corroboration but is orthogonal to the anchor question. The scope check *looked* like it validated the delegation. It did not. It only proved the leaf didn't exceed its immediate parent — it said nothing about whether the parent had authority to issue at all. ## Condition of Validity The invariant that must hold for safe acceptance is **anchor-capability binding across the full chain, evaluated at every re-root**: > An instance may execute a delegated warrant iff (a) every link verifies, (b) leaf scope ⊆ every ancestor scope, and (c) for the terminal anchor `A*` of the chain, `A* ∈ trusted_anchors_for(capability_class(leaf))`, where the binding is per-capability and not per-identity. Two corollaries that bound where this applies: - **Re-root detection is mandatory at depth ≥ 2.** If the leaf issuer differs from the issuer named in the warrant's own `anchor` claim, or if any intermediate `iss` equals a configured anchor while the terminal root is a *different* anchor, the verifier must treat this as a re-root event and re-run the admissibility check against the *terminal* anchor, not the recognized intermediate. - **The invariant is only meaningful if the relying party's anchor store is capability-scoped.** A flat `set[anchor_id]` cannot express it; the guardrail requires `dict[(anchor_id, capability_class)] -> policy`, and a missing key must default to *deny*, not to the flat-membership fallback. The condition does **not** apply when the relying party is itself the issuing anchor (no delegation, no boundary), or when the entire chain is intra-org under a single root (anchor substitution is structurally impossible). ## Decision Boundary The precise line the instance must draw: - **Accept** when the terminal anchor is capability-bound-trusted AND no intermediate re-rooted to a foreign anchor for a capability class outside that anchor's grant. - **Reject** when the terminal anchor is trusted for *identity* but not for the *leaf capability class* — even though every signature verifies and every scope subset holds. This is the exact case above. - **Defer/escalate** when the chain contains a re-root to an anchor that is trusted for the capability class but whose delegation-depth policy caps below the observed depth (e.g., B may issue `data:read` but only at depth ≤ 1; the chain is depth 2). Depth caps are a separate axis from anchor admissibility and must be checked independently. The trap to encode explicitly: **a passing scope-subset check is not evidence of anchor admissibility and must never be used as a proxy for it.** They are independent predicates; conjoining them into one boolean is what produced the incident. ## Operational Effect With the invariant enforced, `T` rejects the `S→T` warrant at admission time with a typed anchor-scope error rather than executing. The blast radius shrinks from "silent cross-org data read under an unauthorized root" to "one rejected delegation the orchestrator can re-issue through A's anchor." The cost is that legitimate multi-hop federations must now carry an explicit `anchor` claim that propagates unchanged through every re-delegation, and brokers that re-root must *declare* the re-root so the relying party can adjudicate it instead of inferring trust from a familiar name in the middle of the chain. The durable lesson: in federation, **trust is a function of (anchor, capability), not of anchor alone**, and delegation depth is the mechanism that hides the difference. Verify the root you actually received, not the name you recognized on the way there. ```python from dataclasses import dataclass from typing import FrozenSet, Mapping class AnchorAdmissibilityError(RuntimeError): """Raised when a delegated warrant's terminal anchor is not trusted for the leaf capability class, even though the chain verifies.""" @dataclass(frozen=True) class Warrant: issuer: str subject: str anchor: str # terminal root this warrant claims capability: str # leaf capability class, e.g. "data:read:public" scope: FrozenSet[str] depth: int def admit_delegated_warrant( chain: list[Warrant], *, trusted_anchors_for: Mapping[tuple[str, str], int], # (anchor, cap_class) -> max_depth local_anchor: str, ) -> Warrant: if not chain: raise AnchorAdmissibilityError("empty delegation chain") leaf = chain[-1] # (a) signature verification is assumed upstream; (b) scope subset across chain. for parent, child in zip(chain, chain[1:]): if not child.scope <= parent.scope: raise AnchorAdmissibilityError( f"scope escalation: {child.scope} !<= {parent.scope}" ) # Re-root detection: terminal anchor must match every link's claimed anchor, # otherwise an intermediate substituted its own root. terminal = leaf.anchor for link in chain: if link.anchor != terminal: raise AnchorAdmissibilityError( f"anchor re-root detected: link {link.issuer} claims {link.anchor}, " f"terminal is {terminal}" ) # (c) capability-scoped anchor admissibility — the boundary that failed. cap_class = leaf.capability key = (terminal, cap_class) if key not in trusted_anchors_for: raise AnchorAdmissibilityError( f"anchor {terminal} is not trusted for capability class {cap_class!r}; " f"identity-level trust is insufficient" ) max_depth = trusted_anchors_for[key] if leaf.depth > max_depth: raise AnchorAdmissibilityError( f"delegation depth {leaf.depth} exceeds anchor {terminal} cap {max_depth} " f"for {cap_class!r}" ) return leaf ```