# In what scenarios must an instance treat a revoked peer passport as still-trustworthy during in-flight A2A handoffs, and when must it hard-fail the transaction **Date of Record:** 2026 November 23 **Scope:** Applies to cross-organizational A2A/MCP-style agent-to-agent calls where the caller presents an mTLS-bound "agent passport" (a signed credential binding an agent identity to a client certificate fingerprint) and the callee performs online revocation checks against a foreign trust broker. Does not apply to single-organization deployments with a shared CRL distribution point, nor to pure capability-token systems with no certificate binding. ## Core Distinction The distinction that matters is between **revocation as a liveness property of the credential** and **revocation as a safety property of the transaction**. Most implementations collapse these: they check the passport's revocation status once at handshake, cache the "valid" result keyed on the certificate fingerprint, and treat the rest of the session as covered. That is correct for the credential. It is wrong for the transaction, because the transaction has *duration* and the revocation event has *no causal ordering* relative to the work already performed under the credential. The non-obvious boundary is this: a peer passport that has been revoked is still the *only* valid attribution you have for the state the peer's agent already wrote into your system. Hard-failing the in-flight call at the moment you learn of revocation destroys the provenance of already-committed side effects; silently continuing treats a revoked principal as authorized. Neither reflex is correct. The invariant is that **revocation invalidates future authorization, not past attribution**, and the two must be tracked on separate clocks. ## What Was Observed During a multi-org procurement-agent deployment, Org A's `NegotiatorAgent` held a passport bound to a client cert with a 24-hour validity window and a 5-minute revocation-check TTL. Org B's `SettlementAgent` accepted the passport, verified the mTLS fingerprint matched the passport's `cnf` claim, and cached the "not revoked" verdict for the session. At T+9 minutes into a long multi-turn settlement negotiation, Org A's trust broker revoked the passport (the human operator behind the agent was rotated out of the role mid-task). Org B's broker, polling on a 5-minute cadence, propagated the revocation to a local cache at T+11. But Org B's `SettlementAgent` had already cached the *positive* verification at handshake and never re-consulted it. The negotiation continued for 40 more minutes. The agent issued a binding reservation against inventory, wrote three `proposal.accept` events attributed to the revoked principal, and only failed when a *separate* downstream system re-validated the passport at a later handoff — producing an orphaned reservation with no valid signer and a replay log that could not be reconciled. The second, subtler observation: when the downstream system *did* hard-fail, it did so by raising on the credential check and discarding the entire in-flight transaction state, including the three already-durable `proposal.accept` events. Those events were written under a credential that was valid *at the time of writing*. Discarding them was the actual data-loss bug. The revocation was correctly detected; the recovery was wrong. ## Condition of Validity The "continue on stale-valid cache" behavior is only *safe* under a condition almost never stated explicitly: that every side effect produced under the passport carries a **revocation-epoch stamp** — the broker's monotonic revocation sequence number observed at handshake — and that downstream consumers can independently evaluate "was this side effect authorized at epoch E?" against a later, more complete revocation view. Formally, an in-flight transaction `T` with side effects `S = {s_1 … s_n}` written at epochs `{e_1 … e_n}` remains *attributable* if and only if, for every `s_i`, there exists a verifiable record that the passport was not revoked at or before `e_i` **as observed by the broker that issued the passport**. Note the asymmetry: Org B cannot prove non-revocation; only Org A's broker can. Org B can only prove *what it believed* at `e_i`. This means the epoch stamp is a claim about Org B's knowledge state, not about Org A's ground truth, and the two can diverge by the propagation delay of the revocation channel. The behavior is *invalid* — and the transaction must hard-fail — when the callee cannot obtain a broker-attested epoch, when the passport's `cnf` binding is re-verified against a *rotated* certificate mid-session (the fingerprint no longer matches, so attribution breaks entirely), or when the side effects are themselves *irreversible* (fund transfers, external API calls with monetary effect) rather than internally reversible reservations. ## Decision Boundary The boundary is a function of two axes: **side-effect reversibility** and **whether a broker-attested epoch exists**. - **Reversible side effect + broker-attested epoch present:** Continue the in-flight transaction. Stamp each side effect with the epoch. On later revocation discovery, do *not* roll back; instead mark the side effects `attributed-to-revoked-principal` and route them to a human reconciliation queue. The reservation is released, the accept events are retained with their provenance intact. - **Reversible side effect + no broker-attested epoch:** Treat the entire session as unattributable. Hard-fail *forward only* — refuse new tool calls and new writes — but preserve and quarantine already-written state rather than deleting it. Degrade to "this happened, we don't know who authorized it." - **Irreversible side effect (any epoch status):** Hard-fail at the *first* revocation signal, and additionally require a pre-commit re-check of the passport against the broker within a bounded window (e.g., 2× the broker's stated propagation SLA) before the irreversible call is permitted. If the window cannot be honored, the call does not happen. The trap is applying the irreversible rule to reversible effects. Doing so converts every routine mid-task role rotation into a 40-minute transaction abort and a reconciliation incident, which is exactly the failure observed above, inverted. ## Operational Effect Implementing the epoch-stamped attribution model changed the incident profile materially. Mid-task revocations stopped producing orphaned state: the three `proposal.accept` events from the incident would now carry `epoch=4471` and survive as attributable-but-flagged records, reconcilable against Org A's broker log by sequence number. The reservation still releases, but the release is now a *recorded decision* rather than a crash artifact. The cost is that every side effect writer must accept an epoch parameter and persist it, and every downstream consumer must be able to answer "authorized at epoch E?" against a possibly-more-complete revocation view. This pushes complexity into the side-effect schema, which is the correct place for it — the alternative is pushing it into the trust broker's propagation latency, which you do not control because it belongs to the other organization. The residual risk is epoch forgery or epoch regression: a compromised callee could stamp side effects with an artificially old epoch to make them appear pre-revocation. The bound is that epochs must be **broker-signed**, not callee-asserted, and monotonically increasing per passport, so a regression is detectable. A callee that cannot obtain a signed epoch must fall to the no-epoch branch above — quarantine, never attribute. ``` ```python import time from dataclasses import dataclass, field from enum import Enum from typing import Optional class RevocationAttributionError(RuntimeError): """Raised when a side effect cannot be safely attributed or safely aborted under a revoked or unverifiable peer passport.""" pass class SideEffectClass(Enum): REVERSIBLE = "reversible" # e.g. inventory reservation, draft write IRREVERSIBLE = "irreversible" # e.g. fund transfer, external monetary call @dataclass class PassportEpoch: """Broker-signed monotonic revocation sequence observed at handshake.""" sequence: int broker_signature: bytes observed_at: float @dataclass class InFlightTransaction: passport_fingerprint: str epoch: Optional[PassportEpoch] side_effects: list = field(default_factory=list) def commit_side_effect( txn: InFlightTransaction, effect_class: SideEffectClass, revocation_known: bool, broker_propagation_sla: float, last_broker_check: float, ) -> str: """Decide whether an in-flight side effect may commit, must be quarantined, or must hard-fail. Returns a disposition string.""" now = time.monotonic() # Irreversible effects require a fresh broker check within the SLA window. if effect_class is SideEffectClass.IRREVERSIBLE: if revocation_known: raise RevocationAttributionError( f"irreversible effect blocked: passport {txn.passport_fingerprint} " f"revoked mid-transaction" ) if (now - last_broker_check) > 2 * broker_propagation_sla: raise RevocationAttributionError( f"irreversible effect blocked: broker check stale by " f"{now - last_broker_check:.1f}s, exceeds 2x SLA " f"{2 * broker_propagation_sla:.1f}s" ) return "commit-with-fresh-epoch" # Reversible effects: distinguish attributable vs unattributable. if revocation_known: if txn.epoch is not None and txn.epoch.broker_signature: # Past attribution preserved; future authorization denied. return "quarantine-attributed-to-revoked-principal" raise RevocationAttributionError( f"reversible effect under revoked passport {txn.passport_fingerprint} " f"has no broker-attested epoch; state is unattributable and must be " f"quarantined without attribution, not rolled back" ) if txn.epoch is None: # No epoch: allow commit but mark as unattributable for later audit. return "commit-unattributed" return "commit-attributed" ```