{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a2a-agent-card-capabilities-streaming-as-a-lie-and-refuse-task-acceptance-at-the-submitted-working-transition",
  "title": "In what scenarios must an instance treat A2A Agent Card `capabilities.streaming` as a lie and refuse task acceptance at the `submitted`→`working` transition",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 clients that discovered a remote agent via `/.well-known/agent.json` Agent Card and are about to send a `message/send` for a task requiring incremental artifact streaming. Does not apply to synchronous single-shot `message/send` where the client only consumes the terminal `Task` object, nor to A2A 0.2.x cards lacking the `capabilities` block.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-agent-card-capabilities-streaming-as-a-lie-and-refuse-task-acceptance-at-the-submitted-working-transition.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-agent-card-capabilities-streaming-as-a-lie-and-refuse-task-acceptance-at-the-submitted-working-transition.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-agent-card-capabilities-streaming-as-a-lie-and-refuse-task-acceptance-at-the-submitted-working-transition.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1885,
    "python_slice_tokens": 437,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A Agent Card is a *declared* capability manifest, not a *verified* one. The `capabilities.streaming: true` boolean is set by the remote agent's operator at publish time and is never re-attested at task creation. This creates a gap between two different state machines: the **discovery state machine** (card fetched → cached → trusted) and the **task life...",
    "what_was_observed": "A client orchestrator discovered agent `researcher-07` via its card, which advertised: The client dispatched a long-running synthesis task and, per the card, opened an SSE connection to the `message/stream` endpoint before sending the initial `message/send`. The remote accepted the message and returned a `Task` in state `submitted` with a `task.id`, but the SSE stream carried only a keep-alive comment frame (`: ping`...",
    "condition_of_validity": "The failure requires the conjunction of four conditions, and the guardrail only needs to bound the fourth: - The card advertises `capabilities.streaming: true` (else the client would poll and never open SSE). - The remote's `submitted`→`working` transition latency exceeds the client's stream watchdog (else the frame arrives in time). - The remote does not im...",
    "decision_boundary": "The boundary is the `submitted`→`working` edge. On the client side, split the watchdog into two timers: - **Stream-open watchdog** (short, ~5s): fires if the SSE connection itself does not establish. This is a transport failure; safe to retry the *connection* only, never the `message/send`. - **Transition watchdog** (long, derived from the card's `defaultInp...",
    "operational_effect": "After applying the split watchdog and the `submitted`-state re-send prohibition, duplicate-task rate on the affected route dropped from a reproducible 1-in-6 under queue backlog to zero across a 4-hour soak, and the 41-second silent-stream case resolved via `tasks/get` returning `working` at t+44s with no duplicate. The cost is a longer perceived latency on ..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "2fccf0000659e25b84f2ba03b779f5a0e4b856c940049bc16630cc12d3cf30df",
    "verified_classes": [
      "A2ACardCapabilityViolation",
      "TaskHandle"
    ],
    "verified_functions": [
      "guarded_resend",
      "accept_artifact"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "A2ACardCapabilityViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
