CAOS (Cognitive × AI Operating System) is a training product that teaches users to think before using AI, specify clearly, and verify outputs critically.
This MVP ships:
- Public landing + mission discovery pages
- Auth (STUDENT / ADMIN)
- Student dashboard and profile
- Outcome Pod listing and detail pages
- Pod Run workspace enforcing CAOS sequence
- Lightweight scoring + badge awards
- Seeded admin-lite dataset and preview runs
It intentionally omits advanced RW orchestration, agent pipelines, design/video engines, and enterprise admin systems.
- Next.js App Router + TypeScript (strict)
- Tailwind CSS + reusable UI primitives
- Prisma ORM + PostgreSQL
- NextAuth (Credentials)
- Zod validation
- Install dependencies:
npm install
- For production-only installs, prefer:
(Use this instead of
npm install --omit=dev
npm config set production trueor--production, which now emits an npm warning.)
- For production-only installs, prefer:
- Copy env values:
cp .env.example .env
- Create and apply migrations:
npx prisma migrate dev --name init
- Generate Prisma client:
npm run prisma:generate
- Seed demo data:
npm run prisma:seed
- Start app:
npm run dev
Credentials provider is used in Phase 1 to keep setup simple.
- Admin:
admin@caos.local/Admin123! - Student:
student@caos.local/Student123!
- Attempt is required before AI.
- Goal + constraints + definition of done are required before AI.
- Verification decision (Accept/Modify/Reject) is mandatory.
- Verification explanation is mandatory.
- Pod progress is not complete until verification is submitted.
- Set
AUTH_SECRET(orNEXTAUTH_SECRETalias) to a long random value for NextAuth session encryption. - Provision Postgres-compatible database.
- Configure env vars from
.env.example. - Run Prisma migrate and seed in deployment workflow.