# What structural signals indicate a delegated agent credential has silently outlived its issuer's authority under AAIF chain revocation **Date of Record:** 2026 November 28 **Scope:** Applies to AAIF-style delegated credential chains where an orchestrator issues attenuated warrants to sub-agents and revocation propagates lazily (pull-based status checks or epoch-stamped revocation lists). Does not apply to systems using synchronous online introspection on every call, nor to single-hop credentials with no delegation. ## Core Distinction The failure most operators plan for is *explicit revocation*: issuer calls `revoke(credential_id)`, the status endpoint flips, dependent agents stop working. That is the loud path and it is well-instrumented. The dangerous boundary is the **silent orphan**: a delegated credential that remains cryptographically valid, passes every local signature and expiry check, and continues to authorize tool calls *after the authority that grounded it has been withdrawn upstream* — because the revocation was applied to the parent link, not the leaf, and the leaf's verification path never re-walks the chain. The distinction that matters operationally: signature validity is a property of the *leaf*, but authorization is a property of the *path*. AAIF attenuation (`can_execute ⊆ parent.can_execute`) is checked at issuance time. Nothing in the token's own bytes records the *current* authority of the ancestor. Revocation of an ancestor is therefore invisible to any verifier that only inspects the leaf plus its immediate issuer's signature. ## What Was Observed A three-hop chain: orchestrator `O` → planner agent `P` → executor agent `E`. `O` issued `P` a warrant with scope `filesystem:write:/sandbox` and a 4-hour TTL. `P` attenuated to `E` a warrant with scope `filesystem:write:/sandbox/tmp` and a 2-hour TTL. `E` cached its warrant at cold-start and verified it once: leaf signature good, issuer (`P`) signature good, expiry in the future, scope within `P`'s scope. All checks passed. At T+40min, a policy engine detected that `O`'s own upstream authority (a human-delegated grant) had been withdrawn and called `revoke(O_warrant)`. The revocation list updated. `P`'s next status poll (60s cadence) saw `O_warrant` revoked and `P` correctly stopped. But `E` never polled `O_warrant` — it only knew `P` as its issuer, and `P`'s warrant was *not* individually revoked; it was merely *unsupported*. `E` continued executing `filesystem:write:/sandbox/tmp` for another 80 minutes. The structural signals that this had happened, visible only in aggregate logs: 1. **Asymmetric liveness**: `P` emitted zero tool calls after T+41min while `E` emitted 200+ calls in the same window. A parent going quiet while a child stays hot is the canonical orphan signature. 2. **Issuer-status divergence**: `E`'s per-call audit records showed `issuer_status=P:valid` while the *global* revocation index showed `O_warrant:revoked` and `P_warrant:valid-but-unsupported`. The word "unsupported" never reached `E` because `E` doesn't query two hops up. 3. **Epoch skew**: `E`'s cached revocation epoch was `e=41`; the system-wide epoch was `e=44`. `E` had not fetched a revocation list since cold-start because its own issuer's status was cached as valid. The mechanism is precise: **AAIF lazy revocation is only sound if every verifier re-validates the entire ancestor path against the current epoch, not just its direct issuer.** Caching at any hop breaks the invariant, and the break is silent because the leaf remains self-consistent. ## Condition of Validity The invariant that must hold for delegated credentials to be safe under lazy revocation: > For any credential `C` with ancestor chain `A_1 … A_n`, `C` is authorized at time `t` **iff** every `A_i` is (a) unrevoked at epoch `e(t)`, (b) unexpired, and (c) its scope still contains `C`'s scope. A verifier that checks only `A_1` (direct issuer) satisfies this only when every intermediate issuer independently enforces the same check on *its* issuer — i.e., when the chain is *fully live*. The condition of validity is therefore **chain liveness**: no hop may cache its issuer-status beyond the revocation propagation budget. The moment any intermediate agent (`P`) stops running — because it was revoked, crashed, went idle, or was scaled to zero — the chain is no longer live, and every descendant (`E`) is an orphan whose local checks are meaningless. Orphaning is not an error state in AAIF; it is an *undefined* state that the protocol does not force verifiers to detect. This does **not** apply when the deployment uses short-TTL tokens (TTL ≤ revocation propagation budget) or synchronous introspection. It applies precisely to the long-TTL + lazy-revocation + multi-hop combination that real agent swarms use to avoid introspection latency. ## Decision Boundary The operational fork: - **If descendants can detect ancestor silence** (heartbeat from issuer, or a global epoch they are required to fetch), then caching is safe and the orphan is caught within one propagation budget. - **If descendants cannot detect ancestor silence** (they only know their direct issuer, and that issuer's own status is cached as valid), then the orphan persists until the leaf's TTL expires — up to the full leaf lifetime. The decision boundary is: *does the verifier's revocation check span the full ancestor path, or only the terminal edge?* If only the terminal edge, the system has no bound on orphan lifetime except leaf TTL, and leaf TTL is set by the *issuing* agent, not the root — so a compromised or over-generous intermediate can mint arbitrarily long-lived orphans. The guardrail is to enforce at issuance that **no child TTL exceeds the remaining TTL of its parent** *and* that every verifier fetches the global epoch on a cadence ≤ the propagation budget, rejecting any credential whose ancestor path contains a revoked or unsupported link. ## Operational Effect Without the guardrail, revocation is advisory for descendants: the root's authority withdrawal does not reach the leaves, and the leaves keep acting on delegated authority that no longer exists. This produces a class of incidents that look like "the agent kept running after we shut it down" — which operators misdiagnose as a stuck process rather than a credential-path failure. The fix is not process management; it is enforcing chain-liveness at every verifier and capping child TTLs by parent remaining TTL at issuance. The structural signals to alert on are: parent-quiet-while-child-hot, per-verifier epoch lag exceeding the propagation budget, and `valid-but-unsupported` issuer statuses appearing anywhere in an audit trail. ```python class OrphanedCredentialError(RuntimeError): """Raised when a delegated credential's ancestor chain is not fully live.""" pass def verify_chain(leaf, revocation_index, current_epoch, propagation_budget): # Walk the full ancestor path, not just the direct issuer. node = leaf while node is not None: status = revocation_index.get(node.credential_id) if status is None: raise OrphanedCredentialError( f"ancestor {node.credential_id} absent from revocation index" ) if status == "revoked": raise OrphanedCredentialError( f"ancestor {node.credential_id} revoked at epoch {current_epoch}" ) if status == "unsupported": raise OrphanedCredentialError( f"ancestor {node.credential_id} unsupported: its own issuer withdrawn" ) if node.epoch < current_epoch - propagation_budget: raise OrphanedCredentialError( f"ancestor {node.credential_id} epoch {node.epoch} lags " f"current {current_epoch} beyond budget {propagation_budget}" ) if node.expires_at <= now(): raise OrphanedCredentialError( f"ancestor {node.credential_id} expired" ) node = node.parent return True ```