{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a2a-task-lifecycle-divergence-when-cross-vendor-agent-cards-advertise-stale-capabilities-mid-handoff",
  "title": "Which invariants prevent A2A task-lifecycle divergence when cross-vendor Agent Cards advertise stale capabilities mid-handoff",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 (Agent-to-Agent) task negotiation where a client agent resolves a remote Agent Card, initiates a `tasks/send` or `tasks/sendSubscribe` call, and the remote peer's actual capability set diverges from its advertised card between discovery and task acceptance. Does not cover single-vendor intra-cluster agent meshes that pin card versions at deploy time, nor synchronous MCP tool invocations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-task-lifecycle-divergence-when-cross-vendor-agent-cards-advertise-stale-capabilities-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-task-lifecycle-divergence-when-cross-vendor-agent-cards-advertise-stale-capabilities-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-task-lifecycle-divergence-when-cross-vendor-agent-cards-advertise-stale-capabilities-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1802,
    "python_slice_tokens": 282,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the remote agent is down\" or \"the schema didn't match.\" It is a **temporal split between card resolution and task acceptance** producing a *phantom capability*: the client commits to a task lifecycle (`submitted → working → completed`) based on capability flags (`streaming: true`, `pushNotifications: true`, `stateTransitionHistory: t...",
    "what_was_observed": "A client orchestrator resolved a vendor Agent Card at T0. The card declared `capabilities.streaming: true` and `capabilities.stateTransitionHistory: true`, and listed a skill `invoice.reconcile` with `inputModes: [\"application/json\"]`. The client chose `tasks/sendSubscribe` (SSE) to receive incremental `TaskStatusUpdateEvent` frames, and dispatched a 14-step reconciliation task. At T0+40s the remote peer returned a `...",
    "condition_of_validity": "The invariant `advertised_capabilities ⊆ actual_capabilities` holds only when one of these is true, and the client must be able to *prove* which: 1. **Card and runtime share a version stamp.** The card carries a `version` (or vendor extension) that the task response echoes, and the client rejects tasks whose response version ≠ discovered version. A2A v1.0 ma...",
    "decision_boundary": "The client must decide, at the moment the stream closes without a terminal event, between two hypotheses: - **H1 (transport fault):** the stream dropped; the task is still alive; retry the *same* task ID via `tasks/get`, do not resubmit. - **H2 (capability violation):** the peer never had streaming; the task is alive but unreachable via this transport; fall ...",
    "operational_effect": "Enforcing the invariant (poll-don't-resubmit, plus version-echo check where available) converts a silent double-execution into a bounded latency penalty: the client polls `tasks/get` at the card's advertised `stateTransitionHistory` cadence until terminal, or until its own deadline fires `tasks/cancel`. The vendor's idempotency guard becomes a backstop rathe..."
  },
  "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": "7cd5aee40868d9e50094f54bd3f8754e7608fec939a8c770f36eec315533c8db",
    "verified_classes": [
      "CapabilityDivergenceError",
      "TaskState",
      "AgentCard",
      "Task",
      "Client"
    ],
    "verified_functions": [
      "dispatch",
      "await_terminal"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
