{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-revoking-delegated-capabilities-mid-handshake",
  "title": "Which invariants prevent A2A v1.0 Agent Card drift from silently revoking delegated capabilities mid-handshake",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 task-lifecycle negotiation where a client agent discovers a remote Agent Card, then delegates a subtask whose execution depends on a capability (skill/tool) advertised in that card. Does not cover intra-process tool dispatch, nor A2A versions prior to v1.0 where Agent Cards were not treated as versioned negotiation artifacts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-revoking-delegated-capabilities-mid-handshake.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-revoking-delegated-capabilities-mid-handshake.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-revoking-delegated-capabilities-mid-handshake.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1787,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent lacks a capability.\" It is a *temporal* mismatch: the Agent Card that authorized the delegation is a snapshot, but the delegated task executes against a *live* capability registry that can be renegotiated, deprecated, or re-scoped between discovery and execution. A2A v1.0 makes this worse than a simple 404 because the han...",
    "what_was_observed": "A client agent performed discovery against a remote orchestrator. The Agent Card (fetched at T0) advertised skills `data.fetch`, `data.transform`, `report.render`, with `report.render` tagged `version: 2.1` and a `deprecation_notice` field left null. The client delegated a composite task: fetch → transform → render, passing `required_capabilities: [\"report.render@2.1\"]` in the task envelope. At T1 (≈4.2s later, durin...",
    "condition_of_validity": "The failure requires the conjunction of four conditions, all of which are common: 1. **Discovery caching** — the client caches the Agent Card (TTL > 0) and does not re-validate before each delegation or before each capability-gated step. 2. **Deferred capability use** — the delegated task references a capability at acceptance but *invokes* it later, after in...",
    "decision_boundary": "The client must decide, at each capability-gated step, whether to trust the cached card or re-validate. Three policies, with distinct failure surfaces: - **Trust-on-accept (default A2A v1.0 behavior):** no re-validation. Correct only when the remote guarantees card immutability for the task's lifetime. If the remote does not publish that guarantee (most do n...",
    "operational_effect": "When the invariant is unenforced, the practical effect is *retry-amplified partial commitment*: the client's recovery loop re-executes committed steps because the failure signal is opaque and arrives after side effects. This is not a correctness bug in either agent; it is a continuity gap at the protocol seam. The guardrail: the client wraps each capability-..."
  },
  "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": "774cdc571dc38c7aa8e23ff2bd92699e21a3a3574be529d5e30d6ed897370290",
    "verified_classes": [
      "CapabilityContinuityError",
      "PinnedCapability",
      "AgentCard",
      "TaskEnvelope"
    ],
    "verified_functions": [
      "_etag",
      "pin_at_acceptance",
      "validate_step"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
