**design.md is close, and you can start building tomorrow once you settle a few points on paper first.** The structure is sound. Charging outside the transaction, using the order id as the provider's idempotency key, the conditional stock `UPDATE`, and the reconciliation job and alert are all the right calls for this scale. The gaps are in the failure paths, and they are cheap to fix now and expensive to find later.

## Settle before coding

1. **Reconciliation doesn't say it restores stock.** Step 5 restores stock on a decline, but step 6 only says it "settles" orders as `FAILED`.
   - Case: the charge times out on every attempt and the provider later reports it failed. The order goes to `FAILED`, but the reserved units are never returned.
   - Fix: share one "fail the order and restore stock" function between steps 5 and 6.

2. **Nothing guards against two writers settling the same order.** The request thread and the reconciler can both act on one `PENDING` order. There are also two instances, so the job runs twice.
   - Case: both mark the order `FAILED`, and stock is restored twice.
   - Fix: make every transition conditional (`UPDATE ... WHERE status = 'PENDING'`) and only restore stock if a row changed. Run the job under `FOR UPDATE SKIP LOCKED` or an advisory lock.

3. **"Provider has no such charge" is undefined.** If the service crashes between the step 2 commit and the charge call, the order is `PENDING` and the provider has never heard of it.
   - Decide what the reconciler does when the provider returns not-found. I'd suggest: after a cutoff, retry the charge, or mark it `FAILED` and restore stock.

4. **Reconciliation-confirmed payments don't send the email.** Step 4 queues the email only on the direct path. A reconciler-settled `PAID` order should send it too, so put the "queue email" call in the shared `PAID` transition.

5. **Unspecified idempotency details.**
   - Concurrent duplicates: two simultaneous requests with the same key hit the unique constraint. The loser should roll back and return the winner's order.
   - Same key with a different cart: define the behavior. I'd return `422`.
   - Scope: say whether the key is unique per customer or global.

## Smaller items you can fix as you build

- **Deadlocks on multi-item carts:** reserve stock in sorted SKU order.
- **Missing database constraints:** add primary keys on `stock(sku)` and `order_items(order_id, sku)`, `CHECK (available >= 0)`, and an index on `orders(status, created_at)` for the reconciler.
- **Lost emails:** a crash between commit and queueing loses the email. At 200 orders a day I'd accept this and note it, or use an outbox row later.
- **Price source:** say that `unit_price` and `total` are computed server-side, not taken from the client.
- **Response codes:** list what an idempotent replay returns, and which codes map to which outcomes.

## Tests to add

The plan covers the checkout paths well, but the riskiest logic has no tests. Add:
- Reconciliation: settles to `PAID`, settles to `FAILED` with stock restored, and handles provider not-found.
- Two reconcilers or a reconciler plus a request racing on the same order, with stock restored once.
- Concurrent duplicate `POST /orders` with the same key.
- Email-queue failure leaving the order `PAID`.

Items 1 to 5 each need a sentence or two in the doc. Once they're in, I'd call it ready.

VERDICT: READY WITH CHANGES
