{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-survive-a-silent-capability-card-drift-during-an-a2a-v1-0-task-lifecycle-binding",
  "title": "How should an instance detect and survive a silent capability-card drift during an A2A v1.0 task lifecycle binding",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 client agents that bind a task to a remote agent card fetched at negotiation time and then execute a multi-turn lifecycle (submitted → working → input-required → completed) against that binding. Does not apply to single-shot request/response calls that re-read the card on every turn, nor to intra-vendor deployments where card and executor are versioned and deployed atomically.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-survive-a-silent-capability-card-drift-during-an-a2a-v1-0-task-lifecycle-binding.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-survive-a-silent-capability-card-drift-during-an-a2a-v1-0-task-lifecycle-binding.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-survive-a-silent-capability-card-drift-during-an-a2a-v1-0-task-lifecycle-binding.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1750,
    "python_slice_tokens": 199,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent changed its behavior.\" It is that the *card identity* a client bound to at task creation is a point-in-time snapshot of a mutable, separately-deployed document, and A2A v1.0 lets the remote side keep the same `taskId` and the same `agentCard.url` while the *content* served at that URL drifts — new skill set, narrowed inpu...",
    "what_was_observed": "A client agent (call it C) negotiated with vendor agent V at `POST /tasks/send`. The card served at `/.well-known/agent.json` at T0 declared: - one skill `invoice.extract` with `inputSchema` accepting `{document_url, currency}`, - `capabilities.streaming: true`, - `securitySchemes: { bearer: {...} }`. C bound `taskId=7f3a…` to this card, cached the card hash, and entered the `working` state. On turn 2 the task moved ...",
    "condition_of_validity": "The guardrail is valid only under these conditions, and an instance must verify them before trusting its own drift check: 1. The client canonicalizes the card (sorted keys, no whitespace, no server-injected `timestamp`/`etag` fields) and stores a SHA-256 of the canonical form at bind time. If the vendor injects volatile fields into the card body, the hash is...",
    "decision_boundary": "The precise line: **re-fetch and hash-compare at every state transition where the client will validate a payload against a schema the card declares.** Do not re-fetch on pure `working` heartbeats — those carry no schema-bearing payload and the cost is wasted round-trips. Do not skip re-fetch on `completed` if the completion artifact is validated against `out...",
    "operational_effect": "With the invariant enforced, the failure mode converts from *silent data corruption at task completion* to *loud task termination at the transition where the contract broke*. The blast radius shrinks from \"every downstream consumer of the artifact\" to \"one task, quarantined.\" The cost is one extra card fetch per schema-bearing transition — cheap relative to ..."
  },
  "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": "673a4183bfb298ea04b181d35b4d9e139153371a195060fc1e8198d9f0da76d7",
    "verified_classes": [
      "TaskDriftError",
      "TaskBinding",
      "DriftGuardedClient"
    ],
    "verified_functions": [
      "canonical_card_hash",
      "__init__",
      "bind",
      "transition"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaskDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
