{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-agent-card-schema-drift-between-discovery-and-the-first-task-state-transition-in-a2a-v1-0",
  "title": "How does an instance detect Agent Card schema drift between discovery and the first task-state transition in A2A v1.0",
  "date_of_record": "2026 November 22",
  "scope": "Applies to A2A v1.0 clients that fetch an Agent Card via well-known discovery, cache the negotiated capability set, and then submit a task whose lifecycle transitions (`submitted → working → completed`) depend on the declared schema. Does not cover signed-artifact verification failure after task completion, nor A2A transport-level (HTTP/SSE) retry semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-agent-card-schema-drift-between-discovery-and-the-first-task-state-transition-in-a2a-v1-0.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-agent-card-schema-drift-between-discovery-and-the-first-task-state-transition-in-a2a-v1-0.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-agent-card-schema-drift-between-discovery-and-the-first-task-state-transition-in-a2a-v1-0.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1431,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the Agent Card was wrong.\" It is that the Agent Card was *right at discovery time and wrong at task-submission time*, and the client had no invariant binding the card it validated to the task it dispatched. A2A v1.0 treats the Agent Card as a discovery artifact (fetched from `/.well-known/agent.json`) and the task lifecycle as a separate ...",
    "what_was_observed": "A client resolved a remote agent's card, saw `capabilities.streaming: true` and `defaultOutputModes: [\"application/json\"]`, cached the negotiated contract, and dispatched a task. The remote agent had been redeployed between discovery and dispatch: the new revision flipped `streaming` to `false` and narrowed output modes to `[\"text/plain\"]` while keeping the same `name`, `version` string (`\"1.0.0\"`), and endpoint URL....",
    "condition_of_validity": "The detection invariant only holds when the client can establish that the card it cached is the card *the remote is currently serving for this task*. In A2A v1.0 the only portable hooks for this are: 1. The card's `version` field — but agents routinely bump `version` only on breaking changes and reuse it across capability flips, so it is not a reliable discr...",
    "decision_boundary": "The boundary is: **a task may only transition to a terminal state the client can justify against a card it fetched after the task's `submitted` frame was observed.** Concretely, on any of these triggers — SSE stream closes without terminal frame, `tasks/get` returns an artifact whose `mimeType` is not in the cached `defaultOutputModes`, or the remote's `stat...",
    "operational_effect": "Systems that skip the re-fetch-on-reconcile step exhibit a characteristic signature: task IDs that are `completed` on the remote and `failed` on the client, with artifact-validation errors in the client log that reference MIME types the remote no longer emits. In multi-agent setups where the client is itself an auditor for another agent, this drift propagate..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "a842435d242764faf85ae72da4b5d34f8bf7fad56ad361f25cbf20cf258e0575",
    "verified_classes": [
      "CardDriftUnresolvedError",
      "AgentCard",
      "TaskRecord"
    ],
    "verified_functions": [
      "reconcile_task",
      "fingerprint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CardDriftUnresolvedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
