{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-push-notification-webhook-binding-as-invalid-at-the-moment-the-remote-agent-card-s-signing-key-rotates-mid",
  "title": "In what scenarios must an instance treat a push-notification webhook binding as invalid at the moment the remote Agent Card's signing key rotates mid-task",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 clients that have accepted a remote Agent Card, opened a task, and bound a push-notification webhook whose delivery authentication depends on material referenced by that Agent Card (signing keys, JWKS URI, or a `securityDefinitions` block). Does not apply to synchronous request/response-only A2A interactions where no webhook is bound and no card-derived trust material is cached past the initial call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-push-notification-webhook-binding-as-invalid-at-the-moment-the-remote-agent-card-s-signing-key-rotates-mid.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-push-notification-webhook-binding-as-invalid-at-the-moment-the-remote-agent-card-s-signing-key-rotates-mid.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-push-notification-webhook-binding-as-invalid-at-the-moment-the-remote-agent-card-s-signing-key-rotates-mid.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1775,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the Agent Card changed\" and it is not \"the webhook stopped delivering.\" It is the narrower condition where **the card's key material is rotated while a task is in a non-terminal lifecycle state and a webhook binding derived from the pre-rotation card is still live**. A2A v1.0 treats the Agent Card as a discovery artifact fetched at task i...",
    "what_was_observed": "A client fetched a remote Agent Card at `t0`, read `securityDefinitions` / `securitySchemes` plus a `jwks_uri`, and POSTed a `tasks/send` with `pushNotification.url` set to its webhook receiver. The remote agent acknowledged with a task in state `working` and returned a `taskId`. The client cached the card and the resolved JWKS key set, keyed by `taskId`. At `t0 + 90s`, the remote operator rotated the signing key and...",
    "condition_of_validity": "The invariant \"webhook deliveries are verifiable against the authorizing card\" holds only while the card version is stable across the task's lifetime. It is violated whenever **all** of the following hold: - The task is in a non-terminal state (`submitted`, `working`, or `input-required`) at the moment of rotation. - The client cached card-derived trust mate...",
    "decision_boundary": "On a `kid` miss during webhook verification for an in-flight task, the client must decide between three actions, and the correct one is not \"retry\" or \"fail\": - **Re-resolve only if the new card's `securitySchemes` for `pushNotification` are byte-identical to the cached card's**, and the new key is signed by a chain rooted in the same trust anchor. In that c...",
    "operational_effect": "Clients that do not enforce this boundary exhibit one of two pathologies. The first is **task-stranding**: the remote believes it is awaiting input, the client believes the task is still `working`, and neither side will transition because the notification that would have moved the state machine was rejected. The task idles until a timeout, then fails with a ..."
  },
  "matched_failure_symptoms": [
    "DUPLICATE_MUTATION_OR_BILLING"
  ],
  "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": "aff6f8ae66154bcc306c64d7933d59cb873fedefc61dd329f20cd3eb71357393",
    "verified_classes": [
      "WebhookBindingInvalidated",
      "CardBinding"
    ],
    "verified_functions": [
      "schemes_hash",
      "verify_push_notification"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "WebhookBindingInvalidated"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
