# What happens when an instance re-delegates a scoped credential across an attestation-chain hop and the attenuation proof is checked against the wrong issuer epoch **Date of Record:** 2026 December 3 **Scope:** Applies to any AAIF deployment where a delegated scoped credential (DSC) carries an attenuation proof bound to an issuer epoch, and where a downstream agent (B) re-delegates to a further agent (C) while the root issuer (R) rotates its signing epoch or revokes an intermediate warrant between B's receipt and C's first use. Does not apply to single-hop delegation, nor to stateless bearer tokens without attenuation proofs. ## Core Distinction The failure is not "expired credential" and not "forged signature." Both of those are caught by ordinary verification. The failure is that a *valid* attenuation proof — one that correctly demonstrates C's scope is a strict subset of B's — is validated against the *current* issuer epoch rather than the epoch under which the proof chain was originally minted. Because the attenuation proof is a hash-linked structure over the scope lattice, it is epoch-agnostic in content but epoch-sensitive in verification: the verifier re-derives the issuer's public parameters from the latest published epoch, and the re-derivation silently succeeds while producing a *different* trust anchor than the one the proof was signed under. The result is a credential that passes every structural check, is genuinely more restrictive than its parent, and is nonetheless unattributable — C holds a warrant that R will not honor on the return path, because R's revocation ledger keys the warrant to the old epoch. The distinction that matters operationally: this is a *continuity* break in the attestation chain, not an *authorization* break. C is authorized at the moment of use. C is not attestable at the moment of audit. Agent systems that conflate "authorized" with "attestable" will pass this credential through and only discover the break when a downstream auditor replays the chain. ## What Was Observed A three-hop delegation: R (root orchestrator) → B (planner agent) → C (tool-executor agent). R issued B a DSC with scope `{read:repo, write:branch/feature-x}` and an attenuation proof `π_B` over the scope lattice, signed under issuer epoch `e_41`. B, before delegating to C, narrowed scope to `{read:repo}` and minted `π_C ⊑ π_B`, forwarding the chain `[sig_R(e_41), π_B, π_C]`. Between B's receipt of the DSC and C's first tool call, R rotated to epoch `e_42`. The rotation was routine — a scheduled key roll with a 15-minute overlap window during which both epochs' public parameters were published. The verifier on C's side, configured to "always verify against the freshest issuer epoch," pulled `e_42` parameters. The verification sequence: 1. Signature check on `sig_R(e_41)` — **passed**, because the overlap window kept `e_41` verification keys live. 2. Attenuation check: re-derive `π_B` and `π_C` under `e_42` public parameters. The lattice hash recomputed to the same digest — **passed**, because the proof content is epoch-independent. 3. Subset check `scope(π_C) ⊆ scope(π_B)` — **passed**. 4. Warrant lookup in R's revocation ledger — **passed locally**, because C's verifier queried the ledger with the *structural* warrant ID, which is epoch-independent, and the ledger had not yet been re-keyed to bind warrant IDs to `e_42`. So C executed. It ran for 40 minutes across ~200 tool calls. At audit time, the replay verifier — a separate process configured to bind every warrant to its *minting* epoch — reconstructed the chain and found that `π_C`'s parent warrant was registered under `e_41`, while the chain's terminal signature resolved under `e_42`. The audit rejected the entire 40-minute execution as unattributable. No malicious action occurred; the work was simply unprovable. The non-obvious part: step 4's local pass is what allowed the run to proceed. The revocation ledger's warrant-ID namespace was *not* epoch-scoped, so a lookup that should have surfaced the epoch mismatch instead returned a clean hit. The verifier and the auditor disagreed about what a warrant ID identifies — a structural object or an (object, epoch) pair — and nothing in the protocol forced them to agree. ## Condition of Validity The boundary holds — that is, the failure is *prevented* — only when all three of the following are enforced simultaneously: - **Epoch pinning at mint time, carried in the proof.** The attenuation proof must embed the issuer epoch it was minted under as a first-class, signed field, not as metadata the verifier is free to re-resolve. If `π_C` carries `issuer_epoch: e_41` inside its signed body, then step 2's re-derivation under `e_42` fails closed rather than silently succeeding. - **Epoch-scoped warrant namespace.** The revocation ledger must key warrants by `(warrant_id, issuer_epoch)`. A lookup for `(w, e_41)` must not be satisfiable by a record for `(w, e_42)`. This is the guardrail that closes step 4. - **Audit-verifier equivalence on chain binding.** The verifier that gates execution and the verifier that replays for audit must share the *same* chain-binding rule. If one binds terminal signature to minting epoch and the other to freshest epoch, the gap between them is exactly the window in which unattestable work executes. Remove any one and the chain is exploitable by *rotation timing alone* — no key compromise, no forgery, no malicious agent required. The trigger is purely the coincidence of a re-delegation hop with an epoch rotation. ## Decision Boundary The operational decision is: **when a delegated credential crosses a hop during an epoch overlap window, does the verifier fail closed on epoch ambiguity, or does it resolve to the freshest epoch and proceed?** The correct boundary is fail-closed on ambiguity, with an explicit re-attestation path. Concretely: - If `proof.issuer_epoch ≠ verifier.current_epoch` **and** `proof.issuer_epoch` is still within its overlap window, the verifier must *not* silently accept. It must either (a) reject and force B to re-mint `π_C` under the current epoch, or (b) accept but pin the entire downstream chain — including C's execution records — to `proof.issuer_epoch` for audit purposes. - Option (b) is only safe if the auditor is guaranteed to honor the pinned epoch. If the auditor always uses freshest-epoch binding, option (b) produces exactly the observed failure. Therefore option (b) requires a signed agreement between verifier and auditor on the binding rule, propagated as part of the credential itself. - The decision must be made at *mint* time by B, not at *use* time by C. C cannot know whether R will rotate again before audit. B, holding the parent warrant and the current epoch, is the only party positioned to decide whether to re-mint or to pin. The anti-pattern to name explicitly: "verify against the freshest epoch" is a reasonable default for *authorization* and a catastrophic default for *attestation*. The two verification goals have opposite epoch preferences, and a single verifier cannot serve both without an explicit binding-rule parameter. ## Operational Effect Three concrete consequences follow, and they compound: 1. **Silent unattestability windows.** Every epoch rotation opens a window, bounded by the overlap duration, during which re-delegated credentials can execute but not be audited. The window's length is the overlap duration; its blast radius is the number of hops that occur within it. In the observed incident, a 15-minute overlap produced a 40-minute unattestable run because the run *started* inside the window and continued past it — the credential's validity outlived its attestability. 2. **Audit-replay divergence as a first-class failure class.** The replay verifier and the execution verifier disagreed, and the disagreement was not detected at execution time because neither verifier knew the other's binding rule. This is structurally identical to the verifier-replay discrepancies seen in multi-agent consensus systems, transplanted to the credential layer. The guardrail is the same: the binding rule must be part of the signed artifact, not part of each verifier's configuration. 3. **Re-attestation cost asymmetry.** Re-minting `π_C` under the new epoch is cheap for B (one signature, one hash-link) but expensive for the system if it happens at every hop during every rotation — it forces B to hold the parent warrant open across the rotation, which conflicts with B's own short-lived credential policy. The practical resolution is to *pin* rather than *re-mint*, and to make pinning safe by closing the warrant-namespace gap. Pinning is only viable once the ledger is epoch-scoped; before that, pinning produces the observed failure. The invariant to carry forward: **a delegated credential is attestable if and only if every hop in its chain resolves to the same issuer epoch at both execution-verification and audit-replay, and that epoch is the one embedded in the signed attenuation proof.** Any system where the two verifiers can independently choose an epoch violates this invariant by construction, and the violation is invisible until an audit runs. ```python from dataclasses import dataclass from typing import Optional class AttestationEpochMismatch(RuntimeError): """Raised when a delegated credential's attenuation proof resolves to an issuer epoch that differs from the epoch the audit verifier will bind to.""" @dataclass(frozen=True) class AttenuationProof: scope: frozenset parent_digest: str issuer_epoch: str # MUST be inside the signed body, not metadata signature: bytes @dataclass(frozen=True) class DelegatedScopeCredential: chain: tuple # ordered [root_sig, pi_B, pi_C, ...] terminal_scope: frozenset def verify_hop( dsc: DelegatedScopeCredential, verifier_epoch: str, auditor_binding_epoch: str, overlap_window_open: bool, ) -> None: """Gate a re-delegated credential before C executes. Fails closed when the proof's minted epoch and the auditor's binding epoch diverge during an overlap window, because that is precisely the condition under which execution succeeds but audit replay rejects the run. """ proof: AttenuationProof = dsc.chain[-1] minted = proof.issuer_epoch if minted != verifier_epoch: if not overlap_window_open: raise AttestationEpochMismatch( f"proof minted under {minted!r} but verifier is at " f"{verifier_epoch!r} with no overlap window; refusing to " f"execute on a stale-epoch proof" ) # Overlap window is open. The dangerous case: verifier resolves to # freshest epoch, auditor binds to minting epoch. Execution would # succeed and audit would later reject the entire run. if auditor_binding_epoch != minted: raise AttestationEpochMismatch( f"epoch ambiguity: verifier={verifier_epoch!r}, " f"proof_minted={minted!r}, auditor_binds={auditor_binding_epoch!r}. " f"Verifier and auditor disagree on chain binding; the run " f"would be unattestable. Re-mint under {verifier_epoch!r} or " f"pin the auditor to {minted!r} before proceeding." ) # Subset invariant: terminal scope must be a strict subset of every parent. for i, hop in enumerate(dsc.chain[:-1]): if not isinstance(hop, AttenuationProof): continue if not dsc.terminal_scope <= hop.scope: raise AttestationEpochMismatch( f"scope widening at hop {i}: terminal scope " f"{sorted(dsc.terminal_scope)} not subset of " f"{sorted(hop.scope)}" ) ```