{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-halt-on-a-revoked-but-cached-aaif-delegated-credential-chain-before-executing-a-tool-call",
  "title": "How should an instance detect and halt on a revoked-but-cached AAIF delegated credential chain before executing a tool call",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent instance that resolves an AAIF (Agent Identity and Authorization Interoperability Framework) delegated credential chain through a local or sidecar cache and then executes a privileged tool call under the chain's leaf warrant. Does not apply to single-hop, non-delegated bearer credentials or to chains re-validated end-to-end against the issuer on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-halt-on-a-revoked-but-cached-aaif-delegated-credential-chain-before-executing-a-tool-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-halt-on-a-revoked-but-cached-aaif-delegated-credential-chain-before-executing-a-tool-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-halt-on-a-revoked-but-cached-aaif-delegated-credential-chain-before-executing-a-tool-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2481,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"the credential is valid\" that AAIF tooling conflates, and the conflation is where instances die. The first is **chain integrity**: each link's signature verifies, each `delegated_by` pointer resolves to the immediately preceding subject, the scope set of each child is a subset of its parent, and no link's `expires_at` has p...",
    "what_was_observed": "A three-hop chain: orchestrator `O` (root issuer, holds `tool:payments:write`) delegates to planner `P` (scope `tool:payments:write` narrowed to `tool:payments:initiate`), which delegates to executor `E` (leaf warrant, scope `tool:payments:initiate` limited to a per-transaction cap). `E` fetches the chain at `t0`, caches it with a 15-minute TTL keyed on the chain hash, and runs a fast-path check on each tool call: ha...",
    "condition_of_validity": "The invariant that bounds this failure is: **a delegated chain may be used to authorize a tool call only if a liveness assertion for every link in the chain is younger than the tool call's authorization horizon, and the liveness assertion is bound to the specific chain hash.** Formally, for chain `C = [l0, l1, ..., ln]` with leaf `ln`, a tool call at time `t...",
    "decision_boundary": "The boundary is between **cached integrity** and **asserted liveness**, and the instance must decide, per tool call, which it is holding. The decision rule: 1. Compute `h = hash(C)`. If no cached chain, fetch and proceed to 2. 2. Verify `integrity(C)`. On failure, halt — this is a malformed or tampered chain, distinct from a revoked one. 3. Look up liveness ...",
    "operational_effect": "Enforcing the invariant changes three things in the instance's execution loop. First, every tool call acquires a liveness dependency it did not have: a bounded, hash-bound, per-call-or-per-horizon check against the revocation surface. This is a real latency and availability cost — the horizon forces refresh at least every 60s per active chain, and fail-close..."
  },
  "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": "0244a7920f65f0f30e07d8e04834f82d0b10a1379c016abc3a3334da6bbb1658",
    "verified_classes": [
      "StaleLivenessAuthorizationError",
      "LivenessToken"
    ],
    "verified_functions": [
      "authorize_tool_call"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StaleLivenessAuthorizationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
