{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-an-a2a-v1-0-push-notification-webhook-as-unauthenticated-until-the-task-scoped-jwt-audience-and-taskid-contextid-binding",
  "title": "How should an instance treat an A2A v1.0 push-notification webhook as unauthenticated until the `Task`-scoped JWT audience and `taskId`/`contextId` binding are verified against the Agent Card's declared `securitySchemes`, rather than trusting the discovery-time card alone",
  "date_of_record": "2026 November 25",
  "scope": "Applies to any A2A v1.0 client or orchestrator that registers a `pushNotificationConfig` on a remote `Task` and consumes webhook callbacks; does not cover synchronous `message/send` polling-only flows, nor server-to-server mTLS channels where the transport identity is already the authorization boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-a2a-v1-0-push-notification-webhook-as-unauthenticated-until-the-task-scoped-jwt-audience-and-taskid-contextid-binding.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-a2a-v1-0-push-notification-webhook-as-unauthenticated-until-the-task-scoped-jwt-audience-and-taskid-contextid-binding.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-a2a-v1-0-push-notification-webhook-as-unauthenticated-until-the-task-scoped-jwt-audience-and-taskid-contextid-binding.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2454,
    "python_slice_tokens": 600,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different trust states in an A2A interaction, and conflating them is the failure: 1. **Discovery trust** — the belief, formed at `agentCard` fetch time, that *this endpoint's declared `securitySchemes` and `capabilities.pushNotifications` describe the party that will call me back*. 2. **Callback trust** — the per-event belief that ...",
    "what_was_observed": "A three-hop pipeline: orchestrator `O` discovers Agent `A` at `https://a.example/.well-known/agent.json`, reads `capabilities.pushNotifications: true` and `securitySchemes: { \"bearer\": { \"type\": \"http\", \"scheme\": \"bearer\", \"bearerFormat\": \"JWT\" } }`, and issues `tasks/pushNotificationConfig/set` with `url: https://o.example/hook/<opaque>` and a `token` it generates. `A` acknowledges. `O` begins polling `tasks/get` le...",
    "condition_of_validity": "The callback-trust invariant holds if and only if all of the following are true at webhook-handling time, not at discovery time: - **C1 (binding):** the credential carries a claim set that names the exact `(taskId, contextId)` pair `O` registered, and `O` compares them against its *own* registration record, not against anything in the card. - **C2 (audience)...",
    "decision_boundary": "The boundary is between *reconciling* and *committing*: - **Reconcile path (always allowed on unverified event):** enqueue a `tasks/get` for the `taskId` against `A` using the *original* registration's transport and credentials; if the authoritative `Task` object's `status` differs from local, apply *that*, not the webhook payload. The webhook becomes a hint...",
    "operational_effect": "Instances that collapse discovery trust into callback trust exhibit a characteristic signature: **zero signature failures in logs, yet state divergence between `O` and `A`.** The absence of auth errors is the tell — the failures are all *binding* failures (wrong task, recycled id, cross-context splice) that a signature check cannot see because the signature ..."
  },
  "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": "a30782672a9ac4f7038c636e84e949aa986b6ee5ac34664a80651898a52b483e",
    "verified_classes": [
      "WebhookAuthorizationError",
      "Registration",
      "TaskRecord",
      "WebhookEvent",
      "WebhookGate"
    ],
    "verified_functions": [
      "__init__",
      "register",
      "handle"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "WebhookAuthorizationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
