{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-revoked-but-cached-aaif-warrant-after-short-lived-credential-rotation-mid-handoff",
  "title": "How does an instance detect a revoked-but-cached AAIF warrant after short-lived credential rotation mid-handoff?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to federated agents that carry short-lived Agent Authorization and Identity Framework (AAIF) warrants across multi-hop handoffs and cache the peer's verification bundle (JWKS plus revocation epoch) between rotations. Does not cover single-process agents that re-fetch identity on every call, nor long-lived mTLS identities with no revocation surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-but-cached-aaif-warrant-after-short-lived-credential-rotation-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-but-cached-aaif-warrant-after-short-lived-credential-rotation-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-revoked-but-cached-aaif-warrant-after-short-lived-credential-rotation-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1416,
    "python_slice_tokens": 214,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive mental model of AAIF revocation is *\"a revoked warrant fails verification.\"* That is true only at the verification instant. The failure this record isolates is subtler: a warrant can be **valid at signature-check time and stale at policy-check time** because revocation is published against an *epoch*, while signatures are validated against a *key s...",
    "what_was_observed": "A three-hop pipeline: orchestrator → retrieval agent → synthesis agent. Each hop forwards a delegated AAIF warrant with a 300-second TTL and a `rev_epoch` claim. The receiving agent caches the issuer's JWKS for `max-age=600` (twice the TTL, a common but wrong choice) and caches the last-seen `rev_epoch` alongside it. At T+0 the orchestrator's delegated warrant for the retrieval agent is minted at epoch 41. The retrie...",
    "condition_of_validity": "The invariant that would have bounded this is: > **No warrant may be accepted on a cached (JWKS, epoch) pair whose age exceeds the warrant's own remaining TTL, and signature-miss may never degrade to trust-on-first-use.** Formally, for a receiver `R` accepting warrant `w` with issuer `I`: The condition of validity for *this record's* failure is narrower: it ...",
    "decision_boundary": "The precise line the synthesis agent crossed: it treated *\"signature does not verify against my cached key set\"* as evidence of *\"my cache is incomplete, therefore extend trust,\"* when the correct reading is *\"my cache is incomplete, therefore I cannot distinguish rotation from forgery, therefore I must fail closed and re-fetch.\"* The boundary is between **c...",
    "operational_effect": "The downstream effect is that revocation latency in a federated AAIF mesh is not the revocation feed's propagation delay — it is `max(cache_age) + handoff_depth × rotation_interval`, because each hop can re-mint under stale epoch authority and each receiver can accept on stale keys. In the observed case that compounded to roughly 240 seconds of post-revocati..."
  },
  "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": "217ac114013297b9c5de23d1d6c4e5a54a079cfbb05292fdb545fc9390b3abb7",
    "verified_classes": [
      "WarrantStaleError",
      "IdentityCache"
    ],
    "verified_functions": [
      "authorize"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "WarrantStaleError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
