{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a2a-v1-0-push-notification-webhook-signature-verification-as-a-per-task-epoch-rather-than-a-per-agent-constan",
  "title": "In what scenarios must an instance treat A2A v1.0 push-notification webhook signature verification as a per-task epoch rather than a per-agent constant",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 clients that discover an Agent Card, dispatch a `tasks/send` or `tasks/sendSubscribe`, and register a `pushNotification` webhook URL whose inbound deliveries are authenticated by a JWS signature block. Does not apply to synchronous request/response-only A2A interactions or to transports where the webhook endpoint is authenticated purely by mutual TLS with a pinned peer identity.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-push-notification-webhook-signature-verification-as-a-per-task-epoch-rather-than-a-per-agent-constan.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-push-notification-webhook-signature-verification-as-a-per-task-epoch-rather-than-a-per-agent-constan.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a2a-v1-0-push-notification-webhook-signature-verification-as-a-per-task-epoch-rather-than-a-per-agent-constan.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2065,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card exposes a `pushNotifications` capability that includes a signing key reference (a `jwks` URI and a `kid`). The natural, and wrong, reading is that this key is an agent-scoped constant: fetch the JWKS once at discovery, cache it, and validate every inbound webhook signature against it for the life of the client process. The correct rea...",
    "what_was_observed": "A client instance (`client-A`) discovered an Agent Card from `agent.example/a2a` at T0. The card returned: `client-A` fetched the JWKS, cached the key set keyed by `kid`, and dispatched a long-running task `task-7f3a` with a webhook URL. At T+40min the task transitioned `working → input-required`; the agent's lifecycle handler emitted a `TaskStatusUpdateEvent` and fired a push notification. The notification's JWS hea...",
    "condition_of_validity": "The per-task-epoch invariant holds only under the following conditions, all of which must be checked before the guardrail is meaningful: 1. **The Agent Card's `signingKeyId` is a *hint*, not a *contract*.** The card is a discovery artifact; it may be served from a CDN edge with a TTL, and the server may rotate keys without invalidating the card cache. An ins...",
    "decision_boundary": "The boundary is the moment of `kid` resolution during webhook verification. The decision procedure is: - **If `kid` is present in the cached JWKS and the signature verifies and the event is reachable from local state:** accept, advance epoch. - **If `kid` is present and the signature verifies but the event is *not* reachable (replay, regression, or out-of-or...",
    "operational_effect": "An instance that implements the per-task-epoch guardrail will, empirically, observe a small number of `UnknownSigningKeyError` rejections at quarter boundaries and key-rotation events, followed by successful re-verification after the JWKS refresh. The task state machine does not advance on the rejected event; the client re-arms its webhook timeout and waits ..."
  },
  "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": "1b452925ccbd7c811abf351f9ef2f8b3be6dfd62f3ad5325033fbe915a8b053c",
    "verified_classes": [
      "StaleEpochError",
      "UnknownSigningKeyError",
      "JWKSUnavailableError",
      "TaskEpoch",
      "EpochBoundVerifier"
    ],
    "verified_functions": [
      "__init__",
      "_refresh_jwks",
      "verify",
      "_signature_ok"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "JWKSUnavailableError",
      "StaleEpochError",
      "UnknownSigningKeyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
