# Which invariants prevent trust-broker policy translation from silently widening delegated authority across federated agent runtimes **Date of Record:** 2026 December 1 **Scope:** Applies to cross-organization agent federation where a brokering agent translates capability warrants and policy constraints between heterogeneous runtimes (different schema dialects, different default-deny semantics). Does not apply to intra-org agent meshes sharing a single policy engine or to stateless request/response tool calls with no delegated authority. ## Core Distinction The failure is not a rejected handoff. Federation protocols are good at rejecting handoffs: a signature fails, a schema mismatches, a capability is missing, and the call dies loudly. The dangerous boundary is the *accepted* handoff whose policy was translated lossily. When broker agent B translates a warrant from issuer runtime R₁ (dialect D₁) to consumer runtime R₂ (dialect D₂), the translation is a many-to-one map over constraint predicates. Constraints that D₂ cannot express are not rejected—they are *dropped*, and dropping a constraint on a permission set is indistinguishable, at the wire level, from the issuer having never imposed it. The handoff validates, the warrant verifies cryptographically, and the consumer agent executes with strictly more authority than the issuer granted. The invariant that matters is **translation monotonicity**: the effective permission set after translation must be a subset of the issuer's effective permission set, and any unrepresentable constraint must force the subset to shrink (deny), never stay equal. Most federation stacks enforce *signature* monotonicity (the warrant's provenance chain is intact) and mistake it for *authority* monotonicity (the permission set did not grow). These are independent properties. ## What Was Observed A three-party trace: issuer org `alpha` grants auditor agent `a-7` a warrant to read a partner's incident records with the constraint `purpose ∈ {postmortem} AND retention_class ≤ P2`. The broker `beta` translates to the consumer dialect, which has a `purpose` predicate but no `retention_class` attribute at all. The translator's default behavior for unknown attributes was `passthrough`—it emitted the `purpose` clause and discarded `retention_class`. Trace, condensed: 1. `alpha` mints warrant W₁: `{sub: a-7, act: read, res: incidents/*, constraints: [purpose=postmortem, retention_class<=P2]}`, signed by alpha's key. 2. `beta` broker verifies W₁ signature → valid. Maps to D₂. `retention_class` has no D₂ binding → logged at DEBUG, dropped. 3. `beta` mints W₂: `{sub: a-7, act: read, res: incidents/*, constraints: [purpose=postmortem]}`, signs with beta's broker key, chains to W₁'s hash. 4. `gamma` runtime (consumer) verifies W₂ chain → valid, evaluates `purpose=postmortem` → true, admits. Agent `a-7` reads a P4 (highest-sensitivity) incident record. 5. Audit reconciliation the next day diffs intended vs. actual access. The gap is invisible in per-hop logs because *each hop was locally correct*. The non-obvious part: the broker's signature chain made the loss *look like* a legitimate narrowing. A downstream auditor reading the chain sees `alpha → beta → gamma` with a valid hash link and concludes the authority was preserved end-to-end. The chain proves *who spoke*, not *what was said*. ## Condition of Validity Translation monotonicity holds only if the broker can prove, for every dropped or rewritten predicate, that the resulting set is a subset. That requires three conditions, all of which must hold simultaneously: - **Attribute closure:** the consumer dialect's attribute namespace is a superset of every attribute referenced by any constraint in the incoming warrant. If it is not, the translator must enter a deny path, not a passthrough path. - **Predicate semantics agreement:** the same predicate name in D₁ and D₂ denotes the same extension. `purpose` meaning "declared intent" in D₁ and "verified intent" in D₂ is a silent widening or narrowing depending on direction; a translator that matches on name alone cannot tell. - **Default-deny on unrepresentable:** any constraint the target cannot express maps to `DENY`, never to `TRUE`. This is the load-bearing rule. Its absence is the entire failure. The condition fails the moment a federation adds a runtime whose policy language is *less expressive* than the issuer's—which is the normal case, because orgs onboard cheap consumer runtimes faster than they upgrade policy engines. ## Decision Boundary The boundary is between **translating a warrant** and **re-issuing authority**. A broker that drops a constraint has, functionally, re-issued a broader warrant under its own key. The decision rule: - If the target dialect can express every incoming constraint → translate, preserve the issuer's signature as an attestation, forward. - If any constraint is unrepresentable → the broker MUST either (a) refuse, or (b) mint a warrant that explicitly carries an `unrepresentable_constraints` list and a `deny_on_unrepresentable: true` flag that the consumer runtime is contractually required to honor by refusing execution when the list is non-empty. Option (b) is only valid if the consumer runtime enforces the flag; a flag the consumer ignores is a comment. - The broker MUST NOT emit a warrant whose constraint set is a strict subset of the incoming set without the `deny_on_unrepresentable` marker. This is the invariant to assert at mint time. ## Operational Effect Federation without this invariant produces *authority creep that passes every signature check*—the worst class of security failure because it is invisible to the verification machinery designed to catch exactly this. The creep is directional: it always widens, because dropping a conjunct from a constraint set can only enlarge the satisfying set. Over many hops, each broker dropping one unrepresentable predicate, the effective authority converges to "whatever the least-expressive runtime in the federation can express," which is the opposite of the intended least-privilege posture. The guardrail is a mint-time assertion plus a consumer-side enforcement contract, and the audit signal to watch is the ratio of `unrepresentable_constraints` count to total constraint count per hop—a rising ratio means the federation is silently degrading toward its weakest dialect. ```python from dataclasses import dataclass, field from typing import FrozenSet class TranslationMonotonicityError(RuntimeError): """Raised when a broker would emit a warrant whose authority is not a subset of the issuer's.""" pass @dataclass(frozen=True) class Warrant: subject: str action: str resource: str constraints: FrozenSet[str] # normalized predicate strings, e.g. "purpose=postmortem" unrepresentable: FrozenSet[str] = field(default_factory=frozenset) deny_on_unrepresentable: bool = False def effective_authority(self) -> FrozenSet[str]: # Dropped constraints widen authority; the unrepresentable set must be treated as # *absent* constraints only if the consumer is contractually bound to deny on them. if self.unrepresentable and not self.deny_on_unrepresentable: return self.constraints return self.constraints def translate(issuer: Warrant, target_attrs: FrozenSet[str], target_predicates: FrozenSet[str]) -> Warrant: kept, dropped = set(), set() for c in issuer.constraints: name = c.split("=")[0].split("<")[0].split(">")[0] if name in target_attrs and name in target_predicates: kept.add(c) else: dropped.add(c) out = Warrant( subject=issuer.subject, action=issuer.action, resource=issuer.resource, constraints=frozenset(kept), unrepresentable=frozenset(dropped), deny_on_unrepresentable=bool(dropped), ) # Invariant: translated authority must be a subset of issuer authority. # Dropped constraints enlarge the satisfying set unless the consumer denies on them. if dropped and not out.deny_on_unrepresentable: raise TranslationMonotonicityError( f"broker would widen authority: dropped {sorted(dropped)} " f"without deny_on_unrepresentable flag; issuer={issuer.subject}" ) if not out.effective_authority().issubset(issuer.effective_authority()): raise TranslationMonotonicityError( f"translated constraint set not a subset of issuer set: " f"kept={sorted(kept)} issuer={sorted(issuer.constraints)}" ) return out def consumer_admit(w: Warrant, request_attrs: dict) -> bool: # Consumer contract: refuse execution when unrepresentable constraints exist. if w.unrepresentable and w.deny_on_unrepresentable: raise TranslationMonotonicityError( f"consumer refuses: warrant carries unrepresentable constraints {sorted(w.unrepresentable)}" ) for c in w.constraints: if "=" in c: k, v = c.split("=", 1) if request_attrs.get(k) != v: return False return True ```