The design is sound and you can start building tomorrow, provided you first settle two gaps in how `PENDING` orders are resolved. Both are a few lines of spec, not a redesign.

The core is right: guarded stock decrement, charge outside the transaction, order id as the provider idempotency key, and reconciliation for unknown results.

## Must fix before building

**1. An order whose charge never reached the provider has no defined outcome (High).**
- **Case:** the instance crashes after step 2 commits and before step 3 sends the charge. The reconciliation job asks the provider about the order and gets "no such charge".
- **Now:** step 6 only allows `PAID` or `FAILED` from a provider status, so the order stays `PENDING` and its stock stays reserved until someone answers the 30-minute alert.
- **Expected:** "not found" marks the order `FAILED` and restores stock.
- **Related:** say what the job does when the provider itself reports the charge as still pending (leave it and let the alert fire).

**2. Status changes are not guarded, so stock can be restored twice (High).**
- **Case:** there are two instances, and the design does not say where the job runs. Both run it and both see order A as `PENDING` and declined. The same can happen between the job and a slow in-flight request.
- **Now:** each one runs step 5, so a 1-unit order adds 2 units back to `stock` and you later oversell.
- **Expected:** every transition is `UPDATE orders SET status = ... WHERE id = ... AND status = 'PENDING'`, and stock is restored (or the email queued) only if that update changed a row.

## Should fix, cheap to do now

**3. Idempotency key is unique globally, not per customer (Medium).** If customer B sends a key that customer A already used, B gets A's order back. Make the constraint `(customer_id, idempotency_key)`. Also decide what happens when the same key arrives with a different cart; I'd return `422`.

**4. Two simultaneous requests with the same key (Medium).** Both pass the "does it exist" check and the second hits the unique constraint. State that the violation is caught and the existing order returned, and that this path never calls the charge API.

**5. Multi-item orders can deadlock (Medium).** Order 1 reserves SKU X then Y while order 2 reserves Y then X. Postgres aborts one and the customer sees a 500. Reserve in sorted SKU order.

**6. Orders settled as `PAID` by the reconciliation job get no confirmation email (Medium).** Step 4 queues the email only on the request path. A crash between the commit and the queueing in step 4 loses it too. Have the job queue it, or queue from a `confirmation_sent_at` column.

**7. The source of `unit_price` and `total` is not stated (Medium, a question).** If they come from the client's cart, a customer can set their own price. Confirm they are computed server-side.

## Low severity

- **Keys and constraints:** `order_items` and `stock` have no stated primary keys, and `stock.available` has no `CHECK (available >= 0)`.
- **Polling after `202`:** the client needs something to poll. No `GET /orders/{id}` is listed.
- **Retry after decline:** the same `Idempotency-Key` returns the `FAILED` order, so the client must send a new key to try again. Write that into the API contract.

## Test plan gaps

The listed integration tests cover the sequential paths. Add these:
- Two concurrent buyers for the last unit.
- Concurrent duplicate `POST /orders`.
- The reconciliation job for each provider answer: paid, declined, not found, still pending.
- The job running twice on the same order, asserting stock is restored once.
- Email queued when the job settles an order as `PAID`.

VERDICT: READY WITH CHANGES
