{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-revoked-but-cached-capability-warrant-against-a-mid-session-key-rotation-without-halting-in-flight-tool-calls",
  "title": "How should an instance reconcile a revoked-but-cached capability warrant against a mid-session key rotation without halting in-flight tool calls",
  "date_of_record": "2026 November 19",
  "scope": "Applies to long-running agent sessions (minutes to hours) that hold delegated capability warrants signed by a rotating issuer key and that execute tool calls across MCP/A2A boundaries. Does not apply to stateless single-turn invocations or to sessions whose entire lifetime is bounded below the issuer's rotation period.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-revoked-but-cached-capability-warrant-against-a-mid-session-key-rotation-without-halting-in-flight-tool-calls.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-revoked-but-cached-capability-warrant-against-a-mid-session-key-rotation-without-halting-in-flight-tool-calls.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-revoked-but-cached-capability-warrant-against-a-mid-session-key-rotation-without-halting-in-flight-tool-calls.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1742,
    "python_slice_tokens": 284,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"authorization still valid,\" and they diverge under rotation: - **Cryptographic validity** — the warrant's signature verifies against *some* key the verifier currently trusts. - **Continuous authorization** — the *subject* of the warrant is still entitled to the capability at the moment of use, and the warrant has not been r...",
    "what_was_observed": "An orchestrator agent `O` delegated a `files:write` capability to worker `W` at T0, with a warrant signed by issuer key `K_1`, a 45-minute session TTL, and a 10-minute verifier cache. At T0+12min the issuer rotated to `K_2` and, as part of the same operation, revoked `W`'s warrant (the rotation was triggered by a suspected `W` compromise). The revocation was published to the revocation list at T0+12min but the *signi...",
    "condition_of_validity": "The invariant that must hold for continuous authorization to be sound: > For any tool call at time `t`, the verifying party must confirm **both** (a) `signature_valid(warrant, trusted_keys(t))` **and** (b) `not revoked(warrant.id, t)` — and (b) must be evaluated against a revocation view whose staleness is bounded by a value strictly less than the maximum ti...",
    "decision_boundary": "At the moment a verifier observes that the signing key has rotated (or that the trust bundle changed), it must decide between three actions. The boundary is defined by whether the warrant's revocation status is *known-fresh*: - **If revocation view is fresh (staleness < bound):** continue, re-verify signature against the retained old key, and re-stamp the ca...",
    "operational_effect": "The downstream consequences of getting this boundary wrong are asymmetric and both bad: - **False positive (revoked-but-cached allowed):** the de-authorized agent keeps writing for the duration of its cache TTL — here 3 minutes of unauthorized `files:write` calls. The blast radius equals `cache_TTL × tool_call_rate`. This is the security-critical direction. ..."
  },
  "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": "fe5668aecbe7e22706d379fc1df16dfd6e61d12f4ff6c53ddd8949e816889c82",
    "verified_classes": [
      "RevocationStalenessError",
      "Warrant"
    ],
    "verified_functions": [
      "authorize_tool_call"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RevocationStalenessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
