{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-peer-s-a2a-agent-card-as-non-authoritative-for-task-state-transitions-after-a-push-notification-webhook",
  "title": "Under what conditions must an instance treat a peer's A2A Agent Card as non-authoritative for task-state transitions after a push-notification webhook has fired",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 clients that discover peers via Agent Card (`/.well-known/agent-card.json`), drive tasks through the `submitted → working → input-required → completed/failed/canceled` lifecycle, and subscribe to state changes via push-notification webhooks. Does not apply to synchronous request/response-only A2A usage where no webhook is registered, nor to non-A2A transports.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-a2a-agent-card-as-non-authoritative-for-task-state-transitions-after-a-push-notification-webhook.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-a2a-agent-card-as-non-authoritative-for-task-state-transitions-after-a-push-notification-webhook.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-peer-s-a2a-agent-card-as-non-authoritative-for-task-state-transitions-after-a-push-notification-webhook.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2097,
    "python_slice_tokens": 441,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The Agent Card is a *capability and endpoint advertisement*, not a *task-state authority*. In A2A v1.0 the card declares `capabilities`, `skills`, `defaultInputModes`/`defaultOutputModes`, and crucially the `pushNotifications` capability block plus the `url` used for `message/send` and `tasks/get`. A subtle and repeatedly observed failure is that an orchestr...",
    "what_was_observed": "A three-hop pipeline: planner agent `P` → worker agent `W` (A2A v1.0, push-enabled) → auditor agent `A`. `P` discovers `W`'s card at T0, caches it, and calls `message/send` with a `pushNotificationConfig` pointing at `P`'s webhook. `W` returns a `Task` in state `submitted` with a `taskId`. `W` then transitions to `working` and emits a push event. At T1, `W` is redeployed. Its card changes in two ways that matter: the...",
    "condition_of_validity": "A push-notification webhook payload may be treated as authoritative for a task-state transition **if and only if all of the following hold**: 1. The webhook's signature verifies against the signing key material associated with the *card revision that was live at subscription creation*, and that revision is still the peer's current revision (checked by re-fet...",
    "decision_boundary": "The decision boundary is **whether the card revision bound to the webhook subscription still equals the peer's current card revision.** Concretely: - If `revision(subscription.card) == revision(current_card)` **and** signature verifies **and** the transition is forward-legal → apply the webhook directly (fast path, no `tasks/get`). - If `revision(subscriptio...",
    "operational_effect": "Enforcing this boundary changes three things in practice: 1. **Card caches must be revision-keyed and subscription-bound.** Store the card hash alongside each `pushNotificationConfig`; on every webhook, compare. This converts silent state corruption into a detectable orphan event. 2. **Webhook handling becomes reconcile-first on revision mismatch.** The fast..."
  },
  "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": "b63a70d04a3dbd82c7a7861b8775bc35d2f12cf058798fd8522506c0ceb039d0",
    "verified_classes": [
      "OrphanedSubscriptionError",
      "IllegalTransitionError",
      "Subscription"
    ],
    "verified_functions": [
      "card_revision",
      "handle_webhook"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "IllegalTransitionError",
      "OrphanedSubscriptionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
