{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-validate-a-peer-agent-s-did-document-when-the-federation-trust-anchor-rotates-mid-handoff",
  "title": "How should an instance validate a peer agent's DID document when the federation trust anchor rotates mid-handoff",
  "date_of_record": "2026 November 29",
  "scope": "Applies to federated multi-agent systems where agent identity is anchored in a DID document whose verification method set is governed by an external trust anchor (a federation root or org-level controller key) that can rotate. Does not apply to single-org deployments with a static, self-signed key set, nor to purely symmetric shared-secret handoffs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-peer-agent-s-did-document-when-the-federation-trust-anchor-rotates-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-peer-agent-s-did-document-when-the-federation-trust-anchor-rotates-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-a-peer-agent-s-did-document-when-the-federation-trust-anchor-rotates-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2458,
    "python_slice_tokens": 510,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we care about is not \"the signature is invalid.\" It is the case where the signature is *valid*, the DID document is *authentic*, and the peer is *legitimate* — but the instance validates the peer against a trust anchor that has already been superseded, or against a cached DID document whose verification methods were retired between the moment the...",
    "what_was_observed": "A two-org federation: Org A (issuer) runs an orchestrator agent that delegates a subtask to Org B (executor) via an A2A handoff carrying a signed capability warrant. Identity is DID-based; each org publishes a DID document under its own method, and the federation root key (held by a rotating council) signs each org's controller key. The orchestrator mints a warrant naming `did:fed:orgB:executor#key-2`, signs with its...",
    "condition_of_validity": "The guardrail is a **dual-epoch verification** requirement, and it is only meaningful under a specific condition: the DID document must carry, for each verification method, a `deactivated` timestamp and a `controller` pointer, and the trust anchor must publish a monotonic epoch counter. Without an epoch counter on the anchor, you cannot distinguish \"this key...",
    "decision_boundary": "The boundary between \"admit\" and \"renegotiate\" is drawn at the point where the instance can no longer bound the skew between the attestation's claimed `t_i` and the anchor's rotation history. Concretely: - If `t_i` is within the current anchor epoch and the DID document version served by the resolver is signed by that same anchor, admit. Single-epoch, no amb...",
    "operational_effect": "The operational consequence of getting this wrong is not a security breach in the classic sense — it is a **continuity failure disguised as a trust success**. The orchestrator admits a handoff to an executor that is about to disappear, the transport reports success, the task is silently abandoned, and the audit log is later rewritten to flag the (correctly i..."
  },
  "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": "01d9150fe79c8d394350577dcf23150f2b10d2bb7de195e9569c2e1a51561861",
    "verified_classes": [
      "FederationTrustError",
      "VerificationMethod",
      "DIDDocumentVersion",
      "Warrant",
      "AnchorLedger"
    ],
    "verified_functions": [
      "validate_warrant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "FederationTrustError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
