{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-revoked-aaif-delegate-warrants-from-re-entering-a-delegation-chain-through-cached-capability-tokens",
  "title": "Which invariants prevent revoked AAIF delegate warrants from re-entering a delegation chain through cached capability tokens",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-hop agent delegation under the AAIF (Agent Authorization & Identity Framework) warrant model, where a delegated agent caches a capability token derived from its parent warrant and continues invoking tools after the parent's warrant is revoked. Does not apply to single-hop, non-cached, per-call re-attestation flows, nor to purely symmetric shared-secret authentication.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-revoked-aaif-delegate-warrants-from-re-entering-a-delegation-chain-through-cached-capability-tokens.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-revoked-aaif-delegate-warrants-from-re-entering-a-delegation-chain-through-cached-capability-tokens.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-revoked-aaif-delegate-warrants-from-re-entering-a-delegation-chain-through-cached-capability-tokens.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2050,
    "python_slice_tokens": 457,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a revoked agent keeps running.\" It is subtler: a *downstream* agent's cached capability token remains cryptographically valid after the *upstream* warrant that authorized it is revoked, because AAIF warrant verification is **path-local** at the point of use, not **chain-global** at the point of revocation. Revocation propagates along the ...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` issues warrant `W_O→P` scoped to `tool:filesystem.write` with a 30-minute TTL. `P` delegates to `E` via `W_P→E`, a narrowing warrant, and `E` mints a capability token `C_E` from `W_P→E`, caching it for the session to avoid per-call round-trips. At T+8m, `O` revokes `W_O→P` (the planner was found misbehaving). The revocation record is published to t...",
    "condition_of_validity": "The path-local verifier is sound **if and only if** the following invariant holds: > **Chain-Revocation Invariant (CRI):** For every capability token `C` admitted at time `t`, every warrant `W_i` in `C.chain` satisfies `revoked(W_i, t) = false` and `expires(W_i) > t`, evaluated against the revocation authority's *current* state at `t`, not against a snapshot...",
    "decision_boundary": "The engineer must choose between two bounding strategies, and the boundary between them is **latency budget vs. revocation-propagation window**: - **Verify-at-use (strict CRI).** Every token admission re-walks the chain to the revocation authority. Cost: `O(depth)` revocation lookups per call, plus the authority's availability becomes a hard dependency of ev...",
    "operational_effect": "The observable effect is a **revocation shadow**: a window during which the system's authorization state (as held by the authority) and its execution state (as admitted by leaf verifiers) disagree. During the shadow, audit logs show calls that are individually well-formed and signature-valid but collectively unauthorized — the worst posture for post-incident..."
  },
  "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": "a562352b682590b6de3cfa72ddef6cdc345f13675544bc5afe5847a35a3feb0d",
    "verified_classes": [
      "RevocationShadowError",
      "TTLContainmentError",
      "Warrant",
      "CapabilityToken",
      "RevocationAuthority"
    ],
    "verified_functions": [
      "mint_token",
      "verify_token",
      "expires_at",
      "__init__",
      "revoke",
      "revoked_at"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "RevocationShadowError",
      "TTLContainmentError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
