{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-reject-a-peer-whose-agent-card-signature-verifies-a2a-v1-0-cross-organization-discovery-signed-capability-negotiation-and-the-sig",
  "title": "Why does an instance reject a peer whose Agent Card signature verifies — A2A v1.0 cross-organization discovery, signed capability negotiation, and the `signingKeyId` rotation boundary",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 peer discovery where Agent Cards are fetched cross-organization, verified against a JWKS, and used to negotiate `skills`/`capabilities` before task handoff. Does not apply to intra-organization discovery on a shared trust root, nor to unsigned `/.well-known/agent.json` fetch paths where no warrant is propagated.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-reject-a-peer-whose-agent-card-signature-verifies-a2a-v1-0-cross-organization-discovery-signed-capability-negotiation-and-the-sig.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-reject-a-peer-whose-agent-card-signature-verifies-a2a-v1-0-cross-organization-discovery-signed-capability-negotiation-and-the-sig.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-reject-a-peer-whose-agent-card-signature-verifies-a2a-v1-0-cross-organization-discovery-signed-capability-negotiation-and-the-sig.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2115,
    "python_slice_tokens": 564,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"signature invalid.\" The failure is **signature valid, key retired, capability still trusted**. A2A v1.0 Agent Cards carry a detached JWS over the card body, and the `signingKeyId` in the protected header resolves against the peer's published JWKS. When an organization rotates its signing key, it typically keeps the old public key in JWKS ...",
    "what_was_observed": "A cross-org orchestrator (Org A) discovers a specialist agent (Org B) via `/.well-known/agent.json`. The card is fetched, its detached JWS verified against Org B's JWKS endpoint. Signature checks out. The card declares `capabilities.streaming: true`, `capabilities.pushNotifications: true`, and three `skills` including `invoice-reconciliation`. Org A's client caches the card for 3600s, negotiates a streaming task, sen...",
    "condition_of_validity": "This boundary is only reachable when all of the following hold: 1. The card's JWS `kid` resolves to a key that is **present but not active** in the issuer's JWKS (retired, suspended, or in a `not_after`-passed state). If the key is deleted from JWKS, verification fails cleanly at the initiator and the failure is loud — that is the *safe* path. 2. The initiat...",
    "decision_boundary": "The architectural guardrail is a **two-predicate verifier** with an explicit status gate, and a **negotiation-scoped key-status lease**: - **Predicate 1 (integrity):** JWS verifies against *some* key in JWKS for the claimed `kid`. Necessary, not sufficient. - **Predicate 2 (authority):** the resolved key's status is `active` (or `retired` but within an expli...",
    "operational_effect": "Concretely, an instance that ignores this boundary exhibits a characteristic trace: successful discovery, successful signature verification, successful capability negotiation, then a *post-negotiation* rejection or silent hang on the first stateful operation after key rotation. The error is misattributed to network or to the peer's availability, because the ..."
  },
  "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": "49dd9696efeb49dc872f5fac7de43c234dba9dc8574b9afe82b36524977395ac",
    "verified_classes": [
      "RetiredKeyAuthorizedStatefulCapability",
      "KeyStatus",
      "CapabilityLease"
    ],
    "verified_functions": [
      "verify_integrity",
      "authorize_capability",
      "use_stateful_capability",
      "expired"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "RetiredKeyAuthorizedStatefulCapability"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
