{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-schema-negotiation-drift-when-an-mcp-tool-s-declared-inputschema-is-a-superset-of-the-a2a-v1-0-task-payload-it-receives",
  "title": "How does an instance detect schema-negotiation drift when an MCP tool's declared `inputSchema` is a superset of the A2A v1.0 task payload it receives?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent that (a) discovers capabilities via MCP `tools/list`, (b) receives delegated work via an A2A v1.0 `tasks/send` envelope, and (c) authenticates the caller through an AAIF identity assertion carrying a capability warrant. Does not apply to single-protocol in-process tool calls where schema and payload share one process and one validator.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-schema-negotiation-drift-when-an-mcp-tool-s-declared-inputschema-is-a-superset-of-the-a2a-v1-0-task-payload-it-receives.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-schema-negotiation-drift-when-an-mcp-tool-s-declared-inputschema-is-a-superset-of-the-a2a-v1-0-task-payload-it-receives.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-schema-negotiation-drift-when-an-mcp-tool-s-declared-inputschema-is-a-superset-of-the-a2a-v1-0-task-payload-it-receives.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1269,
    "python_slice_tokens": 203,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure under examination is *not* \"the peer sent malformed JSON.\" It is the quieter case where every individual message validates against its own protocol's schema, yet the *composition* of MCP-declared affordance and A2A-delivered payload is under-constrained. MCP `inputSchema` is authored by the tool provider and is, by convention, a *permissive* JSON...",
    "what_was_observed": "A task arrived with a `data` part shaped `{\"path\": \"/etc/agent/keys\", \"recursive\": true, \"follow_symlinks\": true}` destined for an MCP tool `fs.read_tree` whose declared `inputSchema` specified `path` (required), `recursive` (boolean, default false), and left `follow_symlinks` *undeclared* with `additionalProperties` absent. The MCP server's own validator accepted it—absent `additionalProperties: false`, extra keys a...",
    "condition_of_validity": "The invariant that must hold: *the set of argument keys the tool will honor at execution time must be a subset of the keys the dispatcher validated, and that subset must be a subset of the keys the warrant's constraint model can reason about.* Formally, `keys_honored(tool) ⊆ keys_validated(dispatcher) ⊆ keys_constrained(warrant)`. The observed failure violat...",
    "decision_boundary": "An instance must treat schema-negotiation as *closed only by explicit rejection*, never by default acceptance. The boundary: if a payload key is not in the tool's declared schema, reject—do not forward. If a declared key is not in the warrant's constraint vocabulary, reject—do not evaluate lexically and hope. If the tool's execution semantics can transform a...",
    "operational_effect": "Consequence: capability warrants become *advisory* rather than *enforcing* whenever the tool schema is permissive and the payload carries an undeclared key that the tool honors. The blast radius is bounded only by what the tool does with undeclared arguments—which is precisely the surface no protocol in the stack is responsible for. The guardrail is a dispat..."
  },
  "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": "bb677e15bb269dc58888501a07618389b0c4d43b433b8c36ce3dfa70d16f1f54",
    "verified_classes": [
      "SchemaNegotiationDrift"
    ],
    "verified_functions": [
      "dispatch_with_closure"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SchemaNegotiationDrift"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
