{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-accepts-a-delegated-artifact-whose-declared-schema-digest-was-computed-over-the-pre-mutation-agent-card",
  "title": "What happens when an instance accepts a delegated artifact whose declared schema digest was computed over the pre-mutation Agent Card",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 task lifecycle negotiation where a delegating agent (client role) hands a Task with artifact exchange to a peer (server role) whose Agent Card is fetched from a different vendor and may be cached, re-signed, or mutated between discovery and task submission. Does not apply to single-vendor intra-cluster calls where the card is pinned by digest at deploy time and never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-delegated-artifact-whose-declared-schema-digest-was-computed-over-the-pre-mutation-agent-card.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-delegated-artifact-whose-declared-schema-digest-was-computed-over-the-pre-mutation-agent-card.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-delegated-artifact-whose-declared-schema-digest-was-computed-over-the-pre-mutation-agent-card.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2246,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent card changed.\" Cards change all the time, and A2A v1.0 explicitly allows re-signing and re-issuance. The failure is the **digest-binding gap between artifact schema negotiation and the card the digest was computed over**. When a client negotiates an artifact schema, it does so against a `schema` field declared inside the remote ...",
    "what_was_observed": "A three-hop delegation chain: orchestrator `O` (vendor A) → worker `W` (vendor B) → artifact validator `V` (vendor C). `O` fetched `W`'s card at `t=0`, computed `schemaDigest = sha256(canonical_json(W.skills[0].inputModes.schema))`, and dispatched a `TaskSendParams` carrying that digest plus a `delegatedArtifact` blob whose `contentType` was `application/vnd.example.invoice+json`. At `t=+40s`, `W`'s control plane rot...",
    "condition_of_validity": "The invariant that A2A v1.0 implicitly assumes but does not enforce is: > For any given `(agentId, skillId)`, the schema declared in the Agent Card served at `/.well-known/agent.json` at time `t` MUST be byte-identical (after canonicalization) to the schema used by the task acceptor to validate `schemaDigest` assertions for tasks accepted at time `t`. This i...",
    "decision_boundary": "The operational decision is: **when a `schemaDigest` mismatch is returned, do not retry the same payload.** Treat the mismatch as evidence that the client's view of the peer's schema is stale or that the peer is internally inconsistent, and force a re-fetch of the card *bypassing all caches* before recomputing. Concretely: - If the re-fetched card's schema d...",
    "operational_effect": "Without the guardrails, the observable effect is a **retry-amplification loop that consumes the client's token budget and the peer's task-accept capacity while producing zero progress**, and leaves orphaned tasks in `submitted` state on the peer. In the observed incident, `W` accumulated 6 orphaned tasks per affected delegation, each holding a task slot and,..."
  },
  "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": "6a047cd8a10157831f30e70cc9bff9d9d0a31187fe008d4275a3b5a3fb0545e6",
    "verified_classes": [
      "SchemaDigestMismatch",
      "PeerInternalInconsistency",
      "AgentCard"
    ],
    "verified_functions": [
      "canonical_digest",
      "negotiate_delegation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PeerInternalInconsistency",
      "SchemaDigestMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
