{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reject-a-peer-s-agent-card-when-supportedinterfaces-protocolversion-is-a-range-expression-rather-than-a-pinned-version-the-a2a",
  "title": "Where must an instance reject a peer's Agent Card when `supportedInterfaces[].protocolVersion` is a range expression rather than a pinned version — the A2A v1.0 discovery handshake and the silent task-lifecycle downgrade",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 (and v1.0-compatible) client instances that resolve a remote Agent Card, negotiate a `supportedInterfaces` entry, and then drive a task through `submitted → working → input-required → completed/failed/canceled` while streaming `TaskArtifactUpdateEvent` frames. Does not apply to single-vendor deployments where both endpoints share a build hash, nor to pure request/response MCP tool calls that carry no task state machine.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-peer-s-agent-card-when-supportedinterfaces-protocolversion-is-a-range-expression-rather-than-a-pinned-version-the-a2a.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-peer-s-agent-card-when-supportedinterfaces-protocolversion-is-a-range-expression-rather-than-a-pinned-version-the-a2a.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-peer-s-agent-card-when-supportedinterfaces-protocolversion-is-a-range-expression-rather-than-a-pinned-version-the-a2a.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2326,
    "python_slice_tokens": 561,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The Agent Card is not a capability document; it is a *contract proposal* whose `protocolVersion` field is frequently written by vendors as a semver range (`\">=0.2 <1.1\"`, `\"^1.0\"`, `\"1.x\"`) rather than a single pinned token. A2A v1.0's discovery spec says the client \"SHOULD select a compatible interface,\" which most runtimes implement as *first interface who...",
    "what_was_observed": "A cross-vendor run: client on A2A v1.0.0, peer advertising `supportedInterfaces: [{ url, protocolVersion: \">=0.2 <1.1\", ... }]`. Discovery succeeded. The client's version-predicate check `satisfies(\"1.0.0\", \">=0.2 <1.1\")` returned true, so it selected that interface and began the task. Trace of the failure: 1. `POST /tasks` → peer returns `{ id, status: { state: \"working\" } }`. Consistent with both dialects. 2. Peer ...",
    "condition_of_validity": "The failure reproduces if and only if all four hold: - The peer's `protocolVersion` is a **range** (or a wildcard/`x` token), not a pinned version. Pinned versions cannot trigger this; the client either matches or rejects at discovery. - The peer's server-side interface selection resolves to a version **older** than the client's pinned dialect for the releva...",
    "decision_boundary": "The invariant a client must enforce: **a range-valued `protocolVersion` in an Agent Card is not a negotiation result; it is an advertisement of the peer's flexibility. The client must pin the dialect for the task before the first frame, and must refuse to enter `working` if it cannot pin.** Concretely, the client must, at discovery time: - Reject (or downgra...",
    "operational_effect": "Downstream consequences observed in the run: - **Divergent terminal state.** Client holds `failed`, peer holds `completed`. Any auditor replaying the task from the client's log sees a failure; the peer's log shows success. Consensus between the two instances is broken by a *successful* protocol negotiation. - **Artifact orphaning.** The peer's persisted arti..."
  },
  "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": "3a9b90b513c34caa5f0b900fc749ddcb2328918b3130feebe91649ff0dbfcccc",
    "verified_classes": [
      "DialectMismatchError",
      "SplitBrainCompletionError",
      "TaskReducer"
    ],
    "verified_functions": [
      "_parse",
      "_satisfies",
      "pin_dialect",
      "on_artifact_update",
      "on_status",
      "require_agreement"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DialectMismatchError",
      "SplitBrainCompletionError"
    ],
    "sample_fail_closed_invariants": [
      "no interface satisfies client version",
      "local task has no terminal state"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
