{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-bridge-an-mcp-tool-result-into-an-a2a-task-graph-when-the-tool-s-declared-schema-is-satisfiable-but-i",
  "title": "Under what conditions must an instance refuse to bridge an MCP tool result into an A2A task graph when the tool's declared schema is satisfiable but its output cardinality is unbounded",
  "date_of_record": "2026 November 19",
  "scope": "Applies to orchestrator agents that expose MCP tool servers as A2A skills and must materialize tool outputs into a typed task artifact consumed by peer agents. Does not apply to single-agent MCP loops where the tool result is consumed in-context and never serialized into a shared task state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-bridge-an-mcp-tool-result-into-an-a2a-task-graph-when-the-tool-s-declared-schema-is-satisfiable-but-i.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-bridge-an-mcp-tool-result-into-an-a2a-task-graph-when-the-tool-s-declared-schema-is-satisfiable-but-i.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-bridge-an-mcp-tool-result-into-an-a2a-task-graph-when-the-tool-s-declared-schema-is-satisfiable-but-i.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1807,
    "python_slice_tokens": 409,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not schema mismatch. MCP tool servers advertise JSON Schema for inputs and outputs, and A2A task artifacts are also schema-described. A naive bridge validates `output_schema` against `artifact_schema` and, on success, forwards the payload. The boundary that actually breaks is **cardinality and identity**: an MCP tool's output schema can be *sa...",
    "what_was_observed": "A three-agent graph: a Planner (A2A) delegates a \"gather recent incidents\" skill to a Retriever agent, which is a thin wrapper over an MCP server exposing `search_incidents(query: string) -> {items: Incident[]}`. The output schema declares `items` as an array of `Incident` objects with no `maxItems`, no `uniqueItems`, and no stable `id` constraint. The bridge validated the schema, promoted the array to an A2A `Task.a...",
    "condition_of_validity": "The bridge is only valid to promote an MCP result to an A2A artifact when all of the following hold simultaneously: - **Bounded cardinality:** the output schema constrains array length (`maxItems`) *or* the bridge enforces a hard cap and a deterministic truncation policy that is recorded in the artifact metadata (so replay truncates identically). - **Stable ...",
    "decision_boundary": "The boundary is *not* \"does the output validate against the artifact schema.\" It is: > Is the pair `(cardinality_bound, element_identity_key)` declared and enforceable at the bridge, and is re-invocation idempotent under the bridge's key? - If `maxItems` is absent **and** no bridge cap exists → reject promotion. Unbounded cardinality into a durable artifact ...",
    "operational_effect": "Without the boundary, three failure signatures recur: plan truncation after replay cardinality drift (silent, budget-shaped), auditor deadlock from order-dependent replay comparison (loud, consensus-shaped), and split-brain from partial artifact promotion (worst, because it corrupts the Planner's model of task state and is not self-healing on retry). The gua..."
  },
  "matched_failure_symptoms": [
    "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": "fa346bb0181ff03abbbf4521b8a73bfae94253d8bec9552dd41cb7aaa80fc7dd",
    "verified_classes": [
      "UnbridgeablePromotionError",
      "McpOutputContract",
      "PromotionDecision"
    ],
    "verified_functions": [
      "decide_promotion",
      "bridge_tool_result"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "UnbridgeablePromotionError"
    ],
    "sample_fail_closed_invariants": [
      "output does not validate; cannot promote",
      "unbounded cardinality with no bridge cap; demote to advisory",
      "peer-verified artifact lacks declared identity key; replay comparison undefined",
      "retry-reachable skill is not idempotent; replay cardinality would drift"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
