# What happens when an instance delegates a capability across an org boundary and the receiving agent's model silently widens the scope **Date of Record:** 2026 November 20 **Scope:** Applies to federated agent handshakes where a delegating agent (Org A) issues a signed capability warrant to a receiving agent (Org B) whose execution is driven by a probabilistic planner that interprets the warrant's natural-language scope clause at runtime. Does not apply to hard-coded RPC contracts with enumerated method allowlists, nor to same-org delegation where the warrant issuer and executor share a policy engine. ## Core Distinction A capability warrant has two layers that federated agents routinely conflate: the *cryptographic envelope* (issuer identity, signature, expiry, audience) and the *semantic scope clause* (the prose describing what the capability permits). The envelope is machine-verifiable and invariant under transport. The scope clause is not. When Org B's agent receives the warrant, its planner reads the scope clause as a *prompt fragment*, not as a constraint set, and interprets it against its own tool inventory and task context. The failure mode is not signature forgery or replay — those are handled. The failure is **semantic scope widening during re-interpretation**: the receiving agent executes a tool call that is *arguably* covered by the prose scope but was never intended by the issuer, and the envelope cannot detect it because the envelope never encoded the intended action set in the first place. The invariant that must hold: *the set of actions the executor can take under a warrant must be a subset of the set the issuer intended, verified at execution time, not at handshake time.* Most federated handshakes verify the envelope at handshake and then trust the executor's interpretation for the life of the warrant. That is the boundary that breaks. ## What Was Observed A delegating agent in Org A held a capability `billing:read` scoped in prose as *"may retrieve invoice records for reconciliation."* It issued a federated warrant to an agent in Org B to reconcile a specific customer's account. Org B's executor had a broader tool inventory than Org A's: it exposed `list_invoices`, `get_invoice`, `export_invoices_csv`, and — critically — `search_all_customers_by_amount`. The prose scope clause mentioned "invoice records" and "reconciliation." The executor's planner, resolving the task "reconcile customer X's account," selected `search_all_customers_by_amount` because reconciliation plausibly requires comparing against peers, and the phrase "invoice records" did not exclude it. The envelope verified: correct issuer, valid signature, unexpired, correct audience. The call executed. The trace showed the widening clearly. At handshake, Org B logged `warrant accepted, scope=billing:read`. At execution, the planner's tool-selection step emitted a reasoning trace: *"scope permits invoice retrieval for reconciliation; peer comparison supports reconciliation; selecting search_all_customers_by_amount."* No component in the pipeline compared the selected tool against an enumerated intent set, because no enumerated intent set existed — only prose. The issuer's audit log recorded a `billing:read` delegation; the executor's audit log recorded a cross-customer search. The two logs were consistent with each other and both wrong relative to intent. A second, subtler observation: when the same warrant was replayed to a *different* Org B executor instance with a narrower tool inventory, the planner selected `get_invoice` and the behavior was correct. The widening was not a property of the warrant. It was a property of the *warrant × executor-tool-inventory × task-context* tuple. The same signed artifact produced different effective scopes on different instances. This is the non-obvious part: the capability is not a stable object across the federation; it is a function of the receiving agent's interpretation environment. ## Condition of Validity The widening occurs only when all of the following hold simultaneously: 1. The warrant's scope is expressed in natural language rather than an enumerated action set or a structured capability expression (e.g., a Cedar/Rego-style policy with explicit resource and action predicates). 2. The receiving executor's tool inventory contains at least one tool whose invocation is *plausibly* consistent with the prose scope under some reasonable reading, but was not intended by the issuer. 3. The executor's planner performs tool selection by reasoning over the scope prose plus task context, rather than by filtering its tool inventory through a machine-checkable predicate derived from the warrant. 4. No execution-time scope check exists between the planner's tool selection and the tool invocation — i.e., the envelope was verified at handshake and then discarded from the execution path. Remove any one condition and the failure does not occur. Condition 4 is the one most commonly removed in mature federations, and it is the only one that reliably bounds the failure regardless of how the prose is written, because it converts the semantic scope from a *prompt* into a *gate*. ## Decision Boundary The architectural decision is where to enforce scope: at handshake (envelope verification only) or at execution (envelope + per-call predicate check). The boundary condition is that **handshake-time verification is necessary but never sufficient for prose-scoped warrants**, because the semantic content of the warrant is only realized when the executor chooses a tool, and tool choice is downstream of handshake. The guardrail that bounds the failure: the issuer must attach a machine-checkable *intent predicate* alongside the prose — an enumerated action set, a resource pattern, or a policy expression — and the executor must evaluate that predicate against every tool call *before* invocation, rejecting calls that the predicate does not admit even if the prose would. The prose remains for human audit; the predicate is the enforcement surface. If the issuer cannot produce a predicate, the warrant must be treated as `scope=unbounded-for-audience` and the executor must restrict to tools the issuer has explicitly enumerated, defaulting to deny. A secondary boundary: when the executor's tool inventory is not known to the issuer at issuance time (the common federation case), the predicate must be expressed over *tool categories and resource patterns*, not tool names, and the executor must map its local tools onto those categories before the predicate can be evaluated. A tool that cannot be mapped to any issuer-declared category must be denied, not admitted by default. The default-deny on unmappable tools is what prevents the `search_all_customers_by_amount` case: that tool maps to no category under a `billing:read` predicate, so it is denied at execution regardless of what the planner reasoned. ## Operational Effect The operational consequence is that federated capability delegation is only as tight as the executor's execution-time enforcement, and prose scope clauses provide *zero* enforcement guarantee across org boundaries because the receiving agent's interpretation is not under the issuer's control. Issuers who rely on prose must assume the effective scope is the union of the receiving executor's tool inventory intersected with "plausibly related to the prose," which in practice is much wider than intended. Executors who accept prose-scoped warrants must either require a predicate or default-deny unmappable tools, and must log the predicate evaluation result per call so that widening is detectable in audit rather than inferred after an incident. The invariant to carry forward: *a warrant is not a capability until it is evaluated against a concrete action at execution time.* Handshake acceptance is a statement about the envelope, not about the scope. Any federation that treats handshake acceptance as scope grant is running with effective scopes it cannot see and cannot bound. ```python class ScopeWideningError(RuntimeError): """Raised when an executor's selected tool is not admitted by the warrant's intent predicate.""" pass class Warrant: def __init__(self, issuer, audience, prose_scope, predicate): self.issuer = issuer self.audience = audience self.prose_scope = prose_scope # predicate: callable(tool_name, tool_category, resource) -> bool # None means the issuer failed to supply a machine-checkable intent set. self.predicate = predicate # Executor-side mapping from local tools to issuer-declared categories. # Tools absent from this map are unmappable and must be denied by default. TOOL_CATEGORY_MAP = { "get_invoice": "invoice_read", "list_invoices": "invoice_read", "export_invoices_csv": "invoice_read", # search_all_customers_by_amount intentionally absent: unmappable under billing:read } def enforce_scope(warrant: Warrant, selected_tool: str, resource: str) -> None: if warrant.predicate is None: # No intent predicate: only explicitly enumerated tools may run. raise ScopeWideningError( f"warrant from {warrant.issuer} has prose-only scope; " f"tool {selected_tool!r} cannot be admitted without an intent predicate" ) category = TOOL_CATEGORY_MAP.get(selected_tool) if category is None: raise ScopeWideningError( f"tool {selected_tool!r} maps to no issuer-declared category; " f"default-deny under scope {warrant.prose_scope!r}" ) if not warrant.predicate(selected_tool, category, resource): raise ScopeWideningError( f"tool {selected_tool!r} (category={category}, resource={resource!r}) " f"not admitted by intent predicate for warrant from {warrant.issuer}" ) def execute_delegated_call(warrant: Warrant, selected_tool: str, resource: str, invoke): # Envelope verification is assumed to have passed at handshake. # Execution-time scope enforcement is the invariant this function preserves. enforce_scope(warrant, selected_tool, resource) return invoke(selected_tool, resource) # Example: the observed failure case. warrant = Warrant( issuer="org-a", audience="org-b", prose_scope="may retrieve invoice records for reconciliation", predicate=lambda tool, cat, res: cat == "invoice_read" and res.startswith("customer:"), ) # Planner selects a plausibly-related but unintended tool: execute_delegated_call( warrant, selected_tool="search_all_customers_by_amount", resource="customer:*", invoke=lambda t, r: None, ) # -> raises ScopeWideningError: tool maps to no issuer-declared category; default-deny ```