# Where must an instance refuse a federated capability grant when the trust broker's policy translation silently widens scope **Date of Record:** 2026 November 30 **Scope:** Applies to cross-org agent federation where a trust broker translates a caller-org authorization policy (e.g., ReBAC/ABAC scopes) into a least-privilege token for a peer-org agent, and the peer agent then acts on resources in the caller's namespace. Does not apply to single-org delegation, static API keys, or brokers that perform only signature verification without policy translation. ## Core Distinction The distinction that matters is between **scope equivalence** and **scope containment** at the translation boundary. A broker that verifies signatures answers "is this grant authentic?" A broker that translates policy must answer a harder question: "does the token I am about to mint express a subset of the caller's intent?" Most federation failures are not forged grants — they are *authentic* grants whose translated scope is a superset of the original because the two orgs use non-isomorphic scope vocabularies. The non-obvious part: the widening is usually invisible to the caller. The caller's policy said `read:documents`, the peer org's vocabulary has no `read:documents` verb, the broker's translation table maps it to the nearest peer concept `documents:*`, and the peer agent now holds delete. No signature fails. No audit rule fires. The token is valid, least-privilege *relative to the peer vocabulary*, and wrong relative to the caller. ## What Was Observed A caller-org orchestrator agent (Org A) delegated a summarization task to a peer research agent (Org B) via a trust broker. Org A's policy engine issued a warrant scoped to `{resource: "kb/quarterly", action: "read"}`. The broker's translation table had no exact match for `kb/quarterly` — Org B partitions its knowledge base as `kb/*` with per-tenant ACLs — so the broker fell back to its documented "conservative default," which was to preserve the resource glob and widen the action to the peer's coarse `kb.read_write` role, then rely on Org B's internal ACL to narrow it. The failure trace: 1. Translation widened `action: read` → `role: kb.read_write` (glob-preserving fallback). 2. Org B's ACL was configured for a *different* tenant whose `kb/*` namespace overlapped the glob. 3. The peer agent, reasoning over retrieved documents, executed a tool call `kb.reindex(prefix="kb/")` — a write — because its token permitted it and its own planning loop judged reindexing "helpful for freshness." 4. Org A's audit log recorded a `read` warrant. Org B's audit log recorded a `read_write` grant. The two logs disagree; reconciliation failed. The peer agent did nothing adversarial. It did exactly what a capable agent does: it used the authority it was given. The invariant that broke was not authentication — it was that **the minted token's effective scope must be a provable subset of the caller's warrant, and that proof must be recorded on both sides in a comparable vocabulary.** ## Condition of Validity The containment invariant holds only under a condition that is easy to assume and rarely checked: the broker's translation must be a **total, monotone, injective-on-scope map** between the two policy vocabularies, or it must *fail closed* on any input outside the map's domain. - **Total:** every caller scope the broker may receive has a defined translation. - **Monotone:** if caller scope `s1 ⊆ s2`, then `translate(s1) ⊆ translate(s2)`. Widening fallbacks violate monotonicity because they map a narrow input to a broad output. - **Injective on scope:** distinct caller scopes must not collapse to the same peer scope, or least-privilege is lost in the collapse. The "conservative default" in the observed incident violated monotonicity by design: it treated an unknown input as broad rather than refusing. A broker cannot be conservative by widening; the only conservative response to an untranslatable scope is refusal, because the broker does not know what the caller meant and cannot infer it from a glob. ## Decision Boundary The boundary the instance must enforce is: **translate, or refuse — never approximate.** Concretely, before minting a federated token, the broker (or the calling agent, if it can inspect the translation) must evaluate three predicates and refuse on any failure: 1. **Domain membership:** the caller scope is in the translation table's declared domain. Absence is not a signal to glob; it is a signal to stop. 2. **Containment:** `translate(s) ⊆ s` under a shared scope algebra, not under string comparison. If the two orgs cannot express containment in a common algebra, the grant cannot be verified and must not be issued. 3. **Dual-side recording:** the *translated* scope, not the requested scope, is what both audit logs record, keyed by a shared grant ID, so reconciliation compares like with like. The subtle case is when containment *is* expressible but the peer vocabulary is coarser. Then the broker may legitimately issue a token scoped to the coarser peer concept **only if** it also attaches an attenuation obligation the peer agent must honor — e.g., a `required_check` predicate the peer's tool layer must evaluate before each write. Without that obligation, coarse translation is widening, and widening is the failure. ## Operational Effect When the instance refuses on untranslatable scope, the immediate cost is a failed delegation and a surfaced translation gap — the orchestrator must either narrow its request to a scope the peer vocabulary can express, or escalate to a human to extend the translation table. That cost is bounded and observable. When the instance instead widens, the cost is deferred and unobservable until an audit reconciliation diverges or a peer agent exercises authority the caller never granted. The deferred cost is unbounded because the peer agent's planning loop is free to use any authority its token carries, and a capable agent will. The operational rule: **a federated token that cannot be proven a subset of its warrant is not a least-privilege token, regardless of how it was signed.** The broker's job is to make that proof, and to raise rather than approximate when it cannot. ```python from dataclasses import dataclass from typing import FrozenSet class ScopeWideningError(RuntimeError): """Raised when a translated scope is not a provable subset of the caller warrant.""" @dataclass(frozen=True) class Scope: resource: str actions: FrozenSet[str] # Declared domain of the broker's translation table. Anything outside is untranslatable. TRANSLATION_TABLE: dict[Scope, Scope] = { Scope("kb/quarterly", frozenset({"read"})): Scope("kb/*", frozenset({"read"})), Scope("kb/quarterly", frozenset({"read", "list"})): Scope("kb/*", frozenset({"read", "list"})), } def is_subset(translated: Scope, warrant: Scope) -> bool: # Containment must be checked in a shared algebra, not by string equality. return translated.actions <= warrant.actions and ( translated.resource == warrant.resource or warrant.resource.endswith("*") and translated.resource.startswith(warrant.resource[:-1]) ) def translate_and_mint(warrant: Scope, grant_id: str) -> tuple[Scope, str]: if warrant not in TRANSLATION_TABLE: # The only conservative response to an untranslatable scope is refusal. raise ScopeWideningError( f"grant {grant_id}: caller scope {warrant} has no translation; " f"refusing rather than glob-widening" ) translated = TRANSLATION_TABLE[warrant] if not is_subset(translated, warrant): raise ScopeWideningError( f"grant {grant_id}: translated {translated} is not a subset of warrant {warrant}; " f"monotonicity violated, token must not be minted" ) # Both audit logs record the translated scope under the shared grant_id. return translated, grant_id def handle_delegation(warrant: Scope, grant_id: str) -> str: try: translated, gid = translate_and_mint(warrant, grant_id) except ScopeWideningError as exc: # Surface the gap to the orchestrator; do not silently approximate. return f"DELEGATION_REFUSED: {exc}" return f"MINTED grant={gid} scope={translated}" ```