# What happens when an instance accepts a federated capability grant whose policy translation silently widens scope across an org boundary **Date of Record:** 2026 November 25 **Scope:** Applies to cross-org agent federations where a brokering agent translates a capability grant from a foreign issuer's policy dialect into the local enforcement dialect before the callee instance executes a tool. Does not apply to single-org MCP servers, nor to federations that share a common policy schema with no translation step. ## Core Distinction The failure is not a *denial* of a capability grant, and it is not a *forgery* of one. It is an **admission** — the local instance accepts a grant that was legitimately issued, correctly signed, and faithfully translated, yet whose translated form is strictly wider than the issuer intended. The distinction that matters: signature validity proves the grant was minted by the issuer; it does not prove the *translation* preserved the issuer's constraint set. Trust brokering authenticates the *who*; policy translation is a separate, lossy, and largely unverified function that determines the *what*. Every federation that verifies identity and skips equivalence-checking the translated policy has this hole. The non-obvious part: the widening is usually invisible at both endpoints. The issuer sees a grant it recognizes. The callee sees a locally-valid policy object. The divergence lives only in the translation function's mapping table, which neither party inspects at runtime. ## What Was Observed A federation of three orgs — issuer `alpha`, broker `beta`, callee `gamma` — negotiated a capability grant for a `write_record` tool. Alpha's policy dialect expresses scope as a set of `resource_selector` patterns with an implicit **deny-by-default** on unlisted fields, plus a `field_mask` restricting writes to `{status, notes}`. Beta's translation layer mapped `resource_selector` to gamma's `resource_glob` and — because gamma's schema has no native `field_mask` primitive — dropped the field mask and recorded it as an advisory annotation, not an enforced constraint. Trace: 1. Alpha issues grant `G` bound to subject `agent-77`, scope `resource_selector: "case/*"`, `field_mask: {status, notes}`, signed with alpha's key. 2. Beta verifies `G`'s signature, resolves `agent-77`'s identity across the federation, and translates scope to `resource_glob: "case/*"`. The `field_mask` has no target field in gamma's schema; the translator emits `annotations: {field_mask_advisory: [...]}` and proceeds. 3. Gamma receives the translated grant, checks signature chain (alpha→beta→gamma), confirms `resource_glob` matches `case/4417`, and admits the call. 4. `agent-77` invokes `write_record` with a payload mutating `owner_id` and `billing_code` — fields alpha's mask excluded. Gamma's enforcement layer sees no `field_mask` constraint and permits the write. 5. Alpha's audit log records only the grant it issued; gamma's records only the write it admitted. Neither log contains the divergence. The first evidence is a downstream reconciliation job flagging `owner_id` drift three hours later. The mechanism is a **translation widening**: a constraint that exists in the source dialect but has no faithful target representation is downgraded from *enforced* to *advisory* rather than causing the translation to fail closed. ## Condition of Validity The invariant a federation must hold is: > For every grant `G` issued in dialect `D_src` and translated to `D_dst`, the enforced constraint set of the translated grant must be a **subset** of the enforced constraint set of `G` in `D_src`. Any source constraint without a faithful target primitive must cause translation to fail closed, not degrade to annotation. This is a *monotonicity* condition on translation: translation may narrow (a target dialect that can express more constraints is fine) but must never widen. Widening is a privilege escalation across an org boundary — the callee executes authority the issuer never granted, and the issuer cannot detect it because its own grant is unchanged. The condition fails specifically when the translator treats an unmappable constraint as non-fatal. This is the default behavior of most schema-negotiation code: unknown fields become metadata, not errors. For capability *identity* that's correct; for capability *constraint* it is a boundary violation. ## Decision Boundary The boundary is: **does the translator have a total, verified mapping for every constraint primitive in the source grant that carries enforcement semantics?** - If yes — translate, and the subset invariant holds by construction. - If no — the translation must be rejected with an explicit widening error, and the grant must not be admitted. The broker may renegotiate a narrower grant with the issuer (drop the unmappable constraint explicitly, with issuer countersignature) or refuse the call. The subtle case is *semantically equivalent but structurally different* primitives (e.g., source `field_mask` vs. target `attribute_allowlist`). These require an equivalence proof, not a name match. A translator that maps on field-name similarity rather than semantic equivalence will pass the subset check on paper while widening in practice. The decision boundary therefore has a second clause: equivalence must be asserted by an explicit, reviewed mapping entry — never inferred. ## Operational Effect When the invariant is enforced, the observable effect is that cross-org grants **fail loudly at translation time** rather than silently at write time. Brokers see widening errors during negotiation; issuers are asked to explicitly narrow grants they cannot fully express in the target dialect; callees never receive a grant wider than its source. The cost is more negotiation round-trips and a maintained mapping table with per-primitive equivalence assertions. When it is not enforced, the failure is *silent, delayed, and cross-boundary*: the write succeeds, the audit trails at both orgs are individually consistent, and the divergence surfaces only as data corruption or a reconciliation mismatch hours later — by which point the causal grant is buried under subsequent agent activity and the translation layer that widened it is the one component nobody logged. The guardrail is a translation-time subset check plus a fail-closed default on unmappable enforcement primitives, with the mapping table versioned and its equivalence assertions audited. The code below encodes the check as a hard gate. ```python from dataclasses import dataclass, field from typing import Dict, Set class TranslationWideningError(RuntimeError): """Raised when a translated grant's enforced scope is not a subset of the source grant's.""" pass @dataclass class Grant: subject: str resource_glob: str enforced_constraints: Dict[str, Set[str]] = field(default_factory=dict) # Reviewed equivalence assertions: source primitive -> (target primitive, is_total) # is_total=False means the target dialect cannot faithfully express the source constraint. EQUIVALENCE_TABLE: Dict[str, tuple] = { "resource_selector": ("resource_glob", True), "field_mask": ("attribute_allowlist", True), "rate_limit": ("quota_window", True), "geo_fence": (None, False), # no target primitive: must fail closed } def translate_grant(src: Grant, target_dialect: str) -> Grant: translated_constraints: Dict[str, Set[str]] = {} for primitive, values in src.enforced_constraints.items(): mapping = EQUIVALENCE_TABLE.get(primitive) if mapping is None: raise TranslationWideningError( f"no equivalence entry for source primitive {primitive!r}; " f"refusing to translate (would silently drop enforcement)" ) target_primitive, is_total = mapping if not is_total or target_primitive is None: raise TranslationWideningError( f"source primitive {primitive!r} has no faithful target in {target_dialect!r}; " f"fail closed rather than degrade to advisory" ) translated_constraints[target_primitive] = set(values) translated = Grant( subject=src.subject, resource_glob=src.resource_glob, enforced_constraints=translated_constraints, ) # Subset invariant: every source constraint must be represented, none widened. for src_prim, src_vals in src.enforced_constraints.items(): tgt_prim = EQUIVALENCE_TABLE[src_prim][0] tgt_vals = translated.enforced_constraints.get(tgt_prim, set()) if not src_vals.issubset(tgt_vals): raise TranslationWideningError( f"widening detected: {src_prim}={src_vals} not subset of " f"{tgt_prim}={tgt_vals}" ) return translated def admit_federated_call(src_grant: Grant, target_dialect: str, payload_fields: Set[str]) -> Grant: translated = translate_grant(src_grant, target_dialect) allowlist = translated.enforced_constraints.get("attribute_allowlist") if allowlist is not None and not payload_fields.issubset(allowlist): raise TranslationWideningError( f"payload mutates fields {payload_fields - allowlist} outside translated allowlist" ) return translated ```