# Under what conditions must an instance refuse a re-delegation whose capability scope is a strict subset of its own, when the requesting peer's warrant chain contains a policy revision the instance has never evaluated? **Date of Record:** 2026 December 3 **Scope:** Applies to federated multi-agent systems where a receiving agent (the *delegatee*) is asked to sub-delegate a capability to a peer whose warrant chain was issued under a policy version the delegatee has not itself resolved. Does not apply to single-org delegation where all parties share one policy authority, nor to leaf calls that consume a capability without re-delegating it. ## Core Distinction The intuitive invariant is *monotonic scope reduction*: a re-delegation is safe iff the requested capability set is a subset of the delegatee's own. This invariant is **necessary but not sufficient** in cross-org federation. Scope subset checks the *capability lattice*, not the *policy lattice*. A warrant chain can carry a scope that is provably narrower than the delegatee's, yet be minted under a policy revision (e.g. `acme/policy@v7`, `globex/retention@v3`) that changes the *meaning* of the scope token — what counts as "read", which data classes are in-bounds, what the audit obligation is on use. The subset relation holds over symbols; the semantics underneath the symbols have drifted. The correct boundary is therefore two-dimensional: a re-delegation is admissible only if (a) the requested scope ⊆ delegatee scope **and** (b) every policy revision referenced in the requester's warrant chain is either identical to, or transitively derivable from, a revision the delegatee has already resolved and cached with a verified digest. Condition (b) is the one that fails silently, because the requester has no reason to advertise "I am operating under a policy you have never seen" — to the requester, its own policy is simply current. ## What Was Observed A delegatee instance `B` (org `globex`) held a capability `doc.read{class=public,internal}` under `globex/policy@v4`. Peer `A` (org `acme`) issued a re-delegation request carrying warrant `W_A` with scope `doc.read{class=internal}` — a strict subset, so the lattice check passed and `B` minted the sub-warrant `W_B`. The failure trace: 1. `W_A` was signed under `acme/policy@v7`. In `v7`, the token `internal` had been redefined to include a new data class `internal.pii` that `acme` had introduced in a schema migration three days earlier. Under `v4` (the only revision `B` had resolved), `internal` excluded PII. 2. `B`'s scope-check function compared the *token* `internal`, not the *set of concrete data classes* the token resolves to under each policy. `{internal}@v7 ⊄ {internal}@v4` in extension, but `internal ⊆ internal` in symbol, so the check returned `True`. 3. `B` minted `W_B` and returned it to `A`. `A` then exercised `W_B` against `B`'s own document service, which — because `B` resolves `internal` under `v4` — served `internal.pii` records (they were tagged `internal` in the shared store) to a caller whose warrant was minted under a policy that *intended* those records to be gated separately. 4. The violation surfaced only at audit reconciliation 40 minutes later, when `acme`'s policy engine flagged use of `internal.pii` without a `v7` PII-access obligation attached to the warrant. `W_B` had no such obligation because `B` never knew `v7` existed. The mechanism is precise: **symbol-level subset checks are sound only within a single policy revision.** Across revisions, the check must be re-run at the *denotation* level — the concrete resource set each scope token expands to under the policy that minted it — and that expansion requires the delegatee to hold the minting policy. ## Condition of Validity The subset invariant `scope(W_request) ⊆ scope(W_self)` is valid **iff** all of the following hold: - The delegatee has resolved, verified, and cached the policy revision referenced in every link of the requester's warrant chain, keyed by content digest, not by version label. Version labels are not stable across orgs; `v7` at `acme` and `v7` at `globex` are unrelated. - The scope comparison is performed on *denotations*: each token expanded to its concrete resource set under its own minting policy, then compared as sets. `{internal}@v7` and `{internal}@v4` must be expanded before the subset test. - The requester's warrant chain is presented in full, with each link's policy digest and the signature chain intact, so the delegatee can detect revisions it has not resolved rather than being told only the effective scope. When any of these does not hold, the safe default is **refusal with a typed policy-gap signal**, not a scope-mismatch error — the two are different failures and must route to different remediation (policy fetch vs. scope negotiation). ## Decision Boundary The operational rule: **a delegatee MUST refuse re-delegation whenever the requester's warrant chain references a policy digest the delegatee has not resolved, even if the requested scope is a strict subset of its own.** The refusal must name the unresolved digest so the requester can push the policy, and the delegatee must not fall back to "assume the narrower reading" — assuming the narrower reading is exactly the bug above, because the narrower reading under the *delegatee's* policy may be wider than the *requester's* intent. The complementary boundary: a delegatee MAY admit re-delegation when the unresolved digest is provably a monotone *restriction* of a resolved revision (the requester can present a signed policy-diff proving the new revision only removes capabilities). This is the only safe shortcut, and it requires cryptographic evidence, not a claim. ## Operational Effect Systems that enforce only the symbol-level subset check exhibit a characteristic failure signature: **silent over-grant under policy drift**, detectable only at audit reconciliation, with the violation attributed to the wrong party (the delegatee served the data; the requester's policy was the one violated). Systems that enforce the digest-resolution precondition convert this into a loud, typed refusal at delegation time, at the cost of a policy-fetch round trip on first contact with any new peer revision. The round trip is the price of soundness; caching verified policy digests amortizes it to near-zero for steady-state federation, and the cache must be keyed by digest, never by version label, because labels collide across orgs. ```python import hashlib from dataclasses import dataclass class PolicyGapError(RuntimeError): """Raised when a re-delegation warrant references a policy digest the delegatee has not resolved.""" @dataclass(frozen=True) class PolicyRef: issuer: str version_label: str # NOT identity; may collide across orgs digest: str # content hash; the only stable identity def key(self) -> tuple[str, str]: return (self.issuer, self.digest) @dataclass(frozen=True) class Warrant: scope_tokens: frozenset[str] policy: PolicyRef signature: str class FederatedDelegatee: def __init__(self, own_scope: frozenset[str], resolved: dict[tuple[str, str], dict[str, frozenset[str]]]): # resolved: {(issuer, digest): {token -> concrete resource set}} self._own_scope = own_scope self._resolved = resolved def _denotation(self, tokens: frozenset[str], policy: PolicyRef) -> frozenset[str]: table = self._resolved.get(policy.key()) if table is None: raise PolicyGapError( f"unresolved policy digest {policy.digest!r} from issuer {policy.issuer!r} " f"(label={policy.version_label!r}); cannot expand scope tokens" ) out: set[str] = set() for tok in tokens: if tok not in table: raise PolicyGapError( f"token {tok!r} undefined under policy {policy.digest!r}" ) out |= table[tok] return frozenset(out) def admit_redelegation(self, request: Warrant) -> Warrant: # Step 1: symbol-level subset is necessary but NOT sufficient. if not request.scope_tokens.issubset(self._own_scope): raise PolicyGapError( f"scope {sorted(request.scope_tokens)} is not a subset of own scope" ) # Step 2: denotation-level check requires the minting policy. # If the requester's policy digest is unresolved, refuse — do not guess. requested_denot = self._denotation(request.scope_tokens, request.policy) own_policy_digest = self._own_policy_digest() own_denot = self._denotation(self._own_scope, PolicyRef("self", "current", own_policy_digest)) if not requested_denot.issubset(own_denot): raise PolicyGapError( f"denotation-level over-grant: requested {sorted(requested_denot)} " f"exceeds own {sorted(own_denot)}" ) # Mint sub-warrant under own policy, carrying the requester's policy digest # so downstream auditors can reconcile against the correct semantics. return Warrant( scope_tokens=request.scope_tokens, policy=PolicyRef("self", "current", own_policy_digest), signature=hashlib.sha256( (request.signature + own_policy_digest).encode() ).hexdigest(), ) def _own_policy_digest(self) -> str: # Placeholder: real impl resolves the delegatee's own current policy digest. return "self-policy-digest" def _demo() -> None: # B resolves only globex/policy@v4 (digest d4). A presents a warrant under # acme/policy@v7 (digest d7) which B has never resolved. b = FederatedDelegatee( own_scope=frozenset({"internal", "public"}), resolved={ ("globex", "d4"): { "public": frozenset({"doc.public"}), "internal": frozenset({"doc.internal"}), # v4: no PII }, }, ) foreign = Warrant( scope_tokens=frozenset({"internal"}), policy=PolicyRef("acme", "v7", "d7"), # never resolved by B signature="sig-a", ) b.admit_redelegation(foreign) # -> PolicyGapError, not silent over-grant if __name__ == "__main__": _demo() ```