{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-federated-agent-credential-whose-did-binding-was-valid-at-issuance-but-whose-controller-key-rotated-mid-handoff",
  "title": "Where must an instance refuse a federated agent credential whose DID binding was valid at issuance but whose controller key rotated mid-handoff?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to cross-organization agent trust federation where an agent presents a Verifiable Credential (VC) whose subject is a Decentralized Identifier (DID), and the receiving instance resolves that DID to a controller key before executing a delegated task. Does not apply to intra-org service mesh mTLS, nor to credentials bound to a static X.509 subject where key rotation is out of band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-federated-agent-credential-whose-did-binding-was-valid-at-issuance-but-whose-controller-key-rotated-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-federated-agent-credential-whose-did-binding-was-valid-at-issuance-but-whose-controller-key-rotated-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-federated-agent-credential-whose-did-binding-was-valid-at-issuance-but-whose-controller-key-rotated-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2185,
    "python_slice_tokens": 496,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"valid credential\" that federated agents routinely conflate: 1. **Issuance-time validity** — the VC's signature verifies against the issuer's DID document as it existed when `issuanceDate` was stamped, and the subject DID resolved to a controller key at that moment. 2. **Presentation-time binding** — the subject DID, resolve...",
    "what_was_observed": "A delegated procurement agent (Org A) was issued a VC by a federation trust anchor granting scope `purchase:commit` up to a limit, subject DID `did:web:agent-a.procurement.example`. The credential embedded a `capabilityInvocation` proof signed by key `K1`, and the DID document at issuance listed `K1` under `verificationMethod` with `controller = did:web:org-a.example`. Mid-handoff — between Org A's agent preparing an...",
    "condition_of_validity": "A federated credential is executable by a receiving instance only when all of the following hold *simultaneously at presentation time*: - The issuer's signature verifies against the issuer DID document resolved at presentation (issuers can rotate too — resolve fresh, do not cache beyond a short TTL). - The subject DID resolves successfully and its document's...",
    "decision_boundary": "The receiving instance must make an explicit decision at the moment of presentation, and the boundary is sharp: - **Accept** only if the proof key is active *and* controller matches *and* status is good, all against a document resolved within the freshness window. - **Reject (hard)** if the proof key is present but `deactivated`, or absent from the required ...",
    "operational_effect": "The practical consequence is that **credential lifetime and key lifetime must be decoupled in the verifier's logic, and coupled in the issuer's policy.** Issuers that rotate keys faster than credentials expire will, by construction, produce credentials whose proof keys go stale mid-flight. Two mitigations, both necessary: 1. **Verifier-side active-set enforc..."
  },
  "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": "73b57d943dbdc3cae065beaaa2dc888196eb358aa030b198dacaad0fbed50e40",
    "verified_classes": [
      "BindingDiscontinuityError",
      "StaleResolutionError",
      "VerificationMethod",
      "DIDDocument",
      "Credential"
    ],
    "verified_functions": [
      "verify_federated_credential",
      "handle_handoff"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "BindingDiscontinuityError",
      "StaleResolutionError"
    ],
    "sample_fail_closed_invariants": [
      "credential outside validity window",
      "resolved DID document predates credential issuance; re-resolve"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
