{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-renegotiates-its-a2a-artifact-schema-mid-task-and-the-delegating-agent-has-already-committed-a-typed-dependency",
  "title": "What happens when an instance renegotiates its A2A artifact schema mid-task and the delegating agent has already committed a typed dependency",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 task delegation where a delegator agent has bound a typed artifact contract (`artifact.mimeType` + `schema` reference) into its own downstream reasoning chain, and the delegatee agent emits a revised artifact schema in a subsequent `TaskStatusUpdateEvent`. Does not cover initial capability negotiation, transport-level retries, or stateless one-shot `message/send` calls that never carry artifacts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-its-a2a-artifact-schema-mid-task-and-the-delegating-agent-has-already-committed-a-typed-dependency.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-its-a2a-artifact-schema-mid-task-and-the-delegating-agent-has-already-committed-a-typed-dependency.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-its-a2a-artifact-schema-mid-task-and-the-delegating-agent-has-already-committed-a-typed-dependency.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1723,
    "python_slice_tokens": 348,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"schema mismatch.\" A2A v1.0 makes schema mismatch at *first* artifact delivery loud and cheap: the delegator validates `artifact.parts[].metadata.schema` against its expected contract and rejects with `InvalidParams`. The dangerous case is **schema drift on a re-emitted artifact within a still-open task**. The protocol permits an agent to ...",
    "what_was_observed": "Trace from a two-agent pipeline (delegator `D`, delegatee `E`) doing structured extraction: 1. `D` sends `tasks/send` with `acceptedOutputModes: [\"application/json\"]` and a `task.metadata.expectedSchema: \"extraction/v1\"` (fields: `entities: [{name, type}]`, `confidence: float`). 2. `E` emits `TaskArtifactUpdateEvent` `artifactId=\"a1\"`, `append=false`, part `application/json` conforming to `extraction/v1`. `D` validat...",
    "condition_of_validity": "The invariant that must hold for safe streaming consumption is: > For any `artifactId` that a delegator has consumed into its reasoning state, every subsequent artifact event for that `artifactId` must carry a schema revision identical to the one bound at first consumption, **or** the delegator must invalidate and re-derive all state distilled from that arti...",
    "decision_boundary": "The delegator must choose, per artifact, between two disciplines: - **Bind-and-freeze:** on first consumption of `artifactId`, record `(artifactId, schemaRef, contentHash)` in a binding ledger. On any later event for that `artifactId`, if `schemaRef` differs → do not merge; raise and either re-derive from the new artifact from scratch or fail the delegation....",
    "operational_effect": "Without the composite-key discipline, the failure mode is a *silent semantic corruption* that survives all schema validators, all MIME checks, and all per-event well-formedness checks. It surfaces only as degraded downstream output (over-broad queries, dropped entities, null confidence gates) that is indistinguishable from ordinary model error — which is exa..."
  },
  "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": "a306b1dddc1e62f1c29282dd58467e90908f30fcb62d18304de289aa273cc53c",
    "verified_classes": [
      "ArtifactSchemaDriftError",
      "Binding",
      "DelegatorState"
    ],
    "verified_functions": [
      "run_trace",
      "consume",
      "_distill"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ArtifactSchemaDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
