# When must an instance refuse a delegated capability that its local policy would otherwise permit: federation-scope laundering across jurisdictional data boundaries **Date of Record:** 2026 November 26 **Scope:** Applies to federated multi-agent systems where an agent in org A delegates a task to an agent in org B via a negotiated capability grant (MCP tool-scope or A2A skill-scope), and the executing agent's local policy is evaluated against the *effective* request rather than the *delegated* request. Does not apply to single-tenant deployments or to stateless one-shot RPC where no capability token is minted. ## Core Distinction The failure is not a permission *escalation*—no agent ends up with a capability it was never granted. It is a **scope-laundering** failure: a capability that is legal in the *delegating* org's jurisdiction and legal in the *executing* org's jurisdiction becomes illegal in the *composition*, because the executing agent evaluates the request against its own local policy using inputs (subject identity, data-residency tag, purpose binding) that were re-serialized during handoff and lost their provenance. Concretely: org A's agent holds a `read_record` capability scoped to `jurisdiction=EU` and `purpose=clinical-triage`. It delegates a subtask to org B's agent with a capability grant that carries the *scope string* but not the *purpose binding* or the *subject-of-record jurisdiction*—because the A2A capability descriptor schema in use has no field for purpose binding. Org B's agent has a local policy that permits `read_record` for any request whose `jurisdiction` field is `EU` and whose caller is a federated peer. The request satisfies both local policies. The composed execution reads a record whose *data subject* is in a jurisdiction where the purpose `clinical-triage` is not a lawful basis for processing. Neither agent's local policy engine fires. The boundary is crossed in the gap between the two policy evaluations, not inside either one. The invariant that is violated: **the effective authorization of a federated request is the intersection of every policy in the delegation chain, evaluated over the full provenance-carrying request—not the intersection of each policy evaluated over the request as each agent received it.** Capability negotiation that serializes scope but drops provenance silently rewrites the intersection. ## What Was Observed A three-hop federation: A (delegator, EU) → B (broker/executor, US) → C (data custodian, EU). The A2A handoff at A→B used a capability descriptor with fields `{skill, resource_scope, jurisdiction_hint, ttl}`. The `jurisdiction_hint` was populated from A's *own* operating jurisdiction (`EU`), not from the *data subject's* jurisdiction, because the descriptor schema conflated the two. B's policy engine read `jurisdiction_hint=EU`, matched its allow-rule for EU-scoped reads, and forwarded to C. C's policy engine read the same hint, matched its allow-rule, and returned the record. The record's data subject was in a jurisdiction where the declared purpose was not a lawful basis. The purpose field had been dropped at the A→B hop because the descriptor schema had no slot for it and B's serializer wrote only known fields. C never saw a purpose. C's policy engine, seeing no purpose field, defaulted to `purpose=unspecified`, which its rule table treated as `permit` for EU-jurisdiction reads—a default chosen for backward compatibility with an older schema version. Trace of the state transition: 1. A mints grant `G_A = {skill: read_record, resource_scope: patient/*, jurisdiction_hint: EU, ttl: 300s}`. Purpose binding `purpose=clinical-triage` exists in A's internal authorization context but is not in `G_A`. 2. B receives `G_A`, evaluates local policy over `G_A`. Rule `allow if jurisdiction_hint in {EU} and caller in federated_peers` fires. B does not re-derive purpose because the schema has no field; B's policy engine has no rule that *requires* a purpose to be present. 3. B forwards to C with `G_B = G_A` (pass-through). C evaluates local policy over `G_B`. Rule `allow if jurisdiction_hint in {EU}` fires; the `purpose` field is absent, so C's `unspecified` default applies and permits. 4. C returns the record. No agent logged a policy *denial*—all three logged *permits*. The audit trail shows three green checks and one unlawful disclosure. The non-obvious part: the failure is invisible to per-agent policy testing. Each policy engine, tested in isolation against the request it actually received, correctly permits. The bug lives in the *serialization boundary*, where a field required by the composition's authorization semantics is not required by any single agent's schema. A second observed variant: when the descriptor schema *did* carry `purpose`, B's serializer normalized unknown enum values to `null` rather than rejecting them, and C's policy engine treated `null` purpose identically to absent purpose—same default-permit path. Schema-version skew between A (v2, purpose-aware) and B (v1, purpose-blind) produced the same laundering without any field being silently dropped; it was silently *downgraded*. ## Condition of Validity The refusal obligation described here is valid only when all of the following hold: - The delegation crosses at least one organizational or jurisdictional policy boundary (single-org delegation does not trigger it; the intersection is trivially the local policy). - The capability descriptor schema used at the handoff does not carry the full set of fields that the *composition's* authorization semantics require—i.e., there exists at least one field (purpose, data-subject jurisdiction, lawful-basis tag, retention class) that some policy in the chain requires but the schema does not mandate. - At least one policy engine in the chain has a *default-permit* or *default-unspecified* rule for a missing field. If every engine default-denies on missing authorization-relevant fields, the laundering is caught as a denial at the first hop and degrades safely. - The delegating agent cannot verify, at mint time, that the executing agent's schema version is field-compatible. If version negotiation is enforced and incompatible versions are rejected at handshake, the gap closes. If any of these fails, the failure mode is either absent or already bounded by an existing guardrail. This is not a general "federation is hard" claim; it is a claim about the specific composition of (schema under-specification × default-permit × version skew). ## Decision Boundary The executing agent must refuse—not merely log—when the following predicate holds at the moment of policy evaluation: > The request carries a capability grant whose provenance chain includes a hop at which an authorization-relevant field was absent, null, or enum-downgraded, AND the local policy's decision for this request depends on that field (i.e., flipping the field's value would flip the local decision). The second clause is the load-bearing one and is what distinguishes this from over-broad "reject any incomplete grant" behavior, which would make federation unusable. If the local policy decision is *invariant* to the missing field—because the local policy would deny regardless of purpose, or permit regardless of purpose under a rule that does not reference purpose—then the missing field is not authorization-relevant *for this request* and refusal is not required. The agent must compute decision-sensitivity, not field-presence. This is a decision boundary, not a validation boundary: the agent is not asked to validate the peer's schema. It is asked to determine whether its own permit decision is *contingent* on a field whose provenance is broken. If contingent and provenance-broken, the correct action is refusal with a structured `ProvenanceIncomplete` signal back up the chain, not a permit with a warning. The guardrail architecture that bounds this: (a) capability descriptors must declare an `authorization_fields_required` set, and handshake must fail if the peer's declared set is not a superset of the union of all policies in the chain; (b) policy engines must implement `decision_sensitivity(request, field)` and treat a sensitivity hit on a provenance-broken field as a hard deny; (c) default-unspecified must be a deny, never a permit, for any field in `authorization_fields_required`. (c) alone closes the observed variant; (a)+(b) close the general case. ## Operational Effect Without the guardrail, the observable effect is a class of cross-org disclosures that produce all-permit audit trails—the worst kind of compliance failure, because post-hoc audit cannot distinguish it from a lawful disclosure without reconstructing the delegation chain's serialization history. Incident response is delayed by the reconstruction cost, and the reconstruction frequently fails because intermediate hops did not retain the pre-normalization descriptor. With the guardrail, the failure converts from silent permit to loud refusal at the first hop where sensitivity and provenance-brokenness coincide. The cost is false refusals during schema-version rollout, which is the correct trade: a false refusal is a retryable latency event; a false permit is an unrecoverable disclosure. Operators should expect a spike in `ProvenanceIncomplete` refusals for the duration of any mixed-version federation window and should treat that spike as the guardrail working, not as a regression. The invariant to carry forward: **permit is only sound when it is decision-invariant to every field whose provenance the chain cannot attest.** An agent that permits on a field it cannot trace has not authorized the request; it has authorized whatever the last serializer happened to write. ```python from dataclasses import dataclass, field from typing import Optional class ProvenanceIncomplete(RuntimeError): """Raised when a permit decision is contingent on a field whose provenance across the federation chain cannot be attested.""" pass @dataclass class CapabilityGrant: skill: str resource_scope: str jurisdiction_hint: Optional[str] purpose: Optional[str] = None # often dropped by v1 serializers provenance_chain: list = field(default_factory=list) # Fields that any policy in the composition may depend on. A grant whose # provenance chain shows any of these absent/null/downgraded at a hop is # provenance-broken for those fields. AUTHORIZATION_FIELDS = ("jurisdiction_hint", "purpose") def provenance_broken_fields(grant: CapabilityGrant) -> set: broken = set() for hop in grant.provenance_chain: for f in AUTHORIZATION_FIELDS: if hop.get(f) in (None, "unspecified", "null"): broken.add(f) # Also broken if the grant as received lacks a required field. for f in AUTHORIZATION_FIELDS: if getattr(grant, f, None) in (None, "unspecified", "null"): broken.add(f) return broken def local_decision(grant: CapabilityGrant, purpose_override=None) -> bool: """Toy local policy: permit EU reads with a lawful purpose.""" purpose = purpose_override if purpose_override is not None else grant.purpose if grant.jurisdiction_hint != "EU": return False return purpose == "clinical-triage" def decision_sensitivity(grant: CapabilityGrant, fld: str) -> bool: """Would flipping this field flip the local decision?""" current = local_decision(grant) if fld == "purpose": flipped = local_decision(grant, purpose_override="__other__") elif fld == "jurisdiction_hint": alt = CapabilityGrant(grant.skill, grant.resource_scope, "__other__", grant.purpose) flipped = local_decision(alt) else: return False return flipped != current def authorize(grant: CapabilityGrant) -> bool: broken = provenance_broken_fields(grant) sensitive = {f for f in broken if decision_sensitivity(grant, f)} if sensitive: raise ProvenanceIncomplete( f"permit decision contingent on provenance-broken field(s) " f"{sorted(sensitive)} for skill={grant.skill!r}; refusing." ) return local_decision(grant) # Reproduces the observed laundering: purpose dropped at A->B hop. g = CapabilityGrant( skill="read_record", resource_scope="patient/*", jurisdiction_hint="EU", purpose=None, provenance_chain=[{"jurisdiction_hint": "EU", "purpose": "clinical-triage"}, {"jurisdiction_hint": "EU", "purpose": None}], ) authorize(g) # raises ProvenanceIncomplete ```