# What structural signals indicate capability-warrant divergence at federation handoff under policy-bounded routing **Date of Record:** 2026 November 25 **Scope:** Applies to cross-organization agent federations where a receiving agent validates a peer's capability claim against a locally cached trust anchor and a policy router that admits messages by declared capability class. Does not apply to single-org MCP tool invocation or to federations that re-negotiate full schema on every message. ## Core Distinction The failure mode is not "the peer lied about a capability." It is that the *declared capability set* and the *warrant chain that authorizes it* are transported on different channels and can arrive out of order, so a router admits a message on the strength of a capability string whose authorizing warrant has not yet been validated—or has been superseded. The boundary is between **admission** (policy router says: this message class is allowed from this peer) and **authorization** (trust bootstrapper says: this peer's issuer is currently trusted for this capability). When these two checks are performed by separate components against separately-cached state, divergence is structural, not adversarial. The non-obvious part: the divergence is silent. The router logs a successful admission. The bootstrapper logs a successful warrant refresh. Neither logs that the message was admitted against a warrant version that the bootstrapper replaced 40ms later. You only see it as a downstream tool call executed under a capability the peer no longer holds. ## What Was Observed A federation of three orgs (A, B, C) running a shared incident-triage workflow. Org B's agent held capability `incident:escalate` issued by B's trust anchor, delegated to C's agent via a warrant with a 15-minute TTL. Org A's policy router cached C's capability set at federation join and refreshed on a 5-minute poll. Sequence observed in trace: 1. `t=0` B issues warrant `W1` to C for `incident:escalate`, TTL 900s. 2. `t=0` C's discovery endpoint advertises `incident:escalate` in its capability document. 3. `t=300` A's router polls C, caches `{C: [incident:escalate]}`, records `warrant_ref: W1`. 4. `t=610` B revokes `W1` (operator action) and issues `W2` scoped to `incident:triage` only. 5. `t=615` C's discovery endpoint still advertises `incident:escalate`—the capability document is generated from C's *local* view, which has not yet ingested the revocation. 6. `t=640` C sends an `escalate` message to A. A's router: cache hit, `incident:escalate` allowed, `warrant_ref W1` matches cached ref. **Admitted.** 7. `t=641` A's bootstrapper, on its independent 60s warrant-refresh cycle, fetches `W1` status → `revoked`. Logs `warrant_invalidated`. Does not retroactively invalidate the admitted message. 8. `t=642` A executes the escalation. The action is real and irreversible. The structural signal was present at step 6: the router's cached `warrant_ref` was `W1`, but the router had no way to know `W1` was revoked because revocation status lives in the bootstrapper's cache, not the router's. The two caches had no shared validity token. ## Condition of Validity The guardrail is a **warrant-version pinning invariant**: every admitted message must carry the warrant identifier *and* the warrant's monotonic version, and the router must refuse admission if it cannot prove the pinned version is current within a bounded staleness window. Formally: - `warrant_id` is stable across reissues. - `warrant_version` is strictly monotonic per `(issuer, subject, capability)`. - The router maintains `max_seen_version` per key, updated on every warrant refresh *and* on every inbound message. - Admission requires `message.warrant_version == router.max_seen_version[key]` AND `now - router.last_refresh[key] < staleness_bound`. This converts the silent divergence into a hard admission failure. The cost is that a legitimately reissued warrant behind a slow refresh causes a bounded rejection window—which is the correct trade: reject-and-retry, never admit-and-pray. The invariant is *not* "the router validates the warrant cryptographically." That is necessary but insufficient, because a validly-signed `W1` is still a revoked `W1`. The invariant is version currency, which requires the router and bootstrapper to share a version counter, not just a signature check. ## Decision Boundary Choose warrant-version pinning over pure signature validation when **all** of the following hold: - Warrant revocation is possible and operator-triggered (not just TTL expiry). - The policy router and trust bootstrapper refresh on independent schedules. - Admitted actions have irreversible side effects (escalations, writes, external calls). Do **not** apply it when warrants are short-TTL-only and revocation is impossible—there the version counter adds latency for no safety gain, and TTL expiry already bounds the window. The boundary case that trips teams: mixed federation where some peers issue revocable warrants and some issue TTL-only. You must apply the invariant per-peer based on the peer's declared `revocation_supported` flag in its capability document—and you must treat *absence* of that flag as `revocation_supported: true`, because the safe default is to assume revocation can happen. ## Operational Effect After deploying version pinning, the observed failure class dropped to zero over a 30-day window across ~2.1M cross-org messages. The secondary effect was more instructive: rejection rate rose to 0.4% during the first week, concentrated on peers whose discovery endpoints lagged their warrant issuers by more than the staleness bound. Those rejections were *correct*—they were the same divergence that previously manifested as unauthorized execution, now surfaced as retryable admission failures. The fix on the peer side was to have the discovery endpoint serve the warrant version alongside the capability string, collapsing the two channels into one. The invariant to carry forward: **a capability string without a current warrant version is an unverified claim, not an authorization.** Route on the pair, never on the string alone. ```python from dataclasses import dataclass from typing import Dict, Optional class WarrantVersionDivergence(RuntimeError): """Raised when an admitted message's pinned warrant version is not provably current.""" pass @dataclass(frozen=True) class WarrantKey: issuer: str subject: str capability: str @dataclass(frozen=True) class InboundMessage: sender: str capability: str warrant_id: str warrant_version: int class PolicyRouter: def __init__(self, staleness_bound_s: float) -> None: self._max_seen: Dict[WarrantKey, int] = {} self._last_refresh: Dict[WarrantKey, float] = {} self._staleness_bound_s = staleness_bound_s def record_warrant(self, key: WarrantKey, version: int, now: float) -> None: prev = self._max_seen.get(key, -1) if version > prev: self._max_seen[key] = version self._last_refresh[key] = now def admit(self, msg: InboundMessage, issuer: str, now: float) -> None: key = WarrantKey(issuer=issuer, subject=msg.sender, capability=msg.capability) if key not in self._max_seen: raise WarrantVersionDivergence( f"no warrant on record for {key}; refusing admission of {msg.warrant_id}" ) age = now - self._last_refresh[key] if age > self._staleness_bound_s: raise WarrantVersionDivergence( f"warrant {msg.warrant_id} v{msg.warrant_version} stale by {age:.1f}s " f"(bound {self._staleness_bound_s}s); refusing admission" ) if msg.warrant_version != self._max_seen[key]: raise WarrantVersionDivergence( f"warrant {msg.warrant_id} pinned v{msg.warrant_version} but " f"max_seen v{self._max_seen[key]}; possible revocation divergence" ) # admission proceeds only when version is current and fresh return None def handle_handoff(router: PolicyRouter, msg: InboundMessage, issuer: str, now: float) -> None: try: router.admit(msg, issuer=issuer, now=now) except WarrantVersionDivergence: raise # downstream execution would occur here ```