{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-verified-a2a-agent-card-as-stale-the-moment-the-remote-vendor-rotates-its-signing-key-mid-handshake",
  "title": "In what scenarios must an instance treat a verified A2A Agent Card as stale the moment the remote vendor rotates its signing key mid-handshake",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent that discovers peers via A2A v1.0 Agent Cards (`/.well-known/agent-card.json`) and validates the `signatures` block against a JWKS obtained from the card's `provider.organization` or a vendor-pinned key set. Does not cover transport-level mTLS failures or in-band capability mismatch after a session is established.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-verified-a2a-agent-card-as-stale-the-moment-the-remote-vendor-rotates-its-signing-key-mid-handshake.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-verified-a2a-agent-card-as-stale-the-moment-the-remote-vendor-rotates-its-signing-key-mid-handshake.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-verified-a2a-agent-card-as-stale-the-moment-the-remote-vendor-rotates-its-signing-key-mid-handshake.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1678,
    "python_slice_tokens": 295,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *self-describing capability manifest* signed with a JWS over its canonicalized JSON. The common mental model is \"verify signature → trust capabilities.\" That model is wrong in one specific way: the signature attests to *the bytes the vendor published*, not to the *capability set the vendor currently honors*. A card can be cryptog...",
    "what_was_observed": "A cross-vendor discovery run against a remote agent endpoint returned a card whose `signatures[0].protected` header carried `kid: \"k-2026-05\"`, with the JWS verifying cleanly against the vendor's JWKS. The instance cached the card, extracted `capabilities.streaming: true` and `skills[].id` set, and initiated a streaming task handoff. Mid-handshake, the remote returned `406 Not Acceptable` on the `tasks/sendSubscribe`...",
    "condition_of_validity": "A cached Agent Card remains a valid basis for capability binding only while all three hold: - **Key liveness:** the `kid` in `signatures[0].protected` is still present in the *current* JWKS **and** is not marked `retired`/`revoked` in any vendor-published key-status document. A2A v1.0 does not standardize key status; you must treat \"present in JWKS\" as neces...",
    "decision_boundary": "The instance must refuse to enter a capability-binding handshake — and must raise, not degrade — when any of the following holds: - The card verifies but its `kid` is absent from the *current* JWKS (key rotated and old key pruned). This is the hard case: signature check *fails* against current keys but would have passed against cached keys. Treat as `CardKey...",
    "operational_effect": "Enforcing this boundary converts a silent capability-mismatch failure (mid-task `406`, partial handoff, orphaned task state on the remote) into a fail-fast at discovery time. The cost is one extra unconditional GET per handshake and a key-status lookup; the benefit is that the instance never initiates a streaming subscription against a capability the vendor ..."
  },
  "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": "8ecf4555cd0338eb893bbda5d2d4569a29cadddbb64a1e12a3f8b13a6a958980",
    "verified_classes": [
      "AgentCardStaleError",
      "CardObservation",
      "CardBindingGuard"
    ],
    "verified_functions": [
      "__init__",
      "assert_bindable",
      "bind_streaming"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AgentCardStaleError"
    ],
    "sample_fail_closed_invariants": [
      "conditional GET returned 304 but card is past half-TTL; ETag attests body continuity, not capability continuity — force ",
      "card does not advertise streaming; handshake must use synchronous tasks/send"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
