**Not quite ready to build as written, but close.** The core design holds up. The payment-provider idempotency, the stock reservation committed before the charge, and the reconciliation job are sound and sized right for 200 to 2,000 orders a day. Several gaps would leak stock or leave orders stuck, though, and each is a few sentences to settle before you start.

## Needs a decision before building

**1. Reconciliation doesn't say it restores stock (High).**
- Step 5 restores stock when a charge is declined. Step 6 only says the job "settles" orders as `FAILED`.
- Case: the provider times out, the client gets `202`, and the reconciler later learns the charge was declined. The order becomes `FAILED` and the stock stays reserved forever.
- Fix: say that every move to `FAILED` goes through one shared function that also restores stock.

**2. The reconciler can run twice at once (High).**
- Context says two service instances. Step 6 doesn't say which one runs the job.
- Case: both pick up the same `PENDING` order, both mark it `FAILED`, and both restore stock. The stock count is now too high.
- Fix: use `SELECT ... FOR UPDATE SKIP LOCKED` or an advisory lock. Make every status change conditional (`UPDATE ... WHERE status = 'PENDING'`) and restore stock only when a row was actually changed. That also covers a request and the reconciler racing on the same order.

**3. A crash between step 2 and step 3 isn't covered (High).**
- Case: the instance dies after the order is committed as `PENDING` but before any charge call. The provider has never heard of that order id.
- Step 6 doesn't say what the reconciler does when the provider answers "charge not found". The order sits `PENDING` with stock held until the 30-minute alert fires.
- Fix: define the rule. For example, "not found after 2 minutes" means mark `FAILED` and restore stock (or re-send the charge, which is safe because it is idempotent).

**4. The tests miss the riskiest parts (Medium).** The list has no test for any of these:
- the reconciler (settling to `PAID` or `FAILED`, "not found", two runs at once)
- stock being restored after a decline
- a duplicate `POST /orders` sent concurrently, not one after the other
- a crash between steps 2 and 3
- the email queue failing

Your standards want these written first, so add them to the plan.

**5. Duplicate-key handling is only half specified (Medium).**
- The unique constraint fires when the order insert runs, which is after stock has already been reserved in the same transaction. The rollback undoes the reservation correctly. But the doc doesn't say the service then looks up and returns the existing order.
- It also doesn't say what happens when the same key arrives with a different cart. I'd return `422` or `409`.
- The key is unique across all customers. Scope it to `(customer_id, idempotency_key)` so one client's key can't collide with another's.

**6. Schema constraints are missing (Medium).**
- There are no primary keys on `stock(sku)` or `order_items`, no foreign key from `order_items.order_id` to `orders`, and no `CHECK (available >= 0)`.
- There is no index on `orders(status, created_at)`, which the reconciler and the alert both query.
- Say whether `unit_price` and `total` come from your catalogue or from the client's cart. Trusting the client's prices would be a real bug.

## Minor

- **Lost email (Low):** In step 4 the order commits and then the email is queued. A crash between the two loses the email. At this volume you could accept that, but write it down as a known tradeoff. Otherwise queue the email in the same transaction (a transactional outbox).
- **Possible deadlock (Low):** Reserve SKUs in sorted order so two carts with overlapping items can't deadlock.
- **Slow `202` (Low):** Four attempts at 5 s plus backoff mean a client can wait 20 to 30 seconds for the `202`. State the client timeout expectation.
- **No new states:** `status` has no cancelled or refunded states. That is fine for this scope, but say it is out of scope.

## Speculative, not supported by the doc
- The reconciler might see the provider report "still processing" for a long time. The 30-minute alert covers it, but check the provider's documented states.
- At 2,000 orders a day, one Postgres and two instances are comfortably enough. I see no scaling concern.

There is no separate requirements document, so I judged this against the Context section and the standards in your CLAUDE.md. None of the gaps above need a redesign. Items 1 to 3 are one added paragraph in step 6, and the rest are small additions. Settling them tonight keeps tomorrow's build from stalling on questions.

VERDICT: READY WITH CHANGES
