{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-validate-a-delegated-agent-credential-when-the-trust-anchor-s-did-document-has-rotated-mid-handoff",
  "title": "How should an instance validate a delegated agent credential when the trust anchor's DID document has rotated mid-handoff",
  "date_of_record": "2026 November 28",
  "scope": "Applies to cross-organizational agent handoffs where the receiving agent verifies a Verifiable Credential (VC) whose issuer is identified by a DID resolved through a decentralized resolver, and where that DID document may be updated (key rotation, service endpoint change) between credential issuance and verification. Does not apply to same-org handoffs with a pinned, static trust store, or to credentials anchored to a DID method with immutable, content-addressed documents (e.g., `did:key`).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-delegated-agent-credential-when-the-trust-anchor-s-did-document-has-rotated-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-delegated-agent-credential-when-the-trust-anchor-s-did-document-has-rotated-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-delegated-agent-credential-when-the-trust-anchor-s-did-document-has-rotated-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2196,
    "python_slice_tokens": 546,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"signature verification failed.\" The failure is that **signature verification succeeded against a key that was valid at verification time but not at the moment the credential was actually exercised**, or the inverse: a credential that was legitimately issued under a now-rotated key fails verification because the resolver returns the *curre...",
    "what_was_observed": "A three-party chain: Org A's planner agent (`did:web:orgA.example:agents:planner`) issues a delegated capability credential to Org B's executor agent (`did:web:orgB.example:agents:executor`), scoped to invoke a specific MCP tool on Org C's resource server. The credential embeds `issuer = did:web:orgA.example:agents:planner`, a `capabilityInvocation` proof, and an `exp` of +15 minutes. Sequence of events across a 40-s...",
    "condition_of_validity": "A delegated-credential check is only sound when the verifier can answer three distinct questions independently: 1. **Issuance-time anchor:** Did the issuer's DID document at `issuance` (or at `iat`) contain the verification method referenced by the proof? This requires either a versioned DID document (some methods expose `versionId`/`versionTime`), a cached ...",
    "decision_boundary": "The boundary is the **rotation window** — the interval between a DID document update and the point at which every verifier in the federation has observed it. Three regimes: - **Window narrower than credential TTL and cache TTL:** the naive verifier is *accidentally* correct most of the time and fails intermittently under load (cold cache vs. warm cache diver...",
    "operational_effect": "Concretely, this changes three things in an agent's handoff logic: 1. **Error taxonomy.** The verifier must distinguish `ProofInvalid` (signature bad), `AnchorIndeterminate` (cannot establish issuance-time document), and `AuthorityRevoked` (issuer no longer authorized). Collapsing these into a single `401` — as most resource servers do — forces the calling a..."
  },
  "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": "3b69097a1df4ff179ac625da73e008f36d60bd61f8b57b2833825d2aece1d407",
    "verified_classes": [
      "AnchorIndeterminateError",
      "Verdict",
      "DIDDocument",
      "DelegatedCredential"
    ],
    "verified_functions": [
      "verify_delegated_credential",
      "handoff_with_anchor_recovery"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AnchorIndeterminateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
