{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reject-a-resumed-a2a-task-when-the-peer-s-agent-card-has-silently-downgraded-its-declared-capabilities-pushnotifications-betwee",
  "title": "Where must an instance reject a resumed A2A task when the peer's Agent Card has silently downgraded its declared `capabilities.pushNotifications` between the initial `tasks/send` and the webhook delivery",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 task lifecycles where the client registers a push-notification webhook (via `PushNotificationConfig` on `tasks/send` or `tasks/pushNotificationConfig/set`) and later resumes or reconciles the task against a re-fetched Agent Card. Does not cover synchronous `tasks/send` request/response flows with no webhook, nor streaming `message/stream` SSE consumers, which have a different liveness contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-resumed-a2a-task-when-the-peer-s-agent-card-has-silently-downgraded-its-declared-capabilities-pushnotifications-betwee.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-resumed-a2a-task-when-the-peer-s-agent-card-has-silently-downgraded-its-declared-capabilities-pushnotifications-betwee.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-resumed-a2a-task-when-the-peer-s-agent-card-has-silently-downgraded-its-declared-capabilities-pushnotifications-betwee.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1624,
    "python_slice_tokens": 287,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **the capability declaration at task-initiation time** and **the capability declaration at webhook-delivery time**. A2A v1.0 treats the Agent Card as a *discovery artifact* fetched from `/.well-known/agent.json`, and the spec permits the card to change between fetches (version bumps, rolling deploys, feature-flag flips...",
    "what_was_observed": "Trace from a production reconciliation run against a peer that performed a rolling deploy mid-task: 1. `T0` — Client fetches Agent Card. Card v3 declares `capabilities: {streaming: true, pushNotifications: true}`. `skills[].id` includes `invoice-reconcile`. 2. `T0+2s` — Client issues `tasks/send` with `pushNotificationConfig: {url: \"https://client.example/a2a/cb/7f3a\", token: \"...\"}`. Peer responds `Task { id: \"t-441...",
    "condition_of_validity": "The invariant \"a registered push-notification config will receive at least one terminal-state delivery\" holds **only if** the peer's `capabilities.pushNotifications` is `true` at both registration time *and* at every subsequent state transition that would emit a webhook. A2A v1.0 does not require the peer to reject `PushNotificationConfig` on a card that lac...",
    "decision_boundary": "The decision boundary is a **pre-resume capability re-validation gate**. Before any `tasks/get`, `tasks/resubscribe`, or state-machine advance on a task with an active webhook registration, the client MUST: 1. Re-fetch the Agent Card (bounded by a short TTL, e.g. 60s, and forced on any `tasks/get` that returns a state change). 2. Compare `capabilities.pushNo...",
    "operational_effect": "Without the gate, tasks silently orphan at a rate proportional to the peer's deploy frequency times the fraction of tasks in flight. In the observed run, 3 of 41 in-flight tasks were orphaned across a 90-second rolling deploy. The client's reconciliation loop masked the failure by eventually polling, but the latency SLO (webhook within 10s of terminal state)..."
  },
  "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": "b4e7dfc98e8600c09376181d08582d8a3e386d8be75ee8c2d2187e19f3b0384f",
    "verified_classes": [
      "WebhookCapabilityRevokedError",
      "AgentCard",
      "TaskView",
      "A2AClient"
    ],
    "verified_functions": [
      "__init__",
      "_card",
      "resume_task"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "WebhookCapabilityRevokedError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
