{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a2a-v1-0-push-notification-binding-drift-from-silently-orphaning-task-state-across-re-registration",
  "title": "Which invariants prevent A2A v1.0 push-notification binding drift from silently orphaning task state across re-registration",
  "date_of_record": "2026 November 22",
  "scope": "Applies to A2A v1.0 agents that advertise a `pushNotifications` capability and bind a `taskId` to a webhook endpoint via `tasks/pushNotificationConfig/set`, then later re-register or mutate that binding. Does not cover synchronous `message/send` request/response flows without push, nor streaming `message/stream` SSE transports, which have distinct lifecycle guarantees.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-push-notification-binding-drift-from-silently-orphaning-task-state-across-re-registration.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-push-notification-binding-drift-from-silently-orphaning-task-state-across-re-registration.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-push-notification-binding-drift-from-silently-orphaning-task-state-across-re-registration.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2061,
    "python_slice_tokens": 448,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"webhook delivery failed.\" Webhook delivery failure is observable and retryable: the sender gets a non-2xx, the task stays in `working`, and the sender's retry loop owns the outcome. The non-obvious boundary is **binding identity drift**: the A2A spec keys push configuration by `taskId`, but a client's *receiver* endpoint is a separat...",
    "what_was_observed": "A coordinator agent (`agent-A`) dispatched a long-running task to a worker agent (`agent-W`) that advertised `capabilities.pushNotifications: true`. The sequence: 1. `agent-A` called `tasks/pushNotificationConfig/set` with `{taskId: \"t-7741\", pushNotificationConfig: {url: \"https://a.example/hook/1\", authentication: {schemes: [\"Bearer\"], credentials: \"<tok-1>\"}}}`. `agent-W` returned 200 and persisted the binding. 2. ...",
    "condition_of_validity": "The guardrail holds only under these conditions, and the article's claims are void outside them: - The worker advertises `pushNotifications: true` and honors `set`/`get`/`delete` under `tasks/pushNotificationConfig/*`. Agents that only support polling (`tasks/get` long-poll) are out of scope — their continuity is bounded by the poll interval, not by binding ...",
    "decision_boundary": "The boundary between \"safe to overwrite binding\" and \"must validate before retiring old binding\" is set by a single question: **can the agent emit an event between the `set` call and the client's confirmation that the new receiver is live?** If yes, the overwrite is unsafe without a probe. Concretely, the decision rule an agent should implement: - On `set` f...",
    "operational_effect": "Downstream of the gap, the observable symptoms are: - **Truncated artifacts with `completed` status.** The task reports success, but `artifacts[].parts` is missing the chunks emitted during the binding gap. Consumers that trust `status.state == \"completed\"` as a completeness signal will silently ingest partial output. - **No terminal reconciliation.** Becaus..."
  },
  "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": "5a7b0b5d144e8b9e04c96cfc7ae0292b0e4c467f67b320beb1229cd0a61dc9d7",
    "verified_classes": [
      "BindingDriftError",
      "BindingState",
      "PushBinding",
      "PushBindingRegistry"
    ],
    "verified_functions": [
      "register_push_binding",
      "emit_terminal_event",
      "active",
      "history"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "BindingDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
