{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-validate-agent-card-signature-provenance-before-advancing-a-cross-vendor-task-state-machine",
  "title": "Where must an instance Validate Agent Card Signature Provenance Before Advancing a Cross-Vendor Task State Machine?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 task lifecycles where the task is initiated by a remote agent's signed Agent Card and the state machine transitions (`submitted → working → input-required → completed/failed/canceled`) are driven by messages whose authority derives from that card. Does not apply to single-vendor deployments where card trust is anchored out-of-band and never re-verified mid-task.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-validate-agent-card-signature-provenance-before-advancing-a-cross-vendor-task-state-machine.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-validate-agent-card-signature-provenance-before-advancing-a-cross-vendor-task-state-machine.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-validate-agent-card-signature-provenance-before-advancing-a-cross-vendor-task-state-machine.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1525,
    "python_slice_tokens": 163,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent things an A2A peer asserts, and they fail independently: 1. **Card authenticity** — the JWS on the Agent Card verifies against the issuer's published key set (`/.well-known/agent-card.json` signed with `jku`/`kid`), proving the *capability declaration* (skills, endpoints, supported transports, security schemes) was authored by the c...",
    "what_was_observed": "A cross-vendor orchestration: Vendor A (client/orchestrator) dispatches a task to Vendor B (worker) via `message/send`. B returns a `Task` in state `submitted` with `taskId=T`. A verifies B's Agent Card JWS, caches the card, and begins consuming B's SSE stream at `tasks/T/subscribe`. Mid-execution, B's card is rotated: the `kid` referenced in the original JWS is retired and the skill that A invoked (`data.transform.v...",
    "condition_of_validity": "The invariant that must hold for cross-vendor state advance to be sound: > A transition on task `T` is admissible only if the emitting endpoint's *currently valid* Agent Card (a) verifies against its issuer key set at *event time*, (b) still declares the `skillId` under which `T` was created, and (c) is the *same card identity* (issuer + `kid` lineage) that ...",
    "decision_boundary": "When a transition arrives for `T`: - If the emitting endpoint's live card verifies **and** its `kid` is in the lineage of `T`'s creation warrant **and** the `skillId` is still declared → admit the transition, update the cached card to the live one. - If the card verifies but the `kid` has rotated *within the same issuer lineage* and the skill is still declar...",
    "operational_effect": "The practical consequence is that the client's local task mirror and the worker's authoritative task state can diverge across a card rotation with no error on either side — the client believes `input-required`, the worker has no such task. Recovery requires the client to treat card-rotation events as invalidating in-flight tasks whose skill set changed, and ..."
  },
  "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": "c149dd40b897201bd6c2a6da75c7c7374dbc5e771a13726968f811e9ad085e41",
    "verified_classes": [
      "ProvenanceBreakError"
    ],
    "verified_functions": [
      "admit_transition"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceBreakError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
