Vercel Deploy Checklist

Deploy the Next.js wiki reader from ui/ with bundled markdown, server-side gating, and public discovery settings verified.

Use this page before first deploy, before production promotion, or after changing wiki reader env vars. It is the deployment checklist; Bundle Wiki Prebuild, Password Gate Setup, and Public Categories Env own the deeper contracts.

Checklist

  1. Vercel project Root Directory is ui.
  2. Root .vercelignore allowlists only ui/, wiki/, agent-docs/, root *.md, referenced instruction docs such as scripts/SKILL.md, root package metadata such as package.json, and .vercelignore; it excludes local dependency/build artifacts such as ui/node_modules, ui/.next, ui/.content, and ui/.vercel.
  3. prebuild runs scripts/bundle-wiki.mjs so ../wiki is copied into ui/.content/wiki.
  4. next.config.ts includes .content/**/* in output file tracing.
  5. WIKI_GATE_PASSWORD or WIKI_GATE_PASSWORDS is set for private corpus access.
  6. NEXT_PUBLIC_SITE_URL is set on production.
  7. WIKI_PUBLIC_CATEGORIES=1 is set, or WIKI_VISIBLE_CATEGORIES names the intended public set.
  8. pnpm build passes locally from ui/.
  9. npm run vercel:dry passes from the repo root before any CLI deploy; this parses vercel deploy --dry --format=json and fails if unexpected source paths or oversized artifacts would upload. Source: Vercel changelog, 2026-07-01
  10. Preview URL is checked before production promotion.

Privacy And Discovery

The deployment has two separate controls:

Control Protects
Password gate Page HTML, private search/listings, sitemap, llms.txt, assets.
Public category filter Public navigation, home, search, sitemap, and llms.txt discovery for non-private categories.

Do not use the category filter as the only privacy mechanism. Hidden-but-not-private pages may still be reachable by direct URL.

Closeout

After deploy-doc changes, run pnpm build in ui/ when practical, npm run vercel:dry, then npm run build-index and qmd update && qmd embed. If the source/projection boundary changed, update Bundle Wiki Prebuild in the same pass.


Timeline