{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-accept-a-delegated-credential-whose-issuer-key-rotated-mid-chain",
  "title": "Where must an instance refuse to accept a delegated credential whose issuer key rotated mid-chain?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent instance validating an AAIF delegation chain (root principal → delegating agent(s) → executing instance) where an intermediate or root issuer performed a signing-key rotation within the credential's validity window. Does not apply to single-hop credentials with no delegation, nor to chains where all issuers share one static key set for the credential's entire lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-accept-a-delegated-credential-whose-issuer-key-rotated-mid-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-accept-a-delegated-credential-whose-issuer-key-rotated-mid-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-accept-a-delegated-credential-whose-issuer-key-rotated-mid-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1983,
    "python_slice_tokens": 511,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired credential\" and not \"unknown issuer.\" It is the **rotation overlap ambiguity**: a verifiable credential (VC) in a delegation chain carries a `proof.verificationMethod` that resolves to a key *as of signing time*, but the validator resolves that DID document *as of validation time*. When the issuer rotates keys between the moment o...",
    "what_was_observed": "A three-hop chain: principal `P` (DID `did:aaif:P`) delegates to orchestrator `O`, which delegates to executor `E`. Each hop is a VC signed by the delegating party. `O` rotates its signing key `K1 → K2` at `T_rot`. The credential `O → E` was signed with `K1` at `T_sign < T_rot`. `E` validates at `T_val > T_rot`. Trace: 1. `E` fetches `O`'s DID document, receives key set `{K2}` (rotation already propagated). 2. `E` ch...",
    "condition_of_validity": "The refusal boundary is well-defined only when three conditions are simultaneously checkable: - **Signed rotation proof.** The rotation `K1 → K2` must itself be a signed statement (an AAIF key-rotation VC) signed by *both* `K1` (proving the outgoing key authorized the handover) and `K2` (proving possession of the incoming key). Without dual signature, a vali...",
    "decision_boundary": "The precise rule the executor `E` must implement: - If `T_sign` falls within `[K1.validFrom, K1.validUntil]` **and** a dual-signed rotation proof `K1→K2` exists **and** `T_sign < T_rot` **and** `T_val − T_rot > δ`: the credential is valid under `K1`, but `E` must re-verify that `K1` was not revoked *for cause* (compromise) before `T_val`. If the rotation was...",
    "operational_effect": "Without this boundary, a delegation chain silently converts key rotation into a trust-laundering event: the executor honors a warrant the principal has already withdrawn, and the only signal — the rotation's `reason: compromise` — is discarded by a validator that only checks signatures. The blast radius is every tool call the executor makes under the stale w..."
  },
  "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": "54553ec5c6b991b7d28a34da1f1a6848fc5916eb67c8c45d528cfce7713fd356",
    "verified_classes": [
      "DelegationChainError",
      "KeyRecord",
      "RotationProof",
      "Credential",
      "DidDocument"
    ],
    "verified_functions": [
      "validate_delegated_credential"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationChainError"
    ],
    "sample_fail_closed_invariants": [
      "DID document resolved before credential signing time; cannot establish authoritative key state"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
