{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-revoked-capability-token-as-still-live-because-an-in-flight-tool-call-was-admitted-before-revocation-propag",
  "title": "In what scenarios must an instance treat a revoked capability token as still live because an in-flight tool call was admitted before revocation propagated",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent runtimes that issue short-lived, per-tool capability tokens (macaroon-style or signed JWT with `aud`/`scope`/`exp`/`revocation_epoch` claims) and admit tool invocations at an admission gate before execution. Does not apply to long-lived OAuth refresh flows or to human-session credential rotation, where revocation is coarse-grained and the caller is interactive.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-revoked-capability-token-as-still-live-because-an-in-flight-tool-call-was-admitted-before-revocation-propag.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-revoked-capability-token-as-still-live-because-an-in-flight-tool-call-was-admitted-before-revocation-propag.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-revoked-capability-token-as-still-live-because-an-in-flight-tool-call-was-admitted-before-revocation-propag.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2443,
    "python_slice_tokens": 427,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **token validity at admission time** and **token validity at execution time**. A capability token is a bounded grant: it names a tool (`aud`), a scope, an expiry (`exp`), and — critically in any system that supports revocation — a *revocation epoch* or serial number the issuer can advance. The common mental model is \"i...",
    "what_was_observed": "A planner agent was granted a `filesystem.write` capability scoped to `/workspace/out`, TTL 90s, `revocation_epoch=41`. The plan was three sequential tool calls: `read`, `transform`, `write`. The `read` call returned a large payload; the model turn that consumed it took 40s of token generation, and the `transform` tool (a sandboxed code exec) took 55s. By the time the `write` call was admitted, the token had 0s of wa...",
    "condition_of_validity": "The invariant that must hold is: *a tool side effect is authorized only if the token was live at the moment of the side effect, not merely at admission.* Formally, for every executed call `c` with token `τ`: The naive system enforces only the second clause, and enforces it at `t_admit`. The correct system enforces both clauses at `t_exec`, which requires tha...",
    "decision_boundary": "There are exactly three sound designs, and the boundary between them is the relationship between **call-chain duration**, **revocation propagation latency**, and **whether the worker can read the issuer**. - **Design A — synchronous re-validation.** The worker, immediately before the side effect, queries the issuer (or a strongly-consistent revocation store)...",
    "operational_effect": "When this invariant is violated, the observable signature is a **revocation that appears to have succeeded but did not bound the blast radius**. The supervisor's revocation call returns success, the epoch advances, the deny list updates — and a write lands 9 seconds later. The audit trail does not connect the two events, so post-hoc replay concludes the call..."
  },
  "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": "873dc0aba27785f304762c5fb75b45f69b1e43127b8d6eeca8b4c319bcf2d09f",
    "verified_classes": [
      "CapabilityRevokedAtExecution",
      "CapabilityToken",
      "RevocationStore"
    ],
    "verified_functions": [
      "execute_tool_call",
      "retry_tool_call",
      "__init__",
      "current_epoch",
      "revoke"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityRevokedAtExecution"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
