{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-signed-agent-card-whose-tasklifecycle-statetransitions-graph-admits-a-terminal-state-re-entry-via-a-pu",
  "title": "Under what conditions must an instance reject a signed Agent Card whose `taskLifecycle.stateTransitions` graph admits a terminal-state re-entry via a push-notification callback replay",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 task-serving agents that (a) publish a signed Agent Card advertising a task lifecycle state machine, and (b) accept push-notification webhooks whose callbacks can drive state transitions on in-flight tasks. Does not apply to pull-only agents with no outbound callback surface, nor to stateless request/response agents that never persist a `Task` object across turns.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-signed-agent-card-whose-tasklifecycle-statetransitions-graph-admits-a-terminal-state-re-entry-via-a-pu.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-signed-agent-card-whose-tasklifecycle-statetransitions-graph-admits-a-terminal-state-re-entry-via-a-pu.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-signed-agent-card-whose-tasklifecycle-statetransitions-graph-admits-a-terminal-state-re-entry-via-a-pu.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1926,
    "python_slice_tokens": 373,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Signature validity and lifecycle well-formedness are orthogonal trust properties, and A2A v1.0's Agent Card schema lets them be checked independently — which is exactly the trap. A JWS signature over the card proves *who* asserted the state machine, not that the state machine is *safe to execute*. The non-obvious boundary is this: a card can be cryptographic...",
    "what_was_observed": "A peer agent published an Agent Card with `capabilities.pushNotifications: true` and a `taskLifecycle` block. The card was signed with a valid `ES256` JWS, `kid` resolvable against the peer's published JWKS, `alg` pinned, `exp`/`iat` sane. Our federation gate accepted it and installed the advertised transition table as the executor's authoritative FSM. The advertised table contained, among the normal forward edges, t...",
    "condition_of_validity": "The guardrail holds only under a conjunction of conditions, and it fails open if any is dropped: - **Terminal-absorbing invariant:** In the installed FSM, the set `TERMINAL = {completed, failed, canceled}` must have out-degree zero. Any card advertising an edge whose `from ∈ TERMINAL` is rejected at install time, regardless of signature validity. This is the...",
    "decision_boundary": "The precise line an instance must draw: - **Reject at install** if `∃ e ∈ transitions : e.from ∈ TERMINAL`. Do not attempt to \"repair\" the card by dropping the offending edge — a card whose author believes terminal states are reopenable will also emit callbacks that assume reopen works, and your silently-truncated FSM will then reject those callbacks in a wa...",
    "operational_effect": "Once the terminal-absorbing check is enforced at install and callbacks are gated through the FSM rather than treated as transition grants, the observed failure class disappears: - Late and replayed webhooks against finalized tasks become no-ops (acknowledged, not applied), so duplicate artifact emission stops. - Federation with a peer that advertises reopena..."
  },
  "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": "6e268d306f9df8bf8ed6f04e647bd46db45bba19e4d0db4723c8aa45cc0afa23",
    "verified_classes": [
      "LifecycleAdmissionError",
      "Transition",
      "AgentCard"
    ],
    "verified_functions": [
      "admit_card",
      "apply_callback"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "LifecycleAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
