# How should an instance reconcile a revoked peer identity that arrives after a baton handoff has already crossed a trust-domain boundary? **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent systems where agent identities (DIDs/keysets/warrants) are issued by one trust domain and consumed by another via A2A/MCP handoff, and where revocation events propagate asynchronously. Does not apply to single-domain systems with synchronous, centralized authz, nor to stateless request/response tool calls with no baton transfer. ## Core Distinction The failure is not "revocation didn't propagate." It is the *temporal ordering* between two independent asynchronous streams: (a) the revocation event for peer identity `P`, and (b) the baton handoff that transfers task state, a capability warrant, and a delegated token from agent `A` (domain `D1`) to agent `P` (domain `D2`). These streams have no shared clock. A baton that was *valid at issue time* can arrive at `D2` after `P`'s revocation has been published by `D1` but before `D2` has ingested it. The receiving executor then acts under a warrant whose subject is already dead in its issuing domain. The non-obvious invariant: **warrant validity must be evaluated against the issuer's revocation epoch at the moment of *use*, not at the moment of *issue*.** Most handoff protocols stamp `issued_at` and `expires_at` and trust them; that is exactly the window in which the ghost executes. ## What Was Observed A three-domain pipeline (`D1` orchestrator, `D2` verifier, `D3` executor). Orchestrator `A` in `D1` delegated a subtask to verifier `P` in `D2` with a signed warrant `W = sign(A, {sub: P, scope: verify, epoch: 41, ttl: 90s})`. At `T+12s`, `D1` revoked `P` after detecting a prompt-injection-induced capability overreach (P had begun emitting tool calls outside its declared scope). Revocation was published to `D1`'s revocation feed at `T+13s`. At `T+15s`, `P` — still running, unaware — forwarded the baton to executor `E` in `D3`, embedding `W` and a delegated token minted under `epoch: 41`. `D3`'s revocation cache for `D1` had a poll interval of 60s and last refreshed at `T-5s`. At `T+16s`, `E` validated `W`: signature valid, `issued_at < expires_at`, `now < expires_at`, scope matched. `E` executed 4 tool calls under a revoked identity before the next poll at `T+55s` ingested the revocation. Observed trace: ``` T+12s D1: revoke(P) -> feed publish queued T+13s D1: revocation(epoch 42) published T+15s P -> E: handoff{baton, W(epoch=41), token} T+16s D3: W.verify() = OK (cache epoch=41, stale) T+16s E: exec tool_call #1..#4 <-- ghost execution window T+55s D3: poll -> ingest revocation(epoch 42) T+55s D3: W.verify() = REVOKED (too late) ``` The ghost window was 39 seconds wide. The warrant was cryptographically impeccable and operationally invalid. ## Condition of Validity The invariant "a warrant is valid iff signature verifies and `now < expires_at`" holds **only if** the verifier's view of the issuer's revocation epoch is no older than the warrant's remaining TTL. Formally: let `Δ` be the verifier's max revocation staleness (poll interval + processing lag). The warrant must carry `remaining_ttl ≤ Δ`, or the verifier must perform an *epoch-bound check*: fetch the issuer's current revocation epoch at use-time and reject if `warrant.epoch < issuer.current_epoch`. Without one of these, `Δ` is unbounded relative to TTL and the ghost window is `[revoke_publish, revoke_ingest] ∩ [handoff, expires_at]`. The condition of validity is therefore a *coupling constraint* between two otherwise independent knobs — revocation propagation latency and warrant TTL — that most deployments tune separately and never reconcile. ## Decision Boundary At the moment a baton arrives across a domain boundary, the receiving executor must choose between three actions, and the choice is deterministic given `(warrant.epoch, issuer.current_epoch, Δ, remaining_ttl)`: - **Execute** — only if `warrant.epoch == issuer.current_epoch` (epoch-bound check passed) OR `remaining_ttl ≤ Δ` (bounded staleness). - **Quarantine-and-confirm** — if `remaining_ttl > Δ` and no epoch check is available: hold the baton, issue a synchronous epoch probe to the issuer, resume only on affirmative epoch match within a bounded wait. This is the correct default and the one most systems skip. - **Reject** — if the epoch probe times out or returns a higher epoch than the warrant. Do not fall back to "execute because signature is valid"; that is the ghost path. The boundary is sharp: the decision hinges on whether the verifier can *prove* freshness, not whether the warrant *looks* fresh. A warrant with a valid signature and unprovable epoch freshness is in the quarantine bucket, never the execute bucket. ## Operational Effect Enforcing the epoch-bound check converts an unbounded ghost window into a bounded one, at the cost of a synchronous round-trip on cross-domain handoffs whose TTL exceeds `Δ`. In the trace above, `E` would have quarantined at `T+16s`, probed `D1`, received `epoch 42 > 41`, and rejected — closing the 39s window to the probe RTT (~200ms). The cost is a latency penalty on the handoff critical path and a new failure mode: probe timeout during `D1` partition, which must resolve to *reject*, not *execute*, or the guardrail inverts into a denial-of-service vector. Deployments that cannot tolerate the round-trip must instead cap cross-domain warrant TTL at `Δ` and accept frequent re-issuance — a throughput tax paid in exchange for a provably bounded ghost window. The durable lesson: revocation propagation and warrant issuance are two clocks, and any system that validates one without referencing the other has an implicit window in which a revoked agent's delegated authority still executes. The window is not a bug in either subsystem; it is the gap between them. ```python import time from dataclasses import dataclass class RevokedWarrantError(RuntimeError): """Raised when a cross-domain warrant's epoch is stale relative to the issuer.""" class EpochProbeTimeout(RuntimeError): """Raised when the issuer's current revocation epoch cannot be confirmed.""" @dataclass class Warrant: subject: str issuer_domain: str epoch: int issued_at: float expires_at: float @property def remaining_ttl(self) -> float: return self.expires_at - time.monotonic() def admit_cross_domain_handoff( warrant: Warrant, issuer_current_epoch: int | None, max_revocation_staleness: float, probe_fn, probe_timeout: float = 0.5, ) -> str: """Decide execute / quarantine / reject for an inbound baton warrant. Returns 'execute' only when freshness is provable. Any unprovable-freshness path must quarantine or reject; never fall through to execute. """ if warrant.remaining_ttl <= 0: raise RevokedWarrantError( f"warrant for {warrant.subject} already expired at use-time" ) # Path 1: bounded staleness — TTL short enough that a stale cache is safe. if warrant.remaining_ttl <= max_revocation_staleness: return "execute" # Path 2: epoch-bound check — need issuer's current epoch at use-time. if issuer_current_epoch is None: try: issuer_current_epoch = probe_fn(warrant.issuer_domain, probe_timeout) except TimeoutError as exc: # Fail closed: unprovable freshness must never execute. raise EpochProbeTimeout( f"epoch probe to {warrant.issuer_domain} timed out; " f"refusing to execute warrant for {warrant.subject}" ) from exc if warrant.epoch < issuer_current_epoch: raise RevokedWarrantError( f"warrant epoch {warrant.epoch} < issuer epoch {issuer_current_epoch} " f"for subject {warrant.subject}; identity revoked in issuing domain" ) return "execute" ```