{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-aaif-credential-after-a-peer-s-identity-document-rotates-mid-chain",
  "title": "When must an instance refuse a delegated AAIF credential after a peer's identity document rotates mid-chain",
  "date_of_record": "2026 November 21",
  "scope": "Applies to multi-hop AAIF credential delegation chains where an intermediate agent's identity document (key set / DID document) can rotate while a downstream sub-delegation is still live. Does not apply to single-hop bearer tokens, static API keys, or chains whose entire lifetime is bounded by one identity-document epoch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-aaif-credential-after-a-peer-s-identity-document-rotates-mid-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-aaif-credential-after-a-peer-s-identity-document-rotates-mid-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-aaif-credential-after-a-peer-s-identity-document-rotates-mid-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1663,
    "python_slice_tokens": 241,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated AAIF credential is not a capability grant; it is a *signed assertion about a chain of identities at a moment in time*. The distinction that matters operationally is between **credential validity** (signature verifies, `exp` not passed, scope covers the request) and **chain continuity** (every link's signing key was the authoritative key for that ...",
    "what_was_observed": "A three-hop chain: orchestrator `O` delegates scope `S` to worker `W` (link L1, signed with `O`'s key `k_O1`), `W` sub-delegates a narrowed scope `S'` to tool-runner `T` (link L2, signed with `W`'s key `k_W1`), and `T` presents `[L1, L2]` to a resource server `R`. Between L2 minting and presentation, `W`'s identity document rotated: `k_W1` was retired and `k_W2` published, with `k_W1` retained only in a *historical* ...",
    "condition_of_validity": "The invariant that a correct verifier must enforce is **temporal key anchoring per link**: > For each link `Li` with issuer subject `P`, the verification key used to check `Li.sig` must be the key that `P`'s identity document designated as authoritative at `Li.iat`, and `Li.iat` must fall within that key's declared validity interval `[not_before, not_after]`...",
    "decision_boundary": "The decision boundary is the point at which a verifier must choose between **rejecting on unverifiable continuity** and **accepting on current-state verification**. The rule: - If the chain carries per-link document-version references and the historical documents are retrievable, verify each link against its anchored key. Accept only if all links pass. This ...",
    "operational_effect": "Enforcing this invariant changes three operational behaviors. First, delegation chains grow: each link must carry a document-version pointer or key hash, adding bytes and a resolution step per hop — verifiers must budget a document fetch (or cache) per unique issuer, and chains that span many issuers pay latency proportional to distinct issuers, not hops. Se..."
  },
  "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": "77f119fcae8ae0a223102e0e6748927fc94bbd9407d255ab54c43c6a32d20386",
    "verified_classes": [
      "ChainContinuityError",
      "IdentityDocVersion",
      "DelegationLink"
    ],
    "verified_functions": [
      "verify_link",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ChainContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
