{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-agent-card-discovery-from-silently-degrading-task-lifecycle-negotiation-in-a2a-v1-0",
  "title": "Which invariants prevent Agent Card discovery from silently degrading task-lifecycle negotiation in A2A v1.0",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 client agents that resolve a remote peer's Agent Card, then negotiate `message/send` and `tasks/get` against the advertised capabilities and skills. Does not apply to single-process in-memory tool dispatch or to MCP (which has no cross-agent task lifecycle).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-discovery-from-silently-degrading-task-lifecycle-negotiation-in-a2a-v1-0.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-discovery-from-silently-degrading-task-lifecycle-negotiation-in-a2a-v1-0.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-discovery-from-silently-degrading-task-lifecycle-negotiation-in-a2a-v1-0.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1744,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the Agent Card was unreachable.\" It is that the Agent Card was *reachable, schema-valid, and semantically stale or partial* — so discovery succeeded while the negotiated task lifecycle silently diverged from what the caller assumed. A2A separates two contracts that share one document: (a) the **capability contract** (transports, streaming...",
    "what_was_observed": "A client agent resolved a peer card advertising `capabilities.streaming: true` and a skill with `outputModes: [\"application/json\"]`. It dispatched a `message/send` (non-streaming, since it only needed the terminal task) with `configuration.acceptedOutputModes: [\"application/json\"]`. The peer was mid-rollout: streaming had been disabled on the worker fleet, and the skill's runtime had fallen back to `text/plain` becau...",
    "condition_of_validity": "The invariant \"card capabilities are honored at negotiation\" holds only when *all* of the following are true; violation of any one is the trigger condition: - The card's `ETag`/`version` is bumped on **every** change to served capabilities or skill output modes, and the control plane serving the card is in the same deploy unit as the task workers. If the car...",
    "decision_boundary": "The boundary is whether the client **trusts the card as a promise** or **treats the card as a hint that must be re-verified at the point of effect**. Concretely: - If the task is idempotent, cheap, and the artifact is human-consumed → card-as-hint is acceptable; accept substitution, log the mode mismatch as a warning, let a human reconcile. - If the artifact...",
    "operational_effect": "Without the guardrail, the failure mode is *silent contract drift*: task-level success metrics stay green, downstream parse errors spike uncorrelated, and retries never fire because the lifecycle reported `completed`. The blast radius scales with card TTL and rollout skew — a 15-minute TTL against a 20-minute rolling deploy guarantees a window of divergence ..."
  },
  "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": "035d7699ce259203182889c4d837f1151de0cf2b2ded5719e1904a6e73bf9a94",
    "verified_classes": [
      "AgentCardContractViolation",
      "AgentCard",
      "TaskResult"
    ],
    "verified_functions": [
      "negotiate_and_accept"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AgentCardContractViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
