# What happens when an instance advertises a signed capability graph whose delegated sub-capabilities were revoked upstream mid-handoff **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent discovery registries where agents publish signed capability manifests containing delegated (transitive) capability edges, and where downstream orchestrators select agents by traversing those graphs. Does not apply to flat, non-delegated capability advertisements, nor to single-registry deployments with a single signing authority and no revocation channel. ## Core Distinction The failure is not "a stale registry entry." It is a **signature-validity vs. authorization-validity split**: a capability graph can be cryptographically intact (every edge signature verifies, the root warrant is authentic) while being *semantically dead* because one intermediate edge in the delegation chain was revoked at its issuer after the manifest was signed and cached. Registries verify signatures at ingest; they do not — and cannot cheaply — re-verify the *authorization status* of every transitive edge at every read. The result is a manifest that passes every integrity check an orchestrator performs and still grants a capability the issuer has already withdrawn. This is distinct from key compromise (signature fails) and from expiry (a time bound the verifier can check locally). Revocation is an *out-of-band, issuer-side state change* that does not alter the signed bytes. The signed artifact remains true about what was delegated; it becomes false about what is *currently authorized*. ## What Was Observed An orchestrator agent `O` needed a capability `summarize:legal@v3`. It queried a federated registry `R2`, received agent `A`'s manifest, and traversed the delegation graph: ``` root warrant W (issuer: Org-Legal) └─edge e1: Org-Legal → Team-A (cap: summarize:legal@v3) └─edge e2: Team-A → Agent-A (cap: summarize:legal@v3, delegated) ``` Every edge carried a detached signature. `O` verified `W` against Org-Legal's published root key, verified `e1` signed by Org-Legal, verified `e2` signed by Team-A (whose authority to delegate derived from `e1`). All checks passed. `O` dispatched the task. At T-14 minutes, Team-A had revoked `e2` — Agent-A's summarization privilege was pulled (a personnel change; the human operator was removed from the legal team). The revocation was published to a CRL-style endpoint on `R1` (Team-A's home registry). `R2` had cached `A`'s manifest with a 6-hour TTL and had no revocation subscription to `R1`. `O`'s traversal never consulted `R1`. `O` dispatched three tasks to `A`. `A`, which *did* honor its own local revocation state, refused all three with a capability-denied error. `O` interpreted the refusals as transient tool failures (its retry policy treated denial codes 403 and transient 503 identically under a coarse `CapabilityError` class), retried twice, then failed the parent task. The parent task's checkpoint recorded "capability unavailable" — a wrong root cause — and the downstream auditor, replaying the checkpoint, re-derived the same wrong conclusion because the replay read the same cached manifest from `R2`. The compounding element: because `O`'s retry logic re-read the manifest from `R2` between attempts, it *re-confirmed* the stale graph each time, strengthening its (false) belief that the capability was valid and the failure was transient. The cache was not just stale — it was *self-reinforcing under retry*. ## Condition of Validity The invariant that must hold for a delegated capability graph to be safe to act on: > **A traversed edge is actionable only if (a) its signature verifies against the delegating key, AND (b) the edge is not revoked at its issuer as of the traversal timestamp, AND (c) the verifier's revocation view is fresh enough that the issuer's revocation propagation bound has elapsed.** Condition (b) is the one registries silently drop. The precise bound is: a manifest is safe to act on only if `now - manifest.fetch_time > max_propagation_delay(issuer)` for every issuer in the chain, *or* the verifier has directly confirmed non-revocation with each issuer. Registries that serve cached manifests without a freshness proof relative to the *slowest* issuer's revocation propagation bound violate (c) even when the cache TTL looks reasonable. The failure is only possible when three things coincide: (1) delegation depth ≥ 2 (a transitive edge exists to revoke), (2) the revoking issuer is on a *different* registry than the one serving the manifest, and (3) the consuming agent's error taxonomy collapses "authorization revoked" into "transient failure." Remove any one and the failure does not occur. ## Decision Boundary The operational decision is **whether to treat a signature-valid manifest as actionable, or to require an explicit non-revocation attestation per transitive edge.** - **Act on signature alone** is correct only when delegation depth is 1 (no transitive edges to revoke out from under you) or when all issuers share a registry with synchronous revocation. - **Require per-edge non-revocation attestation** (a short-lived, issuer-signed "still-authorized" token, or a direct CRL fetch to each issuer with a timestamp check against the propagation bound) is required when depth ≥ 2 and issuers are federated. The consuming agent must also **separate denial from transient error in its taxonomy**. A `403 capability-revoked` from a peer is *evidence that the local graph is stale*, not evidence that the tool is flaky. The correct response is to invalidate the cached manifest and re-resolve, not to retry against the same graph. Retrying against a self-reinforcing stale cache is the mechanism that converts a single stale edge into a compounding wrong belief. ## Operational Effect When the boundary is crossed: the orchestrator dispatches against a dead capability, the peer refuses, the orchestrator misclassifies the refusal as transient, retries re-read and re-confirm the stale graph, and the parent task's checkpoint records a false root cause that survives replay. The blast radius is bounded only by the retry budget — every retry is a wasted dispatch and a fresh confirmation of a false belief. The audit trail is *internally consistent and wrong*: a replaying auditor reading the same cache reproduces the same error, so post-hoc verification cannot catch it without access to the issuer's revocation log. The guardrail is a **revocation-aware traversal**: attach a per-edge freshness proof to the manifest, require the consumer to check `now - edge.attestation_time < propagation_bound(edge.issuer)` before acting, and map peer `403` responses to a `StaleCapabilityGraph` signal that forces cache invalidation rather than retry. The invariant to encode: *signature validity is necessary but not sufficient; authorization freshness is a separate, per-edge, time-bounded property that the consumer — not the registry — must enforce.* ```python import time from dataclasses import dataclass from typing import Optional class StaleCapabilityGraph(RuntimeError): """Raised when a signature-valid edge is not provably non-revoked at act time.""" pass @dataclass class CapabilityEdge: issuer: str subject: str cap: str signature_valid: bool attestation_time: float # when issuer last asserted non-revocation propagation_bound_s: float # issuer's max revocation propagation delay revoked: bool = False def assert_edge_actionable(edge: CapabilityEdge, now: Optional[float] = None) -> None: now = time.time() if now is None else now if not edge.signature_valid: raise StaleCapabilityGraph( f"edge {edge.issuer}->{edge.subject} signature invalid" ) if edge.revoked: raise StaleCapabilityGraph( f"edge {edge.issuer}->{edge.subject} revoked at issuer" ) # Freshness invariant: attestation must be newer than the issuer's # worst-case revocation propagation delay, else a revocation could have # landed unseen. age = now - edge.attestation_time if age > edge.propagation_bound_s: raise StaleCapabilityGraph( f"edge {edge.issuer}->{edge.subject} attestation age {age:.0f}s " f"exceeds propagation bound {edge.propagation_bound_s:.0f}s; " f"graph may be stale — re-resolve, do NOT retry" ) def traverse_graph(edges, now: Optional[float] = None) -> None: # Walk root->leaf; any non-actionable edge aborts the whole traversal, # because a broken link invalidates every capability below it. for edge in edges: assert_edge_actionable(edge, now=now) def handle_peer_denial(status_code: int, graph_edges) -> str: # The critical taxonomy fix: a 403 from a peer is evidence the local # graph is stale, not a transient tool failure. if status_code == 403: raise StaleCapabilityGraph( "peer denied a signature-valid capability; local graph is stale. " "Invalidate cache and re-resolve — retrying the same graph is unsafe." ) return "transient" ```