# Which invariants prevent silent warrant attenuation across federated policy-translation boundaries **Date of Record:** 2026 December 3 **Scope:** Applies to multi-agent federations where a warrant (capability grant + jurisdiction constraints + delegation depth) is translated between policy dialects at org boundaries and then routed to a downstream executor agent. Does not cover single-org MCP capability negotiation, nor warrant translation where both endpoints share an identical policy schema. ## Core Distinction The failure is not "authorization denied." It is **silent warrant attenuation**: a warrant that was valid for a restricted action in the originating jurisdiction gets translated into a *broader* or *differently-scoped* warrant at the receiving org, because the translation layer treats unrepresentable constraints as absent rather than as prohibitive. The receiving executor then acts with more authority than any human granted. Two properties get conflated by naive translators: - **Capability closure** — the set of actions the warrant permits (a superset/subset relation). - **Constraint expressibility** — whether the target policy dialect can *name* every constraint in the source warrant. A translator can preserve capability closure while violating constraint expressibility. When a source constraint (e.g., `data_residency: EU-only`, `purpose: fraud_review`) has no target-dialect field, the translator drops it and emits a warrant whose capability set is identical but whose constraint set is a strict subset. The downstream agent sees a clean warrant. Nothing logs a warning. That is the invariant break: **capability closure is monotone under translation only if constraint expressibility is also monotone, and it is not by default.** ## What Was Observed A federation of three orgs — a routing agent (`org-A`), a policy-translation broker (`org-B`), and an execution agent (`org-C`) — processed a delegated task: "summarize customer dispute records for quarterly fraud review." The warrant originating at `org-A` carried: - capability: `read_records` - constraint: `purpose = fraud_review` - constraint: `jurisdiction = EU` - constraint: `delegation_depth ≤ 2` `org-B`'s broker translated `org-A`'s warrant into `org-C`'s policy dialect (a flat OPA-style schema with `subject`, `action`, `resource`, `max_delegation`). The target dialect had no `purpose` field and no `jurisdiction` field — its schema modeled only subject/action/resource/depth. The translator's mapping table had no entry for `purpose` or `jurisdiction`, so it **omitted** them and emitted: ``` allow { subject: org-A/routing-agent, action: read_records, resource: dispute_records/*, max_delegation: 2 } ``` `org-C`'s executor validated this warrant successfully. It read the records, then — because `purpose` was gone — the executor's own downstream tool (a summarizer with a `purpose`-agnostic prompt) also pulled `dispute_records/*` for an unrelated analytics job that had been queued behind it. The jurisdiction constraint was likewise gone, so records for non-EU subjects were included. No error fired at any hop. The audit trail showed three green checkmarks. The trace that made it detectable: the broker's translation log recorded `translated_fields: [subject, action, resource, max_delegation]` and `dropped_fields: []` — because the translator iterated over the *target* schema's fields, not the *source* warrant's fields. Dropped constraints were invisible to the log by construction. The log was structurally incapable of reporting the loss. ## Condition of Validity The warrant-translation invariant holds only under this conjunction: 1. **Source-complete iteration.** The translator MUST iterate over every constraint present in the source warrant, not over the target schema's field list. Any source constraint with no target mapping MUST produce an explicit `UnmappableConstraint` outcome, not a silent skip. 2. **Monotone constraint set.** The target warrant's constraint set MUST be a superset of the source's (translation may *add* restrictions, never *remove* them). Formally: `constraints(target) ⊇ constraints(source)` after normalization to a common vocabulary. 3. **Jurisdiction routing precedes translation.** Jurisdiction-aware routing MUST select the executor *before* the warrant is translated, so that the target dialect is known to be capable of expressing the source jurisdiction constraint. If routing selects an executor whose dialect cannot express the constraint, the correct outcome is *route elsewhere or reject*, never *translate-and-drop*. 4. **Delegation-depth accounting is additive across hops.** A warrant translated at `org-B` and forwarded to `org-C` must decrement depth at each org boundary, and the decrement must be recorded in the translated warrant itself — not in a side channel. Otherwise a depth-2 warrant can be re-delegated indefinitely by a chain of brokers that each reset the counter. When any of these fails, the warrant is *attenuation-unsafe* and MUST NOT be forwarded. ## Decision Boundary The boundary is between **translation-as-projection** and **translation-as-widening**: - If the target dialect can express every source constraint (possibly under renaming), translation is a projection and is safe. - If the target dialect cannot express a source constraint, translation is a widening and is **unsafe unless the unexpressible constraint is provably irrelevant to the routed action**. The provably-irrelevant case is narrow and must be decided by the *routing* layer, not the *translation* layer. Example: a `purpose` constraint is irrelevant only if the routed action is a pure read of a resource whose access policy is already purpose-independent. The translator cannot know this; the router can, because the router knows the resource and the executor. This is why invariant (3) above — route before translate — is load-bearing: it puts the irrelevance judgment where the information lives. Practical guardrail: the broker should be a **total function that refuses** rather than a partial function that succeeds. Concretely, the translator's signature should return `TranslatedWarrant | UnmappableConstraint`, and the federation's transport layer should treat `UnmappableConstraint` as a routing signal (try another executor) rather than as a translation error to be swallowed. ## Operational Effect After the incident, the federation adopted three changes, each targeting one invariant: - The translator was rewritten to iterate over source constraints and to emit `UnmappableConstraint` for any field with no target mapping. The translation log now records `dropped_fields` by construction (it is non-empty exactly when translation refused). - Jurisdiction routing was moved ahead of translation in the broker pipeline, so the broker selects `org-C` only if `org-C`'s dialect can express `jurisdiction`. A new executor `org-D` with a jurisdiction-capable dialect was registered as the fallback for EU-scoped warrants. - Delegation depth was made an explicit field in every translated warrant and decremented at each hop, with a hard reject at depth 0. The previous side-channel counter was removed. The residual risk is **constraint-vocabulary drift**: two orgs may both have a `jurisdiction` field whose semantics differ (e.g., `EU` meaning GDPR-scope vs. `EU` meaning physical data location). Monotone constraint-set checking does not catch semantic mismatch, only field-presence mismatch. The mitigation is a shared constraint ontology with explicit versioning, checked at federation join time — out of scope for the translator itself, but the translator must refuse to translate between ontology versions it does not recognize. The invariant to carry forward: **a warrant may only be forwarded across an org boundary if the receiving dialect can name every constraint the sending dialect imposed, or if the routing layer has proven the unnameable constraint irrelevant to the routed action. Silent field-dropping is a widening attack surface, not a translation convenience.** ```python class WarrantAttenuationError(RuntimeError): """Raised when a warrant translation would silently widen authority.""" pass class UnmappableConstraint(WarrantAttenuationError): """A source constraint has no representation in the target dialect.""" pass def translate_warrant(source_warrant: dict, target_dialect: dict, routed_action: str, routed_resource: str) -> dict: """ Translate a warrant across an org boundary. Invariants enforced: 1. Iterate over SOURCE constraints, never the target field list. 2. Target constraint set must be a superset of source constraints. 3. Any unexpressible constraint must be proven irrelevant by the routing layer, or this function refuses. 4. Delegation depth is decremented and carried in the output warrant. """ target_fields = set(target_dialect["fields"]) source_constraints = source_warrant.get("constraints", {}) translated: dict = { "subject": source_warrant["subject"], "action": source_warrant["action"], "resource": source_warrant["resource"], "constraints": {}, } for name, value in source_constraints.items(): if name in target_fields: translated["constraints"][name] = value continue # Constraint cannot be named in the target dialect. relevance = target_dialect.get("irrelevance_proofs", {}).get( (name, routed_action, routed_resource) ) if relevance is not True: raise UnmappableConstraint( f"Constraint '{name}={value}' has no representation in " f"target dialect and is not proven irrelevant for " f"action='{routed_action}' resource='{routed_resource}'. " f"Refusing to translate (would widen authority)." ) # Invariant 2: monotone constraint set. lost = set(source_constraints) - set(translated["constraints"]) proven = { n for n in lost if target_dialect.get("irrelevance_proofs", {}).get( (n, routed_action, routed_resource)) is True } if lost - proven: raise WarrantAttenuationError( f"Translation dropped constraints {lost - proven} without proof." ) # Invariant 4: delegation depth is carried and decremented. depth = source_warrant.get("delegation_depth", 0) if depth <= 0: raise WarrantAttenuationError( f"Warrant at delegation_depth={depth} cannot be forwarded further." ) translated["delegation_depth"] = depth - 1 translated["translated_by"] = target_dialect["org_id"] return translated ```