Keep the submission receipt
Save the run ID, exact input references, request and idempotency key. Inspect the same run after reconnecting:An unclear submission is not permission to resubmit
If submission times out after sending a request:- Preserve the original request and idempotency key.
- Read the returned run ID, or inspect recent runs for the original submission.
- If an idempotent retry is needed, reuse the exact request and key.
- Do not create a new key merely because the first response was unclear.