# How should an instance detect delegated-authority attenuation failure at a federation trust boundary before executing a policy-bounded tool call **Date of Record:** 2026 November 29 **Scope:** Applies to cross-org agent federation where an agent instance (the *delegate*) executes tool calls under a warrant delegated by a foreign-org principal (the *delegator*) through one or more intermediary agents. Does not apply to single-org intra-tenant delegation, nor to stateless RPC where no warrant object crosses an org boundary. ## Core Distinction The failure mode is not "the agent lacked permission." It is **silent authority amplification at the attenuation point**: a delegate receives a warrant whose *effective* scope is broader than the delegator's own authority, because attenuation was checked against the warrant's *declared* scope rather than against the delegator's *residual* scope after prior delegations in the same chain. The warrant is syntactically valid, cryptographically signed, and passes schema negotiation. It fails only on a semantic invariant: `effective_scope(delegate) ⊆ residual_scope(delegator)`. Most federation stacks verify the *signature chain* (who signed what) and the *schema* (does the tool call match the declared capability). Neither check catches amplification. The signature proves the delegator asserted the scope; the schema proves the call fits the assertion. Neither proves the assertion was *within the delegator's right to make*. This is the boundary where policy-bounded interop breaks: the trust boundary validates identity and shape, but not the monotonic narrowing of authority across the delegation edge. ## What Was Observed A three-hop chain: Org-A principal → Org-A orchestrator agent (A1) → Org-B broker agent (B1) → Org-B worker agent (B2). A1 holds a warrant scoped to `{read:orders, read:customers}` for tenant `t-4471`. A1 delegates to B1 a warrant for `{read:orders, read:customers, read:invoices}`. A1's residual scope did not include `read:invoices`—it was never granted. But A1's *delegation policy* permitted it to issue warrants for any capability in the global federation capability registry, and the registry listed `read:invoices` as a valid Org-B capability. The warrant was signed by A1, schema-valid, and B1's policy engine accepted it because `read:invoices` matched a registered capability and the signature verified. B1 then delegated to B2, adding `write:invoices` because B1's local policy granted workers write on any capability they could read. B2 executed `POST /invoices/{id}/void` on a customer invoice belonging to tenant `t-4471`. The call succeeded. No layer rejected it. The audit log showed a clean, signed, schema-conformant chain. The amplification happened at the A1→B1 edge: A1 issued a warrant for a capability it did not hold. The signature was valid because A1's key was valid. The schema was valid because the capability was registered. The invariant `residual ⊆ parent` was never evaluated because the validator only checked `declared ⊆ registry`. ## Condition of Validity The guardrail holds only when all three of the following are enforced atomically at each delegation edge: 1. **Residual-scope computation precedes warrant issuance.** Before signing, the delegator computes `residual = granted_scope − already_delegated_scope` and asserts `new_warrant.scope ⊆ residual`. This is not the same as `new_warrant.scope ⊆ granted_scope`; prior delegations in the same chain consume residual. 2. **Capability registry is not a grant.** A capability appearing in the federation registry means "some org can issue this," not "this delegator may issue this." Conflating registry membership with grant authority is the exact defect. The registry must be queried for *shape*, never for *authority*. 3. **Monotonic narrowing is enforced transitively.** Each hop re-evaluates against its own residual, not against the root grant. A chain of three hops each narrowing correctly can still amplify if any single hop compares against the root instead of its parent's residual. When any of these is violated—particularly (2)—the chain is unsound even though every individual warrant is well-formed. ## Decision Boundary The delegate must refuse to execute when the warrant's scope is not provably a subset of the delegator's residual scope *as attested in the warrant chain itself*, not as inferred from the registry. The decision is binary at the tool-call boundary: - **Proceed** only if the warrant carries an explicit `residual_scope` attestation signed by the delegator, and `requested_capability ∈ residual_scope`, and the attestation's signature chains to a principal the delegate's org trusts. - **Halt and escalate** if the warrant omits `residual_scope`, if the residual is present but the capability is not in it, or if the capability is in the registry but not in any signed residual in the chain. Registry membership is necessary for schema validation and sufficient for nothing else. The non-obvious part: a warrant that *passes* signature and schema but *fails* residual containment must be treated as a hard fault, not a soft warning. Executing it "because it's signed" is the amplification path. ## Operational Effect Enforcing residual containment at every edge converts a silent, audit-clean privilege escalation into a loud, attributable halt at the exact hop where amplification was attempted. The blast radius shrinks from "any capability in the federation registry" to "the delegator's actual residual," and the failure is localized to the offending edge rather than surfacing as an unexplained cross-tenant write three hops later. The cost is that delegators must compute and sign residual scope on every issuance—an O(delegations) bookkeeping burden—but that burden is the invariant. Without it, the signature chain is a chain of assertions with no monotonicity, and policy-bounded interop is bounded only by what the registry happens to list. ```python class AuthorityAmplificationError(RuntimeError): """Raised when a delegated warrant's scope exceeds the delegator's residual scope.""" pass def validate_delegation_edge( parent_residual_scope: frozenset[str], child_warrant_scope: frozenset[str], child_warrant_signature_valid: bool, capability_in_registry: bool, ) -> None: # Signature validity is necessary but not sufficient. if not child_warrant_signature_valid: raise AuthorityAmplificationError( "warrant signature invalid; cannot establish delegator identity" ) # Registry membership proves shape, never authority. if not capability_in_registry: raise AuthorityAmplificationError( "requested capability absent from federation registry; schema mismatch" ) # The invariant: child scope must be a subset of parent residual scope. amplified = child_warrant_scope - parent_residual_scope if amplified: raise AuthorityAmplificationError( f"authority amplification at delegation edge: " f"capabilities {sorted(amplified)} exceed delegator residual scope " f"{sorted(parent_residual_scope)}; refusing to propagate warrant" ) ```