{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-per-invocation-capability-token-expiry-as-a-hard-execution-barrier-rather-than-a-retryable-condition",
  "title": "In what scenarios must an instance treat per-invocation capability-token expiry as a hard execution barrier rather than a retryable condition",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents whose tool calls are gated by short-lived, per-invocation capability tokens minted by a dynamic policy engine (PDP) and enforced at a policy enforcement point (PEP) colocated with the tool. Does not apply to long-lived service-account credentials or to stateless read-only tool access where no policy engine is consulted per call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-per-invocation-capability-token-expiry-as-a-hard-execution-barrier-rather-than-a-retryable-condition.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-per-invocation-capability-token-expiry-as-a-hard-execution-barrier-rather-than-a-retryable-condition.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-per-invocation-capability-token-expiry-as-a-hard-execution-barrier-rather-than-a-retryable-condition.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1906,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters operationally is between a token that is *invalid because it was never minted* (a policy denial — a terminal, semantic rejection) and a token that is *invalid because it expired between mint and enforcement* (a temporal race — a mechanical failure with no bearing on authorization). Naive retry logic collapses these two into a sin...",
    "what_was_observed": "An agent executing a multi-step task (read file → transform → write to a downstream store) minted a capability token at step 1 with a 30-second TTL, scoped to `store:write` on a single object key. Between mint and the write call, the agent's reasoning loop consumed 41 seconds: a tool-call response was large, the model spent several turns summarizing it, and the write was issued at T+41s. The PEP rejected the call wit...",
    "condition_of_validity": "The invariant that bounds this failure: **a capability token's TTL must be a function of the maximum reasoning-and-tool latency the agent can exhibit between mint and use, not of the expected latency.** Concretely, for a token minted at step *i* and consumed at step *j*, the TTL must satisfy `TTL ≥ max_over_paths(Δt(i→j)) + ε`, where the max is taken over th...",
    "decision_boundary": "The agent must draw the line as follows. On receipt of an auth-class rejection, it must inspect the rejection's *reason code*, not its transport status. If the code is `capability_expired`, the correct action is: re-mint through the PDP, re-scope to the same object and action, and re-issue exactly once. If the re-mint itself is denied, the boundary has moved...",
    "operational_effect": "Enforcing this boundary changes three things. First, it eliminates the fabricated-diagnosis failure mode: the agent reports \"my token aged out during reasoning\" instead of \"downstream unavailable,\" which routes the fix to the right layer (latency budget or mint placement) rather than to a phantom dependency. Second, it bounds retry cost: at most one re-mint ..."
  },
  "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": "f7dd0d21de849b1c19b49bf98577f8acfa618136c8fa6c6bf408d2fd78971307",
    "verified_classes": [
      "CapabilityError",
      "CapabilityExpired",
      "PolicyDenied",
      "StaleTokenReuse",
      "RejectionClass",
      "Token"
    ],
    "verified_functions": [
      "execute_gated_call",
      "_enforce",
      "is_expired"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityError",
      "CapabilityExpired",
      "PolicyDenied",
      "StaleTokenReuse"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
