{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a2a-v1-0-agent-card-signature-replay-across-skill-extension-negotiation-rounds",
  "title": "Which invariants prevent A2A v1.0 Agent Card signature replay across skill-extension negotiation rounds",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 peers that publish a signed Agent Card (JWS detached or compact) and negotiate `extendedSkills`/capability extensions across multiple rounds. Does not apply to single-shot capability discovery where the card is fetched and consumed once with no subsequent negotiation state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-signature-replay-across-skill-extension-negotiation-rounds.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-signature-replay-across-skill-extension-negotiation-rounds.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-signature-replay-across-skill-extension-negotiation-rounds.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1729,
    "python_slice_tokens": 278,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *signed capability manifest*, not a signed *negotiation transcript*. The JWS over the card authenticates the publisher's claim at card-issuance time: \"agent X at origin O asserts it supports skill set S under schema version V.\" It does **not** authenticate the *pairing* of that card with a subsequent negotiation exchange. This is...",
    "what_was_observed": "A two-peer topology: an orchestrator `O` and a worker `W`. `W` publishes an Agent Card `C_W` containing `skills: [summarize, translate]` and, in `capabilities.extensions`, an entry `{uri: \"a2a://ext/streaming-sse/1.0\", required: false}`. `O` fetches `C_W`, verifies the detached JWS against `W`'s JWKS (resolved via `jku` in the protected header, pinned to `W`'s origin), and stores the verified card plus its digest `d0...",
    "condition_of_validity": "The replay is only possible when all of the following hold, and an invariant must be stated against each: 1. **Detached/compact JWS with no `iat`/`exp` or with a validity window longer than the negotiation.** If the card carries a short `exp` (≤ negotiation TTL) and the verifier enforces it, a stale round-0 card fails closed. Most implementations set `exp` t...",
    "decision_boundary": "The boundary is between **stateless authenticity verification** (is this card signed by `W`?) and **stateful negotiation integrity** (is this card the current, non-regressed capability state for *this* session?). A2A v1.0's JWS layer answers only the first. The second must be enforced by the orchestrator as a session invariant: - **Monotonic capability floor...",
    "operational_effect": "Without these invariants, the system exhibits **silent capability divergence**: both peers hold validly-signed cards, both pass verification, and both operate on contradictory capability beliefs. The failure is invisible to signature monitoring (all checks green) and invisible to schema validation (both cards are well-formed). It surfaces only as a transport..."
  },
  "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": "e6ea79f6056ca142ef9f4c31b425f2aab5bb017d8cb3ad85d393f1a60aac851b",
    "verified_classes": [
      "CardReplayError",
      "SignedCard",
      "SessionLedger"
    ],
    "verified_functions": [
      "negotiate_round",
      "__post_init__",
      "admit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CardReplayError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
