What to build
Wire up the TypeScript monorepo (apps, packages, pnpm workspaces, Turborepo), configure Docker Compose for PostgreSQL + Redis, and define the foundational Prisma schema: Organization, User, Department, UserDepartment models with full multi-tenant shape. Establish CI skeleton (type-check, lint, test).
This slice has no external dependencies and unblocks every other phase.
Acceptance criteria
Blocked by
None — can start immediately.
What to build
Wire up the TypeScript monorepo (apps, packages, pnpm workspaces, Turborepo), configure Docker Compose for PostgreSQL + Redis, and define the foundational Prisma schema: Organization, User, Department, UserDepartment models with full multi-tenant shape. Establish CI skeleton (type-check, lint, test).
This slice has no external dependencies and unblocks every other phase.
Acceptance criteria
pnpm install,pnpm check-types,pnpm build).docker-compose upstarts PostgreSQL and Redis with no manual steps.prisma validate.Blocked by
None — can start immediately.