The design is sound enough to start building tomorrow, provided you settle four gaps in the doc first; each is a decision of a few lines, not a redesign. The core shape is right: stock is reserved atomically, the charge happens outside any transaction with the order id as the provider's idempotency key, and unknown outcomes go to reconciliation with an alert behind it.

## Fix before building

1. **Status changes are not guarded, so stock can be restored twice.**
   - **Failing case:** the reconciliation job runs on both instances and both see order A as `PENDING` with a declined charge. Both mark it `FAILED` and both add the quantity back, so a SKU with 0 available and 1 unit reserved ends at 2 instead of 1, and you oversell.
   - **Fix:** make every transition conditional (`UPDATE orders SET status = ... WHERE id = :id AND status = 'PENDING'`) and restore stock only if that update changed a row. This also covers step 5 racing the job.
   - **Also decide:** whether the job runs on one instance or both.

2. **Reconciliation has no rule for "the provider has never heard of this order".**
   - **Failing case:** the instance crashes after step 2 commits but before the charge call. The order is `PENDING`, stock is held, and the provider returns not found. Step 6 only allows `PAID` or `FAILED`, so the stock stays locked until someone answers the 30-minute alert.
   - **Fix:** treat not found, once the order is older than the full retry window, as `FAILED` with stock restored.
   - **Also decide:** what happens if a charge then lands late (customer charged, order `FAILED`). Auto-refund or an alert are both defensible; having no answer is not.

3. **The source of prices is not stated.**
   - There is no price table, and step 1 says the client "sends the cart". If `unit_price` and `total` come from the request, a customer can set their own price.
   - **Fix:** state that the server looks up prices and computes the total, and name where the prices live.

4. **The idempotency key is unique globally, not per customer.**
   - **Failing case:** customer B sends a key customer A already used and gets A's order back.
   - **Fix:** make the constraint `(customer_id, idempotency_key)`. Return `422` when the same key arrives with a different cart.

## Smaller changes to fold in as you build

- **Provider reference:** `orders` has no column for the provider's charge id. You will need it for refunds, support queries and possibly the reconciliation lookup.
- **Deadlocks:** two orders reserving the same two SKUs in opposite order will deadlock, and one gets a 500. Sort the SKUs before the updates in step 2.
- **Request duration:** four attempts at 5 s plus backoff is over 20 s. Confirm this is under the load balancer timeout, and that only timeouts and 5xx responses are retried.
- **Schema constraints:** add primary keys on `stock(sku)` and `order_items(order_id, sku)`, `CHECK (available >= 0)`, and a check constraint on `status`.
- **Module boundary:** step 2 writes `stock` and `orders` in one transaction, while the code structure says no module touches another's tables. State that `OrderCheckout` owns the transaction and passes it into the inventory module.
- **Lost email:** a crash between the `PAID` commit and queuing the email loses it. That is acceptable at 200 orders a day, but record it as a known gap.

## Test plan gaps

The reconciliation job has no tests at all, and it is the part most likely to be wrong. Add these cases:

- 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.
- A crash after reservation and before the charge.
- Two simultaneous buyers for the last unit; the current case reads as a single buyer.
- Two simultaneous `POST /orders` with the same key.

VERDICT: READY WITH CHANGES
