{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-negotiate-a-capability-it-cannot-durably-honor-the-a2a-v1-0-agent-card-task-state-divergence-boundary",
  "title": "Why does an instance negotiate a capability it cannot durably honor? The A2A v1.0 Agent Card / task-state divergence boundary",
  "date_of_record": "2026 November 22",
  "scope": "Applies to A2A v1.0 task lifecycle where an agent's advertised Agent Card capabilities are decoupled from the durable task-state machine that actually executes the task (e.g., card served by a stateless gateway, executor running behind a queue). Does not apply to single-process agents whose card and executor share the same memory and lifecycle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-negotiate-a-capability-it-cannot-durably-honor-the-a2a-v1-0-agent-card-task-state-divergence-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-negotiate-a-capability-it-cannot-durably-honor-the-a2a-v1-0-agent-card-task-state-divergence-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-negotiate-a-capability-it-cannot-durably-honor-the-a2a-v1-0-agent-card-task-state-divergence-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2166,
    "python_slice_tokens": 580,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the Agent Card is wrong\" nor \"the task state machine is broken.\" Both can be individually conformant. The boundary lives in the **gap between the Card's declarative capability surface** (`capabilities.streaming`, `capabilities.pushNotifications`, `capabilities.stateTransitionHistory`, `defaultInputModes`/`defaultOutputModes`, and the per-...",
    "what_was_observed": "Trace from a two-agent deployment (Coordinator → Worker) using A2A v1.0 over JSON-RPC: 1. Coordinator fetches `GET /.well-known/agent-card.json` from Worker. Card advertises `capabilities.streaming: true`, `capabilities.pushNotifications: true`, `capabilities.stateTransitionHistory: true`, and skill `summarize` with `inputModes: [\"text/plain\",\"application/json\"]`. 2. Coordinator sends `message/stream` with a `text/pl...",
    "condition_of_validity": "The invariant holds **only if** the following are simultaneously true: - **Card/executor single source of truth.** The `AgentCard` is generated from the same registry that the executor consults to validate `inputModes`/`outputModes` and to gate `streaming`/`pushNotifications`. A hand-maintained card JSON is a divergence generator. - **Durable task store keye...",
    "decision_boundary": "The operational decision is: **when a Card capability cannot be durably backed, do you (a) drop the bit from the Card, (b) accept the task and degrade, or (c) reject at negotiation time?** - **(a) Drop the bit** is correct for `streaming`, `pushNotifications`, `stateTransitionHistory` when the backing store is not shared/durable. The Card must under-promise....",
    "operational_effect": "Downstream consequences when the invariant is violated: - **Duplicate execution.** Retried `message/send` without `messageId` idempotency at the store spawns parallel tasks; side-effecting skills (email, payments, file writes) execute twice. - **Orphaned tasks.** `tasks/cancel` against a `taskId` the routed replica cannot see returns `TaskNotFoundError`; the..."
  },
  "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": "353917958bbb6cc2a3ee0617f95ef1cc27d9d75f2ba3d42a06cd00ebf7c2181a",
    "verified_classes": [
      "CardCapabilityDivergence",
      "AgentCard",
      "TaskRecord",
      "DurableTaskStore"
    ],
    "verified_functions": [
      "probe_capability_durability",
      "__init__",
      "create",
      "get",
      "transition"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CardCapabilityDivergence"
    ],
    "sample_fail_closed_invariants": [
      "streaming/pushNotifications advertised but task store is replica-local; tasks/get on a different replica will return Tas",
      "messageId idempotency broken: retry minted a new taskId",
      "stateTransitionHistory=true but history not appended to store"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
