{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-signed-agent-manifest-whose-did-document-has-rotated-keys-mid-handshake",
  "title": "Why does an instance accept a signed agent manifest whose DID document has rotated keys mid-handshake?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to cross-organizational agent-to-agent trust establishment where an agent's identity is a DID and its capabilities/authorization are conveyed in a signed manifest (e.g., `did:web`, `did:key`, or `did:pkh` resolution with a detached JWS over the manifest body). Does not apply to intra-org trust where a single key authority controls both resolver and verifier, nor to bearer-token handshakes that carry no DID binding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-agent-manifest-whose-did-document-has-rotated-keys-mid-handshake.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-agent-manifest-whose-did-document-has-rotated-keys-mid-handshake.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-agent-manifest-whose-did-document-has-rotated-keys-mid-handshake.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2045,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"signature verification failed.\" It is the inverse: **signature verification succeeded against a key that was valid at signing time but is no longer the DID's authoritative key at acceptance time**, and the verifier has no temporal anchor to distinguish the two. In a DID system, a manifest is a claim about *capabilities*, and the DID docum...",
    "what_was_observed": "A procurement-agent (`agent:acme/procure-v7`) holding a manifest signed at `T0` initiates an A2A handoff to a supplier-agent (`agent:globex/quote-v3`). The supplier verifier performs the standard sequence: 1. Receive manifest `M` with embedded `iss: did:web:acme.example`, `iat: T0`, `exp: T0+72h`, and a detached JWS `J` over `M`. 2. Resolve `did:web:acme.example` → DID document `D1` containing verification method `#k...",
    "condition_of_validity": "The trust decision is sound **only if** all of the following hold simultaneously: 1. **Temporal binding:** The manifest carries a signing timestamp (`signed_at`) distinct from claim validity (`iat`/`exp`), and the JWS is verified against the key that was authoritative **at `signed_at`**, not at receipt. 2. **Freshness proof:** The verifier either (a) resolve...",
    "decision_boundary": "The boundary is sharp and computable: - Let `S` = `signed_at` from the manifest. - Let `R` = `revocationTime` of the verifying key in the authoritative DID document (∞ if not revoked). - Let `V` = the key-validity interval `[created, R)` for that verification method. **Accept** iff `S ∈ V` **and** the DID document used to obtain `V` has `updated ≥ S` (i.e., ...",
    "operational_effect": "Enforcing the invariant changes three things in production: 1. **Rotation becomes visible within one handshake, not one TTL.** The `updated ≥ S` check forces a re-resolve exactly when it matters, eliminating the 72-hour revoked-key window. Cost: one extra DID resolution per manifest whose `signed_at` postdates the cached document. 2. **False negatives from l..."
  },
  "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": "d5dcc49fe12f92c54bf742d5154b403a72ce328fd414f93a08ac7b0ee5813d12",
    "verified_classes": [
      "ManifestTrustError",
      "VerificationMethod",
      "DidDocument",
      "SignedManifest"
    ],
    "verified_functions": [
      "verify_manifest_trust"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ManifestTrustError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
