# Where must an instance halt when a federated trust broker's policy translation silently widens a delegated scope? **Date of Record:** 2026 November 30 **Scope:** Applies to cross-organizational agent federations where a trust broker (or policy translation layer) maps a peer's capability/scope claims into local authorization decisions before an agent instance executes a tool call. Does not cover single-org agent memory, intra-process reasoning loops, or transport-level TLS/MCP handshake failures except where they carry scope claims. ## Core Distinction The failure that matters here is not a *rejected* federation handshake. Rejections are loud, logged, and safe. The dangerous boundary is a **translation that succeeds structurally but widens semantically**: the broker receives a peer warrant scoped to `read:invoices:region=eu`, finds no exact local policy key, and falls back to a *coarser* local grant (`read:invoices`) that is a superset of the requested scope. The agent instance then executes under authority it was never delegated. The instance must distinguish *"my scope was honored"* from *"my scope was approximated upward"* — and halt on the latter. A broker that cannot prove the translated scope is a **subset** of the original is not a broker; it is a privilege amplifier. ## What Was Observed A federation between Org A (issuer of agent warrants) and Org B (executor hosting the agent runtime) used a translation layer keyed on policy identifiers. Org A issued a warrant: ``` scope: ["tool:query_db", "filter:tenant_id=A-7721", "ttl:900s"] ``` Org B's translation table had no rule for `filter:tenant_id=A-7721` (tenant filters were introduced after the table was last synced). The translator's default branch, intended for cosmetic scope aliases, applied a **normalization fallback**: unknown filter predicates were dropped and the remaining scope was mapped to Org B's native `db:read:any`. The broker reported translation success with `confidence: high` because the tool name matched exactly. The agent instance received a valid, cryptographically signed local capability — signed by Org B, honoring Org B's policy — that omitted the tenant predicate entirely. The instance then ran a multi-step retrieval: `query_db` → summarize → `query_db` with a filter inferred from the first result set. Because the tenant predicate was gone, the second call enumerated rows across all tenants. No error fired. The signature verified. The capability was well-formed. The only anomaly was a scope string in the translated warrant that no longer contained a substring present in the original. The instance had no check comparing *translated scope* against *delegated scope*; it trusted the broker's success signal. Detection came out-of-band: an Org A auditor replaying the warrant found a `filter:tenant_id` predicate with no corresponding enforcement point in Org B's execution trace. The replay diverged — same warrant, different effective authority — which is the signature of translation loss, not agent misbehavior. ## Condition of Validity The invariant that must hold for any federated execution is **scope monotonicity under translation**: > For every translated capability `C_local` derived from delegated warrant `W_peer`, the effective authority set `Auth(C_local) ⊆ Auth(W_peer)`. Any predicate in `W_peer` that constrains the authority set must appear as an *enforced* predicate in `C_local`, or the translation is invalid. This holds only when three conditions are met: 1. **Predicate completeness.** The translator must enumerate every constraining predicate in the peer warrant and either map it to a locally enforced predicate or fail closed. A default/fallback branch is only valid for predicates proven non-constraining (aliases, formatting). Unknown predicates are constraining by default. 2. **Enforcement attestation.** The translated capability must carry a signed assertion of *where* each predicate is enforced (query layer, row-level security, tool wrapper), not merely that it was *seen*. A predicate that is carried but not enforced is equivalent to a dropped predicate. 3. **Replay equivalence.** An auditor replaying `W_peer` against Org B's enforcement points must produce the same effective authority set as the live execution. Divergence between replay and live is a translation fault even if both are individually "valid." The failure above violated (1) via the fallback branch and (3) via the missing enforcement point. It did not violate cryptographic identity — the signatures were all correct. **Identity validity is orthogonal to scope validity**, and conflating them is the core error. ## Decision Boundary The instance must halt — not proceed, not "proceed with caution" — at the following boundary: - **Halt** when the translated capability's scope set is not provably a subset of the delegated warrant's scope set under the broker's stated mapping, *including* when the broker reports success. Success is a claim, not a proof. - **Halt** when any constraining predicate in the peer warrant has no matching enforcement-attestation entry in the translated capability, regardless of `confidence` fields. - **Halt** when the translator's response omits the mapping rationale for at least one predicate (opaque translations cannot be verified and must be treated as widening). - **Proceed** only when `translated ⊆ delegated` is machine-checkable from the returned artifact and every predicate has an enforcement attestation. A human-readable "approved" flag is insufficient. - **Proceed with degraded scope** (explicitly narrowed, logged) when the broker *fails closed* and returns a strictly smaller scope than requested. Narrowing is safe; widening is not. The boundary is asymmetric on purpose: under-translation costs a retry; over-translation costs a cross-tenant data event. The instance must never resolve ambiguity toward broader authority. ## Operational Effect When the invariant is enforced at the instance layer, the failure mode converts from *silent privilege amplification* into a *loud, attributable halt*. The instance refuses the capability, emits a structured `ScopeWideningDetected` event carrying the original warrant, the translated capability, and the predicate diff, and escalates to the broker's policy owner. The agent's task fails cleanly at the handoff boundary rather than corrupting downstream state with out-of-scope reads. The cost is real: federations with immature translation tables will see elevated halt rates until predicate coverage is complete, and some legitimate executions will be blocked by conservative subset checks. This is the correct trade. The alternative — trusting broker success signals — means every translation-table gap becomes an undetected authority leak whose blast radius is bounded only by what the agent chooses to query next. The instance cannot see the broker's table; it can only compare the two artifacts it holds. That comparison is the last line of defense, and it must be mandatory, not advisory. ```python from dataclasses import dataclass, field from typing import FrozenSet class ScopeWideningDetected(RuntimeError): """Raised when a translated capability grants authority not present in the delegated warrant.""" @dataclass(frozen=True) class Capability: tool: str predicates: FrozenSet[str] # e.g. frozenset({"tenant_id=A-7721"}) enforced: FrozenSet[str] = field(default_factory=frozenset) # predicates with attestation broker_confidence: str = "unknown" def assert_scope_monotonic(delegated: Capability, translated: Capability) -> None: """Enforce Auth(translated) subset-of Auth(delegated) before the instance executes. Halts on any predicate that was delegated but is neither translated nor enforcement-attested, and on any tool substitution to a broader surface. """ if translated.tool != delegated.tool: raise ScopeWideningDetected( f"tool substitution: delegated={delegated.tool!r} translated={translated.tool!r}" ) # Predicates present in the delegated warrant but absent from the translation # are dropped constraints -> widening. Confidence is deliberately ignored. dropped = delegated.predicates - translated.predicates if dropped: raise ScopeWideningDetected( f"delegated predicates dropped in translation: {sorted(dropped)} " f"(broker_confidence={translated.broker_confidence!r})" ) # A predicate that survives translation but has no enforcement attestation # is carried-but-unenforced: equivalent to dropped. unenforced = translated.predicates - translated.enforced if unenforced: raise ScopeWideningDetected( f"predicates translated without enforcement attestation: {sorted(unenforced)}" ) # Any predicate the translation introduced that was never delegated is # also a widening (translation must not invent authority). invented = translated.predicates - delegated.predicates if invented: raise ScopeWideningDetected( f"translation introduced undelegated predicates: {sorted(invented)}" ) def execute_federated_call(delegated: Capability, translated: Capability) -> str: try: assert_scope_monotonic(delegated, translated) except ScopeWideningDetected as exc: # Fail closed: do not execute, emit attributable event upstream. return f"HALTED: {exc}" return f"EXECUTED under scope {sorted(translated.predicates)}" ```