What structural signals indicate a stale capability warrant is still being honored across a federated agent mesh
**Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent meshes where agent A delegates a task to agent B under a signed capability warrant (scope + TTL + revocation epoch) issued by a federation authority, and where B may re-delegate to C. Does not apply to single-tenant meshes with a single trust root and no re-delegation, nor to stateless request/response tool calls that carry no warrant.
Core Distinction
The failure is not "revocation did not propagate." Revocation *did* propagate—the authority published the revocation record, and every node's revocation feed shows it. The failure is that **the warrant was honored anyway because the verifying node evaluated the warrant against a revocation epoch it believed was current, while the delegation chain carried a different, older epoch.** The distinction that matters operationally is between *warrant validity* (signature, scope, TTL) and *warrant freshness* (does the verifier's view of the revocation set cover the moment the warrant was minted and every re-delegation since). A warrant can be cryptographically valid, in-scope, unexpired, and still be a dead letter. Most mesh implementations conflate these two checks into one "verify warrant" call and thereby lose the ability to observe the gap.
The non-obvious part: the stale warrant does not fail loudly. It succeeds, executes the delegated action, and returns a plausible result. The only structural signal is a *monotonicity violation* in the epoch chain—a child warrant whose `revocation_epoch` is not `>=` its parent's. That signal is visible only if the verifier records the parent epoch alongside the child, which most do not, because they verify each hop independently.
What Was Observed
A three-hop delegation in a federated mesh: authority `F` issues warrant `W1` to agent `B` (scope: `ledger.read`, TTL 3600s, `revocation_epoch=41`). `B` re-delegates a narrowed `W2` to `C` (`ledger.read:partition=7`, `revocation_epoch=41`). At t+900s, `F` revokes `W1`'s subject class and publishes `revocation_epoch=42`. `C`'s local epoch tracker polls every 300s and updates to 42 at t+1200s.
At t+1100s—after revocation, before `C`'s poll—`C` accepts `W2` and executes a read against partition 7. The signature checks out. Scope checks out. TTL checks out. `C` compares `W2.revocation_epoch (41)` against its *cached* epoch (41, not yet 42) and passes. The read returns data. No error is raised anywhere. The authority's audit log shows the revocation at t+900s; `C`'s execution log shows a successful read at t+1100s. The two logs are consistent with each other and both "correct"—the mesh simply had a 300-second window in which a revoked capability executed, and nothing in the execution path flagged it.
The structural signals that were *present but unread*:
- **Epoch skew between hops.** `W2.revocation_epoch == W1.revocation_epoch` at mint time, but after revocation `W1`'s effective epoch became 42 while `W2`'s embedded epoch remained 41. Any verifier that compared `W2.epoch` to `W1.epoch` at execution time would have seen `41 < 42` and known `W2` was stale. No verifier did, because `C` never saw `W1`—only `W2` and the delegation proof.
- **Delegation depth vs. poll interval.** TTL 3600s, poll 300s, depth 3. The worst-case staleness window is `poll_interval × depth` = 900s if each hop re-verifies against its own cache. Here it was `300 × 1` = 300s because `C` was the leaf. The signal is that *the leaf's staleness bound is its own poll interval, but the mesh's bound is the sum along the chain*, and nothing enforces the sum.
- **Revocation record with no `min_epoch` for descendants.** `F`'s revocation record said "revoke subject class X, epoch 42" but did not say "any warrant with epoch < 42 descending from X is dead." Descendant invalidation was left to the verifier's inference, which was not implemented.
Condition of Validity
The invariant that must hold for continuous authorization to be sound across a mesh is:
> For every warrant `W` presented at time `t`, the verifier must establish `W.revocation_epoch >= current_epoch(F)` **and** `W.revocation_epoch >= max(parent.revocation_epoch for all ancestors of W)`, evaluated at `t`, not at mint time.
This is a *chain-monotonic epoch* invariant. It fails when any of the following hold:
- The verifier checks only `W.epoch >= cached_epoch`, and `cached_epoch` is stale (the observed case).
- The verifier checks `W.epoch >= current_epoch` but `current_epoch` is fetched from a local cache with a TTL longer than the mesh's revocation SLA.
- The delegation proof does not carry the parent's epoch at execution time, only at mint time—so the child cannot detect that its parent has since been revoked.
- The authority's revocation record does not include a descendant-invalidation clause, forcing each verifier to infer it.
The invariant *holds* only when the delegation proof is *epoch-carrying and epoch-checked at every hop at execution time*, and the authority publishes revocations with explicit descendant scope. The moment either is absent, the mesh has a staleness window equal to the leaf's poll interval, and a revoked capability can execute.
Decision Boundary
The decision boundary is not "is the warrant valid" but **"is the warrant's epoch at least the maximum epoch of any ancestor, as of the verifier's most recent authoritative epoch read, and is that read within the revocation SLA?"** Three concrete decisions follow:
- **If `W.epoch < max(ancestor epochs)` observed at execution:** reject immediately, regardless of signature/scope/TTL. This is a hard fail—the warrant is structurally stale. Raise and do not retry; the delegation chain must be re-minted from a fresh parent.
- **If `W.epoch >= max(ancestor epochs)` but the verifier's epoch read is older than the SLA:** the warrant is *conditionally* valid. The correct action is to block on a synchronous epoch refresh (bounded by a timeout), not to proceed on the cached value. Proceeding is the observed failure.
- **If the authority's revocation record lacks descendant scope:** treat the revocation as *conservatively* applying to all descendants, not just the named subject. The cost is over-revocation; the alternative is the observed silent execution.
The boundary is sharp because epochs are monotonic integers. There is no "mostly fresh" warrant. Either the verifier's epoch view dominates every ancestor's epoch, or the warrant is dead. The only question is whether the verifier can *see* the ancestor epochs—which requires the delegation proof to carry them at execution time, not just at mint time.
Operational Effect
The operational effect of missing this invariant is a mesh that reports 100% revocation-propagation success (every node's feed is current) while executing revoked capabilities for a window bounded by `poll_interval × chain_depth`. The failure is invisible to per-hop verification because each hop is locally correct: `C`'s check of `W2` against `C`'s cache is a valid check of a stale fact. The mesh's audit trail will show the revocation and the execution as separate, individually-consistent events.
The guardrail is architectural, not procedural: **delegation proofs must carry ancestor epochs at execution time, and verifiers must enforce chain-monotonic epoch dominance with a synchronous refresh on any skew.** Procedural mitigations (shorter poll intervals, "check before you act" runbooks) reduce the window but do not bound it—the window is structural and scales with depth. The only way to close it is to make the epoch comparison a chain operation rather than a point operation, and to treat any epoch skew as a hard rejection with a mandatory re-mint, never a retry against the same warrant.
from dataclasses import dataclass
from typing import Optional
class StaleWarrantEpochError(RuntimeError):
"""Raised when a warrant's revocation epoch does not dominate its ancestry."""
pass
@dataclass(frozen=True)
class Warrant:
warrant_id: str
subject: str
scope: str
ttl_s: int
revocation_epoch: int
parent_id: Optional[str]
# ancestor_epochs is populated at EXECUTION time from the delegation proof,
# not at mint time. Absence of this field is itself a structural signal.
ancestor_epochs: tuple = ()
@dataclass(frozen=True)
class EpochView:
authority: str
epoch: int
read_at_s: int
sla_s: int
def is_fresh(self, now_s: int) -> bool:
return (now_s - self.read_at_s) <= self.sla_s
def verify_warrant_at_execution(
w: Warrant,
view: EpochView,
now_s: int,
refresh_fn,
) -> None:
# 1. Structural signal: delegation proof must carry ancestor epochs.
if w.parent_id is not None and not w.ancestor_epochs:
raise StaleWarrantEpochError(
f"warrant {w.warrant_id} has parent {w.parent_id} but no "
f"ancestor_epochs in execution proof; cannot evaluate "
f"chain-monotonic epoch dominance"
)
# 2. Chain-monotonic dominance: W.epoch must be >= every ancestor epoch.
max_ancestor = max(w.ancestor_epochs, default=0)
if w.revocation_epoch < max_ancestor:
raise StaleWarrantEpochError(
f"warrant {w.warrant_id} epoch {w.revocation_epoch} < "
f"max ancestor epoch {max_ancestor}; warrant structurally stale"
)
# 3. Freshness: verifier's epoch view must be within SLA.
if not view.is_fresh(now_s):
# Synchronous refresh, bounded. Do NOT proceed on stale cache.
refreshed = refresh_fn(timeout_s=view.sla_s)
if refreshed is None or not refreshed.is_fresh(now_s):
raise StaleWarrantEpochError(
f"epoch view for {view.authority} stale "
f"({now_s - view.read_at_s}s > {view.sla_s}s SLA) and "
f"refresh failed; refusing execution of {w.warrant_id}"
)
view = refreshed
# 4. Dominance against authoritative current epoch.
if w.revocation_epoch < view.epoch:
raise StaleWarrantEpochError(
f"warrant {w.warrant_id} epoch {w.revocation_epoch} < "
f"authority current epoch {view.epoch}; warrant revoked"
)