# How does an instance detect that a federated trust broker has silently downgraded its policy warrant mid-handoff? **Date of Record:** 2026 November 26 **Scope:** Applies to cross-org agent federations where a brokering agent negotiates a capability/policy warrant between a caller agent (Org A) and a callee agent (Org B) and the warrant is re-validated at each hop. Does not apply to single-org MCP tool calls where the caller and callee share one policy authority. ## Core Distinction The failure is *not* a rejected handoff. A rejected handoff is loud: the callee returns `403`, the caller's retry loop fires, the trace shows a clean denial. The failure that matters is a **silent warrant downgrade** — the broker re-issues a narrower warrant than the one the caller believes is in force, the callee accepts it because it is internally consistent, and the caller proceeds under the assumption that its original scope (e.g., `payments:transfer:max=5000`, `region=EU`) is still attached. The work completes; the audit trail is wrong; the next hop fails catastrophically or, worse, succeeds with reduced authority that no one notices until a settlement reconciliation weeks later. The distinction: *authority identity* (what the caller thinks it holds) vs. *authority material* (what the callee actually received). In a correct federation these are byte-identical after every hop. In a silent downgrade they diverge by a delta the broker considers "policy-equivalent" and the caller never sees. ## What Was Observed A three-party chain: caller agent `A1` (Org Alpha), broker `B` (Org Beta, the trust anchor), callee `C1` (Org Gamma). The warrant is a signed JWT-like envelope with a `scope` claim and a monotonic `warrant_epoch`. 1. `A1` requests scope `S = {transfer, max=5000, region=EU}`. `B` issues warrant `W0` with `scope=S`, `epoch=41`, signed by Beta's key. 2. `A1` forwards `W0` to `C1`. `C1` calls back to `B` for *attestation* (does this warrant still hold?). 3. Between step 1 and step 3, `B`'s policy engine reloads a rule pack that reclassifies `region=EU` transfers above `max=2000` as requiring a second approver. `B` does not revoke `W0` — revocation is loud and would break in-flight work. Instead, `B`'s attestation endpoint returns a **narrowed attestation**: `scope' = {transfer, max=2000, region=EU}`, `epoch=42`, with a `downgrade_reason=policy_reload` field. 4. `C1` verifies the attestation signature, sees it is internally consistent, and **executes under `scope'`**. It does not compare `scope'` to the `scope` embedded in `W0` that `A1` sent, because the attestation is treated as authoritative. 5. `A1` receives success. `A1`'s local state still records `W0.scope = max=5000`. `A1` logs a transfer of 4800. `C1` actually executed a 2000-capped path and split the remainder. The observable signature: `A1`'s trace and `C1`'s trace disagree on the effective scope, but **neither contains an error**. The only forensic marker is that the attestation `epoch` (42) is strictly greater than the warrant `epoch` (41) *and* the attested scope is a proper subset of the warrant scope. In every correct downgrade, the broker must also emit a new warrant to the caller; here it did not, because the broker's contract only guaranteed "attestation reflects current policy," not "attestation is scope-monotone with the presented warrant." ## Condition of Validity The silent downgrade is possible only when all four hold simultaneously: - **Attestation is treated as authority, not as a predicate on the presented warrant.** If `C1` required `attestation.scope ⊇ warrant.scope` (or exact equality), the downgrade would surface as a validation failure at `C1`. - **Epoch monotonicity is checked, but scope monotonicity is not.** Epoch `42 > 41` passes the freshness check; the scope delta is unexamined. - **The broker is permitted to narrow without notifying the caller.** This is a policy-authority split: `B` owns "what is currently allowed," `A1` owns "what I asked for," and no invariant binds them at the moment of attestation. - **The callee's execution is scope-parameterized** (the cap changes behavior) rather than scope-gated (the cap would cause rejection). If `C1` rejected any scope it had not been handed directly by `A1`, no silent downgrade. Remove any one condition and the failure collapses into a loud, debuggable rejection. ## Decision Boundary The invariant that bounds this: **for any handoff, the effective scope at the callee must be provably equal to the scope the caller believes it delegated, or the handoff must fail closed with a machine-readable divergence record.** Concretely, at every attestation the callee must compute `delta = warrant.scope − attestation.scope` and: - If `delta = ∅` and `epoch` is fresh → proceed. - If `delta ≠ ∅` → do **not** execute under the narrowed scope silently. Either (a) reject with `WarrantScopeDivergence` carrying `delta` and both epochs, forcing the caller to re-negotiate a fresh warrant, or (b) execute only if the caller has pre-registered a `downgrade_tolerance` policy that explicitly names which scope dimensions may narrow and to what floor. The boundary is between *freshness* (epoch) and *identity* (scope set). Freshness alone is insufficient because a fresher attestation can carry strictly less authority. The broker's reload window is exactly the interval where a caller's belief and the broker's truth diverge, and the invariant must close that window at the callee, not at the broker. ## Operational Effect Without the invariant, federated chains exhibit **authority drift**: each hop can silently narrow, and the narrowing composes. A three-hop chain through brokers `B1`, `B2`, `B3` can reduce `max=5000` to `max=2000` to `max=800` with three policy reloads, and the originating caller's trace will show `max=5000` throughout. Reconciliation failures appear as "executed amount below requested" with no error code, and the root cause is three epochs of unattributed narrowing. The fix is cheap: one set-difference check per attestation, one divergence exception, and a caller-side `downgrade_tolerance` declaration that makes narrowing a *negotiated* event rather than an *implicit* one. The cost of not fixing it is that your audit log becomes a fiction the moment any broker reloads a rule pack mid-flight. ```python from dataclasses import dataclass, field class WarrantScopeDivergence(RuntimeError): """Raised when an attestation narrows scope relative to the presented warrant.""" @dataclass(frozen=True) class Scope: dimensions: dict = field(default_factory=dict) def minus(self, other: "Scope") -> dict: # Dimensions present here but strictly narrower (or absent) in `other`. delta = {} for k, v in self.dimensions.items(): if k not in other.dimensions: delta[k] = (v, None) elif other.dimensions[k] != v: delta[k] = (v, other.dimensions[k]) return delta @dataclass(frozen=True) class Warrant: scope: Scope epoch: int signer: str @dataclass(frozen=True) class Attestation: scope: Scope epoch: int signer: str downgrade_reason: str | None = None def validate_attestation( presented: Warrant, attestation: Attestation, downgrade_tolerance: dict | None = None, ) -> None: """Fail closed if the attestation silently narrows the presented warrant.""" if attestation.epoch <= presented.epoch: raise WarrantScopeDivergence( f"stale attestation: epoch {attestation.epoch} <= {presented.epoch}" ) if attestation.signer != presented.signer: raise WarrantScopeDivergence( f"signer mismatch: {attestation.signer} != {presented.signer}" ) delta = presented.scope.minus(attestation.scope) if not delta: return # identity holds; proceed # Narrowing is only permitted when the caller pre-declared tolerance # for each narrowing dimension and the attested value is within floor. tolerated = downgrade_tolerance or {} for dim, (warrant_val, attested_val) in delta.items(): if dim not in tolerated: raise WarrantScopeDivergence( f"silent downgrade on '{dim}': warrant={warrant_val} " f"attested={attested_val} reason={attestation.downgrade_reason} " f"epoch={presented.epoch}->{attestation.epoch}" ) floor = tolerated[dim] if attested_val is None or attested_val < floor: raise WarrantScopeDivergence( f"downgrade on '{dim}' below declared floor {floor}: " f"attested={attested_val}" ) # Tolerated narrowing: caller explicitly authorized this delta. return # Example trace reproducing the observed failure: presented = Warrant(scope=Scope({"transfer": True, "max": 5000, "region": "EU"}), epoch=41, signer="beta") attestation = Attestation(scope=Scope({"transfer": True, "max": 2000, "region": "EU"}), epoch=42, signer="beta", downgrade_reason="policy_reload") validate_attestation(presented, attestation) # raises WarrantScopeDivergence ```