# Where must an instance refuse a delegated capability when its own policy lattice cannot decide the delegation's effective scope? **Date of Record:** 2026 December 3 **Scope:** Applies to federated agent systems where an instance (the *delegate*) accepts a capability token minted by a foreign *delegator* whose policy vocabulary differs from the delegate's own. Does not cover same-organization delegation where both parties share one policy engine and one lattice. ## Core Distinction The failure is not "unauthorized access." It is **undecidability treated as authorization**. When a peer organization delegates a capability expressed in *its* policy vocabulary — say `scope: "read:customer_pii(region=EU)"` — the receiving instance must translate that predicate into its own lattice to decide whether to honor it. But policy vocabularies are partial orders that are rarely isomorphic across organizations. There are three possible relations between a foreign predicate `P_f` and a local predicate `P_l`: `P_f ⊆ P_l` (safe to honor), `P_f ⊃ P_l` (must deny — the foreign scope exceeds what local policy permits), or **incomparable** — the two predicates overlap on some resources and diverge on others with no subsumption in either direction. The non-obvious boundary is the third case. Most federation stacks implement delegation checks as a subsumption test (`foreign_scope <= local_max_scope`) and treat *failure to prove subsumption* as a boolean `False` — which is correct — but they conflate `False` with "deny the specific resource" rather than "the delegation is unclassifiable and the entire token must be rejected." An agent that proceeds on partial overlap, honoring the intersection and silently dropping the rest, has just executed a **capability truncation**: it performed *some* of the delegated action under a scope the delegator never granted and never audited. ## What Was Observed A federated research pipeline: Org A's orchestrator agent delegates to Org B's retrieval agent a capability `query_corpus(topic=*)` with an attenuation clause `exclude=embargoed`. Org B's lattice models embargo as a *time-bounded* predicate (`embargo_until < now`), while Org A models it as a *categorical* tag. When the two lattices are joined, `exclude=embargoed` is neither a subset nor a superset of Org B's `embargo_until < now` — they are incomparable: a document embargoed until tomorrow is excluded by A's clause but *included* by B's current-time predicate if B evaluates at a moment before expiry. The delegate's subsumption checker returned "not provably within local max" and the runtime — configured to be permissive on partial matches — intersected the scopes, yielding an effective scope that admitted embargoed documents whose `embargo_until` had not yet passed but whose tag A considered categorical. The retrieval agent returned them. The audit log recorded the delegation as *honored* because the intersection was non-empty. No exception fired. The breach surfaced only when a downstream summarizer agent cited an embargoed source in a published artifact. The state transition is the tell: ``` t0: token received, foreign_scope = P_f, local_max = P_l t1: subsumption(P_f, P_l) → UNKNOWN (incomparable) t2: (bug) runtime interprets UNKNOWN as "intersect and proceed" t3: effective_scope = P_f ∩ P_l ≠ ∅ → token marked HONORED t4: action executes under effective_scope, which neither party authorized ``` The invariant that was violated: **a delegated capability may only execute under a scope that is provably a subset of both the delegator's grant and the delegate's local maximum.** Intersection is not subsumption. An empty intersection is a clean deny; a *non-empty but unproven* intersection is the dangerous case, and it is exactly the case a permissive runtime will wave through. ## Condition of Validity The invariant holds only when the delegate can construct a *proof object* — not a boolean — for the relation between `P_f` and `P_l`. Concretely, the policy engine must return one of `SUBSET`, `SUPERSET`, `DISJOINT`, or `INCOMPARABLE`, and the runtime must treat `INCOMPARABLE` as a hard stop requiring either (a) the delegator to re-mint the token in the delegate's vocabulary, or (b) a human/arbiter to supply an explicit bridging predicate that is provably a subset of both. Any federation that collapses these four outcomes into a two-valued `allowed` flag is outside the condition of validity and will silently truncate or over-grant under vocabulary mismatch. This is the same class of error as treating a type-checker's "cannot prove" as "proved false" — soundness requires the third value. ## Decision Boundary The boundary is the **cardinality of the join of the two policy lattices**. If the join is a lattice the delegate can enumerate (small, closed vocabulary, shared ontology version), subsumption is decidable and the four-valued result is computable. If the join is open (free-text scopes, versioned ontologies that drifted between orgs, LLM-interpreted predicates), subsumption is undecidable in general and the delegate *must* default to `INCOMPARABLE → reject`, not to intersection. The decision boundary is therefore not "do the scopes overlap?" but "can I *prove* the relation, and if not, do I fail closed?" An agent that answers the first question and skips the second has no boundary at all. ## Operational Effect Failing closed on `INCOMPARABLE` costs availability: legitimate cross-org delegations whose vocabularies merely *look* mismatched will be rejected until a bridge predicate is registered. That cost is correct and bounded — it is paid once per (delegator-vocabulary, delegate-vocabulary) pair, cached as a signed bridge, and thereafter subsumption is decidable. Failing open costs correctness and is unbounded: every incomparable pair becomes a silent scope-truncation, and because the audit log records `HONORED`, the breach is invisible until a downstream consumer acts on the leaked resource. The operational rule for any federated instance: **a capability token whose effective scope cannot be proven a subset of both grants is not a partially-valid token; it is an invalid token, and the delegate must raise, not intersect.** ```python from dataclasses import dataclass from enum import Enum class ScopeRelation(Enum): SUBSET = "subset" SUPERSET = "superset" DISJOINT = "disjoint" INCOMPARABLE = "incomparable" class UndecidableDelegationError(RuntimeError): """Raised when a delegated capability's effective scope cannot be proven a subset of both the delegator's grant and the delegate's local maximum.""" @dataclass(frozen=True) class CapabilityToken: delegator: str foreign_scope: str # predicate in delegator's vocabulary attenuation: str | None def classify(foreign_scope: str, local_max: str, bridge: dict | None) -> ScopeRelation: # A real engine returns a proof object; here we model the four-valued result. key = (foreign_scope, local_max) if bridge and key in bridge: return bridge[key] return ScopeRelation.INCOMPARABLE # no bridge -> cannot prove def admit_delegation( token: CapabilityToken, local_max: str, bridge: dict | None, ) -> str: relation = classify(token.foreign_scope, local_max, bridge) if relation is ScopeRelation.SUBSET: return f"honored:{token.foreign_scope}" if relation is ScopeRelation.DISJOINT: raise UndecidableDelegationError( f"delegation from {token.delegator} is disjoint from local_max " f"{local_max!r}; token is invalid, not merely empty" ) if relation is ScopeRelation.SUPERSET: raise UndecidableDelegationError( f"delegation from {token.delegator} exceeds local_max {local_max!r}; " f"refusing over-broad grant rather than truncating silently" ) # INCOMPARABLE: the dangerous case. Intersection is NOT subsumption. raise UndecidableDelegationError( f"cannot decide relation between foreign_scope {token.foreign_scope!r} " f"and local_max {local_max!r}; refuse and require a signed bridge predicate " f"or re-minted token in delegate vocabulary" ) def handle(token: CapabilityToken, local_max: str, bridge: dict | None) -> None: try: result = admit_delegation(token, local_max, bridge) print(f"executing under proven scope: {result}") except UndecidableDelegationError as exc: # fail closed: no partial execution, no audit entry claiming HONORED print(f"REJECTED (fail-closed): {exc}") raise if __name__ == "__main__": tok = CapabilityToken( delegator="org-a/orchestrator", foreign_scope="query_corpus(topic=*,exclude=embargoed)", attenuation="exclude=embargoed", ) # No bridge registered between A's categorical embargo and B's time-bounded embargo. handle(tok, local_max="query_corpus(embargo_until < now)", bridge=None) ```