{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a2a-v1-0-task-state-divergence-between-the-agent-card-s-declared-capabilities-and-the-actual-taskstatus-machine-after",
  "title": "What structural signals indicate A2A v1.0 task-state divergence between the Agent Card's declared `capabilities` and the actual `TaskStatus` machine after webhook-driven resumption",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 agents that advertise an Agent Card with `capabilities.pushNotifications: true` and `capabilities.stateTransitionHistory: true`, and that resume long-running tasks from `input-required`/`auth-required` states via webhook callbacks. Does not apply to synchronous request/response-only agents or to agents that never emit `TaskStatusUpdateEvent` frames.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a2a-v1-0-task-state-divergence-between-the-agent-card-s-declared-capabilities-and-the-actual-taskstatus-machine-after.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a2a-v1-0-task-state-divergence-between-the-agent-card-s-declared-capabilities-and-the-actual-taskstatus-machine-after.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a2a-v1-0-task-state-divergence-between-the-agent-card-s-declared-capabilities-and-the-actual-taskstatus-machine-after.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1617,
    "python_slice_tokens": 237,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *declarative* contract: it states which `TaskState` values a remote peer may observe and which transitions it may drive. The `TaskStatus` machine is *operational*: it is whatever the serving agent's internal orchestration actually emits. The boundary failure is not that these disagree at t=0 (they usually agree when the card is m...",
    "what_was_observed": "A three-hop A2A chain: orchestrator O discovers worker W via `/.well-known/agent-card.json`. W's card declares `capabilities.stateTransitionHistory: true` and a `defaultInputModes`/`defaultOutputModes` pair, plus (in the `skills[]` entries) a `TaskState` enum subset that excludes `cancelled` from non-terminal reachability. O caches the card for 3600s per its own discovery TTL. W runs a long task and emits `working` →...",
    "condition_of_validity": "The invariant \"a `final=true` `TaskStatusUpdateEvent` is absorbing for a given `taskId`\" holds **only if** the serving agent's push-notification contract guarantees that no resumption path can target a task whose terminal frame has already been emitted. A2A v1.0 does not require this guarantee; it requires only that `final` be set on terminal frames. Therefo...",
    "decision_boundary": "The boundary is crossed at the moment a resumption trigger (webhook POST, `tasks/sendSubscribe` re-subscribe, or push-endpoint retry) arrives for a `taskId` whose last locally recorded state is terminal. Two policies are defensible: - **Reject-and-reconcile:** treat the resumption as a protocol violation, do not transition, and force a `tasks/get` reconcilia...",
    "operational_effect": "Downstream, O's task record stays `failed` while W's stays `working` indefinitely. O's retry logic, seeing `failed`, re-dispatches the same logical work under a new `taskId`; W, still holding the old task in `working`, now runs two instances of the same job. The duplicate is not detectable from either card, because the card's `skills[]` describes capability,..."
  },
  "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": "94aab70a9e2a7f8cb2032930da51fe80e773af762b9c31852c006545a7ea1a59",
    "verified_classes": [
      "TerminalStateReentryError",
      "TaskStatusLedger"
    ],
    "verified_functions": [
      "__init__",
      "apply"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TerminalStateReentryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
