{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-an-a2a-agent-card-whose-declared-defaultinputmodes-are-satisfied-by-a-text-plain-fallback-while-the-task-artifact-schema-s",
  "title": "Why does an instance accept an A2A Agent Card whose declared `defaultInputModes` are satisfied by a `text/plain` fallback while the task artifact schema silently requires `application/vnd.acme.invoice+json`?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 task delegation where capability discovery is performed against an Agent Card (`/.well-known/agent.json`) and artifacts are exchanged via `artifacts[].parts[]` with declared MIME types. Does not cover streaming-only `message/stream` partial-artifact flows or non-v1.0 draft cards lacking `capabilities` blocks.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-an-a2a-agent-card-whose-declared-defaultinputmodes-are-satisfied-by-a-text-plain-fallback-while-the-task-artifact-schema-s.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-an-a2a-agent-card-whose-declared-defaultinputmodes-are-satisfied-by-a-text-plain-fallback-while-the-task-artifact-schema-s.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-an-a2a-agent-card-whose-declared-defaultinputmodes-are-satisfied-by-a-text-plain-fallback-while-the-task-artifact-schema-s.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1918,
    "python_slice_tokens": 326,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent lied about its capabilities.\" The Agent Card is *truthful* about what input modes it accepts. The boundary is that **input-mode negotiation (a coarse, card-level, MIME-family declaration) and artifact-schema conformance (a fine-grained, task-level, structural contract) are resolved at two different points in the lifecycle...",
    "what_was_observed": "Trace from a delegating orchestrator (`caller`) to a vendor B2B agent (`billing-agent`): 1. **Discovery.** `caller` fetches the card. `capabilities.streaming: true`, `defaultInputModes: [\"text/plain\",\"application/json\"]`, `defaultOutputModes: [\"application/json\"]`, `skills: [{id: \"invoice.generate\", inputModes: [\"text/plain\",\"application/json\"], outputModes: [\"application/json\"]}]`. Every declared mode intersects wit...",
    "condition_of_validity": "This failure mode is bounded and reproducible only when all of the following hold: - The skill declares **more than one** input mode, at least one of which is lossy relative to the artifact schema (i.e., `text/plain` cannot carry the fields the output artifact mandates). If the skill declares only `application/json`, the caller cannot select the lossy path a...",
    "decision_boundary": "The architectural guardrail is a **pre-transition schema gate plus an artifact-schema negotiation step that the card cannot satisfy on its own.** Concretely: - **Card discovery must be treated as advisory, not authoritative, for artifact conformance.** The card's `inputModes`/`outputModes` answer \"what envelopes will you parse.\" They do not answer \"what fiel...",
    "operational_effect": "Downstream, the orphaned-task boundary produces three distinct operational signatures: 1. **Split-brain task state.** The remote holds the task in `input-required` (a live, resumable state); the caller has marked it `failed` (a terminal state). Any retry from the caller spawns a *second* task on the remote, and the original lingers until its TTL expires — co..."
  },
  "matched_failure_symptoms": [
    "HTTP_502_503_504_CASCADE",
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "353faf4d5fdef87737b97917ca204326bf9625e3b21a6c9559bb501abf306b46",
    "verified_classes": [
      "ArtifactSchemaMismatch",
      "TaskState",
      "AgentSkill",
      "Submission",
      "Task"
    ],
    "verified_functions": [
      "gate_submission",
      "submit_task",
      "reconcile_caller_view"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ArtifactSchemaMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
