LifemarkAI

Publish

Production Deploy

Checklist before shipping LifemarkAI to production.

Run the parity verification suite locally before every production deploy:

Verify

npm run verify:production

npm run verify:smoke

npm run build


verify:production runs parity + env + build artifact checks. verify:smoke hits live routes (home, docs, MCP, templates) — run with dev or npm start running.

Database

Apply pending migrations — at minimum:

- 058_element_comments.sql — pinned preview comments

- 061_cloud_tool_permissions.sql — Cloud AI tool permissions


supabase db push

Environment

Required: Supabase URL/keys, OPENAI_API_KEY, NEXT_PUBLIC_APP_URL

Optional: SEMRUSH_API_KEY, NETLIFY_AUTH_TOKEN, Stripe keys, AI gateway vars

Post-deploy

1. Hard-refresh editor (Ctrl+Shift+R) to bust service worker cache

2. Smoke-test: open editor, run a Build, deploy, check MCP GET /api/mcp

3. Confirm Cloud permissions save under Advanced tab