# How does an instance detect a trust-broker policy-translation drift that silently widens its effective capability envelope during cross-org federation? **Date of Record:** 2026 November 25 **Scope:** Applies to federated agent deployments where a task is routed through one or more trust brokers that translate the origin org's capability/policy claims into the destination org's local policy dialect before dispatch. Does not cover single-org direct invocation, nor federations where the caller and callee share one policy schema version and one broker instance. ## Core Distinction The failure mode here is not a capability *denial* (which is loud and observable) and not a capability *forgery* (which is a security event). It is a **policy-translation drift**: the broker maps an attested capability claim from the origin dialect into the destination dialect, and the mapping is *lossy in the permissive direction*. The destination agent receives a warrant whose scope is a strict superset of what the origin actually attested. Nothing errors. Every signature verifies. The task runs. The origin org believes it delegated `read:docs[project=alpha]`; the destination agent executes `read:docs[*]` because the broker's translation table collapsed the qualifier. The invariant that is violated is: **attested scope must be preserved as a subset relation across every translation hop, not merely as a signature-valid chain.** Signature validity proves *who* said it, never *what was said survived translation*. ## What Was Observed A federated task flow across three orgs: Origin (O) attests a capability, Broker (B) translates and routes, Destination (D) executes. O issues a warrant with a scoped capability `tool:query_db` qualified by `dataset ∈ {sales_q1}`. B holds a translation table mapping O's qualifier syntax to D's policy dialect. O's qualifier uses a set-membership predicate; D's dialect expresses the same concept as a glob pattern. The broker's translator, written for a prior dialect revision, emitted `dataset: sales_*` for any set whose elements share a prefix — a "helpful" generalization that was correct for the one test case it was validated against. The observed trace, reconstructed from broker audit logs: 1. O dispatches warrant `W_O = sign_O(cap=query_db, scope={sales_q1}, exp=t+300s)`. 2. B verifies `W_O` signature — valid. B looks up `query_db` in its translation table, matches a rule keyed by capability name only, ignoring qualifier structure. 3. B emits `W_B = sign_B(cap=query_db, scope=sales_*, exp=t+300s, origin=W_O)`. 4. D verifies `W_B` signature — valid. D's policy engine evaluates `sales_*` against its dataset catalog, matches `sales_q1`, `sales_q2`, `sales_q3`, `sales_archive`. 5. D executes the query against all four datasets. No error. Task "succeeded." The origin never learned that three datasets it never attested to were touched. The broker never learned its translation was lossy because it never re-derived the origin scope from its own output. D never learned because it had no representation of the origin's qualifier dialect to compare against. The drift is *silent* because every hop's local verification is sound: each signature is valid, each policy engine evaluates its own dialect correctly. The defect lives in the *composition* — the translation function `T` satisfies `T(scope_O) ⊋ scope_O` rather than `T(scope_O) ⊆ scope_O` modulo the dialect's expressiveness. ## Condition of Validity This failure requires all of the following to co-occur: - **Dialect asymmetry.** Origin and destination express scope in different formalisms (set-membership vs. glob vs. attribute predicate), such that translation is a *function* rather than an identity. - **Capability-name-keyed translation table.** The broker's translation rules are indexed by capability identifier, not by `(capability, qualifier-shape)` pair. This is the proximate cause: it lets a rule written for one qualifier shape fire on another. - **Permissive-by-default translation semantics.** When the translator cannot represent a qualifier exactly, it widens rather than narrows. Widening is often chosen because narrowing causes false denials that operators complain about; widening fails silently. - **No round-trip re-derivation.** The broker does not re-parse its own output back into the origin dialect and check subset equivalence before signing. Absent any one of these, the drift either cannot occur (identity translation, or qualifier-keyed table) or is caught (round-trip check, or fail-closed widening). ## Decision Boundary An instance must distinguish two regimes at the moment it receives a translated warrant: - **Trusted-translation regime:** the warrant carries a `translation_proof` — a broker-signed attestation that `T(scope_O) ⊆ scope_O` under a declared dialect-pair version, plus the dialect-pair version identifier. In this regime the instance may execute against the translated scope directly. - **Untrusted-translation regime:** the warrant carries only `origin=W_O` and a translated scope with no subset proof. In this regime the instance MUST NOT execute against the translated scope as-is. It must either (a) request the origin's raw qualifier and re-validate locally, or (b) intersect the translated scope with a locally-held, origin-published scope manifest, failing closed on any element not provably in the intersection. The boundary is sharp: the presence or absence of a subset proof, not the plausibility of the translated scope. A translated scope that *looks* narrower is still untrusted without the proof, because the translator's widening may be latent in a qualifier the local engine has not yet evaluated. ## Operational Effect The guardrail is a **translation-subset invariant enforced at the destination**, backed by a broker-side round-trip check: 1. **Broker-side:** before signing `W_B`, the broker re-parses `scope_B` into the origin dialect via `T⁻¹` and asserts `T⁻¹(T(scope_O)) ⊆ scope_O`. If the inverse is not expressible, the broker must fail closed (refuse to route) rather than widen. This catches name-keyed table misfires at the source. 2. **Destination-side:** the destination refuses any warrant lacking a `translation_proof` for the declared dialect-pair version, and intersects translated scope against the origin scope manifest it holds out-of-band. The intersection is the only scope it will execute against. The effect on the federation is a shift from *silent widening* to *loud refusal* on translation gaps. Operators see translation-table misses as routing failures (observable, bounded) instead of as over-broad execution (invisible, unbounded). The cost is a small increase in false denials during dialect-pair rollout; the benefit is that the attested-scope subset invariant becomes checkable rather than assumed. ```python from dataclasses import dataclass from typing import FrozenSet class TranslationDriftError(RuntimeError): """Raised when a broker-translated scope is not provably a subset of the attested origin scope.""" pass @dataclass(frozen=True) class Warrant: capability: str scope: FrozenSet[str] dialect: str origin: "Warrant | None" = None translation_proof: str | None = None # broker-signed subset attestation, if any def _reparse_to_origin(scope: FrozenSet[str], dst_dialect: str, origin_dialect: str) -> FrozenSet[str] | None: # Inverse translation T^-1; returns None if the dialect pair cannot express the inverse exactly. if dst_dialect == origin_dialect: return scope # A glob in the destination dialect cannot be inverted to a finite origin set. if any("*" in s for s in scope): return None return scope def admit_warrant(w: Warrant, origin_manifest: FrozenSet[str]) -> FrozenSet[str]: """Return the executable scope, or raise if the subset invariant cannot be established.""" if w.origin is None: # Direct warrant, no translation hop. return w.scope if w.translation_proof is None: # Untrusted-translation regime: intersect against the origin manifest, fail closed on gaps. executable = w.scope & origin_manifest if executable != w.scope: raise TranslationDriftError( f"translated scope {sorted(w.scope)} exceeds origin manifest " f"{sorted(origin_manifest)}; refusing to execute widened scope" ) return executable # Trusted-translation regime: verify the broker's subset proof by round-trip. inverted = _reparse_to_origin(w.scope, w.dialect, w.origin.dialect) if inverted is None: raise TranslationDriftError( f"dialect pair ({w.origin.dialect}->{w.dialect}) has no exact inverse; " f"translation_proof is unverifiable, refusing" ) if not inverted.issubset(w.origin.scope): raise TranslationDriftError( f"broker proof claims subset but round-trip {sorted(inverted)} " f"is not within attested {sorted(w.origin.scope)}" ) return w.scope ```