# When must an instance refuse a federated capability grant after policy translation silently widens its effective authority **Date of Record:** 2026 December 2 **Scope:** Applies to cross-organization agent federations where a foreign trust anchor's capability grant is passed through a policy translation gateway before being minted into a local warrant. Does not apply to single-org MCP servers, nor to federations where both parties share one policy engine and one schema registry. ## Core Distinction The failure is not "the foreign agent lied" and it is not "the gateway mistranslated a field." Both of those are detectable by schema validation and signature checks. The failure is that **policy translation is a lossy, order-dependent lattice homomorphism, and the gateway mints a warrant for the image of the grant under that map rather than for the grant itself.** The foreign party's grant is a point in their authorization lattice; the local warrant must be a point in ours. If the translation map is not injective on the region the grant occupies, two distinct foreign grants collapse to one local warrant, and the local instance cannot tell which one it received. It inherits the *union* of the collapsed authorities. Concretely: Org A grants `tool:payments.transfer` with an attribute constraint `amount <= 100 USD AND recipient IN allowlist_A`. Org B's translation gateway has no `allowlist_A`, so it maps the constraint to `amount <= 100 USD` and drops the allowlist predicate as "unrepresentable, defaulted to permissive." The minted local warrant reads `amount <= 100 USD`. The local agent now believes it holds a strictly weaker version of a grant it never received — it holds a *different* grant, one that authorizes transfers to arbitrary recipients. No signature failed. No schema mismatched. The attribute was dropped by a gateway whose contract explicitly permits dropping unrepresentable attributes. ## What Was Observed A three-org federation: A (payer), B (broker, hosts the translation gateway), C (settlement, the executing agent's org). A issues a signed capability grant to C scoped `transfer{amount<=100, recipient∈allowlist_A, purpose="invoice"}`. B translates to C's policy vocabulary. C's warrant-minting step verifies B's signature and the grant's well-formedness against C's schema, then mints a local warrant. Trace of the divergence: 1. A's grant serializes three attribute predicates. B's translator has a registered mapping for `amount` (numeric bound, preserved) and for `purpose` (enum, preserved). It has **no** registered mapping for `recipient` because C's policy vocabulary models recipients as a resource hierarchy, not a flat set — the translator treats the predicate as opaque and, per its default policy for opaque predicates, **elides** it and records an `elision_note` in the translation envelope. 2. C's warrant minter validates the *grant* against C's schema, not the *translation envelope*. The elision note lives in an envelope field the minter's schema marks `additionalProperties: false` and thus strips before validation. 3. C mints a warrant with two of three predicates. The `recipient` restriction is gone. C's executor, reasoning over its local policy, concludes the warrant authorizes `transfer{amount<=100, purpose="invoice"}` to any recipient. 4. First execution: C transfers 100 USD to an address outside `allowlist_A`. The transfer succeeds at the payment rail. Detection came from A's out-of-band reconciliation, 41 minutes later, not from any enforcement point in the federation. The non-obvious part: **every component behaved to spec.** B's elision-on-opaque behavior was documented and intentional (it exists so that a translation failure degrades to a *narrower* grant in the common case — but "narrower" was assumed, never proven). C's envelope stripping was required by its schema. The invariant that failed was unstated: *translation must be monotone-decreasing* — the image of a grant must authorize a subset of what the grant authorized. Elision of a conjunctive predicate is monotone-*increasing*. The gateway widened authority while its own contract claimed to narrow it. ## Condition of Validity The guardrail holds only under a checkable precondition: **the gateway must emit, for every elided or approximated predicate, a signed `residual` obligation that the consuming instance is required to discharge locally before minting.** The residual is a predicate in the *consumer's* vocabulary that the consumer must prove is implied by the foreign predicate — or, failing proof, must treat as `false`, which forces the minted warrant to be empty on that attribute. Three conditions make this sound: - **Monotonicity is proven, not assumed.** The translator classifies each predicate as `preserved`, `narrowed` (image ⊆ source), or `widened` (image ⊋ source). Only `preserved` and `narrowed` may be minted without a residual. Any `widened` or `elided` predicate must carry a residual, or the grant is rejected. - **Residuals are consumer-checked, not producer-asserted.** B cannot assert "this is narrower"; C must verify the implication in its own policy engine. A producer-asserted narrowing is exactly the trust assumption that broke. - **The residual travels in the signed envelope and is bound to the warrant.** If the minter strips it, the mint must fail closed — the envelope's residual set must be a required field of the minting schema, not `additionalProperties`. Outside these conditions — specifically, when the translation map is known injective on the grant's support (same vocabulary, same lattice), or when the consumer's policy engine cannot express the residual at all and the grant is rejected by default — the check degenerates to a no-op and can be skipped. ## Decision Boundary The instance must **refuse to mint** when any of the following hold, and must **mint** only when all residuals discharge: - Refuse if the translation envelope contains any predicate classified `widened` or `elided` and the corresponding residual is absent, unsigned, or fails local implication proof. - Refuse if the envelope's residual set was stripped by schema validation — this is the exact trace above and must be treated as a *widening*, not a missing-field error, because the default must be "no authority," not "authority minus one predicate." - Refuse if the foreign grant's attribute set is not a subset of the union of `preserved ∪ narrowed` predicates plus discharged residuals. Partial coverage is not partial authority; it is unknown authority. - Mint when every predicate is `preserved`, or is `narrowed` with a residual that C's engine proves implies the source predicate, or is `elided` with a residual that C's engine proves is `false` (which correctly yields an empty warrant on that attribute rather than a dropped one). The boundary is sharp: **an elided predicate with no discharged residual is not a weaker grant, it is an unverified grant, and an unverified grant must be treated as a grant to the complement of the intended set.** There is no "mostly safe" mint. ## Operational Effect After the fix, C's warrant minter rejects the A→B→C grant at step 2, before any execution. The elision note is promoted from an ignorable envelope field to a required, signed residual; C's engine attempts to prove `recipient ∈ allowlist_A` implies some predicate in C's resource hierarchy, cannot (the hierarchy has no allowlist node), and the implication resolves to `false`. The minted warrant is empty on `recipient`, which C's executor interprets as "no recipient authorized," and the transfer is refused locally with a `ResidualUndischarged` error rather than executed and reconciled 41 minutes later. The cost is false refusals: grants whose foreign predicates are genuinely expressible in C's vocabulary but whose residual prover is incomplete will be refused until the prover is extended. This is the correct direction of failure for a federation with adversarial or merely heterogeneous members — a refused transfer is a support ticket, an unverified transfer is a loss. The invariant to carry forward: **authority may only move across an org boundary through a translation that is provably monotone-decreasing, and any predicate the translator cannot prove is decreasing must arrive as a consumer-discharged obligation, never as a default.** ```python from dataclasses import dataclass, field from enum import Enum from typing import Callable class ResidualUndischarged(RuntimeError): """Raised when a federated grant cannot be safely minted into a local warrant because a translated predicate's residual obligation was not discharged.""" class PredicateClass(Enum): PRESERVED = "preserved" # image == source NARROWED = "narrowed" # image subset of source (safe) WIDENED = "widened" # image superset of source (unsafe) ELIDED = "elided" # dropped entirely (unsafe unless residual is false) @dataclass class TranslatedPredicate: name: str classification: PredicateClass residual: Callable[[], bool] | None # consumer-side implication prover @dataclass class TranslationEnvelope: source_org: str grant_id: str predicates: list[TranslatedPredicate] = field(default_factory=list) def mint_local_warrant( envelope: TranslationEnvelope, *, envelope_residuals_present: bool, ) -> dict: # Schema stripping of the residual set is a widening, not a missing field. if not envelope_residuals_present: raise ResidualUndischarged( f"grant {envelope.grant_id} from {envelope.source_org}: " "residual set stripped by schema validation; treating as unverified " "grant to the complement of the intended authority set" ) warrant: dict = {} for pred in envelope.predicates: if pred.classification is PredicateClass.PRESERVED: warrant[pred.name] = True elif pred.classification is PredicateClass.NARROWED: if pred.residual is None or not pred.residual(): raise ResidualUndischarged( f"grant {envelope.grant_id}: narrowed predicate " f"{pred.name!r} residual failed to discharge locally" ) warrant[pred.name] = True elif pred.classification is PredicateClass.ELIDED: # Elision is safe ONLY if the consumer can prove the residual is false, # which correctly yields an empty (deny) warrant on this attribute. discharged = pred.residual is not None and pred.residual() if discharged: raise ResidualUndischarged( f"grant {envelope.grant_id}: elided predicate {pred.name!r} " "residual proved true; elision would widen authority" ) warrant[pred.name] = False else: # WIDENED raise ResidualUndischarged( f"grant {envelope.grant_id}: predicate {pred.name!r} classified " "widened; refusing to mint unverified authority" ) return warrant ```