{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-taskstate-transition-graph-is-acyclic-but-contains-a-hidden-re-ent",
  "title": "Under what conditions must an instance reject an A2A v1.0 Agent Card whose declared `taskState` transition graph is acyclic but contains a hidden re-entry edge through a push-notification callback, and how does that re-entry break idempotency guarantees on the remote task lifecycle?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to A2A v1.0 client instances that discover remote agents via Agent Card and drive task lifecycle transitions (`submitted → working → input-required → completed/failed/canceled`) with push-notification callbacks enabled. Does not apply to stateless request/response A2A interactions or to A2A deployments that disable push notifications entirely.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-taskstate-transition-graph-is-acyclic-but-contains-a-hidden-re-ent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-taskstate-transition-graph-is-acyclic-but-contains-a-hidden-re-ent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-an-a2a-v1-0-agent-card-whose-declared-taskstate-transition-graph-is-acyclic-but-contains-a-hidden-re-ent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2133,
    "python_slice_tokens": 275,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "An A2A v1.0 Agent Card advertises a *task lifecycle state machine* as a set of allowed transitions. The common validation instinct is to check the transition graph for cycles and reject cyclic graphs. That check is necessary but insufficient. The real boundary is this: **the Agent Card's transition graph is a claim about the *synchronous* task lifecycle, but...",
    "what_was_observed": "A client instance discovered a remote agent card advertising the canonical A2A v1.0 lifecycle: - `submitted → working` - `working → input-required` - `input-required → working` - `working → completed` - `working → failed` - `working → canceled` - `input-required → canceled` The graph contains the `input-required ⇄ working` pair, which is a legitimate two-state cycle representing clarification rounds. A naive cycle de...",
    "condition_of_validity": "The card's acyclicity check is valid **only under the conjunction of three conditions**, all of which must hold for the instance to safely drive the task lifecycle from callback events: 1. **The callback carries a monotonic `TaskStatusUpdateEvent.sequence`** (or an equivalent per-task monotonic counter). A2A v1.0 makes this field optional. If absent, the ins...",
    "decision_boundary": "The boundary is between **\"the card's graph is acyclic\"** and **\"the card's callback channel is replay-safe.\"** These are independent properties. The first is a static property of the advertised graph; the second is a dynamic property of the remote's replay-cache keying and the transport's ordering guarantees. Operationally, the instance must make a binary d...",
    "operational_effect": "When the boundary is enforced, the observable effect is that callback-driven tasks terminate in bounded time and the per-task `contextId` set has cardinality exactly one. When it is not enforced, the effect is: - **Token-budget exhaustion** on the client, because each oscillation round re-prompts the user and re-sends a clarification. - **Context-identity fo..."
  },
  "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": "5b2aa06263f9c8be4790efc04a7a2dac06df47821a3964031ffef610f8760a3c",
    "verified_classes": [
      "CallbackReentryViolation",
      "A2ACardValidator"
    ],
    "verified_functions": [
      "__init__",
      "validate_card_for_callback_mode",
      "apply_callback",
      "_find_cycles"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CallbackReentryViolation"
    ],
    "sample_fail_closed_invariants": [
      "Card does not require TaskStatusUpdateEvent.sequence; callback re-delivery cannot be distinguished from re-entry.",
      "Remote replay cache keyed on messageId but context allocator keyed on taskId; duplicate send forks context identity."
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
