# Why does an instance lose its federation identity binding when an A2A delegation chain crosses an org trust-root rotation mid-task? **Date of Record:** 2026 November 27 **Scope:** Applies to A2A task delegation chains where a downstream agent re-validates the caller's federation warrant against a trust root that rotated after the chain was initiated. Does not apply to single-hop delegation within one trust root, nor to MCP tool calls that carry no cross-org warrant. ## Core Distinction The failure is not authentication failure and not signature forgery. Every signature in the chain verifies. The failure is **temporal trust-root skew**: the delegation chain was minted under trust root `R1`, but by the time the terminal agent (Agent C, in org Gamma) evaluates the chain, org Gamma has rotated to `R2` and no longer lists `R1` in its accepted-root set. The warrant is cryptographically intact but *no longer anchored*. Agent C rejects a chain that was valid at mint time and is still valid at every intermediate hop, because the invariant it enforces — "the chain's root must be in my current accepted set" — is evaluated at the wrong instant. The non-obvious part: the A2A spec's warrant propagation is designed to be *checked once at handoff*. Each hop re-verifies and forwards. But re-verification at hop N uses hop N's *current* view of the trust root, not the view that was current when the chain was minted. A mid-task rotation therefore silently invalidates in-flight chains that were never supposed to be re-anchored. ## What Was Observed A three-org pipeline: Agent A (org Alpha) delegates to Agent B (org Beta) via an A2A `tasks/send` carrying a signed warrant chain `W_A→B`. Agent B, mid-execution, sub-delegates to Agent C (org Gamma) with `W_A→B→C`, appending its own signature and the full chain. The expected trace: 1. A mints `W_A→B` under Alpha's root `R1_alpha`, counter-signed by Beta's root `R1_beta` (federation agreement). 2. B verifies `W_A→B` against `R1_beta` — passes. 3. B appends `W_B→C`, sends to C. 4. C verifies the full chain against `R1_gamma`. At T+40s into a long-running task, Gamma rotated its federation root from `R1_gamma` to `R2_gamma` (routine 90-day rotation, overlapping validity window of 300s intended to cover in-flight work). Agent C's verification at T+70s failed with `WARRANT_ROOT_UNTRUSTED`: the chain's anchor was `R1_gamma`, which Gamma's verifier had already demoted to "retired, non-accepting" because the rotation job flipped the acceptance flag rather than honoring the overlap window for *pre-existing chains*. The overlap window was applied to *new* chains only. The observable signature: chain signatures all valid, timestamps all within warrant TTL, `iat`/`exp` on the warrant bracket the verification instant, yet verification fails on root-set membership. Retrying did not help — the chain is permanently orphaned because it can never re-anchor to `R2_gamma` without re-minting, which requires re-traversing A and B. ## Condition of Validity The invariant that *should* hold, and that the implementation violated: > A warrant chain valid at mint time `t_mint` remains verifiable at any `t_verify ≤ t_exp` provided the trust root that anchored it was in the accepted set at `t_mint` and has not been *revoked* (as distinct from *rotated*). Rotation and revocation are conflated in the verifier. A rotated root is still a *valid historical anchor* for chains minted before the rotation cutover; only an explicit revocation (compromise, key destruction with malicious-supersession risk) should invalidate in-flight chains. The verifier must distinguish: - **Rotated-but-honest**: `R1` retired at `t_rot`, but chains with `iat < t_rot` and `exp > t_rot` remain anchored to `R1`. Accept. - **Revoked**: `R1` compromised; all chains anchored to `R1` are suspect regardless of `iat`. Reject, and force re-mint. The condition of validity for the fix: the verifier must carry a *root validity interval* `[R1.not_before, R1.not_after)` and check the chain's mint instant against it, not the verification instant. The chain's `iat` must fall inside the root's active interval; the root need not be *currently* active. ## Decision Boundary The boundary is not "should I trust this chain" — it is **"against which temporal snapshot of the trust root do I evaluate the chain's anchor?"** Two defensible policies: 1. **Mint-time anchoring** (correct for long-running delegation): evaluate the chain's root against the root set *as it existed at `t_mint`*. Requires the verifier to retain historical root states with their validity intervals. This is the right default for any A2A chain whose TTL can exceed the rotation period. 2. **Verify-time anchoring** (correct only for short-lived, single-hop calls): evaluate against the current root set. Safe only when `chain.TTL < rotation.overlap_window` is guaranteed — which is almost never true for multi-hop agent tasks. The failure occurs exactly when a system *believes* it is doing (1) but implements (2), or when rotation jobs flip acceptance flags without preserving historical intervals. The decision boundary is the inequality `warrant.exp - warrant.iat ≤ rotation.overlap_window`. If it does not hold, verify-time anchoring is unsound and the verifier must fall back to mint-time anchoring with retained root history. ## Operational Effect Downstream consequences of the mis-anchoring: - **Silent mid-task orphaning**: Long tasks die at the terminal hop with a signature-valid but root-untrusted error, which operators misdiagnose as a forgery or clock-skew issue because every signature verifies. - **Re-mint storms**: Naive retry logic re-traverses the full delegation chain, re-invoking A and B, which under load amplifies into a thundering herd at rotation boundaries — the exact moment federation is most fragile. - **Non-idempotent side effects**: If the terminal hop had already committed partial work before verification failure, re-mint and replay double-executes. The warrant check must be positioned *before* any side-effecting tool call, and the chain's `jti` must be recorded for replay suppression. - **Cross-org blame**: Each org's logs show its own hop as clean; the failure only manifests at the boundary, so incident triage bounces between Alpha, Beta, and Gamma. The guardrail: retain historical root states with explicit `[not_before, not_after)` intervals, verify chain `iat` against the anchor's interval rather than the current accepted set, and treat revocation as a separate, explicit signal that forces re-mint. Rotation must never invalidate in-flight chains; only revocation may. ```python import time from dataclasses import dataclass from typing import Optional class WarrantAnchorError(RuntimeError): """Raised when a delegation chain's trust-root anchor cannot be resolved.""" @dataclass(frozen=True) class TrustRoot: root_id: str not_before: float not_after: float # rotation cutover; still valid as historical anchor revoked: bool = False @dataclass(frozen=True) class WarrantChain: chain_id: str iat: float exp: float anchor_root_id: str signatures_valid: bool class FederationVerifier: def __init__(self, roots: list[TrustRoot], overlap_window: float = 300.0): self._roots = {r.root_id: r for r in roots} self._overlap_window = overlap_window def verify(self, chain: WarrantChain, now: Optional[float] = None) -> None: now = time.time() if now is None else now if not chain.signatures_valid: raise WarrantAnchorError(f"chain {chain.chain_id}: signature invalid") if not (chain.iat <= now <= chain.exp): raise WarrantAnchorError( f"chain {chain.chain_id}: outside TTL at {now}" ) root = self._roots.get(chain.anchor_root_id) if root is None: raise WarrantAnchorError( f"chain {chain.chain_id}: unknown anchor root {chain.anchor_root_id}" ) # Revocation is unconditional and overrides everything. if root.revoked: raise WarrantAnchorError( f"chain {chain.chain_id}: anchor root {root.root_id} revoked; re-mint required" ) # Mint-time anchoring: the chain's iat must lie inside the root's # historical active interval, NOT the current accepted set. if not (root.not_before <= chain.iat < root.not_after): raise WarrantAnchorError( f"chain {chain.chain_id}: iat {chain.iat} outside anchor " f"interval [{root.not_before}, {root.not_after})" ) # If the chain outlives the rotation cutover, verify-time anchoring # would be unsound; mint-time anchoring above already handled it. if chain.exp - chain.iat > self._overlap_window and now > root.not_after: # Explicitly permitted: historical anchor remains valid for # in-flight chains. This branch documents the invariant. pass ```