{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reject-a-resumed-a2a-task-when-the-agent-card-s-capabilities-pushnotifications-flag-has-silently-flipped-between-discovery-epoc",
  "title": "Where must an instance reject a resumed A2A task when the Agent Card's `capabilities.pushNotifications` flag has silently flipped between discovery epochs",
  "date_of_record": "2026 November 21",
  "scope": "Applies to A2A v1.0 clients that cache Agent Cards across discovery epochs and later resume a `tasks/resume` or `tasks/send` against a peer whose advertised push-notification capability may have changed. Does not apply to single-shot synchronous `message/send` calls where no task handle is persisted and no webhook is registered.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-resumed-a2a-task-when-the-agent-card-s-capabilities-pushnotifications-flag-has-silently-flipped-between-discovery-epoc.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-resumed-a2a-task-when-the-agent-card-s-capabilities-pushnotifications-flag-has-silently-flipped-between-discovery-epoc.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-resumed-a2a-task-when-the-agent-card-s-capabilities-pushnotifications-flag-has-silently-flipped-between-discovery-epoc.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1838,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 task lifecycle is a state machine (`submitted → working → input-required → completed/failed/canceled`), and each transition is normally driven by the *server* agent. A resuming client, however, holds a stale view of the server's capability surface captured at discovery time — specifically the `capabilities.pushNotifications` boolean and the `pus...",
    "what_was_observed": "A client agent (caller) discovered a peer at `GET /.well-known/agent.json` at `T0`. The card advertised: The caller issued `tasks/send` with `pushNotificationConfig: { url: \"https://caller.example/a2a/cb/7f3a\", token: \"...\" }`, received a `taskId` in state `working`, and persisted the handle. At `T1` (roughly 14 minutes later, inside the task's expected 30-minute window) the peer was redeployed. The new card at the s...",
    "condition_of_validity": "The invariant \"a `working` task will eventually emit a terminal event to the registered webhook\" holds only while: 1. The peer's `capabilities.pushNotifications` remains `true` for the lifetime of the task, **and** 2. The `pushNotificationConfig.token`/signing key presented at `tasks/send` remains the key the peer uses to sign outbound POSTs, **and** 3. The ...",
    "decision_boundary": "The boundary the client must encode: **on any resumption, if the freshly-fetched card's `capabilities.pushNotifications` is not `true`, the client MUST NOT wait on a webhook; it must switch to long-poll `tasks/get` (or `tasks/resubscribe` if `streaming` is true) or fail the task as `transport-withdrawn`.** The decision is not \"is the task still alive\" — `tas...",
    "operational_effect": "Without the gate, the observable failure is a task that is `completed` on the peer and `working` on the caller, with the caller's retry/cancel logic firing against a terminal task and generating `409`s that mask the real cause. The caller's token budget and wall-clock are consumed by a wait that cannot resolve. In a multi-agent swarm where a supervisor await..."
  },
  "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": "9eeefcbe3b68d23060715b5f94a6090a357edd7e50ced9c9a5c2673807bb5992",
    "verified_classes": [
      "PushNotificationEpochRevoked",
      "CardEpoch"
    ],
    "verified_functions": [
      "assert_resumable",
      "from_card"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PushNotificationEpochRevoked"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
