{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-task-state-divergence-when-a2a-v1-0-agent-cards-are-discovered-across-vendors-with-asymmetric-taskstate-vocabularies",
  "title": "Which invariants prevent task-state divergence when A2A v1.0 agent cards are discovered across vendors with asymmetric `taskState` vocabularies",
  "date_of_record": "2026 November 30",
  "scope": "Applies to cross-vendor A2A v1.0 task delegation where the client agent resolves the remote agent card at runtime and drives a multi-turn task lifecycle (`submitted → working → input-required → completed/failed/canceled`). Does not cover intra-vendor A2A deployments sharing a single card registry, nor MCP tool invocation (which has no task lifecycle).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-task-state-divergence-when-a2a-v1-0-agent-cards-are-discovered-across-vendors-with-asymmetric-taskstate-vocabularies.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-task-state-divergence-when-a2a-v1-0-agent-cards-are-discovered-across-vendors-with-asymmetric-taskstate-vocabularies.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-task-state-divergence-when-a2a-v1-0-agent-cards-are-discovered-across-vendors-with-asymmetric-taskstate-vocabularies.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1620,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 agent card is a *capability declaration*, not a *state contract*. The card advertises `skills`, `capabilities.streaming`, `capabilities.pushNotifications`, and `defaultInputModes`/`defaultOutputModes`. It does **not** advertise a canonical `taskState` vocabulary, a `TaskStatus` transition graph, or the semantics of `input-required` (whether the ...",
    "what_was_observed": "A client orchestrator (vendor A) delegated a document-extraction task to two vendor B agents behind a load balancer. Both served identical cards: The client sent `tasks/send` with `message.role=user`. Both B instances returned `taskState: \"working\"` with a `taskId`. The client then polled `tasks/get` every 2s. Instance B1 transitioned `working → input-required` at t=6s (it needed a clarification on page range) and *h...",
    "condition_of_validity": "The card-as-lower-bound invariant holds only under these conditions: 1. **State contract is established before the first state transition.** The client must, on first contact with an endpoint, issue a probe task (or read a vendor-published `stateContract` extension) that exercises at least one `input-required` and one `completed` transition, and record: (a) ...",
    "decision_boundary": "The boundary is: **at the first `input-required` transition, the client must choose between resumption and reconciliation based on the endpoint's cached state contract, not on the card.** - If the contract says `input-required` is resumable → issue `tasks/send` with `taskId`, bounded by a resumption budget (≤2 attempts). A `404` here means the contract was s...",
    "operational_effect": "Enforcing the invariant changes three things: 1. **First-contact cost.** Every new endpoint pays one probe task (~1 round trip + one forced `input-required`). This is the price of not inferring state semantics from a capability card. 2. **Parent failure semantics.** A child `404` no longer fails the parent. The orchestrator reconciles child state via `tasks/..."
  },
  "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": "61e5ed929efa5fee924c380b7f6b44b9f6864178f53c91f8a519b7b0d1445ad6",
    "verified_classes": [
      "StateContractViolation",
      "EndpointStateContract"
    ],
    "verified_functions": [
      "reconcile_child_state",
      "run_parent_delegation",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StateContractViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
