# Where must an instance refuse a delegated capability when a trust broker's policy closure is wider than the negotiating org's own policy **Date of Record:** 2026 November 28 **Scope:** Applies to cross-org agent federations where a trust broker issues signed capability warrants that a requesting agent (the *delegate*) presents to a resource-owning agent (the *custodian*) in another org. Does not apply to single-org delegation, nor to brokers that only relay opaque tokens without evaluating policy. ## Core Distinction The failure is not "the broker lied" and not "the token was forged." It is a **policy-closure width mismatch**: the broker's evaluated policy closure (the set of principal→resource→action tuples it believes the warrant authorizes) is a *superset* of the closure the custodian's own policy admits. Every individual step is valid. The signature verifies. The warrant's `sub`, `aud`, `exp`, and `scope` are all well-formed. The custodian accepts it because the broker is trusted. But the *composition* of the broker's policy lattice with the custodian's policy lattice is not the intersection the custodian assumes—it is the broker's lattice, projected onto the custodian's resources. Concretely: a broker in Org A evaluates a delegation `analyst-7 → summarize(report:*)` under Org A's policy, where `report:*` resolves to 1,400 documents. Org B's custodian holds a policy that scopes `report:*` to documents tagged `classification <= internal`, i.e. 900 documents. The broker's warrant carries the *symbolic* scope `report:*`, not the enumerated set. The custodian, on receipt, must re-close the scope under its own policy. If it instead trusts the broker's closure (because the broker is the trusted authority), it grants 1,400 documents—500 of which the custodian's own policy forbids. No rule was broken at either end. The boundary is the *unreified symbolic scope* crossing an org boundary where the two orgs' symbol-resolution functions differ. ## What Was Observed In a federated retrieval setup with three orgs and a central broker, a routine capability negotiation for `read:case_file` produced the following trace: 1. Delegate `agent-x` (Org C) requests `read:case_file(case_id IN {1..50})` from custodian `agent-y` (Org B), via broker `brk-A`. 2. Broker evaluates under its registry: `case_file` is a wildcard-mapped resource class; `case_id IN {1..50}` normalizes to `case_file:*` because the broker's schema treats `case_id` as an opaque string and its normalizer collapses non-enumerable predicates to the class wildcard. Warrant issued with `scope = "read:case_file:*"`, signed, `exp = +300s`. 3. Custodian receives warrant. Its own policy says `read:case_file` is permitted only for `case_id IN {1..20}` (a partition it owns). It sees `case_file:*`, and because the broker is in its trust anchor set with `delegation_mode = "closed"`, it *accepts the broker's closure* and materializes 50 cases. 4. Cases 21–50 are read. Audit log records a `policy_override` event on the custodian—but the read succeeded, and downstream summarization was performed on out-of-partition data. The failure was silent: no exception, no auth denial, no schema error. It surfaced only in a weekly reconciliation job that compared `warrant.scope` against `custodian.policy_closure` and found 30 tuples with no covering rule. The reconciliation itself was not on the hot path, so the escape persisted for the warrant's lifetime (300s) and recurred on every re-issue. Key observation: the broker's normalizer *lost information* (enumerable predicate → wildcard) at exactly the point where the custodian's policy was *narrower* than the wildcard. The information loss was invisible to the custodian because the warrant carried no proof of the normalization, only its result. ## Condition of Validity The custodian may trust the broker's closure **only if** all of the following hold: - The broker's resource schema and the custodian's resource schema are *isomorphic on the scope's predicate algebra*—i.e., every predicate the broker can emit resolves to the same set under both orgs' symbol tables. This is almost never true across orgs; it holds only when both orgs import the same versioned schema and the same normalizer. - The warrant carries a **reified scope**: the enumerated principal/resource/action tuples, or a content-addressed commitment to them (Merkle root over the tuple set), not a symbolic wildcard. - The custodian's policy admits a *closure check*: it can compute `custodian.policy_closure(warrant.scope)` and verify `warrant.tuples ⊆ that closure` before materializing. If the warrant is symbolic, this check is undefined and must fail closed. When any of these is false—which is the default in cross-org federation—the custodian must **re-close the scope under its own policy** and treat the broker's closure as advisory, not authoritative. The broker's signature attests *who asked* and *what the broker believes*, not *what the custodian permits*. ## Decision Boundary The boundary is: **does the warrant's scope denote a set, or a symbol?** If it denotes a set (reified tuples or a verifiable commitment), the custodian can intersect with its own closure and proceed. If it denotes a symbol (wildcard, class name, regex), the custodian must re-resolve the symbol under its own schema and *then* intersect—and if re-resolution yields a set wider than the custodian's closure, it must refuse the excess, not the whole warrant. Refusing the whole warrant is over-broad and breaks legitimate delegations; accepting the broker's closure is under-broad in the security sense and breaks the custodian's policy. The correct action on mismatch is **narrowed grant + explicit divergence record**: issue a counter-warrant scoped to the intersection, log the dropped tuples with the broker's warrant ID, and notify the broker so its normalizer can be corrected. Silent acceptance and silent refusal are both wrong; the divergence is the signal. ## Operational Effect Without this boundary, federation degrades in a specific way: the broker becomes a *policy amplifier*. Each org that trusts the broker inherits the broker's normalizer as its effective policy, regardless of its own rules. The custodian's policy is no longer enforced at the custodian—it is enforced at the broker, by a party that does not own the resources and cannot see the custodian's partitions. This is stable until an audit, at which point the custodian discovers it has been granting out-of-policy reads for the warrant lifetime, repeatedly. The remediation is not to distrust the broker (that kills federation) but to require reified scopes and closure checks at the custodian, and to treat symbolic scopes from a broker as *requests to negotiate*, not *grants to honor*. ```python from dataclasses import dataclass from typing import FrozenSet, Tuple Tuple3 = Tuple[str, str, str] # (principal, resource, action) class ScopeClosureMismatch(RuntimeError): """Raised when a broker warrant's scope, re-closed under the custodian's policy, is wider than the custodian's admitted closure.""" @dataclass(frozen=True) class Warrant: warrant_id: str broker: str scope_symbolic: str # e.g. "read:case_file:*" tuples: FrozenSet[Tuple3] | None # None => symbolic, not reified @dataclass(frozen=True) class CustodianPolicy: admitted: FrozenSet[Tuple3] # the custodian's own closure def resolve_symbol(symbol: str, policy: CustodianPolicy) -> FrozenSet[Tuple3]: # Custodian re-resolves the broker's symbol under ITS OWN schema. # A wildcard over a class the custodian partitions yields only the # tuples the custodian's policy actually admits for that class. cls = symbol.split(":")[1] return frozenset(t for t in policy.admitted if t[1].startswith(cls)) def accept_warrant(w: Warrant, policy: CustodianPolicy) -> FrozenSet[Tuple3]: if w.tuples is None: # Symbolic scope: must re-close under custodian policy, never trust broker. broker_closure = resolve_symbol(w.scope_symbolic, policy) narrowed = broker_closure & policy.admitted dropped = broker_closure - narrowed if dropped: # Divergence is the signal: narrow, record, notify broker. _record_divergence(w.warrant_id, dropped) raise ScopeClosureMismatch( f"warrant {w.warrant_id} from {w.broker}: " f"{len(dropped)} tuples outside custodian closure; " f"narrowed grant issued, broker notified" ) return narrowed # Reified scope: verify subset of custodian closure. if not w.tuples <= policy.admitted: excess = w.tuples - policy.admitted raise ScopeClosureMismatch( f"warrant {w.warrant_id}: {len(excess)} reified tuples " f"not admitted by custodian policy" ) return w.tuples def _record_divergence(warrant_id: str, dropped: FrozenSet[Tuple3]) -> None: # Emit to audit + broker feedback channel; do not swallow. ... ```