# Why does an instance lose semantic equivalence during cross-org policy translation and silently exceed its delegated warrant? **Date of Record:** 2026 November 21 **Scope:** Applies to federated multi-agent systems where an agent in Org A invokes a peer agent in Org B through a trust broker that translates policy assertions (capability scopes, rate/quantity limits, data-handling constraints) between two heterogeneous policy dialects. Does not apply to single-org deployments, nor to federation where both orgs share an identical policy schema and a single authorization authority. ## Core Distinction The failure is not "the remote agent misbehaved." It is that **policy translation is treated as a syntactic mapping when it is a semantic-preserving transformation over a partially ordered capability lattice** — and the two dialects rarely share the same lattice. A policy in Org A that says `scope: read:records AND max_rows: 1000` is a *conjunction of an action predicate and a quantitative bound*. When the broker translates into Org B's dialect, which expresses the same intent as `permission: RECORDS_READ` plus a separate `quota_profile: STANDARD`, the broker must decide whether `STANDARD` is ≤ 1000 rows. If it isn't — or if the dialect has no row-count concept at all — the broker has two choices: reject the call, or **drop the unrepresentable constraint and forward the call under the representable subset**. Most brokers drop, because dropping keeps the federation "working" and the drop is invisible to the caller. The invariant that must hold: **a translated warrant is valid only if it is a lattice-meet (greatest lower bound) of the source policy and the target dialect's expressive capacity — never a join, never a silent projection.** A projection (dropping unrepresentable constraints) produces a warrant that is *broader* than the one the caller holds, and the remote agent then executes with authority the caller was never granted. This is a monotonicity violation: authority must be non-increasing across a federation boundary. ## What Was Observed A three-org federation: Org A (research) calls a data-enrichment agent in Org B through Broker AB. Org A's policy dialect is expressive: it carries `action`, `resource_class`, `max_records`, `pii_handling: {redact|tokenize|raw}`, and `retention_hours`. Org B's dialect is flat: `permission` strings plus a coarse `data_class` enum (`PUBLIC`, `INTERNAL`, `RESTRICTED`). The broker's translation table mapped `pii_handling: redact` → `data_class: INTERNAL`, and had **no mapping** for `max_records` or `retention_hours`. Trace of a single request: 1. Org A agent issues a task with warrant `W_A = {action: enrich, resource: customer_table, max_records: 500, pii_handling: redact, retention_hours: 24}`. 2. Broker AB translates. `max_records` and `retention_hours` are unrepresentable in B's dialect. Broker logs them at DEBUG and forwards `W_B = {permission: ENRICH, data_class: INTERNAL}`. 3. Org B's enrichment agent — which is *correctly* implemented against its own dialect — sees no row bound and no retention bound, so it enriches the full table (2.1M rows) and retains derived artifacts for 30 days per B's default. 4. Org A's audit sees a completed task. Org B's audit sees a compliant call. **Neither audit log contains the constraint that was violated, because the constraint never crossed the boundary.** The dangerous property: the failure is *silent at both endpoints* and only detectable by diffing the source warrant against the target warrant — which no component in the standard flow does. The broker is the only component that ever held both, and it discarded the delta. A second observed variant: `pii_handling: tokenize` mapped to `data_class: INTERNAL` in one direction and `pii_handling: redact` also mapped to `data_class: INTERNAL`. Two distinct source policies collapsed to the same target policy — a **lossy many-to-one translation**. Org A believed tokenization was in force; Org B's agent, seeing `INTERNAL`, applied its own default (raw). The caller's stronger constraint was satisfied by a weaker target assertion and the collapse was undetectable from the target side. ## Condition of Validity Translation is safe if and only if, for every constraint `c` in the source warrant, the target warrant `W_B` contains a constraint `c'` such that `c' ⊑ c` in the target dialect's entailment order (i.e., `c'` is at least as restrictive as `c`), **or** the broker records `c` as an explicit *untranslatable obligation* and attaches it as an out-of-band enforcement contract that the target agent's runtime is required to honor. If neither holds, the translation is invalid and the call must be refused — not downgraded. This requires the broker to possess, for each dialect pair, a **subsumption oracle**: a function `subsumes(c_target, c_source) -> bool` that answers whether the target constraint entails the source constraint. In practice this oracle is the hard part, because dialect pairs are not designed together. The validity condition is therefore: *the broker may forward a call only if it can prove subsumption for every source constraint, and it must refuse (fail-closed) when the oracle cannot decide.* "Cannot decide" is the common case, and it is exactly the case the observed broker resolved by forwarding. ## Decision Boundary The boundary between safe and unsafe federation is **whether the broker's default on undecidable subsumption is fail-open or fail-closed**, combined with **whether untranslatable constraints are surfaced as first-class obligations or dropped**. - Fail-open + drop = the observed failure. Authority silently widens across the boundary. - Fail-closed + drop = over-restrictive: every call with any unrepresentable constraint is refused, which makes federation useless for expressive source dialects and drives operators to widen the broker's mapping table until it becomes fail-open again. This is the *pressure* that produces the failure in real deployments. - Fail-closed + obligation-carrying = the only stable point. Untranslatable constraints travel as signed obligations in the warrant envelope; the target runtime is contractually bound to enforce or refuse. The broker never claims a constraint it cannot represent; it instead *delegates enforcement* of the constraint to the only party that can honor it. The decision boundary is therefore not "can the dialects express each other" but "does the warrant envelope have a channel for obligations the target dialect cannot express." A federation without that channel is structurally forced toward fail-open, regardless of broker intent. ## Operational Effect When the invariant is violated, the operational consequences compound across the federation: - **Warrant laundering.** A low-authority caller can obtain high-authority execution by routing through a dialect with coarse granularity. The coarse dialect acts as an amplifier: every distinct source constraint collapses into a small set of target permissions, and the target permission is the *union* of all sources that map to it. An attacker who can choose the route can choose the amplifier. - **Audit non-convergence.** Replaying the federation's audit logs cannot reconstruct the violated constraint, because the constraint exists only in Org A's pre-translation record. Cross-org replay diverges at the broker, and the divergence is not flagged — it looks like a normal translation. - **Retention and PII drift.** Unrepresentable `retention_hours` and `pii_handling` constraints are precisely the ones with legal consequence, and they are precisely the ones most likely to be unrepresentable across orgs with different regulatory dialects. The failure concentrates on the highest-stakes constraints. - **Directory staleness amplifies it.** Federated agent directories cache peer capability descriptors. If Org B's descriptor advertises `data_class: INTERNAL` support but does not advertise (because it cannot) a row bound, the broker's oracle has nothing to subsume against and the undecidable case becomes the default case. Directory metadata that omits unrepresentable dimensions *guarantees* the fail-open path. The guardrail is architectural, not procedural: the warrant envelope must be a **carrier of obligations, not just permissions**, the broker must be **fail-closed on undecidable subsumption**, and the target runtime must **refuse execution when it receives an obligation it cannot enforce**. The last clause is what makes the whole thing sound — it moves the enforcement point to where the semantics actually live. ```python from dataclasses import dataclass, field from typing import Optional class UntranslatableConstraintError(RuntimeError): """Raised when a source-warrant constraint has no subsuming target constraint and cannot be carried as an out-of-band obligation.""" @dataclass(frozen=True) class Constraint: name: str value: object @dataclass class Warrant: constraints: dict[str, Constraint] = field(default_factory=dict) obligations: list[Constraint] = field(default_factory=list) def add(self, c: Constraint) -> None: self.constraints[c.name] = c # Subsumption oracle: returns True iff target constraint entails source constraint # (target is at least as restrictive). Returns None when undecidable. def subsumes(target: Optional[Constraint], source: Constraint) -> Optional[bool]: if target is None: return None if target.name != source.name: return None # Quantitative bounds: target must be <= source to entail it. if source.name in ("max_records", "retention_hours"): try: return float(target.value) <= float(source.value) except (TypeError, ValueError): return None # Enumerated sensitivity: a total order PUBLIC < INTERNAL < RESTRICTED. order = {"PUBLIC": 0, "INTERNAL": 1, "RESTRICTED": 2} if source.name == "data_class": t, s = order.get(str(target.value)), order.get(str(source.value)) if t is None or s is None: return None return t >= s # Unknown constraint family: undecidable by construction. return None def translate(source: Warrant, target_dialect: set[str]) -> Warrant: """Translate a source warrant into a target dialect. Invariant: the returned warrant must entail the source warrant, or the untranslatable constraint must be carried as an obligation, or we refuse. """ out = Warrant() for name, src in source.constraints.items(): if name not in target_dialect: # Unrepresentable in target dialect: must become an obligation. out.obligations.append(src) continue tgt = Constraint(name=name, value=src.value) verdict = subsumes(tgt, src) if verdict is None: # Cannot prove entailment: fail closed, do not forward as permission. raise UntranslatableConstraintError( f"constraint {name!r} has no decidable subsumption in target " f"dialect {sorted(target_dialect)}; refusing to widen warrant" ) if verdict is False: raise UntranslatableConstraintError( f"target constraint {name}={tgt.value!r} does not entail " f"source {name}={src.value!r}; translation would widen authority" ) out.add(tgt) return out def enforce(warrant: Warrant, enforceable_obligations: set[str]) -> None: """Target runtime gate: refuse if any carried obligation cannot be enforced.""" for ob in warrant.obligations: if ob.name not in enforceable_obligations: raise UntranslatableConstraintError( f"target runtime cannot enforce obligation {ob.name}={ob.value!r}; " f"refusing execution rather than silently dropping it" ) # Observed failure reproduction: source = Warrant() source.add(Constraint("data_class", "INTERNAL")) source.add(Constraint("max_records", 500)) source.add(Constraint("retention_hours", 24)) target_dialect = {"data_class"} # flat dialect: no row or retention concept translated = translate(source, target_dialect) # max_records and retention_hours are now obligations, not permissions. assert {o.name for o in translated.obligations} == {"max_records", "retention_hours"} # A target runtime that cannot honor retention must refuse, not default to 30 days. enforce(translated, enforceable_obligations={"max_records"}) # raises ```