{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-signed-agent-card-capability-negotiation-from-silently-degrading-to-unsigned-delegation-after-a-key-rotation-in-a2a-v1-0",
  "title": "Which invariants prevent signed Agent Card capability negotiation from silently degrading to unsigned delegation after a key rotation in A2A v1.0",
  "date_of_record": "2026 November 21",
  "scope": "Applies to A2A v1.0 cross-vendor task delegation where a client agent discovers a remote Agent Card from a well-known endpoint, verifies its signature against a pinned issuer key, and negotiates capabilities (`skills`, `capabilities.streaming`, `capabilities.pushNotifications`, `defaultInputModes`) before dispatch. Does not cover intra-tenant delegation where the card and client share a key-management domain, nor MCP tool-schema negotiation, which has no card-signature layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-agent-card-capability-negotiation-from-silently-degrading-to-unsigned-delegation-after-a-key-rotation-in-a2a-v1-0.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-agent-card-capability-negotiation-from-silently-degrading-to-unsigned-delegation-after-a-key-rotation-in-a2a-v1-0.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-signed-agent-card-capability-negotiation-from-silently-degrading-to-unsigned-delegation-after-a-key-rotation-in-a2a-v1-0.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1810,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"signature verification failed.\" The failure is \"signature verification was *skipped* because discovery succeeded by a path that never required it.\" A2A v1.0 permits an Agent Card to be fetched from `/.well-known/agent-card.json` and, in the absence of a resolvable signature, the client may treat the card as *advisory*. Most client impleme...",
    "what_was_observed": "A client agent (vendor A) pins issuer key `kid=a1` for remote agent (vendor B) after an out-of-band registration. Delegation works for weeks. Vendor B rotates signing keys: it publishes a new card at `/.well-known/agent-card.json` signed with `kid=b2`, and — critically — its JWKS endpoint at `/.well-known/jwks.json` is now serving only `b2`. Vendor A's keyring has `a1` only. Trace: 1. Client fetches card. Card parses...",
    "condition_of_validity": "The downgrade is only reachable when three conditions co-occur: - The client's discovery path has an advisory fallback (card accepted without verified signature). - The client's key-resolution path is *lazy* — it resolves `kid` at verification time rather than binding the expected `kid` at session start. - The remote republishes a card whose `kid` is not in ...",
    "decision_boundary": "The boundary is between two legitimate policies that look identical in code: - *First-contact policy:* no binding exists → accept card as advisory, record `kid`, require out-of-band confirmation before privileged delegation. - *Bound-session policy:* binding exists → any card whose `kid` ≠ bound `kid` is a hard failure; any card whose signature cannot be ver...",
    "operational_effect": "Without the invariant: silent capability escalation across a key rotation. The client delegates tasks to a remote identity it never anchored, honors capabilities the pinned card never declared, and the only evidence is a missing `kid` in a keyring lookup. Downstream, task results are attributed to a trust relationship that does not exist, and audit logs show..."
  },
  "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": "7d64f90cd14fe8a887d864175f940055d9a559b150ca40d209a2b757ae55afbf",
    "verified_classes": [
      "KeyBindingMismatch",
      "TrustState",
      "AgentCard"
    ],
    "verified_functions": [
      "negotiate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "KeyBindingMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
