{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-depth-is-still-within-bounds-but-whose-warrant-chain-contains-a-revoked-anc",
  "title": "When must an instance refuse a delegated capability token whose delegation depth is still within bounds but whose warrant chain contains a revoked ancestor",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent runtime that validates AAIF signed capability tokens carrying a delegation chain (`act` / `warrant` claims) before executing a tool call. Does not cover bearer-token-only systems that lack delegation provenance, nor single-hop tokens with no ancestry to verify.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-depth-is-still-within-bounds-but-whose-warrant-chain-contains-a-revoked-anc.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-depth-is-still-within-bounds-but-whose-warrant-chain-contains-a-revoked-anc.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-delegation-depth-is-still-within-bounds-but-whose-warrant-chain-contains-a-revoked-anc.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1482,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegation-depth check (`depth <= max_depth`) and a revocation check are not the same invariant, and neither subsumes the other. Depth bounds the *length* of the chain; revocation bounds the *validity* of each link. An agent that enforces depth but treats ancestor revocation as an out-of-band concern will happily execute a capability whose root warrant was...",
    "what_was_observed": "A three-agent pipeline: an orchestrator (`A`) holds a root capability `cap:root` minted with `max_depth=4`. It delegates `cap:deploy` to worker `B` (depth 1), which delegates to executor `C` (depth 2). Each hop re-signs the token, embedding the full chain of `warrant_id`s and the delegator's signature. The revocation registry is a separate service. `A`'s root warrant was revoked after `B` had already minted its deleg...",
    "condition_of_validity": "This boundary is only reachable when all of the following hold, which is why it hides: - Delegation chains are length ≥ 2 (a single-hop token has no ancestor to revoke out from under it). - The revocation registry is queried *after* or *independently of* signature verification, and the two results are not conjoined. - Ancestor warrant IDs are present in the ...",
    "decision_boundary": "The correct rule: **validation must fail closed if any ancestor warrant is revoked, even when depth is within bounds and all signatures verify.** Concretely, the validator must, before executing: 1. Enumerate every `warrant_id` in the chain, root to leaf. 2. Query the revocation registry for the whole set (batch, to avoid per-hop latency blowup). 3. Reject i...",
    "operational_effect": "Without the ancestor-liveness gate, revocation is advisory: it stops *new* delegations from a compromised root but does not stop *already-issued* descendant tokens from executing until they expire. The blast radius of a key compromise is therefore bounded by token TTL, not by revocation response time — which is exactly backwards from what revocation is suppo..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "5fd5ef65f2d2270efee2568821f855d99be548353ea7887cfa6aa42cb0869810",
    "verified_classes": [
      "AncestorRevokedError",
      "Warrant",
      "DelegatedToken"
    ],
    "verified_functions": [
      "validate_token",
      "execute_deploy"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AncestorRevokedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
