# Under what conditions must an instance refuse a brokered capability whose policy translation is semantically lossy across federated trust domains **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent deployments where a brokering agent in trust domain A translates a capability grant issued under A's policy vocabulary into domain B's vocabulary for a consuming agent. Does not apply to single-domain capability exchange or to brokered grants where both domains share a common policy ontology with a verified isomorphism. ## Core Distinction The failure mode here is not a *rejected* capability—rejections are loud, logged, and recoverable. It is the **silently widened capability**: a policy translation that maps a grant from domain A's vocabulary into domain B's vocabulary while dropping a constraint that has no representable counterpart in B. The broker, under pressure to satisfy a capability request, treats "no representable equivalent" as "no constraint" rather than "constraint unsatisfiable in target domain." The distinction that matters operationally is between **translation completeness** (every predicate in the source policy has a named target in the destination ontology) and **translation soundness** (every predicate in the source policy is *entailed* by its translation in the destination). A broker can achieve completeness trivially by dropping predicates. Soundness is the invariant that actually bounds the capability, and it is the one that silently fails. A grant in domain A of the form `read(records) WHERE jurisdiction ∈ {EU} AND retention ≤ 30d AND purpose ∈ {fraud_detection}` may translate into domain B—whose ontology has `read` and `jurisdiction` but no first-class `purpose` or `retention` predicates—into `read(records) WHERE jurisdiction ∈ {EU}`. The translation is complete (every term it emitted exists in B). It is unsound: the consuming agent in B now holds a grant strictly broader than the one A issued. The broker has laundered a constrained capability into an unconstrained one across an organizational boundary, and no error is raised at any hop. ## What Was Observed In a federation spanning three trust domains (issuer A, broker B, consumer C), a capability request for a records-read operation was brokered end-to-end in 41ms with a `GRANT_OK` at every hop. The issuing policy in A carried four predicates; the translated grant delivered to C carried two. The broker's translation table recorded the two dropped predicates as `unmapped`, which the broker's default resolution policy treated as `permissive: true` because the broker was configured for "best-effort capability exchange" under a latency SLO that forbade blocking on unmapped predicates. The consuming agent C then executed a read whose scope exceeded the issuer's intent by a factor of roughly 300× in record count (the dropped `retention` predicate had been the only thing constraining the query window). No hop logged a policy violation, because every hop validated *its own* translation for completeness, not soundness against the upstream grant. The violation was only detectable by comparing the grant delivered to C against the original grant issued by A—a comparison no single hop was performing. The trace shows the exact transition: at the broker, `translate(grant_A) → grant_B` returned a struct with `unmapped_predicates: [retention, purpose]` and `decision: ALLOW`. The broker's policy engine had a rule `IF unmapped_predicates AND strategy == best_effort THEN drop_and_allow`, which is the specific mechanism that converts a translation gap into a capability widening. The consumer validated `grant_B` against B's policy (which it satisfied) and never saw `grant_A`. ## Condition of Validity A brokered capability is safe to honor if and only if the translation from issuer vocabulary to consumer vocabulary is **sound with respect to the issuer's grant**: for every model (every possible execution context) satisfying the translated grant, that model also satisfies the original grant. Formally, `translate(g_A) ⊨ g_A` must hold, where `⊨` is entailment over the joint ontology. This condition holds in exactly three cases: 1. **Isomorphic translation.** Every predicate in `g_A` has a target predicate in the destination ontology with identical semantics, and the translation preserves all conjunctions and quantifiers. Verifiable by ontology mapping with a proved equivalence. 2. **Conservative narrowing.** The translation drops no predicate but *strengthens* at least one (e.g., narrows a jurisdiction set, tightens a retention bound). Narrowing is always sound: `g_B ⊨ g_A` if `g_B` entails `g_A`, and strengthening preserves entailment in the safe direction. 3. **Explicit unsatisfiability.** The translation cannot represent a predicate and the broker *refuses* the grant rather than dropping the predicate. Refusal is sound (vacuously—no capability is delivered). The condition fails whenever the broker drops a predicate and proceeds. This is the boundary: **a translation that is complete but not sound must be treated as a refusal, not a grant.** The broker's `best_effort` strategy is precisely the mechanism that violates this invariant, because it conflates completeness (all emitted terms are valid) with soundness (all source terms are entailed). ## Decision Boundary The decision boundary is the point at which the broker must choose between delivering a possibly-widened capability and refusing. The correct rule is: - If `translate(g_A)` is sound (cases 1–2), deliver. - If `translate(g_A)` is complete but unsound because a predicate was dropped (case 3 absent), **refuse**, and surface the unmapped predicates to the issuer for policy reconciliation. - If the broker cannot determine soundness (no ontology mapping available for a predicate), **refuse**—unknown soundness is unsoundness. The boundary is crossed the moment a broker's default resolution for `unmapped_predicates` is `allow`. Any federation configuration that sets `strategy: best_effort` on capability translation has placed its brokers on the wrong side of this boundary, because best-effort is defined as "drop what you cannot map and continue," which is exactly the unsound transition. The guardrail is a **soundness check at the broker, not a completeness check**: before emitting `grant_B`, the broker must verify `g_B ⊨ g_A` by (a) confirming every predicate of `g_A` appears in `g_B` or is entailed by a predicate in `g_B`, and (b) refusing if any predicate of `g_A` is absent from `g_B` and not entailed. This check is cheap when the ontology mapping is precomputed and expensive only when it is not—which is the correct place to pay, because the alternative is paying at the consumer with an over-broad execution. ## Operational Effect The operational effect of honoring an unsound translation is a **capability laundering event**: a constrained grant issued in one organization is executed unconstrained in another, with the widening invisible to every hop's local validation. The blast radius is bounded by the difference between `g_A` and `g_B`—in the observed case, a 300× record-count overread—and the event is *undetectable at the consumer*, because the consumer validates against its own policy, which the widened grant satisfies. The durable fix is not a better translation table; it is a **grant provenance chain** carried with the capability: the consumer receives `grant_B` *and* the hash of `g_A` plus the broker's soundness attestation, and the consumer's policy engine refuses to execute if the attestation is absent or if the attestation claims soundness for a translation whose `unmapped_predicates` is non-empty. This makes the soundness invariant *checkable at the point of execution* rather than merely *assertable at the broker*, which is the only place it can be enforced against a broker that has already decided to be permissive. The residual risk is a broker that lies in its attestation. That is a trust-domain problem, not a translation problem, and is bounded by the federation's identity layer—but the attestation at least makes the lie a *detectable* protocol violation rather than an invisible widening. ```python from dataclasses import dataclass, field from typing import FrozenSet class UnsoundTranslationError(RuntimeError): """Raised when a brokered capability translation is complete but not sound.""" pass @dataclass(frozen=True) class Grant: capability: str predicates: FrozenSet[str] # e.g. {"jurisdiction:EU", "retention<=30d", "purpose:fraud"} @dataclass class Broker: ontology_map: dict # source predicate -> target predicate or None strategy: str = "sound" # "sound" | "best_effort" def translate(self, g_a: Grant) -> tuple[Grant, list[str]]: mapped, unmapped = set(), [] for p in g_a.predicates: target = self.ontology_map.get(p) if target is None: unmapped.append(p) else: mapped.add(target) return Grant(g_a.capability, frozenset(mapped)), unmapped def broker(self, g_a: Grant) -> Grant: g_b, unmapped = self.translate(g_a) if unmapped: if self.strategy == "best_effort": # silently widens: drops constraints, emits grant anyway return g_b raise UnsoundTranslationError( f"translation of {g_a.capability!r} is complete but unsound: " f"unmapped predicates {unmapped} would be dropped, widening the grant" ) # soundness check: every source predicate must be entailed by target for p in g_a.predicates: target = self.ontology_map[p] if target not in g_b.predicates: raise UnsoundTranslationError( f"predicate {p!r} mapped to {target!r} but absent from translated grant" ) return g_b def consume(grant: Grant, execution_scope: int, max_scope: int) -> None: if execution_scope > max_scope: raise UnsoundTranslationError( f"execution scope {execution_scope} exceeds grant-derived bound {max_scope}; " "capability was widened by an unsound brokered translation" ) if __name__ == "__main__": g_a = Grant("read(records)", frozenset({"jurisdiction:EU", "retention<=30d", "purpose:fraud"})) broker = Broker( ontology_map={"jurisdiction:EU": "jurisdiction:EU", "retention<=30d": None, "purpose:fraud": None}, strategy="best_effort", ) g_b = broker.broker(g_a) # returns widened grant, no error under best_effort # consumer applies its own bound (records cap) and detects the widening consume(g_b, execution_scope=300_000, max_scope=1_000) ```