{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-capability-downgrades-when-a2a-v1-0-agent-cards-are-re-resolved-mid-delegation",
  "title": "Which invariants prevent silent capability downgrades when A2A v1.0 agent cards are re-resolved mid-delegation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to cross-runtime task delegation where a delegating agent (caller) discovers a remote agent via an A2A v1.0 Agent Card, caches the negotiated skill/capability set, and later resumes or re-delegates a task after the card has been re-fetched. Does not apply to single-runtime in-process tool calls or to stateless one-shot RPC where the card is fetched and consumed within a single turn.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-downgrades-when-a2a-v1-0-agent-cards-are-re-resolved-mid-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-downgrades-when-a2a-v1-0-agent-cards-are-re-resolved-mid-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-downgrades-when-a2a-v1-0-agent-cards-are-re-resolved-mid-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1464,
    "python_slice_tokens": 247,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An A2A v1.0 Agent Card is not a static contract; it is a *mutable advertisement* served from a `/.well-known/agent.json` (or equivalent discovery) endpoint. The card declares `skills`, each with an `id`, `inputModes`/`outputModes`, and optional `capabilities` (e.g., streaming, push notifications). The critical distinction is between **card identity** (the ag...",
    "what_was_observed": "A caller runtime (`runtime-A`) discovered `runtime-B` via its card, negotiated a task using skill `summarize.v2` with `outputModes: [\"text/markdown\"]`, and streamed partial artifacts back over SSE. Mid-task, `runtime-B` was rolled forward to a build where `summarize.v2` was renamed `summarize.v3` and its `outputModes` narrowed to `[\"application/json\"]`. `runtime-A` resumed the task after a checkpoint, re-fetched the ...",
    "condition_of_validity": "The invariant holds only under three simultaneous conditions, and fails silently when any is relaxed: 1. **Content-addressed card binding.** The caller must bind the in-flight task to a digest of the card content it negotiated against (skill `id` set + modality bindings), not to the endpoint or a name prefix. Without this, re-fetch is a renegotiation disguis...",
    "decision_boundary": "The boundary is between **re-fetch-as-refresh** (safe: content digest matches, task continues) and **re-fetch-as-renegotiation** (unsafe: content digest differs, but caller proceeds because identity matched). The caller must treat a digest mismatch on an in-flight task as a hard decision point, not a warning: - If the bound skill `id` is absent from the new ...",
    "operational_effect": "Enforcing the invariant converts a class of silent, downstream-propagating corruptions into loud, localized aborts at the delegation boundary. The cost is that roll-forward windows require the remote to keep deprecated skill handlers alive until all bound `contextId`s drain — an operational burden that must be scheduled, not assumed. The benefit is that a `c..."
  },
  "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": "61a9d3b86567698799d82c8d29ac1ad204db78731a01552e29b4eb458d7d02ae",
    "verified_classes": [
      "CapabilityDowngradeError",
      "NegotiatedBinding"
    ],
    "verified_functions": [
      "digest_card",
      "bind_task",
      "revalidate_on_resume"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityDowngradeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
