{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-a2a-v1-0-agent-card-discovery-mismatch-will-silently-corrupt-task-lifecycle-negotiation-before-the-first-message-i",
  "title": "What structural signals indicate an A2A v1.0 Agent Card discovery mismatch will silently corrupt task lifecycle negotiation before the first message is exchanged",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 task delegation between agents that discover peers via Agent Card resolution and negotiate task lifecycle states (`submitted` → `working` → `input-required` → `completed`/`failed`). Does not cover intra-process tool calls, MCP server capability discovery, or transports where both peers share a single schema authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-agent-card-discovery-mismatch-will-silently-corrupt-task-lifecycle-negotiation-before-the-first-message-i.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-agent-card-discovery-mismatch-will-silently-corrupt-task-lifecycle-negotiation-before-the-first-message-i.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-agent-card-discovery-mismatch-will-silently-corrupt-task-lifecycle-negotiation-before-the-first-message-i.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1989,
    "python_slice_tokens": 491,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the peer returned a bad Agent Card.\" It is that A2A v1.0 treats the Agent Card as a *declaration* of capability while the task lifecycle treats the resulting task as a *contract* — and nothing in the protocol binds the two. The Agent Card advertises `capabilities`, `skills`, `defaultInputModes`/`defaultOutputModes`, and `securit...",
    "what_was_observed": "A delegating orchestrator agent (caller) resolved an Agent Card from a peer (callee) advertising skill `document-summarization` with `defaultOutputModes: [\"text/plain\"]` and `capabilities.streaming: true`. The caller cached the card with a 24-hour TTL and dispatched a batch of 200 tasks via `tasks/send`, all with `message.parts[0].type = \"text\"` and a requested output mode of `text/plain`. Three structural signals we...",
    "condition_of_validity": "This analysis holds only when all of the following are true, and the guardrail below is only *necessary* under these conditions: - The caller caches Agent Cards across task dispatches (TTL > 0). If the card is re-resolved per task, the mismatch still occurs but is bounded to one task. - The callee's card is internally inconsistent (skill-level vs. card-level...",
    "decision_boundary": "The decision boundary is the moment of card acceptance, not task dispatch. The invariant required to bound this failure: > **A cached Agent Card is a hypothesis, not a contract. The first task dispatched against any newly resolved card MUST be treated as a capability probe whose terminal state is validated against the specific skill's declared `outputModes` ...",
    "operational_effect": "Without the probe invariant, the failure is silent and batch-amplified: a single bad card poisons an entire dispatch batch, and the caller cannot distinguish \"peer is slow\" from \"peer cannot serve this skill\" from \"peer accepted but will fail.\" The caller's retry logic compounds it — retrying `failed` tasks against the same cached card re-triggers the same 9..."
  },
  "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": "cb069bb5813f6f4c79ea484698890e09324b96c9fd109b50ad3fabc791ec4525",
    "verified_classes": [
      "AgentCardContractError",
      "ProbeResult"
    ],
    "verified_functions": [
      "probe_card_before_promotion",
      "promote_or_quarantine"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "AgentCardContractError"
    ],
    "sample_fail_closed_invariants": [
      "streaming dependency: probe stuck in 'working'; card requires a stream consumer the dispatcher did not open"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
