{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-an-a2a-task-state-transition-that-is-locally-legal-but-globally-non-conformant-across-vendor-agent-cards",
  "title": "In what scenarios must an instance refuse an A2A task-state transition that is locally legal but globally non-conformant across vendor agent cards",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any A2A v1.0 client or orchestrator that ingests `AgentCard` documents from heterogeneous vendors and drives `Task` objects through `submitted → working → (input-required | completed | failed | canceled)` transitions. Does not apply to single-vendor, single-card deployments where the state enum and terminal-set semantics are known a priori.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-task-state-transition-that-is-locally-legal-but-globally-non-conformant-across-vendor-agent-cards.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-task-state-transition-that-is-locally-legal-but-globally-non-conformant-across-vendor-agent-cards.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-task-state-transition-that-is-locally-legal-but-globally-non-conformant-across-vendor-agent-cards.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2114,
    "python_slice_tokens": 477,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 task lifecycle is specified as a *partial order with vendor-extension latitude*, not a closed enum. The spec fixes the canonical states and their legal edges, but `AgentCapabilities` and the unconstrained `metadata` field on `AgentCard` let each vendor publish additional terminal states, additional `input-required` subtypes, and — critically — a...",
    "what_was_observed": "During a cross-vendor fan-out (orchestrator → three peer agents: vendor A canonical, vendor B with a custom `input-required` refinement, vendor C publishing a non-canonical terminal state `deferred`), the following trace was captured on a single `taskId`: Two distinct defects surfaced. First, at `t6` the orchestrator's state machine had no edge for `deferred`; its `default:` branch silently coerced the unknown state ...",
    "condition_of_validity": "The invariant that was violated: **for any `taskId`, the orchestrator's local terminal-set and deadline-clock behavior must be derived from the intersection of (a) the canonical A2A v1.0 machine and (b) the peer card's declared extensions, and any state not present in that intersection must be treated as `input-required`-equivalent (a *pause*, not a progress...",
    "decision_boundary": "The boundary is between **coerce-and-continue** and **halt-on-conformance-gap**. Coercion is defensible only when the unknown state is provably a refinement of a canonical state the orchestrator already handles *and* the card declares it non-terminal. Concretely: - Unknown state, card declares `terminal: false` and `resumable: true` → map to `input-required`...",
    "operational_effect": "The practical consequence of getting this wrong is not a crash — it is silent accounting drift. In the observed run, coerced `deferred → working` inflated the orchestrator's \"active tasks\" gauge, charged a vendor's legitimate backoff against the orchestrator's SLA budget, and produced a `canceled`-then-`completed` terminal conflict that the reconciliation la..."
  },
  "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": "6d46ba47d7fa9687e746aac300a95e8836d98cf88482562c0e12a97135ab040d",
    "verified_classes": [
      "ConformanceError",
      "CanonicalState",
      "Extension",
      "PinnedCard",
      "TaskMachine"
    ],
    "verified_functions": [
      "drive",
      "classify",
      "apply"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ConformanceError"
    ],
    "sample_fail_closed_invariants": [
      "assert drive(m, ['working', 'deferred', 'completed']) == 'completed'",
      "assert m.deadline_paused is False",
      "coercion path was taken for an unadvertised state",
      "assert 'unadvertised state' in str(e)"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
