{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-signed-agent-card-s-capabilities-block-as-a-set-of-preconditions-rather-than-promises-and-refuse-a-task-han",
  "title": "In what scenarios must an instance treat a signed Agent Card's `capabilities` block as a set of *preconditions* rather than *promises*, and refuse a task handoff when the remote task lifecycle state machine cannot reach the required terminal state",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 peers that discover each other via signed Agent Cards (`/.well-known/agent.json` with detached JWS over the card body) and exchange tasks governed by an explicit lifecycle state machine (`submitted → working → {input-required | completed | failed | canceled}`). Does not apply to stateless request/response tool calls, nor to peers where the caller does not consume the `status.state` transitions.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-agent-card-s-capabilities-block-as-a-set-of-preconditions-rather-than-promises-and-refuse-a-task-han.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-agent-card-s-capabilities-block-as-a-set-of-preconditions-rather-than-promises-and-refuse-a-task-han.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-signed-agent-card-s-capabilities-block-as-a-set-of-preconditions-rather-than-promises-and-refuse-a-task-han.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1961,
    "python_slice_tokens": 367,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An Agent Card is a *declaration of capability*, cryptographically bound to an identity. A task lifecycle state machine is a *runtime contract* about which terminal states are reachable given the inputs. These two artifacts are signed and validated independently, and the gap between them is where handoffs silently die. The non-obvious failure: a card can be v...",
    "what_was_observed": "A coordinator agent (`caller`) discovered a worker (`remote`) via a signed card. The card validated: JWS verified against the JWKS published at the issuer's `/.well-known/jwks.json`, `kid` matched, `exp` in the future, `capabilities.skills` listed `document.summarize` with `inputModes: [\"text/plain\"]`, `outputModes: [\"text/plain\"]`. The caller sent a task and entered `submitted`. What the card did **not** encode, bec...",
    "condition_of_validity": "The precondition-check discipline is *required* — not merely advisable — when all of the following hold: - The remote card declares `capabilities.streaming: true` or a task TTL, i.e. the remote runs a *stateful* machine rather than a synchronous call. - The caller's payload can trigger a guard the card does not encode (length, content type, rate, auth scope,...",
    "decision_boundary": "The boundary is drawn at the moment of handoff, not at discovery: - **Discovery time:** verify signature, `exp`, `kid`, and that `skills[]` contains the required skill and `inputModes`/`outputModes` intersect the payload. This is *necessary*. - **Handoff time:** for the specific payload, evaluate whether the required terminal state is reachable. Since the ca...",
    "operational_effect": "Enforcing the invariant converts a class of silent drops into explicit pre-handoff rejections with a reason. Concretely: - Idle-wait-on-`input-required` disappears, because the caller either declares a handler or refuses the handoff up front. - Stale-card caching is bounded: capabilities are re-fetched (or the cached card's `exp` is enforced) before each han..."
  },
  "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": "abda2f7b68886ce13963aa67cc6f7af9a799b5add31c4c82badd592b106ba20c",
    "verified_classes": [
      "UnreachableTerminalState",
      "UnhandledLifecycleState",
      "AgentCard",
      "HandoffRequest"
    ],
    "verified_functions": [
      "assert_handoff_reachable",
      "handoff"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "UnhandledLifecycleState",
      "UnreachableTerminalState"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
