**You can start tomorrow, but settle the first three items below before you build the reconciliation job.** The core flow is sound. The stock reservation is atomic, the charge sits outside the transaction, the provider receives an idempotency key, and the `PENDING` plus reconciliation path covers unknown outcomes. None of the gaps below needs a redesign. Each is a sentence or two of decision.

## Should fix before building (moderate)

1. **Reconciliation doesn't say it restores stock.**
   - Evidence: step 5 restores stock on a decline, but step 6 only says reconciliation "settles as `PAID` or `FAILED`".
   - Failing case: the charge times out, the order stays `PENDING`, and the provider later reports it declined. Reconciliation marks it `FAILED`, but the reserved units are never released.
   - Fix: say that every move to `FAILED` goes through the same "mark failed and restore stock" function.

2. **Nothing stops two settlers from racing.**
   - Evidence: the request path and the 5-minute job can both settle the same order. The request path may be on its last retry when the job picks the order up after the 2-minute threshold.
   - Failing case: both see `PENDING`, both mark it `FAILED`, and both restore stock, so stock is counted twice.
   - Fix: make every status change conditional (`UPDATE … WHERE status = 'PENDING'`) and restore stock only if that update changed a row.

3. **A crash between step 2 and step 3 isn't covered.**
   - Evidence: the order is committed as `PENDING` and the charge is never sent.
   - Failing case: reconciliation asks the provider about an order id it has never seen. The design doesn't say what "not found" means.
   - Fix: decide whether "not found" means `FAILED` (restore stock) or "retry the charge". Add a test for it.

4. **The test list has no reconciliation cases.**
   - Evidence: the integration list covers only `POST /orders` scenarios.
   - Missing: a decline restoring stock, reconciliation settling `PAID`, `FAILED` and "not found", and two settlers racing (items 1–3).
   - This is where the money-and-stock bugs would hide, so write these tests first.

5. **The "no module reads another module's tables" rule clashes with the transactions.**
   - Evidence: step 2 updates `stock` and inserts into `orders` in one transaction. Step 5 does the same in reverse.
   - Fix: decide up front that `OrderCheckout` owns the transaction and passes it into the inventory and orders modules. Otherwise someone will resolve it ad hoc mid-build.

## Smaller issues (minor)

6. **Deadlock risk on multi-item carts.** Two carts with the same SKUs in different order can lock each other. Sort the SKUs before the updates.
7. **The schema is missing constraints.** The listed tables show no primary keys, no unique constraint on `idempotency_key` (it's only in the prose), no foreign key from `order_items`, and no `available >= 0` check. Also decide whether the key is unique globally or per customer.
8. **Duplicate-key behavior is thin.**
   - Concurrent duplicates: two requests with the same key at once means one hits the unique violation, and the design should say it re-reads and returns the winner.
   - Changed cart: a repeated key with a different cart should return an error, not the old order.
9. **The `PAID` commit and the email enqueue aren't atomic.** A crash between them loses the email despite the "retried from the queue" promise. At 2,000 orders a day, an outbox row is cheap. Alternatively, accept the gap and write it down.
10. **The source of `total` and `unit_price` isn't stated.** Say they come from the server's catalog, not the client's cart.
11. **Retry rules for the provider are unspecified.** The design doesn't say which responses count as a decline (don't retry) and which count as an error (retry). The request can also block for roughly 20 s or more with 3 retries at 5 s each plus backoff, which the client should expect.

## Speculative (not blocking)

- If the provider's charge-status API is slow or rate-limited, a large `PENDING` backlog could stall the job. This isn't a concern at your current volume.
- The 30-minute alert fires on stuck orders but not on a failing reconciliation job. A heartbeat or last-run-time alert might be worth adding later.

Items 1–5 are about half a day of decisions and test-writing, and they fit naturally into your tests-first start.

VERDICT: READY WITH CHANGES
