# What happens when an instance re-derives a delegated warrant after its issuer's revocation epoch has advanced **Date of Record:** 2026 November 20 **Scope:** Applies to any agent that holds a delegated capability warrant (a signed credential binding subject-agent, scope, expiry, and a delegation chain up to a root principal) and that can re-mint, refresh, or locally re-derive that warrant mid-task—e.g., on checkpoint/resume, cold restart, or handoff to a sibling instance. Does not apply to stateless one-shot invocations where the warrant is presented once and discarded, nor to chains whose root principal is co-located with the leaf (no cross-issuer epoch skew). ## Core Distinction A delegation chain is not a *set* of signed facts; it is an *ordered, epoch-stamped lattice*. Each link carries a `(issuer, subject, scope, not_before, not_after, revocation_epoch)` tuple, and validity is defined relative to the *issuer's* revocation epoch at the moment of verification—not at the moment of issuance. The failure mode is not "expired credential" (that is caught trivially by `not_after`). It is the subtler case where an instance, resuming from a checkpoint, *reconstructs* its own warrant from cached chain material and re-signs the leaf under its own key, silently "healing" a link whose parent was revoked in the interval between checkpoint and resume. The re-derived warrant is cryptographically valid, satisfies every local schema check, and passes naive verification—yet it asserts a delegation that the root principal has already retracted. The invariant that breaks: **a delegation link is only as valid as the *highest* revocation epoch observed anywhere in its ancestry, and that epoch is monotonic and non-reconstructible from the leaf alone.** Any agent that re-derives a warrant from leaf-local state violates monotonicity because it has no access to the ancestors' current epochs. ## What Was Observed An agent `A` executing a long tool-use task holds a warrant `W_A` delegated from `B`, which was delegated from root `R`. The chain is `R → B → A`. `A` checkpoints at step 40 of a 120-step plan, persisting `W_A` (the signed leaf), the public keys of `B` and `R`, and the delegation *claims* (scope strings) but **not** the live revocation epochs of `B` or `R`—because at issuance time those epochs were `0` and `0`, and `A`'s serializer wrote only the fields that were non-trivial. Between step 40 and resume, `R` revokes `B`'s delegation (epoch advances `0 → 7`). `B`'s own revocation list is updated; `B`'s epoch advances `0 → 3`. `A` is not notified—no push channel, no epoch gossip. On resume, `A` finds `W_A`'s `not_after` still in the future and re-signs a *refreshed* leaf `W_A'` under `A`'s key with a new `not_after`, copying the cached `revocation_epoch: 0` from the persisted claims. `W_A'` verifies cleanly against `B`'s public key (signature intact), against `A`'s scope (subset of `B`'s claimed scope), and against wall-clock expiry. A downstream resource server that checks only the leaf's signature and `not_after` admits the call. The revocation is invisible: the leaf *asserts* epoch `0`, and nothing in the leaf forces the verifier to consult `R`'s current epoch. The trace: `checkpoint(step=40) → [revocation R:0→7, B:0→3] → resume → re_derive(W_A) → verify_leaf(OK) → tool_call(admitted) → unauthorized effect`. The failure is silent, deterministic given the trigger, and *unrecoverable* once the unauthorized effect has fired—the agent has no signal that its warrant was stale. ## Condition of Validity The re-derivation is only safe under a condition most implementations never check: **the re-deriving instance must hold a fresh, signed epoch attestation from every ancestor in the chain, and the max of those epochs must be ≤ the epoch recorded in the leaf's parent link.** Formally, for chain `R → B → A`, resume-time validity requires: - `epoch_attest(R) ≥ epoch_in(W_A.parent.parent)` and - `epoch_attest(B) ≥ epoch_in(W_A.parent)` and - `max(epoch_attest(R), epoch_attest(B)) == epoch_recorded_in(W_A)`. If any ancestor's attested epoch exceeds the epoch baked into the leaf, the leaf is *stale by construction* and re-derivation must fail closed. The condition is violated whenever the checkpoint omits ancestor epochs, whenever the epoch service is unreachable at resume, or whenever the agent treats "signature valid" as "warrant valid"—the three are not the same predicate. The deeper invariant: **a leaf cannot self-certify its own freshness.** Freshness is a property of the *ancestry at verification time*, and the leaf is a snapshot, not a channel. Any design that lets the leaf carry its own epoch is relying on the issuer having stamped it correctly at issuance—which says nothing about the interval since. ## Decision Boundary The boundary is between *re-derivation* and *re-issuance*. Re-derivation (re-signing the leaf from cached chain material) is only permissible when the agent has a live epoch attestation covering the full ancestry. When it does not, the agent must fall back to **re-issuance**: present the original leaf to `B` (or `R`), let the issuer re-evaluate against *its own* current epoch, and accept a fresh chain or a hard denial. Re-issuance is slower (a network round-trip, a possible denial) but it is the only path that preserves the monotonicity invariant, because it forces the epoch check to happen at the issuer, where the epoch is authoritative. The operational rule: **if `epoch_attest` is unavailable for any ancestor, `A` must not mint a successor leaf; it must either re-issue or halt.** The tempting middle path—re-derive with cached epochs and "verify later"—is exactly the failure. "Verify later" never happens because the unauthorized effect already fired. A second boundary: scope *narrowing* across re-derivation is safe (a subset of a revoked scope is still revoked, so narrowing cannot launder a revocation), but scope *widening* or scope *preservation* across a stale epoch is not. This asymmetry is easy to miss: implementers often treat all scope operations symmetrically and therefore allow re-derivation for the "safe" narrowing case while accidentally allowing the unsafe preserve case through the same code path. ## Operational Effect The practical consequence is that any agent system with checkpoint/resume, cold-start recovery, or sibling handoff must treat the persisted warrant as **inert material, not a usable credential**, until ancestry epochs are re-attested. Concretely: 1. Checkpoints must persist ancestor epochs *and* the epoch-attestation endpoint, or must persist nothing that permits local re-minting. 2. Resume must perform an epoch-attestation fetch before any tool call; failure to fetch is a hard stop, not a degraded mode. 3. Resource servers must reject leaves whose recorded epoch is below the issuer's current epoch—requiring the server to consult the issuer, which means the leaf must carry the issuer's *identity*, not just the issuer's key. 4. The agent's local "warrant valid" predicate must be redefined as `signature_valid AND epoch_fresh AND scope_subset`, and the middle conjunct must be sourced externally. The failure is non-obvious because every local check passes. It is bounded only by the epoch-attestation guardrail, and it is unrecoverable once the effect fires. Agents that skip the guardrail do not fail loudly—they fail *authorized*, which is worse. ```python class StaleWarrantReDerivationError(RuntimeError): """Raised when an agent attempts to re-derive a delegated warrant without a fresh epoch attestation covering the full ancestry.""" pass def rederive_warrant(leaf, ancestry_epochs, attest_fn): # leaf: dict with issuer, subject, scope, not_after, recorded_epoch, # parent_epoch (epoch of the immediate parent link at issuance) # ancestry_epochs: list of ancestor ids, root-first # attest_fn: callable(ancestor_id) -> current epoch or None if unreachable live = {} for ancestor in ancestry_epochs: epoch = attest_fn(ancestor) if epoch is None: raise StaleWarrantReDerivationError( f"epoch attestation unreachable for ancestor {ancestor!r}; " f"cannot re-derive leaf for {leaf['subject']!r} — fail closed" ) live[ancestor] = epoch max_live = max(live.values()) if live else 0 if max_live > leaf["recorded_epoch"]: raise StaleWarrantReDerivationError( f"ancestry epoch advanced to {max_live} but leaf records " f"{leaf['recorded_epoch']} (parent epoch {leaf['parent_epoch']}); " f"re-derivation would launder a revocation — re-issue instead" ) if leaf["recorded_epoch"] != leaf["parent_epoch"]: raise StaleWarrantReDerivationError( f"leaf epoch {leaf['recorded_epoch']} inconsistent with parent " f"epoch {leaf['parent_epoch']}; chain integrity violated" ) # Safe to mint a successor leaf only now. return {**leaf, "rederived": True, "epoch_verified_at": max_live} ```