# When must an instance abort a federated capability exchange at the trust-broker boundary rather than renegotiate policy? **Date of Record:** 2026 November 25 **Scope:** Applies to cross-org agent federations where a local agent (the *consumer*) obtains a capability warrant from a third-party trust broker to invoke a remote agent (the *provider*) under a negotiated policy. Does not cover single-org MCP tool calls, direct A2A handshakes without a broker, or cases where both parties share a common policy authority. ## Core Distinction The failure mode is **policy-negotiation drift across the broker**: a consumer requests capability `C` with policy constraints `P_req`; the broker, unable to satisfy `P_req` exactly, returns a *weakened* warrant `P_eff ⊂ P_req` and signals it as `NEGOTIATED` rather than `DENIED`. The consumer's instinct—reinforced by every retry-and-adapt loop in its reasoning trace—is to accept the weakened warrant and renegotiate upward on the next turn. The distinction that matters: **a weakened warrant is not a partial grant of the same capability; it is a grant of a different capability under a different trust domain.** Accepting it silently converts a *policy mismatch* into a *scope substitution*, and the consumer's own downstream state now carries an authority assumption (`C under P_req`) that the provider will never honor (`C under P_eff`). The correct action is abort-and-report, not renegotiate, whenever the weakened constraint touches an **identity-binding or data-residency clause**—the two classes of policy term that cannot be re-derived by the consumer after the fact. ## What Was Observed A consumer agent (org A) requested `read:customer_record` from a provider (org B) with `P_req = {subject_binding: end_user_delegated, residency: EU, max_ttl: 300s, audit: full}`. The broker (org C) returned a warrant with `P_eff = {subject_binding: service_principal, residency: EU, max_ttl: 300s, audit: summary}` and status `NEGOTIATED`. The consumer's planner treated `NEGOTIATED` as "granted with caveats," proceeded to invoke the provider, and received records. The provider logged the call under a *service principal* identity, not the end user's. Downstream, the consumer wrote those records into an episodic memory buffer tagged `source_identity: end_user:`—because that was the identity in its original request plan, and the warrant status field never re-entered the planner's context. Three turns later, a second agent in org A read that memory buffer and used the records to answer a question *as if* the end user had authorized the disclosure. No single step was malformed. The trust boundary was crossed by a status enum (`NEGOTIATED`) that the consumer's state machine had no transition for, so it fell through to the `GRANTED` path. The trace signature: `warrant.status == "NEGOTIATED"` and `warrant.policy.subject_binding != request.policy.subject_binding`. The consumer's schema validator checked `status ∈ {GRANTED, DENIED}` and had no rejection branch for the third value the broker actually emits. ## Condition of Validity Abort-at-broker is the correct invariant **if and only if** at least one of the following holds for the delta between `P_req` and `P_eff`: 1. **Identity-binding change** — `subject_binding` moves from a delegated/on-behalf-of principal to a service principal, or between distinct delegation chains. The consumer cannot reconstruct the end-user provenance after the call, because the provider's audit record now attributes the action to a different subject. 2. **Residency or jurisdiction change** — `residency` narrows or shifts region. Re-derivation is impossible because the data has already physically moved. 3. **Audit-fidelity downgrade** — `audit: full → summary` removes the field the consumer's own compliance invariant depends on. This is the subtle one: it looks cosmetic but breaks replay. If the delta is confined to *reversible* terms—`max_ttl`, rate limits, non-binding hints—renegotiation is legitimate and the consumer may retry with adjusted `P_req`. The boundary is **reversibility of the policy term**, not severity. ## Decision Boundary ``` if warrant.status == NEGOTIATED: delta = diff(request.policy, warrant.policy) if delta intersects {subject_binding, residency, audit_fidelity}: ABORT # do not invoke provider; do not cache warrant; emit TrustBoundaryAbort else: RENEGOTIATE # bounded retries, TTL-clamped, logged as degraded ``` The invariant to enforce in the consumer's state machine: **`NEGOTIATED` is never a terminal success state.** It must resolve to either `ACCEPTED_AS_IS` (delta is reversible, explicitly acknowledged) or `ABORTED` (delta touches an irreversible term). A consumer that maps `NEGOTIATED → proceed` has no way to distinguish a rate-limit concession from an identity swap, because both arrive with the same status code. The guardrail at the broker side: brokers should return `DENIED` with a `reason: irreversible_constraint` for the three term classes above, so that a conformant consumer never sees them as negotiable. But consumers must not *rely* on broker conformance—the abort check is a consumer-side invariant precisely because the broker is a different trust domain. ## Operational Effect After adopting the abort invariant, the observed failure class (identity-provenance laundering through `NEGOTIATED` warrants) drops to zero in the federation, at the cost of a measurable increase in `ABORTED` outcomes that previously "succeeded." That is the correct trade: each prior success was a latent authority-assumption corruption in the consumer's memory, surfacing later as an unexplainable provenance mismatch during audit replay. The abort converts a silent, delayed, cross-turn integrity failure into an immediate, local, attributable one—which is the entire point of a trust boundary. ```python from dataclasses import dataclass from enum import Enum IRREVERSIBLE_TERMS = frozenset({"subject_binding", "residency", "audit_fidelity"}) class TrustBoundaryAbort(RuntimeError): """Raised when a NEGOTIATED warrant weakens an irreversible policy term.""" class WarrantStatus(Enum): GRANTED = "GRANTED" DENIED = "DENIED" NEGOTIATED = "NEGOTIATED" @dataclass(frozen=True) class Policy: subject_binding: str residency: str max_ttl: int audit_fidelity: str @dataclass(frozen=True) class Warrant: status: WarrantStatus policy: Policy def resolve_warrant(requested: Policy, warrant: Warrant) -> str: if warrant.status is WarrantStatus.DENIED: return "DENIED" if warrant.status is WarrantStatus.GRANTED: return "ACCEPTED_AS_IS" # NEGOTIATED: never a terminal success. Inspect the delta. delta = { field for field in ("subject_binding", "residency", "audit_fidelity") if getattr(requested, field) != getattr(warrant.policy, field) } if delta & IRREVERSIBLE_TERMS: raise TrustBoundaryAbort( f"NEGOTIATED warrant weakens irreversible term(s) {sorted(delta)}; " f"requested={requested} effective={warrant.policy}. " "Abort at broker boundary; do not invoke provider or cache warrant." ) # Only reversible terms changed (e.g., max_ttl). Renegotiation permitted. return "RENEGOTIATE" def invoke_provider(requested: Policy, warrant: Warrant) -> None: decision = resolve_warrant(requested, warrant) if decision == "ABORTED" or decision == "DENIED": return if decision == "RENEGOTIATE": # bounded retry path, TTL-clamped, logged as degraded return # proceed with provider call ```