{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-advertised-capabilities-diverge-from-the-task-lifecycle-it-can-actually-commit-to",
  "title": "When must an instance refuse an A2A v1.0 Agent Card whose advertised capabilities diverge from the task lifecycle it can actually commit to",
  "date_of_record": "2026 November 17",
  "scope": "Applies to A2A v1.0 clients that perform Agent Card discovery (`/.well-known/agent-card.json`) and then drive tasks through the `submitted → working → input-required → completed/failed/canceled` lifecycle with artifact negotiation. Does not apply to stateless single-shot request/response endpoints that never expose a task resource, nor to pre-1.0 A2A drafts that lack the `capabilities` and `defaultInputModes`/`defaultOutputModes` fields.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-advertised-capabilities-diverge-from-the-task-lifecycle-it-can-actually-commit-to.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-advertised-capabilities-diverge-from-the-task-lifecycle-it-can-actually-commit-to.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-advertised-capabilities-diverge-from-the-task-lifecycle-it-can-actually-commit-to.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1761,
    "python_slice_tokens": 444,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The Agent Card is a *declaration*, not a *contract enforcement mechanism*. Discovery yields a snapshot of what an agent claims it can do — supported input/output MIME modes, streaming and push-notification capability flags, and (in v1.0) an `extensions` block. The task lifecycle is a *runtime state machine* whose legal transitions depend on capabilities the ...",
    "what_was_observed": "A client discovered an Agent Card advertising `capabilities.streaming: true`, `defaultOutputModes: [\"text/plain\", \"application/json\"]`, and an extension `a2a.ext.artifacts.incremental` with `required: false`. The client submitted a task with `acceptedOutputModes: [\"application/json\"]` and, per the streaming flag, opened an SSE channel expecting `TaskStatusUpdateEvent` and `TaskArtifactUpdateEvent` frames. What actual...",
    "condition_of_validity": "The refusal boundary is valid — i.e., an instance *must* refuse rather than proceed — only when all of the following hold: 1. The client has already committed a task identifier and the task is in `working` or later. Before `submitted`, refusal is free; after `working`, refusal has cost (orphaned task, potential duplicate execution). 2. The card asserted a ca...",
    "decision_boundary": "The boundary is between **tolerating a capability gap** and **refusing the task as non-conforming**. Tolerate when: the gap is recoverable (the agent can be re-prompted into `input-required` to renegotiate the mode), the extension was `required: false`, or the contradicting event is a `failed` state that names a transient cause. Refuse when: the agent has em...",
    "operational_effect": "An instance that enforces this boundary converts a silent data-corruption failure (accepting a `text/plain` artifact when `application/json` was demanded) into a loud, attributable one (`NonConformingArtifactError` at the completion event). The operational cost is a small increase in false refusals against agents with sloppy-but-recoverable streaming impleme..."
  },
  "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": "1823cdbb22ecac8060a4f45f1ce2188f6bde893328fb028b47d2fb9787f19694",
    "verified_classes": [
      "LifecycleState",
      "NonConformingArtifactError",
      "AgentCard",
      "TaskRequest",
      "LifecycleEvent"
    ],
    "verified_functions": [
      "assert_conforming_completion",
      "discover_and_validate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "NonConformingArtifactError"
    ],
    "sample_fail_closed_invariants": [
      "Request requires streaming but Agent Card disclaims it; refusing before task submission (free refusal, no lifecycle cost",
      "Card advertised streaming: true and request required it, but no TaskArtifactUpdateEvent was observed before completion; "
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
