# Under what conditions must an instance refuse a federated peer's policy warrant when the negotiated scope is a strict superset of the local capability manifest **Date of Record:** 2026 November 26 **Scope:** Applies to cross-org agent federations where peer instances exchange signed capability manifests and policy warrants (MCP/A2A-style handoffs) before delegating tool execution. Does not apply to single-tenant deployments or to federations that share a single trust root and a single policy authority. ## Core Distinction The failure we are isolating is not "a peer is untrusted" and not "a policy is malformed." It is the case where a peer's signed policy warrant *validates cryptographically*, *decodes cleanly*, and *names a scope that is a strict superset of the local capability manifest* — and the receiving instance must decide whether superset-scope is a grant to be honored or a boundary violation to be refused. The naive reading is that a superset scope is a benign over-provision: the peer is offering more authority than we asked for, so we can accept it and simply not use the extra. This is wrong in a way that only surfaces under adversarial or drifted peers. A policy warrant is not a description of what the peer *will* do; it is a claim about what the peer *is authorized to make us do on its behalf* and, critically, what it asserts about *our* obligations when we accept. Accepting a superset warrant silently imports authorities into our trust domain that our own capability manifest never declared — and a later handoff can exercise those imported authorities against our tools. The invariant: **an instance may only accept a federated policy warrant whose decoded scope set is a subset of the intersection of (local capability manifest) and (peer-asserted scope).** Equality is fine. Strict superset in either direction is a negotiation mismatch, not a grant. ## What Was Observed A federation of three orgs — caller `A`, broker `B`, executor `C` — negotiated a task where `C` would run a retrieval tool on `A`'s behalf. The handoff chain was `A → B → C`. Each hop re-signed a policy warrant scoped to the *remaining* delegation path. `C`'s local capability manifest declared exactly three authorities: `read:corpus`, `exec:retrieve`, `log:audit`. `B`'s warrant to `C`, however, arrived scoped to `{read:corpus, exec:retrieve, log:audit, write:cache, delegate:subagent}`. The warrant was validly signed by `B`, chained to `A`'s root, and within `B`'s own manifest — `B` legitimately held `write:cache` and `delegate:subagent` and had folded them into the downstream warrant as "helpful extras." `C` accepted. The reasoning trace at `C` was: signature valid → chain valid → scope ⊇ requested → accept. The extra authorities were never exercised during the primary task, so no test caught it. Three days later, a *different* peer `D` presented a warrant that chained through `C`'s earlier acceptance of `B`'s superset warrant. Because `C` had recorded the accepted warrant as establishing a trust edge carrying `delegate:subagent`, `D`'s warrant resolved to include `delegate:subagent` at `C` — an authority `C` never declared and never intended to expose. `D` used it to spawn a subagent that wrote to `C`'s cache namespace, which `C` had assumed was private. The write corrupted a retrieval index that a fourth org depended on. The trigger condition is precise: **acceptance of a superset warrant creates a durable trust edge whose scope is the superset, not the intersection.** The edge persists beyond the task that created it, and downstream warrants that chain through the edge inherit the superset. The over-provision is not inert; it is a stored capability amplification that compounds across hops. ## Condition of Validity The subset invariant holds only under these conditions, and the guardrail must check all of them before accepting: 1. **Manifest freshness.** The local capability manifest used for the subset check must be the one in force at acceptance time, not a cached copy. If the manifest was narrowed after the peer's warrant was minted, the warrant may be a superset relative to the *current* manifest even though it was a subset relative to the manifest at mint time. The check must be against current, and a mismatch must trigger renegotiation, not acceptance. 2. **Scope set semantics, not string prefix.** `read:corpus` and `read:corpus:private` are different authorities. Superset checks must operate on the decoded authority set with exact matching, never on string prefixes or wildcard collapse. A warrant scoped `read:*` is a superset of `read:corpus` and must be treated as such. 3. **Transitive closure awareness.** The subset check must run against the *effective* scope of the warrant after resolving its delegation chain, not the surface scope in the warrant's own body. A warrant whose own scope is a subset but whose chain imports a superset is a superset warrant. 4. **Edge durability accounting.** If the federation records accepted warrants as trust edges, the edge scope must be recorded as the intersection, never the warrant's raw scope. Recording the raw scope is the mechanism by which the over-provision becomes durable. When any of these cannot be established — stale manifest, ambiguous scope encoding, unresolvable chain, or a runtime that records raw scope — the invariant does not hold and the instance must refuse rather than accept-and-ignore. ## Decision Boundary The boundary is not "accept vs. reject the peer." It is "accept the warrant as-scoped vs. accept a *narrowed* warrant vs. refuse and renegotiate." - **Subset or equal scope, fresh manifest, resolved chain:** accept as-scoped, record edge at the warrant's scope. - **Superset scope, all other conditions valid:** do **not** accept as-scoped and do **not** silently narrow. Refuse and emit a renegotiation request naming the specific excess authorities. Silent narrowing is tempting but wrong: it makes the peer believe it holds authorities it does not, and a later warrant from that peer will assume the narrowed edge carries the full scope. The mismatch must be surfaced to the negotiating layer so both sides converge on an explicit intersection. - **Superset scope with unresolvable chain or stale manifest:** refuse outright; do not renegotiate, because the peer's view of the trust graph is already inconsistent with ours and renegotiation on a bad graph propagates the inconsistency. The load-bearing rule: **an instance must never accept a warrant it intends to partially ignore.** Partial acceptance is indistinguishable, at the trust-edge layer, from full acceptance, and the difference is exactly what the next hop exploits. ## Operational Effect Enforcing the subset invariant converts a silent capability amplification into an explicit negotiation event. In the observed incident, the renegotiation path would have produced a warrant scoped to the intersection `{read:corpus, exec:retrieve, log:audit}`, recorded the trust edge at that scope, and made `D`'s later chained warrant resolve to a scope that excluded `delegate:subagent` — the write would have been refused at `C`'s tool boundary with a clear `ScopeViolation`, not discovered three days later via index corruption. The cost is added negotiation round-trips whenever a peer over-provisions, which is common because peers fold their own authorities into downstream warrants as a convenience. The benefit is that trust edges carry only authorities both ends declared, so the federation's effective authority graph is the intersection of all manifests along each path rather than the union — which is the only property that makes cross-org delegation auditable. The guardrail must be enforced at warrant acceptance, before edge recording, and must fail closed. A runtime that accepts-then-filters has already lost, because the edge is durable and the filter is per-call. ```python from dataclasses import dataclass, field from typing import FrozenSet class FederatedWarrantError(RuntimeError): """Raised when a federated policy warrant violates the subset invariant.""" pass @dataclass(frozen=True) class CapabilityManifest: authorities: FrozenSet[str] version: int @dataclass(frozen=True) class PolicyWarrant: issuer: str subject: str scope: FrozenSet[str] chain: tuple = field(default_factory=tuple) # resolved upstream warrants signature_valid: bool = True def effective_scope(warrant: PolicyWarrant) -> FrozenSet[str]: """Resolve the transitive closure of a warrant's delegated scope.""" scope = set(warrant.scope) for upstream in warrant.chain: scope |= upstream.scope return frozenset(scope) def accept_federated_warrant( local: CapabilityManifest, warrant: PolicyWarrant, manifest_is_fresh: bool, ) -> FrozenSet[str]: """ Enforce the subset invariant. Returns the scope to record on the trust edge (always the intersection). Raises on any condition of invalidity. """ if not warrant.signature_valid: raise FederatedWarrantError( f"warrant from {warrant.issuer} failed signature validation" ) if not manifest_is_fresh: # Stale manifest: cannot prove subset against current authorities. raise FederatedWarrantError( f"cannot evaluate warrant from {warrant.issuer}: " f"local manifest v{local.version} is stale" ) resolved = effective_scope(warrant) excess = resolved - local.authorities if excess: # Superset scope: refuse, do not silently narrow. raise FederatedWarrantError( f"warrant from {warrant.issuer} scopes {sorted(excess)} " f"which exceed local manifest v{local.version}; " f"renegotiation required, acceptance refused" ) # Subset or equal: record the edge at the resolved intersection. return resolved & local.authorities def record_trust_edge(edge_table: dict, peer: str, scope: FrozenSet[str]) -> None: if peer in edge_table and not scope <= edge_table[peer]: raise FederatedWarrantError( f"edge to {peer} would widen from {sorted(edge_table[peer])} " f"to {sorted(scope)}; widening edges are forbidden" ) edge_table[peer] = scope ```