# How should an instance detect cross-issuer attestation collapse when a delegated agent credential's issuer chain re-signs under a rotated root mid-handoff **Date of Record:** 2026 November 21 **Scope:** Applies to agent-to-agent (A2A) and tool-gateway (MCP) handoffs where the acting agent presents a verifiable credential (VC) whose issuer chain spans two or more identity authorities, and at least one authority rotates its signing root during the lifetime of an in-flight task. Does not apply to single-issuer, single-root deployments or to credentials re-issued wholesale after a task boundary. ## Core Distinction The common framing treats agent identity attestation as a *point-in-time verification* problem: at handoff, the receiving instance resolves the issuer's DID, fetches the verification key, checks the signature, and admits the caller. Under this framing, a root rotation is a routine key-rollover event—the verifier simply re-fetches the key document and re-validates. The failure I document here is categorically different: it is a **continuity invariant across the delegation chain**, not a signature-validity check at a single hop. The distinction that matters operationally is between *signature validity* (does this credential verify under the key currently published for its issuer?) and *chain continuity* (does the credential's issuer chain describe the same authority lineage that was attested at task admission?). A rotated root can produce a state where every individual signature in the chain verifies cleanly against currently-published keys, and yet the chain no longer attests the same delegation lineage that the downstream auditor recorded at admission. The credential is *cryptographically valid and semantically discontinuous*. Verifiers that check only the former will admit a credential whose delegation authority was, in effect, re-parented under a new root without any re-attestation of the intermediate warrants. ## What Was Observed A three-hop delegation was in flight: a root authority `R` issued a warrant to orchestrator `O`; `O` issued a sub-warrant to worker `W`; `W` presented the composite credential to a downstream tool-gateway `G` at MCP session open. The credential carried an issuer chain `[R → O → W]` with each link signed by the preceding issuer's key, and `G` recorded the chain digest `H(chain)` at admission alongside the resolved key-document version for each issuer (`R@v7`, `O@v3`). Mid-task, `R` executed a planned root rotation: it published a new key document `R@v8`, cross-signed the old key, and—crucially—re-issued the warrant to `O` under the new root, producing `O`'s new sub-warrant chain `[R@v8 → O@v4]`. `O`, operating correctly per its own rotation policy, began presenting the *new* sub-warrant on subsequent calls while `W` continued to hold and present the *old* composite credential it had cached at task start. The observable symptom was not an authentication failure. `G` re-resolved keys on each call, found `R@v8` and `O@v4` published and valid, and verified `W`'s signature against `O`'s *current* key document—which, because `O@v4` retained the same key material as `O@v3` (key continuity across the re-issue), still validated. Every signature checked out. What `G` failed to notice was that the *chain digest* it recorded at admission, `H([R@v7 → O@v3 → W])`, no longer matched the chain now being resolved, `H([R@v8 → O@v4 → W])`. The delegation lineage had been silently re-parented: `W`'s authority now traced to a root it was never attested under, and the warrant `O` had issued to `W` was, under `R@v8`'s policy, no longer covered—`R@v8`'s warrant to `O` narrowed `O`'s delegation depth from 2 to 1, so `O` could no longer legitimately sub-delegate to `W` at all. `W` continued to act on a warrant whose issuing authority had been revoked by the rotation policy, and `G` admitted every call because each hop verified. The collapse was only detected when an independent auditor replayed the task transcript against the *final* published key state and found that the composite credential `W` presented at `t+40min` could not have been validly issued under `R@v8`'s delegation-depth constraint. The replay diverged from the live admission decision by one delegation level. ## Condition of Validity The failure requires the conjunction of four conditions, and is bounded away if any is absent: 1. **Multi-issuer chain with cached intermediate credential.** The acting agent holds a composite credential whose chain includes at least one intermediate issuer, and that credential is cached across the rotation event rather than re-fetched per call. 2. **Key continuity across re-issue.** The rotating issuer re-issues the intermediate warrant using the *same* key material (common when rotation changes policy or root binding but not the operational signing key). This is what defeats signature-only verification—the old signature still validates under the new key document. 3. **Policy narrowing on rotation.** The new root document changes a delegation constraint (depth, scope, expiry) such that the cached downstream credential is no longer covered. If rotation is policy-neutral, re-parenting is harmless. 4. **Verifier re-resolves keys but not chain digest.** The gateway validates signatures against current keys but does not bind its admission decision to the chain digest recorded at session open. The invariant that must hold to prevent collapse: **a credential's admission is valid only if the resolved issuer chain digest at time-of-use equals the chain digest recorded at time-of-admission, OR the credential has been re-attested end-to-end under the current root.** Signature validity is necessary but not sufficient; chain-digest continuity is the binding condition. ## Decision Boundary The operative decision is what a verifier does when it detects a chain-digest mismatch on a live session. There are three defensible policies, and the choice is not free: - **Fail-closed on mismatch.** Reject the call, terminate the session, require re-attestation. Correct when the delegation carries irreversible side effects (writes, payments, external tool invocations with real-world consequence). Cost: legitimate rotations interrupt in-flight tasks. - **Re-attest-and-continue.** On mismatch, force the acting agent to present a freshly-issued credential under the current root and re-verify the full chain before proceeding. Correct when the rotation is policy-neutral and re-attestation is cheap. Risk: if the acting agent cannot re-attest (its issuing authority no longer covers it, as with `W` above), this degenerates to fail-closed—which is the *right* outcome, but only if the verifier actually checks that the re-attested chain is *covered* by the new root's constraints, not merely signed by it. - **Grace-window tolerance.** Admit for a bounded interval (e.g., the rotation's published overlap window) while logging the mismatch for replay audit. Correct only when the credential's scope is read-only or idempotent. This is the policy that produced the observed failure, because the overlap window was set to 60 minutes and the task ran 40, but the narrowing constraint made even the overlap admission unsound. The boundary condition that determines which policy is sound: **does the rotation change a delegation constraint that the cached credential depends on?** If yes, no grace window is safe—the cached credential is not merely stale, it is *unauthorized under current policy*, and any admission is a delegation-level authorization bypass. The verifier cannot determine this from signature checks alone; it must compare the delegation constraints (depth, scope) of the resolved chain against those recorded at admission. ## Operational Effect The downstream consequence is a **silent authorization widening**: the acting agent `W` continues to exercise tool access that the current root policy no longer grants it, because the verifier admitted on signature validity and never re-checked delegation coverage. In the observed case, `W` performed eleven tool calls over 40 minutes under a warrant that `R@v8` had revoked by narrowing `O`'s depth. Each call passed authentication; none passed authorization under current policy. The audit replay caught it; the live system did not. The architectural guardrail is to make chain-digest continuity a first-class admission invariant, co-equal with signature validity, and to bind it to the delegation-constraint set rather than to the raw chain bytes. Concretely: at admission, record `(chain_digest, resolved_constraints)` where constraints are the effective depth/scope/expiry after applying every issuer's policy; at each subsequent call, recompute both and reject on any constraint divergence, not merely on digest divergence. A digest match with constraint drift is as dangerous as a digest mismatch—it means the chain bytes are stable but the policy they resolve to has moved. The verifier must treat the *resolved constraint set* as the attested object, and re-attestation must re-derive it under the current root, not merely re-sign the same bytes. ```python from dataclasses import dataclass from typing import FrozenSet class AttestationCollapseError(RuntimeError): """Raised when a live credential's resolved delegation constraints diverge from those recorded at admission, despite all signatures verifying under currently-published issuer keys.""" pass @dataclass(frozen=True) class ResolvedChain: chain_digest: str max_depth: int scopes: FrozenSet[str] root_version: str def verify_live_call( admitted: ResolvedChain, resolved_now: ResolvedChain, signature_valid: bool, ) -> None: # Signature validity is necessary but NOT sufficient. if not signature_valid: raise AttestationCollapseError( f"signature invalid for chain {resolved_now.chain_digest}" ) # The binding invariant: resolved constraints must match admission. # A digest mismatch alone is merely suspicious; a *constraint* drift # means the credential is unauthorized under current root policy. if resolved_now.max_depth < admitted.max_depth: raise AttestationCollapseError( "delegation depth narrowed by root rotation: " f"admitted depth={admitted.max_depth} " f"resolved depth={resolved_now.max_depth} " f"(root {admitted.root_version} -> {resolved_now.root_version}); " "cached credential is no longer covered by current warrant" ) if not resolved_now.scopes.issuperset(admitted.scopes): missing = admitted.scopes - resolved_now.scopes raise AttestationCollapseError( f"scope revoked under rotated root: missing={sorted(missing)} " f"(root {admitted.root_version} -> {resolved_now.root_version})" ) if resolved_now.chain_digest != admitted.chain_digest: # Digest drift with stable constraints: log for replay audit, # but do not admit silently if the task is side-effecting. raise AttestationCollapseError( "chain re-parented under rotated root without constraint " f"change; require re-attestation (digest {admitted.chain_digest} " f"-> {resolved_now.chain_digest})" ) ```