**design.md is not ready to build from.** The scale, module layout and logging are fine. The payment step has correctness bugs that would cost real money, and fixing them changes the flow itself.

## Blockers

1. **Retrying the charge can double-charge customers (step 4).**
   - A 5 s timeout doesn't mean the charge failed. The provider may have processed it, and the retry then charges again.
   - The design needs an idempotency key per order, sent on every attempt. Most providers support one.
   - It should also say what happens after the retries run out: an unknown outcome, not a failure.

2. **A customer can be charged with no order record (steps 3–6).**
   - The charge happens inside the open transaction, and the `PENDING` row isn't committed until the end.
   - If the process crashes, the commit fails, or the final timeout is followed by a rollback, the money may have moved but no record exists.
   - Commit `PENDING` first. Then charge, then update the status in a second transaction.
   - Add a reconciliation job that checks stale `PENDING` orders against the provider.

3. **The retry timing is vague and holds a connection (step 4).** Three retries at 5 s each can keep a DB connection and transaction open for 15–20 s. Committing `PENDING` before the charge (fix 2) also solves this.

## Should fix before building

4. **`POST /orders` has no idempotency.** If the client retries after a dropped response, it creates a duplicate order. Accept a client-supplied idempotency key and enforce it with a unique constraint.
5. **Overselling is unhandled (step 2).**
   - A 5-minute-stale cache with no reservation or decrement will oversell, especially on popular items.
   - Accepting the cache is a reasonable trade-off at this volume. But the design should say what happens when an oversold order is found, for example a refund and apology flow.
6. **The email send is unspecified (step 5).** If it fails, does the order still succeed? Send it asynchronously, for example from an outbox table, rather than inline.
7. **Nightly backups on a single Postgres instance** can lose up to 24 hours of orders and payment records. For payment data, enable WAL archiving or point-in-time recovery. Managed Postgres usually offers this.
8. **Testing covers only the happy path.** The risky paths are payment timeout, retry, a crash between charge and commit, and a duplicate request. Add integration tests for those.

## Missing but minor

The doc doesn't define the order state machine (`PENDING`, `PAID`, `FAILED`, `UNKNOWN`), refunds, or the API error contract. These can be settled during the build.

Once the payment flow is restructured (blockers 1–3) and the idempotency, email and test points are written in, this becomes ready to build from.

VERDICT: NOT READY
