**Mostly yes.** The design is solid, and one gap needs fixing before you build: stock can be put back twice for the same order. That's about an hour of design work, not a rethink.

**What's already right:**
- Stock is reserved with a single conditional `UPDATE`, so you can't oversell.
- The payment call happens outside any transaction.
- Every charge retry sends the order id as the provider's idempotency key, so retries can't double-charge.
- When the payment result is unknown, the order stays `PENDING`, the client gets `202`, and the reconciliation job settles it later.
- The email is queued after the commit, so a failed email can't fail the order.
- The modules have clear boundaries, routes stay thin, and you have an alert for orders stuck in `PENDING`.
- The design fits the scale. 2,000 orders a day on two instances and one Postgres is well within range.

### Change before building

**1. Allow each status change only from `PENDING`, and only put stock back if that change actually happened.** Without this, stock can be restored twice. For example, both instances run the reconciliation job. Each one finds order X `PENDING`, asks the provider, hears "declined", marks X `FAILED` and adds the quantity back. A SKU that should have 1 unit now has 2, and you can sell a unit you don't have. The same thing can happen if the request path and the job settle the same order. The fix is to write each change as `UPDATE orders SET status = 'FAILED' WHERE id = :id AND status = 'PENDING'` and restore stock only if that statement changed one row.

```mermaid
stateDiagram-v2
    [*] --> PENDING: stock reserved
    PENDING --> PAID: charge succeeded (only if still PENDING)
    PENDING --> FAILED: declined or no charge found (only if still PENDING) + stock restored
```

**2. Spell out what the reconciliation job does in two cases step 6 doesn't cover:**
- **Settling as `FAILED`:** it should restore stock in the same transaction, just like step 5. As written, step 6 doesn't say so, and the stock would stay reserved forever.
- **The provider has no record of the charge:** this happens if an instance crashes after step 2 commits but before step 3 runs. Decide whether that means `FAILED` plus stock restored, or another charge attempt.

**3. Add tests for these cases** to the integration list:
- the reconciliation job settling as `PAID`, as `FAILED`, and as "no charge found"
- the job and the request path settling the same order at the same time (stock restored exactly once)
- two `POST /orders` calls with the same key arriving at once: the loser hits the unique constraint and should get the existing order back, not a `500`

### Worth a line in the doc
- **Lock order:** reserve SKUs in sorted order so two carts sharing SKUs can't deadlock each other.
- **Price source:** say whether `unit_price` comes from your catalog or from the client. It needs to be the catalog.
- **Module boundary:** step 2 changes orders and stock in one transaction, which seems to clash with "no module reads another module's tables". Note that the inventory module exposes `reserve` and `release` functions that run inside the caller's transaction, so it still owns the stock table.
- **Database check:** add `CHECK (available >= 0)` on `stock` as a cheap backstop.

Once item 1 and the step 6 wording are in the doc, I'd start building tomorrow and write the new tests first.

VERDICT: READY WITH CHANGES
