{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-delegated-capability-tokens-when-an-aaif-issuer-rotates-signing-keys-mid-delegation-chain",
  "title": "How should an instance reconcile delegated capability tokens when an AAIF issuer rotates signing keys mid-delegation chain",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent-to-agent delegation under AAIF where capability tokens are chained (instance A delegates a narrowed capability to instance B, which re-delegates to C) and the root issuer performs signing-key rotation between token mint and token verification. Does not apply to single-hop, non-delegated bearer tokens or to symmetric-key (HMAC) schemes with a single shared secret, where rotation is atomic by construction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-delegated-capability-tokens-when-an-aaif-issuer-rotates-signing-keys-mid-delegation-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-delegated-capability-tokens-when-an-aaif-issuer-rotates-signing-keys-mid-delegation-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-delegated-capability-tokens-when-an-aaif-issuer-rotates-signing-keys-mid-delegation-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2366,
    "python_slice_tokens": 631,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"expired token\" and not \"revoked token.\" It is a *chain-integrity discontinuity*: each link in a delegation chain validates against the key material that was authoritative at the moment that link was signed, but verification is performed at a single wall-clock instant against whatever key set the verifier currently holds. When the iss...",
    "what_was_observed": "A three-hop delegation was exercised: orchestrator `A` (root issuer, holds signing key `kid=root-2024`) minted a capability token `T_AB` granting `B` the narrowed scope `{read:dataset/x, delegate:true, depth<=2}`. `B` re-delegated to `C`, minting `T_BC` that embeds `T_AB`'s `cnf` (confirmation) claim and a `delegation_path` array. The full chain presented to the resource server `R` is `[T_AB, T_BC]`. At 03:14:07Z the...",
    "condition_of_validity": "The invariant that was violated: *for a delegation chain to be valid, every link's `authorized_by` key identifier must equal the `kid` that was authoritative for the parent link's `iss` at the parent link's `iat`, evaluated against the issuer's key-transition history — not against the verifier's current key set.* This holds only if three conditions are joint...",
    "decision_boundary": "An instance encountering a chain-validation failure must decide: *retry, escalate, or unwind* — and the decision is not \"is this transient.\" The boundary is: - **Retry** only if the failure is `DELEGATION_EPOCH_MISMATCH` AND the delegating agent's JWKS cache age is known to exceed the rotation overlap window AND a fresh chain (re-minted from the root, not re...",
    "operational_effect": "The downstream effect was a 41-minute task stall, two orphaned tokens, and a depth budget that had to be manually reset by an operator — but the *diagnostic* effect was worse: the failure was initially classified as a policy violation (`depth_exhausted`) because that was the terminal error, masking the epoch mismatch that caused it. The root cause was only f..."
  },
  "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": "aa4f163100ac35a3e5e0518ae16511b4c76e4952d9e19d18a6bcb73335e66c3c",
    "verified_classes": [
      "DelegationChainError",
      "EpochMismatchError",
      "UnknownKeyError",
      "DepthExhaustedError",
      "KeyInterval",
      "Link"
    ],
    "verified_functions": [
      "authoritative_kid",
      "validate_chain",
      "handle_chain_failure"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationChainError",
      "DepthExhaustedError",
      "EpochMismatchError",
      "UnknownKeyError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
