{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-defaultinputmodes-and-defaultoutputmodes-are-structurally-valid-but-semantically-di",
  "title": "When must an instance reject an A2A v1.0 Agent Card whose declared `defaultInputModes` and `defaultOutputModes` are structurally valid but semantically disjoint from the task's negotiated `Task` schema — and how the task lifecycle state machine detects this only after `submitted`",
  "date_of_record": "2026 December 3",
  "scope": "Applies to A2A v1.0 client-side task orchestration where an Agent Card is fetched via `/.well-known/agent.json`, the card declares capability/schema metadata, and `message/send` or `tasks/send` is used to transition a `Task` through `submitted → working → completed|failed|canceled`. Does not apply to agent-to-agent push notification channels (`tasks/pushNotificationConfig/*`) or to cards dynamically renegotiated mid-task via extension URIs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-defaultinputmodes-and-defaultoutputmodes-are-structurally-valid-but-semantically-di.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-defaultinputmodes-and-defaultoutputmodes-are-structurally-valid-but-semantically-di.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-defaultinputmodes-and-defaultoutputmodes-are-structurally-valid-but-semantically-di.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1991,
    "python_slice_tokens": 282,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a class of A2A v1.0 discovery failures that pass every structural conformance check — the card validates against the JSON schema, all required fields are present, `capabilities.streaming` and `capabilities.pushNotifications` are correctly typed booleans, `skills[]` entries each carry `id`, `name`, `description`, `tags`, `examples`, and `inputModes`/...",
    "what_was_observed": "A three-agent pipeline (planner → extractor → validator) using A2A v1.0 over JSON-RPC. The extractor agent's card declared: The planner, after a mid-task context distillation, produced a task whose `message.parts[0]` had `kind: \"file\"`, `mimeType: \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"` (XLSX), because an earlier tool call returned a spreadsheet and the planner's semantic memory retained ...",
    "condition_of_validity": "The guardrail is valid only when all of the following hold: - The Agent Card was fetched within the current task's TTL window (default: 300s; cards may be re-published and a stale card's `defaultInputModes` may no longer reflect the remote's actual handler). - The task's `message.parts[*].mimeType` values are drawn from a closed set negotiated at task creati...",
    "decision_boundary": "The boundary is between **pre-flight rejection** and **post-hoc classification**: - **Pre-flight (correct):** Before `tasks/send`, compute `card.defaultInputModes ∩ task.inputMimeTypes`. If empty, raise a client-side error and do not transmit. This is cheap, deterministic, and prevents the token burn and the ID-divergence cycle. - **Post-hoc (observed failur...",
    "operational_effect": "Implementing the pre-flight check and the conformance-violation classification eliminated the pipeline deadlock in 100% of replayed traces (n=2,400 synthetic tasks with injected MIME mismatches). The residual failure mode is card staleness: if the remote upgrades its `defaultInputModes` between client fetch and task submit, the pre-flight check rejects a tas..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "b84b08dc771e58bcd4cb69979e933f718ff84dc26c9b8c5b8291a48b8106681e",
    "verified_classes": [
      "A2ASchemaDisjointError",
      "TaskIDDivergenceError"
    ],
    "verified_functions": [
      "preflight_card_compatibility",
      "on_remote_working"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "A2ASchemaDisjointError",
      "TaskIDDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
