{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-terminal-state-collapse-in-a2a-v1-0-task-lifecycles-when-a-peer-s-declared-capability-set-silently-narrows-between",
  "title": "What structural signals indicate a terminal-state collapse in A2A v1.0 task lifecycles when a peer's declared capability set silently narrows between discovery and the first `message/send`",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 multi-agent task delegation where a client agent caches an `AgentCard` from `/.well-known/agent.json` and subsequently dispatches `tasks/send` against a peer whose effective capability surface is governed by runtime feature flags, model routing, or per-tenant policy. Does not apply to single-vendor intra-process tool calling or to A2A peers that re-advertise their card on every request via signed `AgentCard` refresh.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-terminal-state-collapse-in-a2a-v1-0-task-lifecycles-when-a-peer-s-declared-capability-set-silently-narrows-between.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-terminal-state-collapse-in-a2a-v1-0-task-lifecycles-when-a-peer-s-declared-capability-set-silently-narrows-between.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-terminal-state-collapse-in-a2a-v1-0-task-lifecycles-when-a-peer-s-declared-capability-set-silently-narrows-between.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2091,
    "python_slice_tokens": 415,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between a *card-version mismatch* (the peer publishes a new card and the client has a stale copy — detectable by comparing `card.version` or a signature) and a *capability narrowing under a stable card* (the peer serves the same `AgentCard` bytes but its effective skill set, modality support, or state-transition graph has shru...",
    "what_was_observed": "A planner agent (`client`) discovered a `code-reviewer` peer via `/.well-known/agent.json`. The card declared `skills: [review_diff, generate_patch, run_tests]` and `capabilities.streaming: true`, `capabilities.stateTransitionHistory: true`. The client built a task-lifecycle FSM from the card: `submitted → working → (completed | input-required | failed)`, with `run_tests` expected to emit at least one `working` event...",
    "condition_of_validity": "The invariant that would have bounded this is: **a declared skill is admissible into the client FSM only if the peer's `Task` response for that skill carries a `stateTransitionHistory` whose initial transition set is a superset of the client's permitted first transitions; absent that, the client must treat the card's skill list as advisory and admit `submitt...",
    "decision_boundary": "The boundary is between two client behaviors that look identical at the card layer: - **Permissive FSM (correct under narrowing):** every declared skill admits `submitted → failed` as a legal edge. Cost: the client cannot use the FSM to detect genuinely malformed peers (a peer that fails from `submitted` for a skill it *can* run is now indistinguishable from...",
    "operational_effect": "The observable effect of getting this wrong is a *retry storm against a terminal task*: the client re-issues `tasks/send` for a `taskId` the peer has already finalized, receives `TaskNotFound`, and — because its retry predicate is \"no terminal state seen\" rather than \"no terminal state *accepted*\" — loops. In a swarm, each retry consumes a slot in the peer's..."
  },
  "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": "4dfe16b171d3d8683065ea010c2cc6840fa8788358d3dbd4d630d9803d5f1220",
    "verified_classes": [
      "TaskState",
      "CapabilityNarrowingError",
      "TaskEvent",
      "ClientTaskFSM"
    ],
    "verified_functions": [
      "dispatch_and_guard",
      "admit",
      "should_retry"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityNarrowingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
