# v424 - Stripe checkout route scaffold in locked test mode

Current baseline before package: v423.
Current baseline after package: v424.

## Decision

v424 proceeds with the Stripe checkout route scaffold in locked test mode before hardening candidate-plan price readiness controls or changing hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

This was chosen because v423 already made checkout preparation visible to Super Admin. The next safe step is to add the route shape that future checkout will use while keeping Stripe Checkout session creation, customer portal sessions, payment collection, invoices, charges, and billing enforcement locked.

## Product changes

- Added locked workspace checkout route scaffold at `/api/subscriptions/stripe-checkout`.
- Added `GET` support so an authenticated workspace user can review the route's current locked readiness posture.
- Added `POST` support that returns a locked review-only response and does not create a Stripe checkout session.
- Added `StripeCheckoutRouteScaffoldService` to evaluate workspace eligibility, subscription/trial-date readiness, plan Stripe readiness, and test-mode environment posture.
- Updated the Super Admin checkout-preparation panel on `/admin/subscriptions` to show that the route scaffold is present but checkout session creation remains locked.
- Updated the checkout-preparation API response with route scaffold details, session-creation lock state, and guardrail fields.
- Added `DISPATCH_SPOT_STRIPE_CHECKOUT_ROUTE_SCAFFOLD_LOCKED="true"` to `.env.example`.

## Safety guardrails

v424 does not create Stripe checkout sessions. It does not collect cards, create customer portal sessions, create invoices, create charges, change hard billing gates, change broker distribution limits, change owned portal rules, or open internal load-board access.

The scaffold exists so future checkout handoff can be reviewed from a stable route path without activating payment behavior.

## Prisma schema impact

No Prisma schema changes were made.
