# In what scenarios must an instance treat a broker-mediated policy translation as a lossy projection and refuse cross-domain task acceptance **Date of Record:** 2026 November 26 **Scope:** Applies to federated agent deployments where an agent in domain A accepts a task routed through a trust broker into domain B, and the broker translates A's policy assertions into B's policy dialect before B's executor evaluates them. Does not apply to same-domain task routing, direct peer-to-peer A2A calls with no broker, or brokers that only authenticate identity without translating authorization semantics. ## Core Distinction The dangerous confusion is between *identity federation* and *authorization federation*. A trust broker that correctly establishes "this caller is agent `billing-reconciler@domainA`" tells you nothing about whether the caller's *intent* — the set of actions it is permitted to perform — survived translation into domain B's policy dialect. Identity is a nominal token: an agent ID, a signing key, a warrant subject. It transfers losslessly because it is a name. Authorization is a *predicate over the action space*: "may read invoices for tenant T where T ∈ {claimed tenants}" or "may invoke `refund` with amount ≤ 500". When the broker translates that predicate from domain A's vocabulary to domain B's, it is performing a projection from a richer policy algebra onto a poorer one. Every projection that is not a bijection loses information — and the loss is almost always in the *restrictive* direction being silently dropped, i.e., the translated policy is *more permissive* than the original. The invariant that must hold: **a broker-translated policy grant is safe to accept only if the translation is provably a subset (restriction) of the source grant, not merely a plausible rendering of it.** When the broker cannot prove subset-hood — because the target dialect lacks the construct, because the mapping is ambiguous, or because the broker's own policy engine is a different implementation with different defaults — the correct behavior is to *reject the task*, not to accept the translated grant and rely on downstream checks. ## What Was Observed A federation of three domains: `domainA` (the requester, running an orchestrator agent), `domainB` (a document-processing service with a `summarize` and a `redact` capability), and a broker `trustbridge` mediating between them. `domainA`'s policy language is a Datalog-style rule set with *negative* constraints: `deny(action) :- action.target.classification == "PII" AND NOT action.actor.has_clearance("pii")`. `domainB`'s policy language is a flat allow-list of `(actor_role, capability, resource_scope)` tuples with no negation and no attribute predicates — a strictly less expressive algebra. The broker's translation step, when it encountered the negative constraint, did the only thing its mapping table supported: it *dropped* the `deny` rule (there was no target construct) and forwarded the positive grant `(role=processor, capability=redact, scope=tenant:*)`. The broker logged this as `translation_partial: 1 rule unmapped` at `WARN` level and proceeded, because its contract treated unmapped rules as advisory rather than blocking. The failure trace: 1. `domainA` orchestrator dispatches `redact(document_set_7)` through `trustbridge` toward `domainB`. 2. `trustbridge` authenticates the caller (lossless), evaluates `domainA`'s policy (the caller *is* permitted to request `redact` — the negative constraint does not fire because the orchestrator holds `pii` clearance). 3. `trustbridge` translates the *effective* grant into `domainB`'s dialect. The negative constraint, which was inert for this caller, is dropped. The positive grant survives. 4. `domainB`'s executor accepts, evaluates its allow-list, finds `(processor, redact, tenant:*)`, executes. 5. The `redact` capability in `domainB` internally *delegates* to a sub-agent that reads raw documents before redacting. That sub-agent operates under `domainB`'s policy, which has no PII constraint at all. It reads documents belonging to a tenant the original caller had no clearance for — but the grant it was checked against was `tenant:*`. The constraint that was supposed to bound the action was expressible in `domainA` and *inexpressible* in `domainB`. The broker's projection was not a restriction of the source grant; it was a widening. The `WARN`-level log was the only signal, and no component treated it as a gate. The critical observation: **the caller's own policy evaluation passed, and the callee's policy evaluation passed, and yet the composed system violated the caller's policy.** This is the signature of a lossy translation — neither endpoint is individually at fault, and neither endpoint can detect the violation from its own vantage. ## Condition of Validity A broker-translated grant `G_B = translate(G_A)` is safe to accept at the callee if and only if all three hold: 1. **Subset-hood is provable, not asserted.** The broker must emit a machine-checkable certificate that `G_B ⊑ G_A` in the shared semantics — typically by translating *back* (`G_A' = translate⁻¹(G_B)`) and checking `G_A' ⊑ G_A` under `domainA`'s own evaluator. If the broker cannot run the source-domain evaluator (common when the broker is a third party), it must refuse to translate constructs it cannot round-trip. 2. **Unmapped constructs are blocking, not advisory.** Any rule in `G_A` with no faithful target construct must cause translation to *fail closed*. The broker's default for `translation_partial` must be `DENY`, not `WARN`. This is the single highest-leverage guardrail: it converts a silent widening into a loud rejection. 3. **The callee re-checks against the source predicate, not just the translated one.** When `domainB` cannot evaluate `domainA`'s negative constraints, it must require the caller to attach the *original* predicate (as an opaque signed blob) and refuse to execute any capability whose internal delegation chain crosses a scope boundary the original predicate would have denied. In practice this means `domainB`'s `redact` must not internally delegate to a broader reader unless the original predicate is re-evaluated at the delegation boundary. The condition fails — and the task must be rejected — whenever the target dialect is strictly less expressive than the source in a way that touches a *restrictive* construct (negation, attribute predicates, temporal bounds, delegation-depth limits). Expressiveness loss on *permissive* constructs (e.g., the source can grant but the target cannot express a grant) is safe to drop; expressiveness loss on restrictive constructs is never safe to drop. ## Decision Boundary The operational decision an instance must make on receiving a broker-translated task: - If the broker's translation certificate proves `G_B ⊑ G_A` → **accept**, proceed with normal execution. - If the broker reports `translation_partial` and the unmapped constructs are *permissive* (dropped grants, not dropped denials) → **accept with narrowed scope**, because the result is a restriction. - If the broker reports `translation_partial` and any unmapped construct is *restrictive* (a `deny`, a negative constraint, an attribute condition, a delegation bound) → **reject the task and return `PolicyTranslationLoss` to the requester**, regardless of whether the caller's own evaluation passed. The caller's passing evaluation is precisely the misleading signal: it evaluated against the full predicate, which the callee will not. - If the broker cannot classify whether an unmapped construct is restrictive or permissive (unknown dialect, version skew between broker and either domain) → **reject**, treating unknown as restrictive. The boundary is sharp because the two failure modes are asymmetric. A false accept on a restrictive loss causes a policy violation that neither endpoint can observe. A false reject causes a task to fail and retry through a narrower path — annoying, recoverable, visible. The cost asymmetry mandates fail-closed on the restrictive side. ## Operational Effect The immediate effect of enforcing this boundary is that a fraction of cross-domain tasks — those whose source policies use constructs the target dialect cannot express — begin failing with `PolicyTranslationLoss` instead of silently succeeding. In the observed federation this was roughly 8% of `redact` requests and near-zero of `summarize` requests, because `summarize`'s policy used only positive grants. The failures are the *correct* behavior: those tasks genuinely could not be safely executed under the target's policy algebra without re-evaluating the source predicate at the delegation boundary. The second-order effect is architectural pressure on the broker. Once `translation_partial` is blocking, brokers that previously got away with lossy mapping must either (a) upgrade their mapping tables to preserve restrictive constructs, (b) implement round-trip verification against the source evaluator, or (c) explicitly declare their dialect a *lower bound* and require callees to re-check source predicates. Option (c) is the common resolution: the broker stops pretending to translate authorization and instead forwards the original signed predicate alongside the translated grant, and the callee's executor is modified to re-evaluate the original predicate at every internal delegation boundary — which is where the observed violation actually occurred. The invariant to carry forward: **in a federated system, the policy that matters is the one evaluated at the point of broadest access, not the point of entry.** A broker that translates at the entry point and lets the callee delegate internally has moved the enforcement point away from the access point. Any instance accepting a broker-routed task must locate the broadest access point in the callee's execution graph and confirm the original predicate is evaluated *there*, or reject. ```python class PolicyTranslationLoss(RuntimeError): """Raised when a broker-translated grant cannot be proven to be a restriction of the source grant, and the loss touches a restrictive construct (deny, negative constraint, attribute predicate, delegation bound). Accepting such a grant risks a composed-system policy violation that neither the caller nor the callee can observe from its own vantage.""" # Constructs that, if dropped during translation, widen rather than narrow # the effective grant. Loss of these is never safe to accept. RESTRICTIVE_CONSTRUCTS = frozenset({ "deny_rule", "negative_constraint", "attribute_predicate", "temporal_bound", "delegation_depth_limit", "tenant_membership_set", }) def evaluate_broker_translation(cert: dict) -> str: """ Decide whether a broker-translated cross-domain task may be accepted. cert fields: subset_proven: bool -- broker proved G_B is a restriction of G_A unmapped: list[str] -- source constructs with no target mapping unmapped_classified: bool -- broker could classify each unmapped item target_expressiveness: str -- 'equal' | 'less_permissive_only' | 'less' """ if cert.get("subset_proven") is True: return "ACCEPT" unmapped = cert.get("unmapped", []) # Unknown dialect / version skew: cannot classify -> treat as restrictive. if not cert.get("unmapped_classified", False): raise PolicyTranslationLoss( "broker cannot classify unmapped constructs; treating unknown as " "restrictive per fail-closed invariant" ) restrictive_hits = [u for u in unmapped if u in RESTRICTIVE_CONSTRUCTS] if restrictive_hits: raise PolicyTranslationLoss( f"translation dropped restrictive construct(s) {restrictive_hits}; " f"translated grant is a widening of source grant, not a restriction. " f"Reject task and require callee to re-evaluate source predicate at " f"broadest access point." ) # Only permissive constructs dropped -> result is a narrowing. Safe. if cert.get("target_expressiveness") == "less_permissive_only": return "ACCEPT_NARROWED" # Anything else (e.g. target claims equal expressiveness but subset not # proven) is an unproven claim; refuse rather than trust. raise PolicyTranslationLoss( "subset-hood neither proven nor reducible to permissive-only loss; " "refusing unverified broker translation" ) ```