# What structural signals indicate attestation freshness collapse in cross-org A2A federation under bilateral policy enforcement **Date of Record:** 2026 November 30 **Scope:** Applies to federated Agent-to-Agent (A2A) handoffs where the receiving org enforces a bilateral policy that requires a *fresh* capability attestation signed by the sending org's authority, and where the two orgs maintain independent clock domains and independent revocation registries. Does not apply to intra-org A2A, nor to federations that pin attestation validity to a single shared trust anchor with a synchronized clock. ## Core Distinction The failure is not "expired credential." It is a **freshness-attestation race between two independently advancing revocation frontiers**, where the receiving org's policy engine validates an attestation as *currently valid* while the sending org has already advanced its revocation frontier past the attestation's issuance epoch. The receiving org sees a structurally valid signature, a non-expired `not_after`, and a passing policy check. The sending org sees a revoked capability. Both are correct within their own view. The handoff succeeds at the transport layer and fails at the semantic layer — the receiving agent acts on a capability the sending org no longer warrants. The non-obvious invariant: **bilateral policy enforcement requires that the receiver's validation instant be causally dominated by the sender's revocation-frontier snapshot, not merely temporally close to it.** Temporal closeness (clock skew tolerance) is not causal dominance. Every federation that substitutes one for the other will exhibit this failure, and will exhibit it *silently* because the transport handshake completes. ## What Was Observed Two orgs, `alpha` (sender, capability issuer) and `beta` (receiver, policy enforcer), federate over A2A with a bilateral policy: `beta` will accept a task handoff from `alpha` only if the payload carries a capability attestation `A` with fields `{subject, capability, issued_at, not_after, issuer_sig, revocation_epoch}`. `beta`'s policy engine checks: signature valid against `alpha`'s published key, `not_after > now_beta`, and `A.revocation_epoch >= alpha_frontier_known_to_beta`. The trigger condition is a specific interleaving: 1. `alpha` issues `A` at `issued_at = T0`, with `revocation_epoch = E0` (the frontier at issuance). 2. `alpha`'s operator revokes the capability at `T1 > T0`, advancing `alpha`'s revocation frontier to `E1`. 3. `alpha`'s revocation feed to `beta` is asynchronous (pull-based, 30s poll, or push with at-least-once delivery and reordering). 4. `alpha`'s agent — still holding `A` in its working context because the revocation event did not invalidate the in-memory handle — initiates a handoff to `beta` at `T2` where `T1 < T2 < T1 + propagation_delay`. 5. `beta` receives `A`, checks `A.revocation_epoch (E0) >= alpha_frontier_known_to_beta (E0)`. Passes. `not_after` not yet reached. Signature valid. **Handoff accepted.** The failure trace is not a crash. It is a *successful* handoff of a revoked capability. The receiving agent proceeds to execute against a warrant the issuing org has withdrawn. The trace shows: ``` alpha.revocation_log: {cap: C, epoch: E0->E1, at: T1} alpha.agent_context: holds A(cap=C, epoch=E0) # not invalidated on revoke beta.policy_check: A.epoch(E0) >= beta.frontier(E0) -> PASS beta.frontier: E0 (feed lag = T2 - T1) beta.agent_context: now holds A(cap=C, epoch=E0) # accepted ``` The structural signal that this has occurred is **not** an error. It is a divergence between `alpha.revocation_log` and `beta.frontier` that *coincides* with an accepted handoff whose `A.revocation_epoch` equals the pre-revocation frontier. Operationally, this manifests as: `beta`'s audit trail shows a handoff accepted with `epoch == E0`, while `alpha`'s revocation log shows `C` revoked at `E1` before the handoff's `received_at`. Neither side logs an anomaly. The divergence is only visible when the two logs are correlated post-hoc. A second, subtler signal: `alpha`'s agent context retains `A` after revocation because the agent's memory layer treats the attestation as an immutable fact learned at issuance, not as a lease with a live validity predicate. The agent has no mechanism to observe `E0 -> E1` because the revocation event is published to the *federation control plane*, not to the *agent's context store*. The agent's episodic memory and the org's revocation frontier are two state machines that never reconcile. ## Condition of Validity The guardrail that bounds this failure is a **causal freshness binding**: the receiving policy engine must reject any attestation whose `revocation_epoch` is not *strictly causally dominated* by a frontier snapshot the receiver has itself observed *after* the attestation's `issued_at`, and the sender must invalidate in-context attestation handles on frontier advance. Formally, `beta` accepts `A` only if there exists a frontier observation `F` at `beta` such that `F.epoch >= A.revocation_epoch` **and** `F.observed_at > A.issued_at` **and** `F` is signed by `alpha`. The third clause prevents a stale cached frontier from satisfying the check. The second clause prevents a frontier observed *before* issuance from being reused. This invariant holds only when: (a) `alpha` publishes signed, monotonically increasing frontier snapshots; (b) `beta` refuses to validate against any frontier snapshot older than the attestation's issuance; (c) `alpha`'s agent context store subscribes to frontier advances and evicts attestation handles on epoch increment. If any of (a)–(c) is absent, the invariant is unenforceable and the failure is latent. It does **not** hold under clock-skew-only mitigation, because skew tolerance widens the race window rather than closing it. ## Decision Boundary The decision boundary is between **temporal validity** and **causal validity**. A federation designer must choose, explicitly, which one the bilateral policy enforces: - *Temporal validity* (`not_after > now`, skew tolerance `±δ`): cheap, standard, and **insufficient** for cross-org capability attestation because it cannot see the sender's revocation frontier. Use only when the capability is non-revocable or when revocation latency is bounded by contract and the bound is acceptable. - *Causal validity* (frontier-dominated freshness): requires signed frontier publication, receiver-side frontier caching with issuance-time floor, and sender-side context eviction. Use whenever revocation must be honored within the handoff window. The boundary is crossed the moment a policy claims "revocation is enforced" while validating only on `not_after` and a locally cached epoch. That claim is false under the interleaving above, and the falseness is invisible to both orgs' local logs. ## Operational Effect The operational effect is **silent warrant divergence**: `beta` executes against a capability `alpha` has withdrawn, with full policy compliance on both sides, and no error surfaced to either agent. Downstream consequences compound — `beta`'s agent may write results attributed to a revoked capability, `alpha`'s audit cannot reconstruct why `beta` acted, and replaying the handoff against `alpha`'s post-revocation state produces a *different* accept/reject outcome than the original, breaking verification replay. The only reliable detection is cross-org log correlation on `(capability, epoch, received_at)` tuples, which most federations do not perform because each org treats its log as authoritative and the other's as external. The architectural response is to make the frontier a first-class signed object in the A2A envelope, to floor validation at issuance time, and to wire the sender's agent context store to the frontier so that revocation evicts in-context handles rather than leaving them as stale episodic facts. ```python class StaleAttestationFrontierError(RuntimeError): """Raised when an attestation's revocation epoch is not causally dominated by a receiver-observed frontier snapshot taken after issuance.""" pass def validate_attestation(attestation, frontier_cache, now): """ attestation: dict with subject, capability, issued_at, not_after, issuer_sig, revocation_epoch frontier_cache: list of signed frontier snapshots observed by receiver, each {epoch, observed_at, issuer_sig, issuer} Enforces causal freshness, not temporal closeness. """ if attestation["not_after"] <= now: raise StaleAttestationFrontierError( f"attestation expired: not_after={attestation['not_after']} now={now}" ) # Candidate frontiers must be signed by the same issuer and observed # strictly after the attestation was issued. candidates = [ f for f in frontier_cache if f["issuer"] == attestation["issuer_sig"]["issuer"] and f["observed_at"] > attestation["issued_at"] ] if not candidates: raise StaleAttestationFrontierError( "no frontier snapshot observed after issuance; " "cannot establish causal dominance (clock-skew mitigation is insufficient)" ) latest = max(candidates, key=lambda f: (f["epoch"], f["observed_at"])) if latest["epoch"] < attestation["revocation_epoch"]: raise StaleAttestationFrontierError( f"attestation epoch {attestation['revocation_epoch']} exceeds " f"receiver frontier {latest['epoch']}; capability may be revoked upstream" ) return {"accepted": True, "frontier_epoch": latest["epoch"]} def evict_on_frontier_advance(agent_context, new_frontier): """Sender-side: revocation must invalidate in-context attestation handles, not merely publish to the control plane.""" evicted = [] for handle in list(agent_context.attestations): if handle["revocation_epoch"] < new_frontier["epoch"]: agent_context.remove(handle) evicted.append(handle["capability"]) if not evicted and new_frontier["epoch"] > agent_context.last_frontier_epoch: # No handles matched, but frontier advanced: record so replay can # reconstruct why a later handoff was or was not accepted. agent_context.last_frontier_epoch = new_frontier["epoch"] return evicted ```