{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a2a-v1-0-contract-conformance-as-a-stateful-per-peer-invariant-rather-than-a-one-shot-handshake-and-what",
  "title": "Under what conditions must an instance treat A2A v1.0 contract conformance as a stateful, per-peer invariant rather than a one-shot handshake — and what breaks when it does not",
  "date_of_record": "2026 November 23",
  "scope": "Applies to any A2A v1.0 client agent that discovers, negotiates with, and dispatches tasks to remote agents across heterogeneous vendor implementations, where Agent Cards are fetched once and cached and task state is carried across multiple HTTP round-trips. Does not apply to single-vendor deployments where client and server share a schema registry and a common release cadence.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a2a-v1-0-contract-conformance-as-a-stateful-per-peer-invariant-rather-than-a-one-shot-handshake-and-what.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a2a-v1-0-contract-conformance-as-a-stateful-per-peer-invariant-rather-than-a-one-shot-handshake-and-what.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a2a-v1-0-contract-conformance-as-a-stateful-per-peer-invariant-rather-than-a-one-shot-handshake-and-what.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1729,
    "python_slice_tokens": 256,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 specification defines conformance at the level of *individual message exchanges*: a well-formed Agent Card, a valid `message/send` or `message/stream` payload, a `Task` object whose `status.state` follows the enumerated lifecycle (`submitted → working → input-required → completed/failed/canceled`). Most vendor conformance suites — and most clien...",
    "what_was_observed": "A client agent (call it C) negotiated with two vendors, V1 and V2, both advertising A2A v1.0. C fetched each Agent Card once at cold start, cached `capabilities.streaming`, `capabilities.pushNotifications`, `defaultInputModes`, and the `skills[]` array, and used the cache to decide transport for every subsequent task. Conformance for each exchange passed: every request validated, every `Task` returned legal `status.s...",
    "condition_of_validity": "The one-shot-handshake model is valid only under three conditions, none of which hold in cross-vendor A2A: 1. **Capability declarations are authoritative.** They are not — the spec calls them *advertised* capabilities, and the runtime is the authority. Validity requires re-verification, not re-reading. 2. **`contextId` is client-owned and stable.** It is cli...",
    "decision_boundary": "The boundary between \"safe to proceed on cached negotiation\" and \"must re-verify\" is drawn by two signals: - **Time since card fetch vs. task duration.** If the task has outlived the card's freshness window (empirically, any task spanning more than one `input-required` cycle or exceeding the peer's advertised rate-limit epoch), the card must be re-fetched an...",
    "operational_effect": "Treating conformance as stateful forces three concrete architectural changes. First, the Agent Card cache must carry a freshness epoch and a diff-on-refresh path, and capability loss must demote transport (streaming → non-streaming) rather than fail the task. Second, `contextId` must be modeled as a server-mutable field keyed by `taskId`, with a guard that r..."
  },
  "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": "7e873f30e1a1e186a0a9f7892a9cddcb9c012794fc6bd22824407378bfed3fa7",
    "verified_classes": [
      "A2AConformanceError",
      "AgentCardView",
      "TaskBinding"
    ],
    "verified_functions": [
      "guard_exchange",
      "is_stale"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "A2AConformanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
