**Not quite ready as written, but close.** The design is sound for 2,000 orders a day, and the core idea is right: reserve stock in a transaction, call the payment provider outside any transaction with a stable idempotency key, and reconcile unknowns later. A few gaps should be settled before you build the affected parts. None of them needs a redesign.

**Fix before building**

1. **Reconciliation can leak stock.** Step 5 restores stock when a charge is declined. Step 6 settles an order as `FAILED` but doesn't say whether it restores stock too.
   - Failing case: the charge times out, the order stays `PENDING`, and the reconciler later learns it was declined. The order is marked `FAILED` and the reserved units are never returned. Sellable stock shrinks permanently.
   - The fix is a single "fail order" operation, used by both paths, that moves the order to `FAILED` and restores stock in one transaction.
   - Guard every status change with `WHERE status = 'PENDING'`. Then the request path and the reconciler can't both settle the same order or restore stock twice.

2. **The reconciler can run twice at once.** There are two instances, and each presumably runs the job every 5 minutes. Say how you prevent double processing. Options are `SELECT ... FOR UPDATE SKIP LOCKED` on the pending orders, or a Postgres advisory lock. The guarded status update from point 1 makes a double run harmless, but you still want it stated.

3. **What the reconciler does when the provider has no charge for the order is undefined.** That result has two possible causes: the service crashed before it called the provider, or the call is still in flight. Decide the rule. For example, treat "not found" as `FAILED` only after the order is older than the provider's maximum processing window, and release the stock then. Without a rule, the reconciler either strands orders or fails ones that later get charged.

4. **Prices must come from the server.** `order_items.unit_price` and `total` appear in the data model, but the design doesn't say where they come from. Add a line that the service looks up prices and computes the total, and never trusts the client's cart. Today there is no price source at all.

5. **The inventory/orders module rule contradicts step 2.** The design says no module reads another module's tables, but step 2 reserves stock and inserts the order in one transaction. Pick one:
   - `OrderCheckout` owns the transaction and calls an inventory function that takes the open transaction. The module boundary stays, and the single atomic commit stays.
   - Or give up atomicity and add compensating steps. I'd choose the first.

**Smaller items (decide as you build)**
- Make the idempotency key unique per customer (`customer_id`, `idempotency_key`), not globally, so two clients can't collide. Also say what happens when the same key arrives with a different cart. I'd return `422`.
- Step 2 should mention inserting `order_items`. State the primary keys and the index the reconciler needs (`status`, `created_at`). Without the primary key on `stock.sku`, the reservation update has no row to lock.
- The email is queued after the commit, so a crash in between loses it. The design doesn't name a queue either, and the context lists none. Either add a small outbox table in Postgres (it fits your scale) or accept the loss and write that down.
- A 5-second timeout with 3 retries plus backoff can hold the request open for 25 seconds or more. Check that against the load balancer and client timeouts, or return `202` sooner.

**Tests to add**
- Decline restores stock.
- A reconciler that settles `PAID`.
- A reconciler that settles `FAILED` and restores stock.
- The reconciler racing the request path.
- Two concurrent `POST /orders` with the same key.
- A crash between reserve and charge.

The reconciler is the riskiest part of the design and currently has no tests.

Updating `design.md` for points 1–5 should take under an hour, and you could start on the data model, the routes and the happy path in the meantime.

VERDICT: READY WITH CHANGES
