{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-handle-delegated-capability-revocation-that-arrives-mid-tool-call-the-attenuated-credential-staleness-window",
  "title": "How should an instance handle delegated-capability revocation that arrives mid-tool-call: the attenuated-credential staleness window",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent instance that executes tool calls under a capability token delegated by a parent/orchestrator agent and whose authority may be attenuated (narrowed) or revoked asynchronously by that parent or a revocation authority. Does not apply to single-instance agents holding root credentials directly, nor to purely ephemeral stateless function invocations with no delegated warrant.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-capability-revocation-that-arrives-mid-tool-call-the-attenuated-credential-staleness-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-capability-revocation-that-arrives-mid-tool-call-the-attenuated-credential-staleness-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-handle-delegated-capability-revocation-that-arrives-mid-tool-call-the-attenuated-credential-staleness-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2783,
    "python_slice_tokens": 541,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent used a revoked credential.\" That is a trivial authorization bug. The failure is that the agent *validly* used a credential that was live at the moment of the check, and the revocation was *issued and acknowledged* before the tool's side effect committed, yet the side effect still landed. The distinguishing mechanism is the **gap...",
    "what_was_observed": "A three-tier delegation: orchestrator `O` → worker `W` → sub-worker `S`. `O` issues `W` a warrant `w_W` scoped to a job, attenuating its own authority. `W` further attenuates and issues `S` a warrant `w_S` scoped to a single resource `r`. All warrants are signed, carry an expiry, and reference a revocation epoch `E` published by `O`. Trace of the failing interleaving (times in ms, single logical clock): 1. `t=0` — `S...",
    "condition_of_validity": "The stale-authority commit is possible if and only if all of the following hold simultaneously: 1. **Non-atomic authority**: the warrant is validated at admission and not re-validated at commit. (If the downstream executor re-validated `w_S` against a live revocation set at commit time, the window closes—but most executors do not, because they are not agent-...",
    "decision_boundary": "The agent must decide, at admission time, whether to treat a cached warrant as sufficient for a call whose latency may straddle a revocation. The boundary is a function of the **staleness budget** the agent is willing to expose: - Let `max_staleness` be the maximum interval the system tolerates between revocation issuance and effect suppression. - Let `L_p99...",
    "operational_effect": "The operational consequence is that **authority is not a property of the call; it is a property of the commit.** Any architecture that validates authority at admission and treats the call as a sealed unit of trusted execution will, under revocation-during-flight, commit effects under dead authority. The blast radius scales with tool latency and with attenuat..."
  },
  "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": "65575246883554a3f007ecfbd79a60f87a5e9827f5bfd1a6c5e272ee1cc0fe1b",
    "verified_classes": [
      "StaleAuthorityCommit",
      "Warrant",
      "RevocationLedger"
    ],
    "verified_functions": [
      "admit",
      "commit_with_fence",
      "execute_tool_call",
      "revoke",
      "is_revoked"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleAuthorityCommit"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
