**The design is sound and you can start building tomorrow, provided you write two small additions into it first.** Both are in the reconciliation job (step 6), and each is a few lines in the doc rather than a redesign.

The core is already right: the stock reservation is atomic, the payment call sits outside any transaction, the order id is the provider's idempotency key, and an unknown result becomes `PENDING` plus reconciliation.

## Change before building

**1. Guard every status change so stock can only be restored once.**
- **Failing case:** you run two instances, and the doc does not say the reconciliation job runs on only one. If both run it, both pick up the same `PENDING` order for 1 unit of a SKU with `available = 0`. Both learn the charge was declined, and both mark it `FAILED` and restore stock. `available` ends up at 2 when it should be 1, and the next customer buys a unit that does not exist.
- **Fix:** make every transition out of `PENDING` conditional (`UPDATE orders SET status = ... WHERE id = :id AND status = 'PENDING'`), and restore stock only if that update changed a row. This also covers the request handler and the job settling the same order.

**2. Say what the job does when the provider has no record of the charge.**
- **Failing case:** the instance crashes after step 2 commits and before step 3 calls the provider. The order is `PENDING` with stock reserved, and the provider answers "no such charge". Step 6 only allows `PAID` or `FAILED`, so the order stays `PENDING` forever, the stock stays locked, and the 30-minute alert fires.
- **Fix:** treat "not found" as `FAILED` and restore stock. The 2-minute age threshold is safe because the retry window in step 3 is under a minute. Also state explicitly that the job restores stock on `FAILED`; step 5 says so, step 6 does not.

## Add to the test plan

The listed tests do not cover the reconciliation job, where both problems above live. Add:
- the job settling an order as paid, as declined, and as not found;
- the job running twice on the same order, asserting stock is restored once;
- two simultaneous requests for the last unit;
- two simultaneous `POST /orders` with the same key.

## Decide as you build

None of these block starting.
- **Request duration:** step 3 can hold the request for roughly 30 seconds (four attempts at 5 s plus backoff). Check that the load balancer timeout is longer, or cut the retries and let the job finish the work.
- **Deadlocks on multi-item orders:** two orders reserving the same SKUs in opposite order can deadlock. Updating SKUs in sorted order avoids it.
- **Idempotency key scope:** make the key unique per customer rather than globally, and decide what a reused key with a different cart returns.
- **Prices:** state that `unit_price` and `total` are computed on the server, not taken from the cart.
- **Lost confirmation email:** a crash between committing `PAID` and queuing the email in step 4 loses that email. This is probably acceptable at 200 orders a day, but note it in the doc as a known gap.

VERDICT: READY WITH CHANGES
