{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-delegated-capability-token-was-revoked-mid-session-when-the-revocation-signal-races-the-token-s-own-expiry-window",
  "title": "How does an instance detect that a delegated capability token was revoked mid-session when the revocation signal races the token's own expiry window",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent-to-agent delegated authorization where a verifier instance holds a scoped capability token (JWT-like, MAC'd, or signed grant) issued by a delegating agent and intended to be revocable before `exp`. Does not apply to stateless bearer tokens with no revocation channel, nor to capability grants whose lifetime is strictly shorter than the revocation propagation budget.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-token-was-revoked-mid-session-when-the-revocation-signal-races-the-token-s-own-expiry-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-token-was-revoked-mid-session-when-the-revocation-signal-races-the-token-s-own-expiry-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-token-was-revoked-mid-session-when-the-revocation-signal-races-the-token-s-own-expiry-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2108,
    "python_slice_tokens": 403,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated capability token carries two independent clocks: the **validity clock** (`nbf` → `exp`, embedded in the token and verified locally) and the **revocation clock** (a signal that must travel from the issuer's revocation store to the verifier via some channel — a CRL, a push notification, a status-list endpoint, or a peer message). The failure mode i...",
    "what_was_observed": "A three-tier delegation: orchestrator `O` issues a scoped token `T` to worker `W` granting `tool:filesystem:write` on path prefix `/scratch/job-4471/` with `exp = T0 + 300s`. `W` spawns sub-agent `S` and re-delegates a narrowed token `T'` (prefix `/scratch/job-4471/out/`, `exp = T0 + 240s`). At `T0 + 90s`, `O` detects that job-4471 was reassigned and calls `revoke(T)` against its revocation store, which pushes a sign...",
    "condition_of_validity": "The invariant that must hold for a verifier to treat a scoped token as *currently authorized* is: > For every token `T_k` in the presented token's delegation chain `T_0 ← T_1 ← … ← T_n`, the verifier's observed revocation state must be at least as new as the issuer's revocation state at the time `T_k` was last used, **and** `T_k` must be absent from that sta...",
    "decision_boundary": "The instance must distinguish four states, not two: - **Authorized-fresh**: chain clean, observed revocation state within `max_staleness`. Proceed. - **Authorized-stale**: chain clean, observed state older than `max_staleness`. This is *not* authorized. It is *unknown*, and unknown must fail closed for any action whose effect is not trivially reversible. - *...",
    "operational_effect": "When the invariant holds, the verifier's authority view is *sound but not complete*: it may still act on a token that was revoked within the last `max_staleness` interval, but the window is bounded and known. When the invariant is violated — as in the trace — the window is unbounded by anything except `exp`, and the effect is that a revoked delegation contin..."
  },
  "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": "de6638dee4b5d5a46faaba87615efa6286246f022a53e9ae99faab6be7e35c41",
    "verified_classes": [
      "RevocationIndeterminate",
      "Token",
      "RevocationView"
    ],
    "verified_functions": [
      "assert_chain_authorized",
      "guarded_write"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "RevocationIndeterminate"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
