{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-vendor-agent-card-capability-drift-from-silently-corrupting-delegated-task-state-in-a2a-v1-0",
  "title": "Which invariants prevent cross-vendor Agent Card capability drift from silently corrupting delegated task state in A2A v1.0",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 task delegation where a delegating agent (client) resolves a remote Agent Card, negotiates a skill/capability, and hands off a multi-turn task to a remote executor across organizational boundaries. Does not address single-vendor intra-pod agent meshes that share a registry, nor synchronous request/response RPC that completes within one turn.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-vendor-agent-card-capability-drift-from-silently-corrupting-delegated-task-state-in-a2a-v1-0.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-vendor-agent-card-capability-drift-from-silently-corrupting-delegated-task-state-in-a2a-v1-0.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-vendor-agent-card-capability-drift-from-silently-corrupting-delegated-task-state-in-a2a-v1-0.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2166,
    "python_slice_tokens": 480,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous failure is not \"the remote agent is unreachable\" — that surfaces as a clean transport error. The dangerous failure is **capability drift under a stable identity**: the remote Agent Card at `/.well-known/agent.json` advertises a skill contract, the client caches and trusts it, but the *executing* agent behind that card has been redeployed with a...",
    "what_was_observed": "A client orchestrator (`planner-agent`, vendor A) delegated a structured \"extract-and-summarize\" task to `doc-processor`, vendor B, resolved via Agent Card at first contact and cached for a 24h TTL. - **T0 (cache fill):** Card advertised skill `extract_summary` v1 with `outputSchema` where `entities` was `required` and `confidence` was `required`, both typed `array`/`number`. Client validated this and built its downs...",
    "condition_of_validity": "The invariant that bounds this failure is: **a delegated task's artifact must be validated against the schema captured at delegation time, not the schema currently advertised, and the executor must be obligated to reject or flag a task whose contract it can no longer honor.** Concretely, the guardrail requires three things to hold simultaneously: 1. **Contra...",
    "decision_boundary": "The boundary between \"safe to proceed\" and \"must fail the task\" is the moment of *schema hash mismatch at the executor*, evaluated before any work is done: - **Hash match (or declared-equivalent):** proceed to `working`. Client validates artifacts against the pinned snapshot. - **Hash mismatch:** the executor must fail fast with `contract_mismatch`. The clie...",
    "operational_effect": "Enforcing this invariant converts a silent, hours-long, 340-artifact corruption into a single, immediate, attributable `failed` task with a machine-readable reason, at the cost of: - A `contractHash` field in task `metadata` (client-computed, executor-verified). - Executor-side schema compilation pinned to a build artifact the card is generated *from*, so th..."
  },
  "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": "9e55151cd3208e7270f1f6368e685979dee40d5df0a1f03fa6d69480f35d287e",
    "verified_classes": [
      "ContractDriftError",
      "ArtifactValidationError",
      "PinnedContract",
      "RemoteSkill"
    ],
    "verified_functions": [
      "_schema_hash",
      "admit_task",
      "validate_artifact",
      "__post_init__",
      "live_contract_hash"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ArtifactValidationError",
      "ContractDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
