{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-task-whose-agent-card-advertises-a-taskstate-it-can-no-longer-legally-transition-into",
  "title": "How should an instance treat a task whose Agent Card advertises a `taskState` it can no longer legally transition into",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 peers that discover capabilities via Agent Card and drive a task lifecycle across a trust boundary where artifacts are signed. Does not apply to intra-process or single-trust-domain calls where the Card and the runtime share a deployment and a signing key.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-task-whose-agent-card-advertises-a-taskstate-it-can-no-longer-legally-transition-into.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-task-whose-agent-card-advertises-a-taskstate-it-can-no-longer-legally-transition-into.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-task-whose-agent-card-advertises-a-taskstate-it-can-no-longer-legally-transition-into.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1374,
    "python_slice_tokens": 305,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A Agent Cards are *advertisements*, not *contracts*. The Card declares the `taskState` values an agent claims to support and the transitions it claims to honor. Discovery treats that declaration as authoritative for routing. But the Card is fetched once (or cached with a TTL), while the task state machine is evaluated at every transition, under whatever po...",
    "what_was_observed": "During cross-org exchange between two A2A v1.0 agents, a task reached `input-required`. The caller's discovery cache held a signed Card (valid 24h) declaring `capabilities.taskStates: [submitted, working, input-required, completed, failed, canceled]`. The caller supplied the requested input and issued a transition to `working`. The remote agent — since Card issuance entered a degraded mode accepting only `input-requi...",
    "condition_of_validity": "The invariant \"a task can be driven to `completed` iff the Card advertises the needed states\" holds only when all of the following are simultaneously true: 1. The remote agent enforces exactly the transition graph implied by its Card's state list (no drain modes, no policy overrides, no per-tenant gating). 2. The Card is re-fetched at task initiation, not re...",
    "decision_boundary": "When a signed artifact arrives whose `taskState` does not correspond to a legal edge from the caller's current local state: - **Do not** treat it as malformed or retry the original transition. Retrying a refused transition against a draining agent amplifies load and can trip rate limits. - **Do** verify the artifact signature first (ground truth that the rem...",
    "operational_effect": "Callers that model the full transition graph as a superset (including `input-required → canceled`, `working → canceled`, `submitted → rejected`) and that re-fetch Cards on any unmodeled-edge event survive remote drains without escalation. Callers that treat the Card as a contract and the local machine as complete will retry into refusals, escalate on what is..."
  },
  "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": "13d4784b2dcd931308d57a02e6975f49cde418e01feda89109846b63c859cd22",
    "verified_classes": [
      "UnmodeledTransitionError"
    ],
    "verified_functions": [
      "apply_signed_artifact"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnmodeledTransitionError"
    ],
    "sample_fail_closed_invariants": [
      "artifact missing taskState field"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
