# What happens when an instance accepts a brokered capability warrant whose delegated policy scope silently widens at the second hop **Date of Record:** 2026 November 21 **Scope:** Applies to federated agent delegations where a broker instance mints a capability warrant for a downstream task, and that warrant is re-delegated across an org boundary. Does not apply to single-org direct invocation or to delegation chains that carry a single signing authority end-to-end. ## Core Distinction The failure is not "the broker granted too much." The failure is that the broker's *policy-aligned scope* and the *transported scope* are two different objects that are reconciled only at the first hop. At hop zero, the broker instance (Org A) evaluates a policy against the requesting principal and emits a capability warrant whose `scope` field is the *intersection* of the principal's entitlement and the broker's own policy ceiling. That intersection is correct and tight. The problem appears at hop one: the receiving instance (Org B) re-delegates a *sub-capability* to a third instance, and the sub-capability is derived by the receiving instance from the warrant's `scope` field **without re-running the policy evaluation against the third party's own entitlement**. The intersection that made the first hop tight is now a *ceiling*, not a *floor*, and the second-hop delegation is bounded only by the ceiling. The result is a monotonic widening: each hop can only ever equal or exceed the effective authority of the previous hop, never narrow it below the transported scope. The invariant that breaks is: *effective authority at hop N ≤ effective authority at hop N-1*. It holds for the broker's own evaluation but not for the transported warrant, because the transported warrant carries the *result* of a policy evaluation, not the *policy*. The receiving instance cannot re-evaluate a policy it does not have, so it treats the scope as authoritative and delegates from it. ## What Was Observed A three-party federation: Org A (broker, holds the policy engine), Org B (task executor, receives a warrant), Org C (specialist sub-agent, receives a re-delegated sub-warrant). The task was a records-reconciliation job scoped to `dataset:ledger/2024Q3` with `actions:[read, aggregate]`. At hop zero, Org A's broker evaluated the requesting principal's entitlement and the broker's policy ceiling. The principal was entitled to `dataset:ledger/*` but the broker's policy ceiling for cross-org delegation was `dataset:ledger/2024Q*`. The intersection — `dataset:ledger/2024Q3`, `actions:[read, aggregate]` — was emitted in the warrant. Correct and tight. At hop one, Org B received the warrant, validated the signature chain, checked that the warrant's `expiry` had not passed, and confirmed that the requested sub-task (`aggregate` over `dataset:ledger/2024Q3`) was *within* the warrant's scope. It then minted a sub-warrant for Org C. Here is the defect: Org B's delegation logic used the warrant's `scope` as the *upper bound* for the sub-warrant, and because Org C's requested capability (`dataset:ledger/2024Q3`, `actions:[read, aggregate, export]`) differed only in the `actions` set, Org B's subset check (`requested ⊆ warrant.scope`) failed on `export` — *and the code path that handled the failure widened the scope to the warrant's scope and retried*, on the assumption that "the warrant's scope is the broker's decision, so matching it is safe." The retry succeeded. Org C received `actions:[read, aggregate]` (the widened scope), which is *not* what Org C asked for, but is what Org B decided was safe. Org C then performed `aggregate` and returned a result to Org B, which returned it to Org A. The visible symptom was not an authorization failure. It was a *silent capability substitution*: Org C's requested `export` was dropped, and Org C's agent loop — which had been written to expect `export` as a precondition for a downstream step — took the degraded capability as a signal that the *dataset* was narrower than expected, and narrowed its own subsequent queries to `2024Q3` only, which happened to be correct here but was correct by accident. In a second run with a different dataset (`2024Q4`), the same widening produced a sub-warrant scoped to `2024Q4` and Org C's degraded-capability heuristic narrowed it to `2024Q4` — again correct by accident, because the widening was to the *warrant's* scope, not the *requested* scope. The accident is the bug: the widening produced a scope that was *coincidentally* the right one because the broker had already intersected it. The moment the broker's policy ceiling and the principal's entitlement diverge on a *different* dimension, the widening produces a scope that is neither the requested nor the entitled one. ## Condition of Validity The invariant `effective_authority(hop N) ≤ effective_authority(hop N-1)` holds if and only if every hop re-derives the delegated scope by *intersection* with the delegating instance's own policy, not by *substitution* with the transported warrant's scope. The broker's warrant is a *proof of a prior intersection*, not a *license to re-delegate up to that intersection*. A receiving instance that cannot re-evaluate the broker's policy must treat the warrant's scope as a *hard ceiling* and must *reject* any delegation whose requested scope is not a subset of it — never widen to it. The widening path is valid only if the receiving instance has an independent policy that *also* intersects, in which case the correct operation is `requested ∩ warrant.scope ∩ local_policy`, which is a narrowing, not a widening. The boundary is sharp: widening-to-warrant is safe only when the receiving instance's local policy is *at least as restrictive* as the broker's policy on every dimension, which is not knowable across org boundaries. Therefore widening-to-warrant is never safe in cross-org federation. It is only safe in single-org delegation where the policy engine is shared. ## Decision Boundary The decision an instance must make at each hop is not "is the requested scope within the warrant's scope?" (that is a subset check, and the failure was in the *failure handler* for a failed subset check). The decision is: *on a failed subset check, do I (a) reject the delegation, (b) narrow the requested scope to the intersection and re-offer, or (c) widen the granted scope to the warrant's scope?* Option (c) is the failure. Option (b) is correct only if the receiving instance can *communicate the narrowing back to the requester* so the requester's agent loop can adapt; a silent narrowing is a capability substitution that the requester's reasoning loop will misread. Option (a) is the only safe default when the receiving instance cannot re-evaluate policy. The operational rule: a failed subset check at a federation hop is a *negotiation event*, not a *retry event*. It must surface to the requester as a structured capability rejection with the offered intersection, so the requester's planner can re-plan against the actual granted scope. The failure mode observed was that the rejection was swallowed by a retry-with-widening handler, and the requester never learned that its capability had been substituted. ## Operational Effect The downstream consequence is *reasoning divergence under substituted capability*. Org C's agent loop was written against a capability contract that included `export`. When the contract was silently substituted to exclude `export`, Org C's planner did not fail — it *adapted*, because LLM planners are trained to make do with available tools. The adaptation was a narrowed query scope, which was locally coherent and globally wrong in the general case. This is the specific hazard of capability substitution in agent federations: the substituted capability does not produce an error, it produces a *plausible but differently-scoped* execution trace, and the divergence is invisible until the result is audited against the original task specification. The audit trail shows a successful delegation, a successful execution, and a successful return — three green checkmarks over a scope that was never the requested one. The guardrail is a *scope-equality assertion at the return boundary*: the receiving instance must return, alongside its result, the *effective scope* it executed under, and the broker must assert that the effective scope equals the originally-requested scope or explicitly record the substitution as a negotiation outcome. A result returned under a substituted scope without a substitution record is a verification replay discrepancy waiting to happen. ```python from dataclasses import dataclass, field from typing import FrozenSet class CapabilitySubstitutionError(RuntimeError): """Raised when a federated hop grants a scope that is neither the requested scope nor a documented narrowing of it.""" @dataclass(frozen=True) class Scope: dataset: str actions: FrozenSet[str] def is_subset_of(self, other: "Scope") -> bool: return self.dataset == other.dataset and self.actions <= other.actions def intersect(self, other: "Scope") -> "Scope": if self.dataset != other.dataset: raise CapabilitySubstitutionError( f"dataset mismatch: {self.dataset!r} vs {other.dataset!r}" ) return Scope(self.dataset, self.actions & other.actions) @dataclass class Warrant: scope: Scope issuer: str subject: str def delegate( *, requested: Scope, parent_warrant: Warrant, local_policy_ceiling: Scope | None, allow_widen_to_warrant: bool = False, ) -> Warrant: """Re-delegate a sub-capability across a federation hop. The invariant: effective_authority(hop N) <= effective_authority(hop N-1). Widening to the parent warrant's scope is NEVER safe cross-org because the receiving instance cannot re-evaluate the broker's policy. """ if not requested.is_subset_of(parent_warrant.scope): if allow_widen_to_warrant: # The observed failure path: substitute the warrant's scope for the # requested scope and retry. This is the bug, not the fix. raise CapabilitySubstitutionError( "refusing widen-to-warrant: would substitute " f"{parent_warrant.scope} for requested {requested}" ) # Correct path: narrow to the intersection and surface the negotiation. if local_policy_ceiling is None: raise CapabilitySubstitutionError( "cannot narrow without local policy; reject delegation" ) narrowed = requested.intersect(parent_warrant.scope).intersect( local_policy_ceiling ) if not narrowed.actions: raise CapabilitySubstitutionError( f"empty intersection for requested {requested}" ) return Warrant( scope=narrowed, issuer=parent_warrant.subject, subject="downstream", ) if local_policy_ceiling is not None and not requested.is_subset_of( local_policy_ceiling ): raise CapabilitySubstitutionError( f"requested {requested} exceeds local policy ceiling " f"{local_policy_ceiling}" ) return Warrant( scope=requested, issuer=parent_warrant.subject, subject="downstream", ) def assert_return_scope( *, executed_scope: Scope, requested_scope: Scope, substitution_recorded: bool, ) -> None: """Guardrail at the return boundary: a result returned under a scope that differs from the requested one must carry an explicit substitution record, or it is a verification replay discrepancy in the making.""" if executed_scope != requested_scope and not substitution_recorded: raise CapabilitySubstitutionError( "result returned under substituted scope without substitution " f"record: executed={executed_scope} requested={requested_scope}" ) ```