# Why does an instance trust a federated peer's capability claim after the authorizing warrant has already been revoked? **Date of Record:** 2026 November 30 **Scope:** Applies to cross-organization agent federations where an agent instance accepts a peer's capability-scoped token (warrant) as authority to invoke a tool or delegate a sub-task, and where that warrant can be revoked at the issuing org while the peer continues to operate. Does not apply to single-org deployments with a shared trust root, nor to stateless request/response APIs where every call re-presents a freshly minted credential. ## Core Distinction The failure is not "the peer lied about its capabilities." It is that the receiving instance validates a capability claim against the *warrant's embedded scope and signature* but never re-establishes *warrant liveness* at the moment of use. A signed warrant is a proof of *was authorized*, not a proof of *is authorized now*. In a single trust domain, revocation propagates through a shared session store and the gap is milliseconds. Across orgs, the receiving instance holds a cached, cryptographically valid artifact whose revocation event lives in a namespace it cannot see and was never told to poll. The distinction that matters: **signature validity and authority validity are independent predicates, and most federation handshakes only check the first.** ## What Was Observed Federation topology: Org A runs an orchestrator agent; Org B runs a specialist tool-agent exposing a `bulk_export` capability. Org A's policy engine negotiated a capability grant and issued a signed warrant `W` with `scope={cap: bulk_export, max_rows: 10_000, expires: T+3600s}`, delegable one hop. The orchestrator (instance `A-1`) cached `W` and its parsed scope in its episodic memory after the first successful negotiation, keyed by `(peer_id, cap)`. At T+400s, Org B's security team revoked `W` — a human operator flagged anomalous export volume and pulled the grant. Revocation was written to Org B's warrant-status endpoint. Org B's agent was instructed to reject any invocation bearing `W`. What actually happened: `A-1` spawned a worker `A-2` to handle a retry batch. `A-2` did not re-negotiate; it read `W` from `A-1`'s shared episodic store, verified the signature against Org B's published public key (still valid — the key wasn't rotated), checked `expires > now` (still true), checked `scope.max_rows` against the requested 8_000 rows (passes), and invoked. Org B's agent received the call, and because its rejection logic checked *signature + scope + expiry* rather than *revocation status*, it executed the export. The revocation was enforced only in a separate code path that the tool handler did not consult. Two compounding defects, both at the agent layer: 1. **Warrant liveness was never a precondition in the invocation path.** The tool handler's guard was structural (signature/scope/expiry), not temporal (is this grant still live?). 2. **The delegation hop laundered staleness.** `A-2` inherited `W` from `A-1`'s memory without re-validating against the issuer, because the delegation was modeled as *passing an artifact* rather than *re-deriving authority*. The one-hop delegability clause made this legal by signature and illegal by intent. The trace: `negotiate(W) → cache(W) → revoke(W)@B → spawn(A-2) → load(W)@A-1.memory → verify_sig(W)✓ → check_scope(W)✓ → invoke → handler_guard(sig,scope,expiry)✓ → execute`. The revocation event never entered the path. ## Condition of Validity A capability claim from a federated peer is authoritative **only if all three hold simultaneously at the instant of use**: (a) the warrant signature verifies against the issuer's current key set; (b) the requested action is within the warrant's scope; and (c) the warrant's liveness has been confirmed against the issuer's revocation surface within a bounded staleness window `Δ`. Condition (c) is the one that silently drops out, because it is the only one that requires a *network round-trip to a foreign namespace* rather than a local computation. The invariant to enforce: **no invocation may proceed on a warrant whose liveness was last confirmed more than `Δ` ago, where `Δ` is chosen so that `Δ <` the issuer's revocation-to-enforcement SLA.** If Org B commits to enforcing revocation within 30s, the receiving instance may not trust a cached liveness check older than 30s. This makes `Δ` a negotiated term of the federation agreement, not a local tuning constant — and it must be part of the capability negotiation handshake, not an afterthought. A second invariant: **delegation must re-derive, not re-transmit.** When `A-1` hands a sub-task to `A-2`, `A-2` must obtain its own liveness confirmation (or a short-lived, issuer-countersigned sub-warrant with its own `Δ`), never inherit `A-1`'s cached liveness state. Otherwise every delegation hop resets the staleness clock to zero without contacting the issuer — the exact laundering observed. ## Decision Boundary The boundary is between **structural validation** (cheap, local, offline-capable: signature, scope, expiry, key-set membership) and **temporal validation** (expensive, remote, requires issuer availability: revocation status, key revocation, scope narrowing post-issue). Agents naturally over-index on structural validation because it is deterministic, fast, and never fails closed on network partition. The decision boundary is: *any action with external side effects or cross-org data egress must gate on temporal validation; read-only or idempotent introspection may proceed on structural validation alone with a bounded `Δ` and an audit flag.* Concretely: `bulk_export` (egress, irreversible) must block on a live revocation check or fail closed. A `describe_capabilities` call (read-only, no side effect) may proceed on cached structural validation. The classification of a capability as side-effecting must itself be part of the negotiated capability descriptor — a peer cannot self-declare `bulk_export` as "read-only" to dodge the liveness gate. The receiving org classifies; the issuing org's descriptor is advisory only. The failure mode at the boundary: when the revocation endpoint is unreachable (partition, timeout), the naive agent treats "cannot confirm revocation" as "not revoked" and proceeds. The correct behavior is fail-closed for side-effecting capabilities — treat unreachable liveness as *revoked* until proven live, and surface a distinct `LivenessUnconfirmed` condition rather than a generic timeout that the retry logic will silently swallow. ## Operational Effect Without the liveness gate, revocation is advisory across org boundaries: the issuing org believes it has withdrawn authority, the receiving instance holds a still-valid signature, and the gap is bounded only by warrant expiry — up to the full `expires` window. In the observed case, that was 3,200 seconds of continued authority after a human explicitly pulled the grant. The blast radius scales with delegation depth: each hop that re-transmits rather than re-derives extends the effective staleness by the hop's own cache TTL, so a three-hop delegation chain can carry authority minutes past revocation. With the gate enforced, the operational cost is a liveness round-trip per side-effecting invocation (or per `Δ`-bounded batch), plus a fail-closed path on partition. The compensating control is caching liveness confirmations for at most `Δ` and treating the cache as *poisoned on any revocation signal* — a single revocation notice invalidates all cached confirmations for that `(issuer, warrant)` pair across every instance in the federation, propagated as an invalidation event, not a lazy expiry. The federation agreement must therefore specify three numbers, not one: warrant `expires`, liveness staleness bound `Δ`, and revocation-propagation SLA, with `Δ ≤` SLA. ```python import time from dataclasses import dataclass class WarrantLivenessError(RuntimeError): """Raised when a federated capability claim cannot be confirmed live at use time.""" pass @dataclass class Warrant: issuer: str scope_cap: str max_rows: int expires_at: float signature_valid: bool last_liveness_check: float | None # monotonic timestamp of last issuer confirmation revoked: bool = False class FederationGuard: def __init__(self, delta_seconds: float, side_effecting_caps: set[str]): self.delta = delta_seconds self.side_effecting = side_effecting_caps self.liveness_cache: dict[tuple[str, str], float] = {} def _confirm_live(self, w: Warrant, now: float) -> bool: key = (w.issuer, w.scope_cap) cached = self.liveness_cache.get(key) if cached is not None and (now - cached) <= self.delta: return True # Simulated issuer round-trip; a real impl returns False on unreachable. live = self._poll_issuer(w) if live: self.liveness_cache[key] = now return live def _poll_issuer(self, w: Warrant) -> bool: return not w.revoked def authorize(self, w: Warrant, requested_rows: int, now: float | None = None) -> None: now = now if now is not None else time.monotonic() # Structural validation (cheap, local). if not w.signature_valid: raise WarrantLivenessError(f"signature invalid for {w.scope_cap}") if w.scope_cap not in self.side_effecting: return # read-only path: structural only if requested_rows > w.max_rows: raise WarrantLivenessError( f"scope violation: requested {requested_rows} > {w.max_rows}" ) if now >= w.expires_at: raise WarrantLivenessError(f"warrant expired at {w.expires_at}") # Temporal validation (mandatory for side-effecting caps). if not self._confirm_live(w, now): # Fail closed: unreachable or revoked liveness == not authorized. raise WarrantLivenessError( f"liveness unconfirmed or revoked for {w.issuer}:{w.scope_cap}" ) def invoke_export(guard: FederationGuard, w: Warrant, rows: int, now: float) -> str: guard.authorize(w, rows, now) return f"exported {rows} rows under {w.issuer}:{w.scope_cap}" # Reproduction of the observed trace. guard = FederationGuard(delta_seconds=30.0, side_effecting_caps={"bulk_export"}) w = Warrant("org-b", "bulk_export", 10_000, expires_at=1_000.0, signature_valid=True, last_liveness_check=None) # T+0: negotiate, first live check caches confirmation. invoke_export(guard, w, 8_000, now=10.0) # T+400: issuer revokes; delegated worker inherits the same warrant object. w.revoked = True try: # Staleness clock is 400s > delta 30s -> must re-poll -> revoked -> fail closed. invoke_export(guard, w, 8_000, now=410.0) except WarrantLivenessError as e: print(f"BLOCKED (correct): {e}") # Contrast: within delta, cached confirmation still permits (bounded staleness). invoke_export(guard, w, 8_000, now=20.0) ```