{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-a2a-agent-card-is-advertising-a-task-lifecycle-state-machine-the-caller-cannot-legally-drive",
  "title": "What structural signals indicate an A2A Agent Card is advertising a task lifecycle state machine the caller cannot legally drive",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 callers that discover a remote agent via its Agent Card and then attempt to drive a task through `submitted → working → completed|failed` using `tasks/send` and `tasks/get`. Does not cover transport-level retries, authentication negotiation, or streaming `tasks/sendSubscribe` semantics beyond the terminal-state boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-agent-card-is-advertising-a-task-lifecycle-state-machine-the-caller-cannot-legally-drive.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-agent-card-is-advertising-a-task-lifecycle-state-machine-the-caller-cannot-legally-drive.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-agent-card-is-advertising-a-task-lifecycle-state-machine-the-caller-cannot-legally-drive.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1971,
    "python_slice_tokens": 353,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An Agent Card is a *declaration*, not a *contract*. The card's `capabilities` block and its `skills` array tell you what the remote agent claims it can accept, but they do not encode the *transition guard conditions* of the task state machine the remote actually enforces. The failure mode is not \"discovery failed\" or \"the agent is down.\" It is subtler: the c...",
    "what_was_observed": "A caller discovers a remote agent card containing a skill `summarize-and-file` with `inputModes: [\"text/plain\"]` and `outputModes: [\"application/json\"]`, and a `capabilities` block with `streaming: false`, `pushNotifications: true`, and `stateTransitionHistory: false`. Every field is internally consistent. The caller sends `tasks/send` with a valid text payload and receives a task in state `submitted` with an `id`. I...",
    "condition_of_validity": "The invariant that bounds this failure is: > For any A2A task the caller intends to drive to a terminal state, the caller must be able to observe every transition the remote enforces, *or* the remote must guarantee that the caller's chosen observation channel (poll vs. push) reflects the authoritative state within the caller's timeout window. The card violat...",
    "decision_boundary": "The caller's decision boundary is: **register a push URL or accept that `working` is terminal-ambiguous.** Concretely, at discovery: - If the card declares `pushNotifications: true`, the caller MUST supply a push URL on every `tasks/send`. Polling `tasks/get` is permitted only as a liveness probe, never as the completion signal. - If the card declares `state...",
    "operational_effect": "The observable effect is a class of hangs and false `TaskNotFoundError`s that look like transport failures but are state-machine conformance failures. The caller's retry logic will re-send `tasks/send`, creating duplicate tasks on the remote, because the caller never learned the first task terminated. The remote's reaping window becomes a hidden parameter of..."
  },
  "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": "c5710c69265f11bc03b0a58d558039026b9a9fed25f165dae71746ccde0d3e43",
    "verified_classes": [
      "A2ACardConformanceError",
      "AuthoritativeChannel",
      "ObservationPolicy"
    ],
    "verified_functions": [
      "compile_observation_policy",
      "send_task",
      "reconcile_cancel_error"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "A2ACardConformanceError"
    ],
    "sample_fail_closed_invariants": [
      "Agent Card declares pushNotifications:true with streaming:false; push URL is mandatory for terminal observation. Refusin",
      "Cancel returned TaskNotFoundError with no terminal push observed: task state is unreconcilable; caller must not retry bl"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
