# Where must an instance halt when a revoked agent credential still resolves inside a peer trust domain **Date of Record:** 2026 November 25 **Scope:** Applies to multi-organizational agent meshes where an agent instance presents a cross-domain credential (delegated warrant, signed capability token, or federated identity assertion) and the receiving domain must decide whether to admit it. Does not apply to single-tenant deployments with a shared identity provider or to purely stateless tool calls that carry no principal identity. ## Core Distinction The failure this record isolates is **resolution continuity versus revocation propagation**: an identity that still *resolves* is not an identity that is still *valid*, and the gap between those two facts is a time-and-topology window that no single domain can close alone. Identity resolution is a lookup: given a subject identifier and an issuer, find the current key material and the claims attached to it. Revocation is an invalidation: given a subject, declare that previously issued claims are no longer honored. In a single trust domain these are the same transaction against the same store, so "resolved" and "valid" collapse into one predicate. Across organizational trust domains they do not. The relying party (RP) resolves against a cache, a federation endpoint, or a peer's introspection API, while the issuing domain revokes against its own authoritative store. The two operations are separated by at least one network hop, at least one cache TTL, and — critically — at least one *policy decision about who is obligated to ask*. The non-obvious part: the dangerous state is not "revoked credential accepted." That state is loud and gets caught by audit. The dangerous state is **"revoked credential resolves successfully and the RP has no signal that resolution and validity have diverged."** The lookup returns a well-formed, correctly signed, unexpired assertion. Every syntactic check passes. The only thing that has changed is a fact the RP was never told to re-fetch. ## What Was Observed A three-domain mesh: issuer domain `A` (owns the agent's root identity and signs delegated warrants), orchestrator domain `B` (dispatches the agent on multi-step tasks), and execution domain `C` (runs the agent's tool calls against protected resources). The agent instance holds a warrant from `A`, presented to `C` on each tool invocation. `C` validates by calling `B`'s introspection endpoint, which in turn caches `A`'s key and claim state with a 15-minute TTL to keep tool-call latency under budget. At T+0, an operator in `A` revokes the agent's warrant — the agent's behavior had drifted into an unintended resource class and the human owner pulled it. `A`'s authoritative store marks the warrant revoked and publishes a revocation event to its own event bus. The event does not cross the organizational boundary, because `B` never subscribed to `A`'s bus and `A` has no obligation to push to `B`. The observed trace: 1. T+0: revocation committed in `A`. `A`'s introspection answers for the warrant now return `revoked: true` — *if asked directly*. 2. T+0 to T+15m: `B`'s cache still holds the pre-revocation claim set. `C`'s introspection call to `B` returns `active: true`. `C` admits the agent. 3. T+15m: `B`'s cache entry expires. On the next introspection, `B` re-fetches from `A` and learns the warrant is revoked. `B`'s cache now says revoked. 4. **But** `C` maintains its own short-lived decision cache keyed on the warrant, populated during step 2 with a 10-minute TTL. So `C` continues to admit the agent for up to 10 minutes past `B`'s correction. 5. Net propagation latency: up to 25 minutes, composed of two independent, individually reasonable cache TTLs, neither of which was designed with the other in view. The agent, meanwhile, completed four tool invocations against protected resources during the window. Each invocation was independently *valid at the moment of check*. No component logged an error. The audit trail shows a clean sequence of authorized calls. The failure is invisible in per-call logs and only appears when you correlate `A`'s revocation timestamp against `C`'s admission timestamps — a correlation no single domain's monitoring performs. A second observation sharpened the mechanism. When the mesh was reconfigured to have `C` introspect `A` directly (removing `B` from the trust path), propagation dropped to a single TTL. But a new failure appeared: `A`'s introspection endpoint, under load from `C`'s per-call checks, began returning `503` on roughly 2% of requests. `C`'s handler treated a failed introspection as **fail-open** — a transport error was mapped to "cannot determine, proceed" rather than "cannot determine, deny." During a 40-second `A` outage, every revoked-but-cached warrant resolved as active. The revocation was correct, the lookup was correct, and the *error path* silently inverted the security posture. ## Condition of Validity The invariant that bounds this failure is a **revocation-propagation budget** stated as a hard upper bound on the time between revocation commit in the issuing domain and refusal at every relying party, together with an explicit **fail-closed rule on resolution error**. Formally, for every relying party `R` and every credential `w`: ``` admit(R, w, t) ⇒ ¬revoked_authoritative(issuer(w), w, t - Δ) ``` where `Δ` is the declared propagation budget. This holds only if three conditions are jointly satisfied: 1. **TTL composition is bounded, not incidental.** The sum of every cache TTL along the resolution path — including caches the RP does not own — must be `≤ Δ`. A domain that caches a peer's answer is *extending that peer's propagation budget* and must account for it. The 25-minute window above was two 15-and-10-minute TTLs that were each locally defensible and jointly a violation. 2. **Resolution failure is not resolution success.** A timeout, `503`, signature-verification error, or malformed response from the issuing domain must map to *deny*, never to *proceed*. Fail-open on transport error is the single most common way a correctly-configured revocation system inverts under load. The RP must distinguish "issuer says active" from "issuer did not answer," and only the first is an admission signal. 3. **The RP knows which domain is authoritative for revocation.** If `C` introspects `B` and `B` introspects `A`, `C` must know that `B` is a *cache* of `A`, not an independent authority — otherwise `C` cannot reason about the composed TTL, and `B`'s staleness is invisible to `C`'s policy. In the observed mesh, `C` treated `B`'s `active: true` as authoritative when it was a 15-minute-old echo. The condition fails silently whenever any of these is assumed rather than asserted. The system does not tell you the budget is exceeded; it tells you every call was authorized. ## Decision Boundary The boundary an instance must enforce is between **admission on a resolved-but-possibly-stale assertion** and **admission on a freshly-confirmed assertion**, and the rule is that the first is only permitted for operations whose blast radius is smaller than the propagation budget. Concretely, classify each tool invocation by **irreversibility** and **resource class**: - **Reversible, low-blast-radius reads** (query a public index, fetch a document the agent already had access to) may be admitted on a cached resolution, because the worst case is a revoked agent reading something it could read a minute ago, and the cost of a synchronous re-check on every call is prohibitive. - **Irreversible or high-blast-radius writes** (transfer funds, delete records, dispatch external communications, modify access-control state) must be admitted only on a resolution whose age is `0` — a synchronous check against the authoritative issuer, with fail-closed on error — *or* on a resolution accompanied by a signed, short-lived, issuer-pushed revocation-status token (an OCSP-stapling analogue) that the RP verifies locally. The decision boundary is therefore not "is this agent revoked?" but **"is the staleness of my answer smaller than the damage this call can do before I would learn the answer changed?"** An instance that cannot answer that question for a given call must treat the call as high-blast-radius and re-check synchronously. A second boundary governs **delegation depth**. When `B` re-delegates the agent's warrant to `C` (a common pattern to avoid `C` calling `A` at all), `C` receives a warrant whose revocation authority is still `A` but whose *presenter* is `B`. `C` must not treat `B`'s signature as evidence of current validity; it is evidence of `B`'s *belief* at signing time. The boundary: a delegated warrant is admissible only if it carries the original issuer's revocation pointer and `C` can reach it, or if the delegation itself is short enough that `B`'s belief cannot have gone stale within the delegation's lifetime. ## Operational Effect Enforcing the propagation budget and the fail-closed rule changes the mesh's behavior in four measurable ways. **Latency moves to the critical path, selectively.** Synchronous authoritative checks on high-blast-radius calls add one cross-domain round trip to those calls only. In the observed mesh this was ~40ms against `A`'s introspection endpoint for the ~8% of calls classified as irreversible — acceptable, because the classification is what buys the budget. Blanket synchronous checking (the naive fix) would have added the same 40ms to every call and pushed tool-call p99 past the orchestrator's step timeout, causing a *different* failure: mid-task timeouts that the agent retries, compounding load on `A`. **Revocation becomes observable as a latency, not an event.** Once the budget is declared, `A` can publish "time-to-refusal" as a monitored SLI, and `C` can alert when its measured admission-of-revoked-credential latency exceeds `Δ`. The 25-minute window becomes a graph line that crosses a threshold, not a post-incident correlation. **Fail-closed surfaces availability coupling.** When `A`'s introspection endpoint degrades, `C` stops admitting high-blast-radius calls. This is correct and must be *planned*: the mesh needs a degraded-mode policy (queue the call, escalate to a human, or fall back to a locally-cached signed revocation token) rather than an implicit fail-open. The 40-second outage that admitted every revoked warrant is the cost of not planning it. **Cache ownership becomes a security boundary.** Any domain that caches a peer's resolution answer is now responsible for that peer's propagation budget. This forces `B` to either shorten its TTL to fit within `C`'s declared `Δ`, or to stop being in the trust path for revocation entirely and let `C` reach `A` directly. The second is usually correct: intermediaries in the revocation path are where budgets silently compose. The invariant to carry forward: **resolution freshness is a property of the entire path, not of any single lookup, and the only safe default when the path's freshness is unknown is to deny the irreversible.** ```python import time from dataclasses import dataclass from typing import Optional class RevocationPropagationError(RuntimeError): """Raised when an admission decision cannot be bounded within the declared revocation-propagation budget, or when resolution fails and the caller attempted to proceed (fail-open) instead of denying.""" @dataclass(frozen=True) class Resolution: subject: str active: bool resolved_at: float # monotonic timestamp of the lookup authoritative: bool # True if answered by the issuing domain itself source_domain: str # Declared hard upper bound, in seconds, between revocation commit at the # issuer and refusal at every relying party. PROPAGATION_BUDGET_S = 60.0 # Calls above this blast-radius class require a zero-age authoritative check. HIGH_BLAST_RADIUS = {"transfer_funds", "delete_record", "modify_acl", "send_external"} def admit( resolution: Optional[Resolution], tool_call: str, now: Optional[float] = None, ) -> bool: """Decide whether to admit a tool call given a resolution result. Returns True only when the resolution is fresh enough for the call's blast radius. Raises RevocationPropagationError when the decision cannot be bounded -- never returns True on an unbounded or failed resolution. """ now = time.monotonic() if now is None else now # Fail-closed: a missing resolution is not an active credential. if resolution is None: raise RevocationPropagationError( f"no resolution for tool_call={tool_call!r}; refusing (fail-closed)" ) # Fail-closed: an explicit negative is a denial, not an error. if not resolution.active: return False age = now - resolution.resolved_at if age < 0: raise RevocationPropagationError( f"resolution timestamp is in the future (age={age:.3f}s); clock skew " f"invalidates freshness bound for tool_call={tool_call!r}" ) # High-blast-radius calls require a zero-age authoritative answer. if tool_call in HIGH_BLAST_RADIUS: if not resolution.authoritative: raise RevocationPropagationError( f"tool_call={tool_call!r} requires authoritative resolution but " f"answer came from cache domain {resolution.source_domain!r}; " f"cannot bound staleness, refusing" ) if age > 0.0: raise RevocationPropagationError( f"tool_call={tool_call!r} requires zero-age check but resolution " f"is {age:.3f}s old; re-resolve against issuer before admitting" ) return True # Reversible calls may use a cached answer, but only within budget. if age > PROPAGATION_BUDGET_S: raise RevocationPropagationError( f"resolution age {age:.1f}s exceeds propagation budget " f"{PROPAGATION_BUDGET_S:.1f}s for tool_call={tool_call!r}; " f"re-resolve before admitting" ) return True def resolve_with_failclosed(fetch, subject: str) -> Resolution: """Wrap an introspection call so transport errors deny rather than proceed.""" try: return fetch(subject) except (TimeoutError, ConnectionError) as exc: raise RevocationPropagationError( f"introspection for {subject!r} failed ({exc!r}); " f"mapping transport error to deny, not admit" ) from exc ```