Stand up the empty Next.js + TypeScript + Postgres + Prisma + Tailwind scaffold that every subsequent Story builds on. Without this, the very first motir next call would hand an agent an empty directory with no tooling, no config, and no clue what stack to use. This Story exists so that all later prompts can assume "the project is set up the standard way."
Prerequisite for everything else. Story 1.0 must complete before Story 1.0.5 (design system) and Story 1.1 (auth). The artifacts it produces — repo structure, README, env files, CI config — become shared context that Epic 4's prompt-generation agent will reference in every Subtask prompt.
This version is the Next.js variant. The Subtasks below assume the user picked Next.js + Postgres + Prisma + Tailwind in Epic 2's stack discovery Story (2.1.5). When Motir's real planner generates this Story for an arbitrary user project, it must produce a stack-appropriate variant: Spring Boot for a Java user, FastAPI for a Python user, Rails for a Ruby user, etc. The shape of the Story (bootstrap, dev runner, CI, deploy) stays the same; the specific Subtasks change per stack.
git checkout story/PROD-1.0-bootstrap, ./scripts/db-up.sh, pnpm install, pnpm dev.
Open http://localhost:3000 in your browser. You should see a placeholder
"Motir" page rendered in the dark theme — not the default Next.js welcome page.pnpm install, pnpm dev.
Open http://localhost:8001/health in your browser (or curl it). You should see {"status": "ok"}.