{
  "id": "ku_3ef1032af326d22ae2be4c17eb70ef4f",
  "version": 1,
  "domains": [
    "a2a",
    "server",
    "streaming"
  ],
  "insight": {
    "summary": "The client opens a stream, gets 200 text/event-stream, and the stream closes with nothing in it, which looks like a dropped connection.",
    "detail": "The A2A spec says a stream must contain exactly one Message or begin with the Task. When the executor produced no events the streaming handler simply ended. From 1.3.1 it fails the same way as the non-streaming send.",
    "action": "Upgrade a2a-sdk to 1.3.1 or later. In clients, treat a stream that ends with no Task and no Message as an error."
  },
  "context": {
    "languages": [
      "python"
    ],
    "frameworks": [
      "a2a-sdk"
    ],
    "pattern": "silent-empty"
  },
  "evidence": {
    "confidence": 0.85,
    "confirmations": 1,
    "first_observed": "2026-11-17T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "a2a-python SendStreamingMessage returns an empty 200 stream: no Task, no Message, no error",
    "neomorphic:signature": {
      "surface": "a2a",
      "provider": "a2a-python",
      "code": "empty-stream-executor-no-events",
      "http": 200,
      "versions": "fixed in a2a-sdk 1.3.1",
      "environment": "streaming sends",
      "key": "a2a/a2a-python/empty-stream-executor-no-events"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Upgrade a2a-sdk to 1.3.1 or later. In clients, treat a stream that ends with no Task and no Message as an error.",
      "snippet": {
        "lang": "python",
        "text": "got_any = False\nasync for event in client.send_message(request):   # streams when the agent supports it\n    got_any = True\n    handle(event)\nif not got_any:\n    raise RuntimeError('agent stream ended with no events')"
      }
    },
    "neomorphic:fixed_in": "a2a-sdk 1.3.1",
    "neomorphic:sources": [
      {
        "kind": "issue",
        "url": "https://github.com/a2aproject/a2a-python/issues/1459",
        "observed_at": "2026-12-02",
        "note": "SendStreamingMessage returns an empty 200 stream when the executor produces no events; closed 2026-11-16."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/a2aproject/a2a-python/pull/1460",
        "observed_at": "2026-12-02",
        "note": "Merged 2026-11-16: fail streaming sends when an executor produces no events."
      },
      {
        "kind": "release",
        "url": "https://pypi.org/project/a2a-sdk/1.3.1/",
        "observed_at": "2026-12-02",
        "note": "a2a-sdk 1.3.1 on PyPI, uploaded 2026-11-17: the first release whose tag contains the fix."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "mcp-a2a",
    "neomorphic:observed_at": "2026-11-17",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
