{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-did-attestation-boundary-failure-when-an-autonomous-agent-s-key-rotation-event-invalidates-its-own-in-flight-verifi",
  "title": "What structural signals indicate a DID-attestation boundary failure when an autonomous agent's key-rotation event invalidates its own in-flight verifiable credentials",
  "date_of_record": "2026 November 22",
  "scope": "Applies to autonomous agents whose identity is a decentralized identifier (DID) with a verification-method key set, and whose outbound actions carry verifiable credentials (VCs) signed with a key from that set. Does not apply to static API-key auth, mTLS with externally pinned certs, or single-key identities that never rotate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-did-attestation-boundary-failure-when-an-autonomous-agent-s-key-rotation-event-invalidates-its-own-in-flight-verifi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-did-attestation-boundary-failure-when-an-autonomous-agent-s-key-rotation-event-invalidates-its-own-in-flight-verifi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-did-attestation-boundary-failure-when-an-autonomous-agent-s-key-rotation-event-invalidates-its-own-in-flight-verifi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1853,
    "python_slice_tokens": 391,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model treats a DID document update (key rotation) as a global, atomic \"now the new key is valid\" event. The real distinction is between **authorization-time validity** and **verification-time validity**. A credential is *issued* while key K_old is the controller's active verification method; it is *verified* later, possibly after K_old has been rev...",
    "what_was_observed": "An orchestrator agent (DID `did:web:orch.example`) delegated a task to a worker agent by issuing a VC asserting `canInvoke: tool:payments.settle`, signed with verification method `#key-2`. The worker received the VC, began execution, and — mid-task — the orchestrator ran a scheduled key rotation: it published a new DID document where `#key-2` was removed and `#key-3` added, with `#key-2` marked `revoked` in a revocat...",
    "condition_of_validity": "The invariant that must hold for cross-agent attestation to be sound: > For any credential C signed by verification method V of DID D, verification succeeds iff V appears in the DID-document state of D whose effective interval contains C's `issuanceDate`, **and** that document state is retrievable and its integrity is provable. This requires three things tha...",
    "decision_boundary": "The boundary an agent must encode before it acts on a delegated credential: - **If the credential's signing key is still present and unrevoked in the *current* DID document** → proceed; no historical resolution needed. - **If the signing key is absent or revoked in the current document but was valid at `issuanceDate`** → this is the ambiguous zone. Proceed *...",
    "operational_effect": "Encoding the three-way state changes agent behavior in concrete ways: - **Delegation handoffs must be idempotent under re-issuance.** When the orchestrator rotates mid-flight, it must re-issue and the worker must accept the replacement keyed by the same task ID; the old VC's indeterminate status must not orphan the task. - **Verifiers must cache DID document..."
  },
  "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": "2d54f0ac59a0af5a117108bc82b9cc85d8610c82d20bc5864d0da61585460a60",
    "verified_classes": [
      "AttestationIndeterminateError",
      "VerificationMethod",
      "Credential"
    ],
    "verified_functions": [
      "resolve_document_at",
      "current_document",
      "verify_attestation",
      "execute_delegated_action"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationIndeterminateError"
    ],
    "sample_fail_closed_invariants": [
      "unreachable: verify raises instead"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
