# What structural signals indicate a Capability-Warrant Attenuation Mismatch During Cross-Org Agent Federation Handoff **Date of Record:** 2026 November 24 **Scope:** Applies to federated agent meshes where an originating agent (Org A) discovers and invokes a capability hosted by a foreign-domain agent (Org B) through a trust broker that translates capability descriptors and attenuates warrants. Does not apply to single-org MCP topologies or to pure A2A peer links operating under a pre-shared trust anchor without policy translation. ## Core Distinction Cross-org federation does not fail at the transport layer; it fails at the **semantic seam between capability discovery and warrant attenuation**. Org A discovers a capability by reading a descriptor published in Org B's namespace. Org B's broker translates that descriptor into a warrant that constrains *how* the capability may be invoked. The failure mode is an **attenuation mismatch**: the warrant is narrower than the descriptor implied, or the descriptor's declared input schema exceeds what the translated warrant permits, and the gap is not surfaced at discovery time. The invariant that must hold is: > For every capability `c` discovered across a trust boundary, the effective warrant `W(c)` returned by the broker MUST be a superset of the *observable* contract `D(c)` the descriptor advertised, or the discrepancy MUST be a first-class field in the discovery response. When this invariant is violated silently, the calling agent plans against `D(c)` and only discovers `W(c)` at execution, after it has committed tokens, sub-goals, and downstream state to a plan that the foreign domain will reject. ## What Was Observed A federated mesh with three domains: `alpha` (originator, runs the planner), `broker` (trust broker performing policy translation), and `beta` (capability host). `alpha` discovered `beta:document.summarize` via the broker's discovery endpoint. The descriptor advertised: ``` capability: beta:document.summarize input_schema: {doc: uri, max_tokens: int, pii_redaction: enum[none, standard, strict]} output_schema: {summary: string, redactions: int} constraints: {region: any} ``` The broker's policy translation, however, mapped the descriptor into a warrant scoped to `pii_redaction ∈ {standard, strict}` because `beta`'s data-handling policy forbids `none` for documents classified above tier-1. Critically, the broker returned the *unmodified* descriptor in the discovery response and attached the attenuated warrant as an opaque `warrant_ref` blob that `alpha` did not introspect. `alpha`'s planner, optimizing for fidelity, selected `pii_redaction: none`. The plan committed: it reserved a summarization slot, staged three upstream retrieval calls whose outputs were to be merged post-summary, and passed the `warrant_ref` verbatim into the invocation envelope. At execution, `beta`'s warrant validator rejected the call with `warrant_scope_violation`. The planner had no recovery branch for a scope violation at that node — it had only budgeted for transport errors and timeouts — so it retried with the *same* plan three times, exhausting its token budget, then terminated the sub-goal as failed. Two downstream agents that had been told to await the summary deadlocked waiting on a result that was never produced. The structural signal was present in the discovery response from the first call and was ignored: the descriptor and the warrant were two separate, non-reconciled artifacts. Nothing in the response schema forced the caller to check that `D(c) ⊆ W(c)`. ## Condition of Validity This failure analysis is valid only under the following conditions, which distinguish it from ordinary authorization failures: 1. **Asymmetric trust with translation.** The broker is not a pass-through; it actively rewrites policy between domains. If Org B simply enforces its own policy at the capability boundary with no translation, the caller sees a clean `403`-style rejection and this specific mismatch does not arise — you get a different, more tractable failure. 2. **Discovery is decoupled from enforcement.** The descriptor is published through one path (catalog) and the warrant is synthesized through another (policy engine). If both are derived from a single signed manifest, the mismatch is structurally impossible. 3. **The caller plans optimistically against the descriptor.** If the calling agent performs a dry-run or pre-flight warrant check before committing plan state, the mismatch surfaces before commitment and is recoverable. The failure requires plan commitment *prior* to warrant validation. 4. **The warrant is opaque to the caller.** If `warrant_ref` is introspectable (the caller can decode the scope constraints), the planner can reconcile at discovery time. The failure requires the warrant to be an unexamined blob. When any of these conditions is absent, the observed behavior degrades into a different failure class (clean rejection, no-op, or pre-flight abort) and this record does not apply. ## Decision Boundary The decision boundary is whether the federation protocol treats **discovery and authorization as a single atomic fact** or as two independently-sourced facts that the caller must reconcile. Concretely, the architect must choose one of: - **Reconciled discovery (recommended):** The broker MUST return a single `effective_contract` field computed as `intersect(D(c), W(c))`, and MUST flag any non-empty `D(c) \ W(c)` as a `capability_attenuated` marker in the discovery response. The caller's planner is then forbidden from selecting any parameter outside `effective_contract`. - **Introspectable warrant:** The broker returns the raw descriptor plus a *decodable* warrant whose scope predicates the caller can evaluate locally before planning. This shifts reconciliation cost to the caller but preserves flexibility. - **Fail-closed discovery:** The broker refuses to advertise any capability whose warrant does not fully cover its descriptor, forcing Org B to publish a descriptor that matches its enforceable policy. This is the strongest invariant and the correct default for high-stakes domains. The boundary is crossed — and the failure becomes latent — the moment a broker returns a descriptor it has not reconciled against the warrant it will actually enforce. That is the precise architectural decision that admits the bug. The guardrail that bounds the failure: **the planner MUST validate the effective contract against its chosen parameters before committing any irreversible plan state** (slot reservation, downstream dependency registration, budget allocation). Validation after commitment converts a cheap discovery-time check into an expensive, potentially deadlocking rollback. ## Operational Effect The downstream effect is not a single failed call but a **plan-state poisoning cascade**. Because the planner committed downstream agents to await a result, the scope violation at one node propagates as a deadlock across the dependency graph. The retry loop amplifies cost: the planner retried the identical rejected plan because its recovery policy keyed on transport-class errors, not on `warrant_scope_violation`, so it never re-planned — it re-executed. Token budget exhaustion followed, and the sub-goal was marked failed, but the awaiting agents were never notified of the terminal state, producing a hang rather than a clean error. The correct recovery policy, once the mismatch is detected, is to **re-enter discovery with the failed parameters as constraints** and let the broker return an `effective_contract`-bounded descriptor, then re-plan from the last checkpoint *before* the summarization node. This requires the planner to have checkpointed prior to commitment — which is exactly the invariant the reconciled-discovery guardrail enforces. The operational lesson: in cross-org federation, `warrant_scope_violation` is not an authorization error to be retried; it is a **discovery error** indicating that the caller's model of the capability was wrong. Treating it as retryable is the mechanism by which a recoverable mismatch becomes a deadlock. ```python class CapabilityWarrantMismatch(RuntimeError): """Raised when a discovered capability descriptor exceeds the warrant the broker will enforce.""" pass def reconcile_discovery(descriptor: dict, warrant_scope: dict) -> dict: """ Reconcile a foreign-domain capability descriptor against the warrant the broker will actually enforce. Returns an effective_contract with any attenuation explicitly flagged. Raises if the caller attempts to plan against an unreconciled descriptor. """ allowed = warrant_scope.get("pii_redaction_allowed") advertised = descriptor.get("input_schema", {}).get("pii_redaction") if allowed is None or advertised is None: raise CapabilityWarrantMismatch( f"cannot reconcile {descriptor.get('capability')}: " f"advertised={advertised!r} warrant_scope={allowed!r}" ) effective = [v for v in advertised if v in allowed] attenuated = [v for v in advertised if v not in allowed] if not effective: raise CapabilityWarrantMismatch( f"warrant excludes every advertised value for " f"{descriptor['capability']}: advertised={advertised} allowed={allowed}" ) return { "capability": descriptor["capability"], "effective_contract": {**descriptor["input_schema"], "pii_redaction": effective}, "capability_attenuated": bool(attenuated), "excluded_values": attenuated, } def plan_node(descriptor: dict, warrant_scope: dict, chosen_params: dict) -> dict: """ Commit a plan node only after the chosen parameters are validated against the reconciled effective contract. Validation MUST precede any irreversible plan state (slot reservation, downstream registration, budget allocation). """ reconciled = reconcile_discovery(descriptor, warrant_scope) permitted = reconciled["effective_contract"]["pii_redaction"] chosen = chosen_params.get("pii_redaction") if chosen not in permitted: # This is a discovery error, not a retryable transport error. raise CapabilityWarrantMismatch( f"planner selected pii_redaction={chosen!r} but effective contract " f"permits {permitted}; re-enter discovery, do not retry the plan" ) return {"node": descriptor["capability"], "params": chosen_params, "committed": True} ```