Safe Production Deployment Order
Deploy public and backend as one matched release. Do not put API keys or webhook secrets in the Pages ZIP.
Deployment sequence
Do not delete the previous Pages deployment or Worker version. It is the immediate rollback target.
Update ek-anjali-api and preserve existing D1/R2 bindings and secrets.
D1 binding DB; private R2 binding DOCUMENTS; migrations 001, 002 and 003 applied.
TWOFACTOR_API_KEY, TWOFACTOR_TEMPLATE, RAZORPAY_KEY_ID, RAZORPAY_KEY_SECRET, RAZORPAY_WEBHOOK_SECRET.
Keep root and www mapped to the main Pages project. Do not bind the Pari AI Emergent app directly to the root domain.
Backend version must report 5.27.10. Resolve configuration failures before accepting paid orders.
OTP → role login → order → document upload → payment → captured webhook → points/notification → final access.
Record the first real checks on desktop/mobile. Export a JSON report for handover evidence.
Root-domain rule: ekanjaliassociate.com remains the main MK ENGINE website. Pari AI stays under /PariAi / wrapper flow.