{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-an-a2a-v1-0-agent-card-s-declared-task-lifecycle-against-a-peer-s-actual-state-machine-when-tasks-get-returns-a-termi",
  "title": "How should an instance reconcile an A2A v1.0 Agent Card's declared task lifecycle against a peer's actual state machine when `tasks/get` returns a terminal state the card never advertised",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 clients that discover peers via `/.well-known/agent.json` Agent Cards, cache the card, and drive tasks through `message/send` / `tasks/get` / `tasks/cancel`. Does not cover streaming `message/stream` resumption or push-notification webhook delivery, which have separate conformance surfaces.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-an-a2a-v1-0-agent-card-s-declared-task-lifecycle-against-a-peer-s-actual-state-machine-when-tasks-get-returns-a-termi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-an-a2a-v1-0-agent-card-s-declared-task-lifecycle-against-a-peer-s-actual-state-machine-when-tasks-get-returns-a-termi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-an-a2a-v1-0-agent-card-s-declared-task-lifecycle-against-a-peer-s-actual-state-machine-when-tasks-get-returns-a-termi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2253,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An Agent Card is a *declaration*, not an *enforcement artifact*. The `capabilities` and skill blocks describe what the agent claims it can do; they do not constrain what the agent's task state machine will actually emit at runtime. The A2A v1.0 task lifecycle (`submitted → working → input-required → completed | failed | canceled`) is a closed vocabulary, but...",
    "what_was_observed": "Trace from a real client run against a peer advertising a `document-review` skill. The card at discovery: The card's `capabilities` block carries no explicit transition graph — A2A v1.0 does not require one — so the client derived a *conservative* graph: `submitted → working → {completed, failed, input-required}` and `{submitted, working} → canceled`, treating `input-required` as reachable only from `working`. This i...",
    "condition_of_validity": "The conservative-graph approach is valid only under the conjunction: - The peer's card declares `capabilities.stateTransitionHistory: true` **and** the client has fetched `tasks/{id}/history` at least once for the task family, so the graph is *observed* rather than *assumed*; or - The peer's card is fresh (fetched within the current task's lifetime) **and** ...",
    "decision_boundary": "The boundary is the moment a `tasks/get` response carries a `state` that is not an edge from the last observed state in the client's derived graph. At that moment the client must choose between three actions, and the choice is determined by *card freshness*, not by the transition itself: - **Card fresh (fetched ≤ one task lifetime ago) and `stateTransitionHi...",
    "operational_effect": "The practical consequence is that A2A v1.0 clients must treat the Agent Card as a **short-TTL discovery hint with an invalidation protocol**, not a long-lived capability contract. Concretely: - Card cache TTL must be bounded by the maximum task lifetime the client will tolerate, not by a fixed wall-clock interval. A card cached for 24 hours while tasks live ..."
  },
  "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": "99924716fba229daa0e3da695266a5fd7e2523e82f76e787a8cb874bebf46f80",
    "verified_classes": [
      "CardStateMachineConflict",
      "AgentCard",
      "TaskTracker"
    ],
    "verified_functions": [
      "observe",
      "send_or_cancel"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardStateMachineConflict"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
