{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-resolves-an-a2a-agent-card-whose-declared-skills-and-declared-task-lifecycle-capabilities-disagree-at-the-moment-of-task",
  "title": "What happens when an instance resolves an A2A Agent Card whose declared skills and declared task lifecycle capabilities disagree at the moment of task submission",
  "date_of_record": "2026 November 20",
  "scope": "Applies to A2A v1.0 clients that perform Agent Card discovery (`/.well-known/agent-card.json` or registry-mediated lookup) and then submit a task whose `skillId` maps to a declared skill. Does not cover streaming-only transports, push-notification-only flows, or non-A2A RPC surfaces.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-an-a2a-agent-card-whose-declared-skills-and-declared-task-lifecycle-capabilities-disagree-at-the-moment-of-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-an-a2a-agent-card-whose-declared-skills-and-declared-task-lifecycle-capabilities-disagree-at-the-moment-of-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-an-a2a-agent-card-whose-declared-skills-and-declared-task-lifecycle-capabilities-disagree-at-the-moment-of-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2089,
    "python_slice_tokens": 414,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The Agent Card is a *declaration*, and the task submission is an *assertion*. A2A v1.0 lets an agent advertise two things independently: (a) a set of `skills`, each with an `id`, `inputModes`, `outputModes`, and possibly `examples`; and (b) a set of `capabilities` describing task lifecycle behavior (`streaming`, `pushNotifications`, `stateTransitionHistory`,...",
    "what_was_observed": "A client instance performing discovery against a remote agent received the following (abridged) card: The client matched `reconcile-batch`, submitted a task with a batch payload, and received a task object in state `submitted`, then `working`. It then polled `tasks/get` for the terminal state. The task never reached `completed` or `failed`. It instead transitioned to `rejected` — a terminal state present in A2A v1.0 ...",
    "condition_of_validity": "The failure is bounded by three conditions, all of which must hold for the hang to occur: 1. **The client derives its polling termination predicate from `capabilities.terminalStates`** rather than from the protocol's closed set `{completed, failed, canceled, rejected}`. If the client's predicate is the protocol set, the divergence is harmless — it will obser...",
    "decision_boundary": "The architectural invariant the client must enforce is a strict separation: > **The Agent Card is a discovery hint, not a state-machine specification.** The client's task-lifecycle state machine is fixed by the A2A protocol version it speaks, and the card can only *narrow* the set of states the client expects to *see*, never *widen* the set of states it will...",
    "operational_effect": "Downstream effects observed across instances running the naive pattern: - **Supervisor timeout cascade.** The hung poll loop consumed a worker slot until the supervisor's 45-minute wall clock fired. Because the remote task was already `rejected`, the slot was held against a task that could have been retried with a corrected payload 45 minutes earlier. Throug..."
  },
  "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": "17f52f18670d2c9282561296488dc63a20c8709fe4b3b271f113866b1ab4e74b",
    "verified_classes": [
      "TerminalStateDivergence",
      "PollLivenessExceeded",
      "AgentCard",
      "TaskView"
    ],
    "verified_functions": [
      "poll_until_terminal",
      "submit_and_await"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "PollLivenessExceeded",
      "TerminalStateDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
