A plan-of-plans for a production-grade end-to-end e-commerce website. A developer outlined a plan-of-plans for a production-grade e-commerce website using Astro 7 on Cloudflare Workers. The site will sell a small catalog of physical goods in India, with Razorpay payments, guest checkout, and manual fulfillment. The plan includes prerendered storefront pages, dynamic server-rendered routes for cart and checkout, and strict Lighthouse performance budgets. Status : Approved in brainstorming session 2026-07-07 Owner : vikas human — executes by dispatching AI per mini-plan using superpowers Repo : pink-pulsar — Astro 7 + @astrojs/cloudflare adapter on Cloudflare Workers Purpose : A plan-of-plans for a production-grade end-to-end e-commerce website. Each mini-plan is one PR-sized, AI-implementable, fully-tested increment. The plan-of-plans itself is for human use only — the AI does not execute it; it executes one mini-plan at a time on demand. | Dimension | Decision | |---|---| | Products | Physical goods, small catalog ~5 products | | Market | India INR, English only for v1 | | Goal | Full ownership, no platform fees | | Payments | Razorpay UPI, cards, netbanking, COD | | Customer auth | Guest checkout only — no accounts in v1 | | Fulfillment | Manual packing + flat-rate shipping | | Notifications | Email now; WhatsApp deferred to future/ | | Order states | Minimal: placed → paid → shipped → delivered + cancelled ; extensible for provider statuses later | | Admin | Basic admin in this repo now; full admin panel deferred to future/ | | Compliance | Legal pages now Privacy, Terms, Returns, Shipping, Contact/About . GST tax handling, GST invoices, DPDP consent deferred to future/ . | | Marketing | Discounts/coupons now. Abandoned cart deferred to future/ . Analytics events & funnel now. | - Storefront pages home, catalog, product detail, legal prerendered at build SSG via Astro. Pure HTML + minimal islands. - Only dynamic server-rendered routes: /cart , /checkout , /checkout/success , /admin/orders/ , /orders/ token . - Lighthouse CI in GH Actions gates every PR: block merge if any category < 90, warn if < 100 . - Zero render-blocking JS/CSS. Astro's minimal island runtime shipped only where interactivity is genuinely needed. - Long-cache headers for static assets; short cache for HTML. - MP-13 closes the loop: image variants, cache headers, critical-CSS inlining, font subsetting, RUM budget assertions. - Full