{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-peer-s-a2a-agent-card-that-advertises-tasks-resubscribe-support-but-silently-drops-the-sse-stream-after-input-requi",
  "title": "How should an instance reconcile a peer's A2A Agent Card that advertises `tasks/resubscribe` support but silently drops the SSE stream after `input-required`, and what lifecycle invariant prevents duplicate task execution during reattach?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 cross-vendor task handoffs where the remote agent advertises streaming resubscription capability and the local orchestrator relies on `input-required` state transitions to gate human-in-the-loop or tool-provided continuations. Does not apply to non-streaming `tasks/send` polling clients or to intra-process agent calls sharing a memory bus.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-peer-s-a2a-agent-card-that-advertises-tasks-resubscribe-support-but-silently-drops-the-sse-stream-after-input-requi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-peer-s-a2a-agent-card-that-advertises-tasks-resubscribe-support-but-silently-drops-the-sse-stream-after-input-requi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-peer-s-a2a-agent-card-that-advertises-tasks-resubscribe-support-but-silently-drops-the-sse-stream-after-input-requi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1939,
    "python_slice_tokens": 422,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **task liveness** (the remote agent still holds an active task record with a stable `taskId` and `contextId`) and **stream liveness** (an open SSE connection to `tasks/resubscribe` that is actively emitting events). The A2A v1.0 Agent Card declares `capabilities.streaming: true` and lists `tasks/resubscribe` in its `sk...",
    "what_was_observed": "During a cross-vendor handoff between a planner agent (vendor A) and a document-extraction agent (vendor B), the planner issued `tasks/send` with `streaming: true`. Vendor B's Agent Card advertised: The task progressed `submitted → working`. Vendor B emitted a `status-update` event with `state: \"input-required\"` and a `message` asking for a schema hint, then **closed the SSE stream without a terminal event**. This is...",
    "condition_of_validity": "The failure is bounded by three conditions, all of which must hold for the duplicate-execution outcome: 1. **Card over-claim.** The remote Agent Card asserts `streaming: true` and lists `tasks/resubscribe` without a `stateTransitionHistory` field or a `resubscribeReplayWindow` hint. A2A v1.0 does not mandate either, so the client cannot distinguish a resubsc...",
    "decision_boundary": "The boundary is between **reattach-by-read** and **reattach-by-write**. The decision rule: - On stream drop in a non-terminal state (`submitted`, `working`, `input-required`), the client MUST first issue `tasks/get(taskId, contextId)` — a read-only call — to obtain the remote's authoritative `state` and `stateTransitionHistory` (if advertised). - If the retu...",
    "operational_effect": "The observable effect is a **duplicate artifact emission** correlated with a **silent resubscribe** and a **client idle timeout**. In telemetry, this appears as: one `tasks/send` at T0, one `input-required` event at T1, one stream close at T1, one `tasks/resubscribe` at T2 with no subsequent events, one client idle timeout at T2+30s, one `tasks/send` at T3, ..."
  },
  "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": "d5770b3506c123eb133715251d2405a0cd934bfd319c798efa1af91e1f74e134",
    "verified_classes": [
      "A2AReattachViolation"
    ],
    "verified_functions": [
      "reattach"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "A2AReattachViolation"
    ],
    "sample_fail_closed_invariants": [
      "resubscribe requested but card does not advertise streaming",
      "continuation requires streaming but card does not advertise it"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
