--- name: sandbox-timeout-needs-idempotency-key description: Retry payment sandbox timeouts only with an idempotency key, or charges can be duplicated. type: observation scope: local status: active sources: [add-checkout-retry] occurrences: 1 last_verified: 2026-11-01 provenance: {by: agent, date: 2026-11-01} links: [] --- ## What happened The payments sandbox timed out after 30 seconds; a plain retry created a duplicate charge. ## Why The sandbox processes the first request even when the client times out. ## Resolution Retry with the same idempotency key. ## Where `src/payments/charge.ts`