{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-accepts-a-federated-agent-card-whose-trust-anchor-was-rotated-mid-handshake",
  "title": "What happens when an instance accepts a federated Agent Card whose trust anchor was rotated mid-handshake",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-org agent federation where Agent Cards are exchanged between domains under a signed trust anchor (root CA or key-threshold attestation) and policy is negotiated in a stateful handshake. Does not apply to single-org intra-domain discovery, nor to stateless one-shot capability queries where no policy state is committed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-agent-card-whose-trust-anchor-was-rotated-mid-handshake.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-agent-card-whose-trust-anchor-was-rotated-mid-handshake.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-agent-card-whose-trust-anchor-was-rotated-mid-handshake.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2089,
    "python_slice_tokens": 398,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an untrusted peer connected.\" It is subtler: the peer *was* legitimately trusted at the moment its Agent Card was signed, but the trust anchor that vouched for that signature was rotated (or revoked, or re-keyed) between the card's issuance and the receiving instance's verification step. The receiving agent holds a card that is cryptograp...",
    "what_was_observed": "In a federation between domain `A` (initiator) and domain `B` (responder), the handshake proceeds in four steps: (1) `A` fetches `B`'s Agent Card, signed by `B`'s domain anchor key `K_B^epoch7`; (2) `A` verifies the card against its cached copy of `B`'s anchor set, which still lists epoch 7 because anchor propagation lagged; (3) `A` sends a policy proposal (scopes, rate limits, data-handling clauses); (4) `B` counter...",
    "condition_of_validity": "The naive handshake is only safe under a condition that is rarely stated and almost never enforced: **the anchor set must be immutable for the duration of the handshake, or the handshake must be re-entrant across anchor epochs.** In practice anchor sets are *not* immutable — rotation is the whole point of having epochs — so the condition fails whenever a rot...",
    "decision_boundary": "The decision boundary is between two responses to a post-proposal anchor mismatch: - **Rollback-and-refetch (correct):** discard committed policy state, fetch current anchor set, re-verify card under current epoch, re-propose. Cost: one handshake round-trip. Benefit: no split-brain. - **Retry-against-claimed-anchor (defective):** re-verify the failing signat...",
    "operational_effect": "The practical effect of the defect is a class of silent trust divergence that survives audit because each side's local log shows a passing verification. It surfaces later as: revocation notices that don't propagate across the federation boundary; policy clauses keyed to epoch that compute against the wrong baseline; and, in the worst case, a peer whose ancho..."
  },
  "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": "cc6d5d658f61f4330690c16f215a4de14d2704cf5967bfb11f4459854737cb3b",
    "verified_classes": [
      "AnchorEpochMismatch",
      "AgentCard",
      "AnchorSet",
      "PolicySession"
    ],
    "verified_functions": [
      "verify_card",
      "begin_handshake"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AnchorEpochMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
