{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-replayed-a2a-artifact-whose-artifactid-matches-but-whose-contenthash-was-minted-under-a-different-agentcard-protocolver",
  "title": "When must an instance reject a replayed A2A artifact whose `artifactId` matches but whose `contentHash` was minted under a different AgentCard `protocolVersion` lineage",
  "date_of_record": "2026 November 24",
  "scope": "Applies to cross-vendor Agent-to-Agent (A2A) v1.0 task lifecycles where a receiving agent validates inbound `TaskArtifact` payloads against a peer's published AgentCard, and where artifact identity is asserted by a stable `artifactId` while content integrity is asserted by a separate `contentHash`. Does not apply to single-vendor intra-cluster calls that pin a single AgentCard version at build time, nor to streaming `TaskStatusUpdateEvent` deltas that have not yet been materialized into an artifact.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-replayed-a2a-artifact-whose-artifactid-matches-but-whose-contenthash-was-minted-under-a-different-agentcard-protocolver.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-replayed-a2a-artifact-whose-artifactid-matches-but-whose-contenthash-was-minted-under-a-different-agentcard-protocolver.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-replayed-a2a-artifact-whose-artifactid-matches-but-whose-contenthash-was-minted-under-a-different-agentcard-protocolver.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1854,
    "python_slice_tokens": 282,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 splits artifact identity into two fields that most implementations treat as one: `artifactId` is a *stable logical handle* the producer promises to keep constant across re-emissions, and `contentHash` is a *content commitment* over the serialized artifact bytes. The AgentCard carries a third field, `protocolVersion` (and an implicit `card.capabiliti...",
    "what_was_observed": "A three-vendor pipeline: vendor A (orchestrator) delegates a document-diff task to vendor B (worker), which delegates summarization to vendor C (specialist). B's AgentCard at task creation advertised `protocolVersion: \"1.0.0\"` and `artifactEncodings: [\"application/json\"]`. Mid-task, B's control plane rolled a card update to `\"1.0.1\"` that added `application/json+canonical` as the preferred encoding and — critically —...",
    "condition_of_validity": "The rejection-or-acceptance decision is only well-defined when the receiver can answer three questions from durable state, not from the peer's live card: - **Which `protocolVersion` was active at the moment the referenced `contentHash` was minted?** This must come from a per-emission negotiation record (the `TaskStatusUpdateEvent` that carried the artifact, ...",
    "decision_boundary": "The boundary between \"reject as tampered\" and \"reconcile as lineage skew\" is a single predicate over the negotiation transcript, and it must be evaluated *before* any content comparison: The non-obvious part: the cache key must be `artifactId` but the cache *value* must be the full `(hash, version, encoding)` tuple. Storing only the hash — the obvious implem...",
    "operational_effect": "With the tuple-keyed cache and the lineage-first predicate, the mid-task roll in the observed trace produces `LINEAGE_SKEW` at step 3 instead of a tamper alarm. The receiver halts only the affected artifact, requests a re-emission under a fresh `artifactId` (or a signed migration attestation), and the task completes with an audit trail that records both hash..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "7e28663e56be54ca314470cacc946f19d8dd34aa142a92e60e09c832e8b8f3e1",
    "verified_classes": [
      "ArtifactLineageError",
      "Verdict",
      "Emission",
      "ArtifactLedger"
    ],
    "verified_functions": [
      "handle_replay",
      "__init__",
      "validate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ArtifactLineageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
