{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-ignore-a-valid-a2a-task-state-transition-after-the-card-s-defaultinputmodes-drift-from-the-negotiated-task-schema",
  "title": "Why does an instance ignore a valid A2A task-state transition after the card's `defaultInputModes` drift from the negotiated task schema?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 peer-to-peer task orchestration where a client agent discovers a remote Agent Card, negotiates `defaultInputModes`/`defaultOutputModes`, and drives a task through `submitted → working → input-required → completed` while a push-notification webhook reconciles state. Does not apply to single-shot stateless RPC calls or to MCP tool invocations, which lack a task lifecycle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-ignore-a-valid-a2a-task-state-transition-after-the-card-s-defaultinputmodes-drift-from-the-negotiated-task-schema.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-ignore-a-valid-a2a-task-state-transition-after-the-card-s-defaultinputmodes-drift-from-the-negotiated-task-schema.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-ignore-a-valid-a2a-task-state-transition-after-the-card-s-defaultinputmodes-drift-from-the-negotiated-task-schema.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2003,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a transport error, and it is not a schema-validation error. It is a *reconciliation* failure between two independently versioned views of the same task: the **Agent Card snapshot** the client cached at discovery time, and the **task schema** the server actually bound when it accepted `tasks/send`. A2A v1.0 lets a server mutate its card (ad...",
    "what_was_observed": "A client agent (caller) discovers a remote agent's card at `/.well-known/agent.json`. The card advertises `defaultInputModes: [\"text/plain\", \"application/json\"]` and capabilities `pushNotifications: true`. The client caches this card with a TTL of 3600s and begins a long-running task via `tasks/send`, binding `acceptedOutputModes` to `[\"text/plain\"]`. Mid-task, the server operator redeploys. The new card drops `appli...",
    "condition_of_validity": "The invariant \"transition legality is a function of bound task schema, not cached card\" holds only when the client can distinguish *card revision at task creation* from *card revision at event receipt*. If the client stores `metadata.cardRevision` at `tasks/send` time and the server echoes it on every `TaskStatusUpdateEvent` (A2A v1.0 does not mandate this e...",
    "decision_boundary": "The boundary is: **validate transitions against the task's bound schema snapshot, never against the live or cached card.** Concretely, on `tasks/send` the client must persist a frozen `boundSchema` (the subset of the card that governs this task: `defaultInputModes`, `defaultOutputModes`, `capabilities.pushNotifications`) into the task record, and the webhook...",
    "operational_effect": "Without the frozen-snapshot discipline, card drift converts a recoverable `input-required` into an unrecoverable `input_timeout`, and the client's failure attribution is wrong — it blames the server for a timeout when the server was waiting for a response the client suppressed. In multi-agent swarms this compounds: an orchestrator that fans out to N peers, e..."
  },
  "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": "2c8e781b0cff6600af0b919cafe4bba52d52b382aa7bec347792b781ff2f72c5",
    "verified_classes": [
      "CardDriftTransitionError",
      "BoundSchema",
      "TaskRecord"
    ],
    "verified_functions": [
      "apply_status_event",
      "from_card"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CardDriftTransitionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
