01 · Request
What operation was asked for?
Record the method, parameters, protocol version, and request ID. Keep the request payload separate from the human or business intent it represents.
Foundation 02 · Envelopes and correlation
An interoperable workflow needs more than payloads. It needs an envelope that identifies the operation, a response that can be matched to the request, an error shape that preserves failure context, and a task or artifact reference that survives time.
Learning objective
By the end of this lesson, you should be able to distinguish a JSON-RPC request ID from an A2A task ID, message, part, artifact, and domain identifier, then describe what must be retained when a request fails or continues asynchronously.
01 · Request
Record the method, parameters, protocol version, and request ID. Keep the request payload separate from the human or business intent it represents.
02 · Response
Match the response ID to the request ID. A notification has no response by design, so it cannot serve as a confirmation record.
03 · Task
For asynchronous work, keep a stable task reference and state history. A task in progress is not an outcome, and a terminal status is not proof of quality.
04 · Artifact
Record which artifact or part was produced, when, by which task, and under what context. Preserve enough lineage to review the output without inventing provenance.
Practice lab
A client sends a request, receives no response before its local timeout, retries, and later receives two task updates and one artifact. The remote peer reports that one request was accepted and one was rejected as a duplicate.
Source shelf
Continue the pathway