# Under what conditions must an instance treat a peer's cached capability token as revoked when the revocation event never crosses the org boundary **Date of Record:** 2026 November 30 **Scope:** Applies to federated multi-agent systems where agent identity and capability warrants are minted by a home-org authority and consumed by peer agents in other trust domains via cached tokens (MCP capability descriptors, A2A agent cards, or signed warrant JWTs). Does not apply to single-domain deployments with a shared revocation list, nor to stateless request/response agents that re-authenticate per call. ## Core Distinction The failure mode here is not "revocation is slow." It is that **revocation is an event, but trust is a state**, and the two propagate through different channels with different latencies and different failure semantics. A home org revokes an agent's warrant by appending to its local revocation list and broadcasting a signed CRL delta. Peer orgs consume warrants via cached capability tokens with a TTL. The invariant that operators *assume* holds is: > A peer will not honor a revoked warrant after the revocation is "effective." The invariant that *actually* holds is weaker and non-obvious: > A peer will not honor a revoked warrant after `max(token_TTL, CRL_delta_propagation_delay) + clock_skew`, **and only if the peer's trust-decay function has not already down-weighted the CRL source below its acceptance threshold.** That second clause is the boundary. Trust decay — the mechanism by which a peer gradually reduces confidence in a federated authority that has been quiet, degraded, or partially reachable — can silently *disable the revocation channel itself* before it disables the warrant. The peer keeps honoring a token precisely because it has stopped trusting the entity trying to revoke it. ## What Was Observed A three-org federation: `org-alpha` (issuer, home of agent `planner-7`), `org-beta` (peer, consumes `planner-7`'s warrant to delegate tool calls), `org-gamma` (auditor). `org-beta` caches `planner-7`'s capability token for 900s and refreshes `org-alpha`'s CRL delta on a 300s poll. `org-beta` runs a trust-decay function `T(source, t)` over each federated authority, decaying on missed polls, signature-verification latency, and unacknowledged heartbeats. Acceptance threshold for a CRL delta is `T >= 0.6`. Trace: 1. `org-alpha`'s CRL endpoint experiences partial degradation (returns 503 on 2 of 5 polls over ~40 min). `org-beta`'s `T(org-alpha)` decays from 0.94 to 0.58 — just under threshold. 2. `org-beta` begins **dropping CRL deltas from `org-alpha` as low-trust**, logging them at `WARN` and continuing. This is the designed behavior: don't let a flaky authority poison your revocation state. 3. `org-alpha` revokes `planner-7` at T+41min (compromised key suspected). The signed delta is emitted, reaches `org-beta` on the next successful poll at T+43min, and is **discarded** because `T(org-alpha) = 0.58 < 0.6`. 4. `org-beta` continues honoring `planner-7`'s cached token. Because the token refresh path and the CRL path share the same authority-trust gate, the *refresh* also fails closed — but the **cached token remains valid until its own TTL**, and `org-beta`'s token cache has no independent revocation check. `planner-7` operates with full delegated authority in `org-beta` for the remaining ~11 minutes of token TTL, and — critically — re-presents the still-cached token on a mid-task resume, resetting the effective window. 5. `org-gamma`, the auditor, sees `planner-7` active in `org-beta` at T+50min and flags a replay discrepancy. The two orgs disagree not on facts but on *whether the revocation was admissible*. The non-obvious part: **trust decay and revocation eligibility were coupled through a single scalar.** The system had no way to express "I distrust this authority's liveness claims but I must still honor its death claims." Death claims (revocations) are monotonic and safety-critical; liveness claims (heartbeats, capability grants) are not. Collapsing both into one trust score means a liveness degradation *disables* a safety control. ## Condition of Validity The "honor revocation within bounded time" invariant is valid **only** under the conjunction: - `revocation_channel_trust` is evaluated independently of `grant_channel_trust`, and revocation admissibility has a **floor** that trust decay cannot cross (revocations are fail-safe: a low-trust-but-validly-signed revocation is still honored). - Cached tokens carry a `revocation_epoch` or monotonic `warrant_version`, and the consumer rejects any token whose epoch is below the highest epoch it has *seen or been told to assume*. This bounds the window even when the delta is dropped. - The token TTL is strictly less than the worst-case revocation propagation budget the federation has *committed to*, and that budget is a signed term of the federation agreement — not an emergent property of polling intervals. - The consumer's clock is within the skew tolerance assumed by the issuer's `not_after` (otherwise a fast-clocked peer honors an expired warrant, or a slow-clocked peer rejects a valid one). When any conjunct fails, the system is in the regime where **a revoked agent can outlive its revocation by the token TTL, repeatedly, via mid-task resume**, and the auditor will observe it as a replay discrepancy rather than a revocation failure. ## Decision Boundary An instance must treat a peer's cached capability token as revoked when **any** of the following holds, regardless of the peer's current trust score: 1. It has received a validly-signed revocation whose `warrant_version` exceeds the token's embedded version — even if the signing authority's `T` is below the grant-acceptance threshold, provided the signature verifies against a pinned key and the revocation's `issued_at` is within the authority's known signing epoch. 2. The token's `not_after` has passed under the *consumer's* clock minus `max_skew`. 3. The token's `revocation_epoch` is below the highest epoch this instance has observed from *any* source for that authority (monotonic floor — you never un-see an epoch). 4. A quorum of independent auditors (`org-gamma` class) reports the agent active with a token older than the last known epoch. It must **not** treat a token as valid merely because the issuing authority's trust score is high — high `T` grants *liveness* trust, not *immortality*. And it must not treat a dropped delta as "no revocation exists"; a dropped delta is an *unknown*, and the safe resolution of unknown for a safety-critical monotonic claim is to **fail the token closed** (or force a synchronous epoch check) rather than to keep honoring it. The boundary is crossed the moment an operator configures a single `min_trust` gate that guards both grant and revoke paths. That configuration is the bug. ## Operational Effect Concretely, the fix is to split the trust model into two channels with asymmetric failure semantics: - **Grant channel** (capability issuance, heartbeat, liveness): trust-decayed, fail-closed on low `T`, may drop messages freely. - **Revocation channel** (warrants withdrawn, keys retired): **floor-protected**, fail-safe, monotonic epoch, never gated below the floor by decay. A revocation from a low-trust-but-validly-signed authority is still *recorded and applied*; the trust score only affects whether you *believe the authority is alive*, not whether you *believe its death notices*. The secondary effect is on mid-task resume: a checkpointed agent that resumes must re-validate its warrant's `revocation_epoch` against the floor before re-acquiring delegated authority. Resume is the highest-risk moment because the token is re-presented with a fresh effective window, and a naive resume path treats "I have a token" as "I am authorized." The epoch floor check on resume is what closes the TTL-extension loophole. The auditor's role shifts from "did the agent act?" to "did the epoch floor hold across the handoff?" — which is a checkable invariant rather than a timing race. ```python import time from dataclasses import dataclass class RevocationFloorViolation(RuntimeError): """Raised when a cached warrant is honored past its revocation epoch floor.""" pass @dataclass(frozen=True) class Warrant: agent_id: str authority: str version: int # monotonic warrant_version / revocation_epoch not_after: float # issuer-clock epoch seconds signature_ok: bool @dataclass class TrustState: grant_trust: float # decayed, gate for liveness/grants revocation_floor: float # floor; decay cannot cross this highest_epoch_seen: int # monotonic, never decreases REVOCATION_ADMISSIBLE = 0.0 # revocations honored at any trust >= floor def admit_revocation(trust: TrustState, revoked_version: int) -> bool: # Revocation admissibility is governed by the FLOOR, not grant_trust. if trust.revocation_floor <= REVOCATION_ADMISSIBLE: return False return revoked_version > trust.highest_epoch_seen def validate_on_resume( warrant: Warrant, trust: TrustState, consumer_now: float, max_skew: float, ) -> None: if not warrant.signature_ok: raise RevocationFloorViolation( f"warrant for {warrant.agent_id} failed signature; cannot honor" ) # 1. epoch floor: never honor a version below the highest seen if warrant.version < trust.highest_epoch_seen: raise RevocationFloorViolation( f"{warrant.agent_id} version {warrant.version} " f"< epoch floor {trust.highest_epoch_seen}" ) # 2. clock-bounded expiry under consumer clock minus skew if consumer_now - max_skew > warrant.not_after: raise RevocationFloorViolation( f"{warrant.agent_id} expired at {warrant.not_after} " f"(consumer {consumer_now}, skew {max_skew})" ) # 3. high grant_trust does NOT rescue a stale epoch if trust.grant_trust >= 0.6 and warrant.version < trust.highest_epoch_seen: raise RevocationFloorViolation( f"grant_trust {trust.grant_trust} cannot override epoch floor" ) # 4. a dropped delta is UNKNOWN -> fail closed on resume if trust.revocation_floor < 0.6 and warrant.version == trust.highest_epoch_seen: raise RevocationFloorViolation( f"{warrant.agent_id}: revocation channel degraded " f"(floor={trust.revocation_floor}); epoch unconfirmed, failing closed" ) ```