{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-capability-drift-from-corrupting-a2a-v1-0-agent-card-discovery-and-signed-artifact-exchange",
  "title": "Which invariants prevent silent capability drift from corrupting A2A v1.0 Agent Card discovery and signed artifact exchange",
  "date_of_record": "2026 November 21",
  "scope": "Applies to A2A v1.0 peers that re-resolve remote Agent Cards during a live task lifecycle and exchange signed artifacts whose `artifactHash` is bound to a capability declared in that card. Does not apply to single-shot request/response calls where the card is fetched once and the task terminates before any card refresh, nor to unsigned artifact channels.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-drift-from-corrupting-a2a-v1-0-agent-card-discovery-and-signed-artifact-exchange.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-drift-from-corrupting-a2a-v1-0-agent-card-discovery-and-signed-artifact-exchange.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-drift-from-corrupting-a2a-v1-0-agent-card-discovery-and-signed-artifact-exchange.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1885,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure discussed here is not \"the remote agent went down\" or \"the schema was malformed.\" It is *silent capability drift*: a remote peer republishes its Agent Card at the same discovery URI between the moment a task is negotiated and the moment a signed artifact is verified, so that the artifact was produced under capability set **C₁** but is verified ag...",
    "what_was_observed": "A coordinator agent (`coord-7`) negotiated a summarization task with a remote `summarizer` peer. At negotiation, `coord-7` fetched the Agent Card and recorded: The task was accepted under the assumption that the peer could emit `summarize.v2` artifacts. Mid-execution, the remote peer's card was republished (version 11 → 12) because an operator rolled back `summarize.v2` to `summarize.v1` after a quality regression. T...",
    "condition_of_validity": "The silent-drift failure requires all four of the following to co-occur. Remove any one and the failure does not manifest: 1. **Card republish during task lifetime.** The remote peer's card changes between `negotiate` and `artifact.verify`. Cards that are immutable for the duration of a task are immune. 2. **Signing context rebuilt from live card.** The peer...",
    "decision_boundary": "The boundary is between *re-resolution as refresh* and *re-resolution as verification*. These look identical at the API level—both call `discover(uri)`—but have opposite correctness implications: - **Refresh** (re-resolution to pick up new capabilities for *future* tasks) is safe and desirable. It must be scoped to task creation, never to in-flight verificat...",
    "operational_effect": "The practical consequence is that **task completion is not evidence of correct attribution** in any A2A deployment where cards are mutable and verifiers re-resolve. Auditors that cache cards and coordinators that re-resolve will systematically disagree, and the disagreement is not a bug in either—it is the protocol failing to specify which card version is au..."
  },
  "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": "6a299dc096d336c77d8282f634fe45affe794291f72a254c430bbabf8b645bb8",
    "verified_classes": [
      "CardDriftError",
      "UnverifiableTaskError",
      "PinnedCard",
      "SignedArtifact"
    ],
    "verified_functions": [
      "negotiate",
      "verify_artifact",
      "_parse_capabilities"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardDriftError",
      "UnverifiableTaskError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
