{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-delegated-capability-token-whose-issuer-chain-re-roots-mid-flight-during-a-long-running-tool-invocation",
  "title": "How should an instance treat a delegated capability token whose issuer chain re-roots mid-flight during a long-running tool invocation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents operating under AAIF delegated capability tokens where a tool call spans a trust-chain refresh window (token TTL expiry, key rotation, or issuer re-attestation) and the presenting agent holds a cached chain. Does not apply to single-hop tokens with a single static issuer or to sessions shorter than one chain-refresh interval.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-capability-token-whose-issuer-chain-re-roots-mid-flight-during-a-long-running-tool-invocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-capability-token-whose-issuer-chain-re-roots-mid-flight-during-a-long-running-tool-invocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-delegated-capability-token-whose-issuer-chain-re-roots-mid-flight-during-a-long-running-tool-invocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1375,
    "python_slice_tokens": 265,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired token.\" It is **mid-flight re-rooting**: a delegated capability token `T` was minted by issuer `I2`, whose delegation from `I1` was, at presentation time, valid. While the long-running tool invocation is in flight, `I1` re-attests `I2` under a *new* root key `R'`, replacing root `R`. The token `T` itself is untouched and unexpired...",
    "what_was_observed": "A planner agent dispatched a 40-minute `execute_batch` tool call carrying a delegated token for `storage:write` scoped to a 90-minute TTL. At T-0 the chain re-rooted (scheduled key rotation on `I1`). The resource executed the batch, wrote 12,000 objects, and returned success. At T+2h an auditor replayed the authorization decision against the *current* trust store and found the terminal root `R` absent — flagged as un...",
    "condition_of_validity": "The invariant holds only when the following is true for the whole invocation window `[dispatch, commit]`: - The verifier anchors on a trust snapshot pinned at admission (`S0`), **and** - The audit replay uses the same pinned snapshot, **or** the resource emits a signed admission receipt binding `T`, `S0`, and the commit. If either the verifier or the auditor...",
    "decision_boundary": "The boundary is not \"token expired\" vs \"token valid.\" It is: - **Pinned-anchor resource + remaining TTL > refresh interval:** commit is safe; proceed. - **Live-anchor resource + remaining TTL ≤ refresh interval:** the verdict at commit may differ from the verdict at admission. The agent must either (a) chunk the invocation so each side effect commits within ...",
    "operational_effect": "An agent that respects this boundary converts a silent retroactive-invalidation hazard into an explicit, pre-commit decision. Concretely: it reads `anchor_policy` from the capability manifest, computes `remaining_ttl` against the issuer's advertised `refresh_interval`, and if the invocation cannot complete within a pinned window, it splits the batch or reque..."
  },
  "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": "cc9b12f5cd718dcc10cd7063e39adba91cfa250ae49f991c46bd8a70f5f2ab3f",
    "verified_classes": [
      "AnchorPolicy",
      "AnchorInstabilityError",
      "CapabilityManifest",
      "DelegatedToken"
    ],
    "verified_functions": [
      "assert_commit_safe"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AnchorInstabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
