**Mostly ready: you can start tomorrow, but fix about five gaps first. Three of them can lose money or stock.** The overall shape is sound. The stock reservation is atomic, the charge happens outside the transaction, the provider gets an idempotency key, and the reconciliation job is the right safety net. Scale is fine for 2,000 orders a day on one Postgres.

**Fix before building (these affect correctness)**

1. **A crash between step 2 and step 3 isn't handled.**
   - **Case:** the instance commits the `PENDING` order and reserves stock, then dies before calling the provider.
   - **Problem:** the reconciliation job asks the provider about that order. The provider has never seen it, so the design doesn't say what happens.
   - **Fix:** write down that "provider has no such charge" settles the order as `FAILED` and restores stock. Otherwise the stock stays held and the 30-minute alert fires.

2. **Settling an order twice can restore stock twice.**
   - **Case:** the request path and the reconciliation job both settle the same declined order as `FAILED`, and each restores the stock. Available stock is now overstated, so you can oversell.
   - **Fix:** make every status change conditional, for example `UPDATE orders SET status=... WHERE id=:id AND status='PENDING'`. Restore stock only if that update changed a row. The design should state this rule.

3. **The reconciliation job will run on both instances.**
   - **Problem:** two instances means two jobs every 5 minutes, both settling the same orders. This makes the double restore in point 2 more likely.
   - **Fix:** pick a lock, either `SELECT ... FOR UPDATE SKIP LOCKED` on the pending orders or a Postgres advisory lock.

4. **The email queue doesn't exist in the design.**
   - **Problem:** the context lists only two instances and Postgres, yet step 4 says "queues the email" and "retried from the queue". If the process dies between the `PAID` commit and the enqueue, the email is lost.
   - **Fix:** either name the queue technology, or use a Postgres outbox table. The outbox row is written in the same transaction as the `PAID` update, and a worker sends from it. With a four-person team and one database, the outbox is probably the simpler choice.

5. **A `202` leaves the client with nothing to check.**
   - **Problem:** step 6 returns `202` for an unknown charge result, but there's no `GET /orders/{id}` or other way to learn how it settled.
   - **Fix:** add the read endpoint to the design, and add a test for it.

**Smaller items to settle (a line each)**
- **Deadlock risk in step 2.** Two carts containing the same SKUs in different order can deadlock on the stock updates. Sort the SKUs before reserving.
- **Duplicate-key race.** Two simultaneous requests with the same key will make one insert fail on the unique constraint. Say that the failed request catches the error and returns the existing order. Also say whether the key is scoped per customer, and what happens if the same key arrives with a different cart.
- **Schema constraints.** None are listed. At minimum add primary keys on `orders.id` and `stock.sku`, a foreign key from `order_items` to `orders`, and `CHECK (available >= 0)`.
- **Price source.** `unit_price` and `total` have no stated source. Say whether the server looks prices up or trusts the client's cart. It should not trust the client.
- **Missing tests.** Add tests for the crash before the charge, concurrent duplicate keys, the double-settle race, and reconciliation of an order the provider doesn't know.

I haven't changed the file. If you want, I can fold these into a revision 4 of `design.md`.

VERDICT: READY WITH CHANGES
