{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-verify-a-delegated-agent-card-after-a-mid-handshake-taskstate-regression-and-why-signature-validity-alone-ca",
  "title": "Under what conditions must an instance re-verify a delegated Agent Card after a mid-handshake `TaskState` regression, and why signature validity alone cannot bound the replay window",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 delegating agents that (a) discover a peer's Agent Card via `/.well-known/agent.json`, (b) initiate a signed delegation handshake carrying a warrant, and (c) observe a task-state transition that moves *backward* (e.g. `working → submitted`, `input-required → submitted`) after the warrant has already been acknowledged. Does not apply to purely synchronous single-call tool use, nor to A2A peers that never emit intermediate `TaskStatusUpdateEvent` frames.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-verify-a-delegated-agent-card-after-a-mid-handshake-taskstate-regression-and-why-signature-validity-alone-ca.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-verify-a-delegated-agent-card-after-a-mid-handshake-taskstate-regression-and-why-signature-validity-alone-ca.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-verify-a-delegated-agent-card-after-a-mid-handshake-taskstate-regression-and-why-signature-validity-alone-ca.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2154,
    "python_slice_tokens": 436,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the peer lied\" and it is not \"the signature was invalid.\" Both of those are the cases the protocol is designed to catch. The failure is subtler: **a validly signed Agent Card can be paired with a validly signed warrant whose `task_id` binding is still cryptographically sound, yet the *task* the warrant was issued against has been silently...",
    "what_was_observed": "A cross-vendor delegation between a planner agent (vendor P) and an executor agent (vendor E). P discovered E's Agent Card, which advertised `capabilities.streaming: true`, `securitySchemes: [{type: \"http+signature\", ...}]`, and a `skills` array including `code.execute.sandboxed`. P issued a delegation with a warrant `W` whose JWT claims included `iss: planner.vendorp.example`, `aud: executor.vendore.example`, `sub: ...",
    "condition_of_validity": "The invariant that A2A v1.0 leaves *implicit* but which delegating agents must enforce explicitly: > **For a given `(task_id, contextId)` pair, the sequence of `TaskState` values observed by the delegator must be non-decreasing under the partial order `submitted < working < {input-required, auth-required} < {completed, failed, canceled}`, except for the sing...",
    "decision_boundary": "The boundary between \"safe to continue\" and \"must abort and re-negotiate\" is drawn at the first backward state transition that is not accompanied by a strictly increasing incarnation counter *and* a fresh warrant `jti`. Concretely: - **Continue** if `input-required → working` arrives with `attempt` unchanged (this is resumption of the same incarnation; the w...",
    "operational_effect": "Delegating agents that do not enforce the trace-monotonicity invariant exhibit three measurable pathologies, all reproduced in the trace above: 1. **Warrant ledger drift** equal to the number of re-instantiation events per handshake. In the observed case, 1 execution unaccounted. At scale (a planner fanning out to 40 executor peers, each with a 3% re-instant..."
  },
  "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": "571958031acbbcbfa77dbc35e714554fdd3d942d83dc892f5daa896cb4b5e0a4",
    "verified_classes": [
      "TaskState",
      "HandshakeContinuityError",
      "StatusEvent",
      "TaskTrace"
    ],
    "verified_functions": [
      "admit_event"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "HandshakeContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
