{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reject-a-push-notification-callback-whose-taskstate-transition-is-legal-but-whose-pushnotificationconfig-token-was-minted-under",
  "title": "Where must an instance reject a push-notification callback whose `taskState` transition is legal but whose `pushNotificationConfig.token` was minted under a superseded `taskId` generation",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 agents that emit asynchronous task updates via `tasks/pushNotificationConfig/set` and receive vendor-side webhook callbacks carrying a `TaskPushNotificationConfig` envelope. Does not apply to synchronous `message/send` request/response flows, nor to streaming `message/stream` SSE channels where the transport connection itself carries identity.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-push-notification-callback-whose-taskstate-transition-is-legal-but-whose-pushnotificationconfig-token-was-minted-under.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-push-notification-callback-whose-taskstate-transition-is-legal-but-whose-pushnotificationconfig-token-was-minted-under.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-push-notification-callback-whose-taskstate-transition-is-legal-but-whose-pushnotificationconfig-token-was-minted-under.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1706,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 separates two things that look identical on the wire: the *cryptographic identity of the callback sender* (established by the `token` in the `pushNotificationConfig`) and the *semantic legality of the `taskState` transition* (established by the task lifecycle state machine). Vendors routinely conflate them. A webhook arrives with a valid, unexpired,...",
    "what_was_observed": "A two-vendor pipeline: Vendor A (a retrieval orchestrator) issues tasks to Vendor B (a long-running synthesis agent) over A2A. B registers a push config with A: At T0+40min the task on B's side is reset — B's context window saturated, B's planner re-instantiated the task under the *same external* `taskId` but a *new internal* execution epoch. B does not re-issue the push config; the original `token` (still within its...",
    "condition_of_validity": "The invariant that must hold for a callback to be committable is *not* \"token is valid AND transition is legal.\" It is: > A callback `C` for `taskId = T` is committable iff `token(C).iat ≥ generation_start(T, receiver)` AND `token(C).taskId == T` AND the transition `state(receiver, T) → C.status.state` is in the receiver's legal-transition set AND `C.status....",
    "decision_boundary": "The boundary is the comparison `token.iat` vs `generation_start(T)`. Three regimes: - `token.iat ≥ generation_start(T)`: commit normally. The token was minted in the current epoch. - `token.iat < generation_start(T)` AND `token.exp < now`: reject as expired. Standard path; no special handling. - `token.iat < generation_start(T)` AND `token.exp ≥ now`: **the ...",
    "operational_effect": "The invariant converts a class of silent state-poisoning failures into an explicit, recoverable re-registration handshake. Without it, the failure surfaces downstream as: a human answering a stale question, a task deadlocking on a confirmation that was already resolved in the current generation, or — worst — a `completed` callback from a dead epoch overwriti..."
  },
  "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": "3ab0ca67a489fb4357d136f94496ee57b6305042a03252183f4cd2e25148a2af",
    "verified_classes": [
      "PushNotificationConfigMismatch",
      "TaskGeneration",
      "Callback"
    ],
    "verified_functions": [
      "commit_callback"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "PushNotificationConfigMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
