The design is ready to build on tomorrow once you make four small edits to the doc; none of them changes the overall shape. The core is sound: stock is reserved atomically, the charge happens outside any transaction with a stable idempotency key, unknown outcomes are reconciled, and the design is sized correctly for 2,000 orders a day.

## Fix before building

1. **Settling an order twice restores stock twice.** The reconciliation job runs on both instances, and nothing in steps 4–6 makes the status change conditional.
   - Failing case: order A holds 1 unit of a SKU with `available = 0`, and the charge was declined. Both instances pick up A in the same 5-minute run, and each marks it `FAILED` and adds 1 back. `available` is now 2 when it should be 1, so you oversell one unit.
   - Fix: make every transition `UPDATE orders SET status = … WHERE id = :id AND status = 'PENDING'`, and only restore stock or queue the email if that update changed a row.

2. **Reconciliation has no rule for "the provider has never heard of this order".** Step 6 only settles as `PAID` or `FAILED` from a charge status.
   - Failing case: the instance crashes after the step 2 commit but before the step 3 call. The order is `PENDING` with stock held, the provider returns "not found", and the order stays stuck until the 30-minute alert.
   - Fix: treat "no charge found" on an order older than the threshold as `FAILED` and restore the stock.
   - Check today: confirm your provider can look up a charge by your order id. Some only allow lookup by their own charge id or by metadata, and after a timeout you won't have their id. If so, send the order id as metadata as well as the idempotency key.

3. **The design does not say where `unit_price` and `total` come from.** If they come from the cart in `POST /orders`, a client can post a 100.00 item with `unit_price: 0.01` and be charged 0.01. State that prices are looked up server-side and the total is computed there, and name the module that owns prices.

4. **The idempotency key is globally unique rather than per customer.** If customer B sends a key that customer A already used, B gets A's order back.
   - Fix: make the constraint unique on `(customer_id, idempotency_key)`.
   - Also decide what a repeated key with a different cart returns; I'd return `422`.

## Cheap to add while you're in there

- **Deadlocks in step 2:** two orders for SKUs X and Y, updated in opposite order, can deadlock, and one fails with a 500. Update the stock rows in sorted SKU order.
- **Email on the reconciliation path:** step 4 queues the confirmation email, but step 6 doesn't say so. An order settled as `PAID` by the job should send it too.
- **Client follow-up after `202`:** there is no `GET /orders/{id}` for the client to learn the final result. Add it to the design.
- **Missing keys:** the tables list no primary keys. `stock.sku` and `order_items (order_id, sku)` are the obvious ones.
- **Module boundary:** step 2 writes `stock` and `orders` in one transaction, which sits awkwardly with "no module reads another module's tables". Say that `OrderCheckout` owns the transaction and calls each module inside it.

## Tests to add to the plan

- The reconciliation job run twice or concurrently on the same order, asserting stock is restored once.
- A crash before the charge call, so the provider returns "not found".
- The same idempotency key from a different customer.
- The same key with a different cart.
- Two concurrent orders for overlapping SKUs.
- Two concurrent duplicate `POST /orders` requests.

VERDICT: READY WITH CHANGES
