Commit Graph

11 Commits

Author SHA1 Message Date
arnaudne ea33ef0f71 chore: add stack.env for Portainer repository deployment 2026-07-09 03:40:14 +02:00
arnaudne 768257cdbf feat: redesign favicon — spark mark with ochre centre dot 2026-07-09 03:34:54 +02:00
arnaudne 53a77e70b3 feat: add favicon — indigo C mark with ochre dot 2026-07-08 22:45:41 +02:00
arnaudne f0cdfa4653 fix: expose host port instead of external Traefik network (Traefik on separate LXC) 2026-07-08 22:40:55 +02:00
arnaudne 2b05c7865d fix: resolve all Docker build errors
- pnpm: remove separate deps stage (cross-stage copy breaks virtual store links)
- Add .dockerignore (node_modules, .next, secrets)
- map-client.tsx: escape apostrophe, use Link instead of <a>
- cron/review-digest/route.ts: unexport signUserId (invalid Next.js route export)
- auth.ts: guard user.id undefined before eq() call
- queries.ts: fix swapped lte(Date, column) → gte(column, Date) (×2)
- Dockerfile: drop COPY public/ (directory doesn't exist)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-08 22:37:08 +02:00
arnaudne 330ba91d14 fix: EXPOSE doesn't interpolate ENV vars, hardcode 3000 2026-07-08 22:24:37 +02:00
arnaudne 92df4e766e chore: make app port configurable via PORT env var 2026-07-08 22:21:51 +02:00
arnaudne 2f757acb9b chore: ignore .env.prod 2026-07-08 22:17:45 +02:00
arnaudne a2277ee1b3 feat: Docker production setup (Portainer + Traefik)
Adds multi-stage Dockerfile (runner + worker targets), docker-compose.prod.yml
with Traefik labels, auto-migration on deploy, and next.config.ts standalone
output mode.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-08 22:12:58 +02:00
arnaudne 5bf6013460 feat: full feature buildout — streaming, i18n, mastery map, admin, jobs
Progressive lesson streaming via onSegment callback (fixes SSE for non-English
users — locale was shadowed in lesson-reader useEffect). Adds: BullMQ workers,
Redis stream buffer, token budget enforcement, Langfuse tracing, golden-eval
runner, Playwright e2e scaffolding, lesson depth/locale/preferences schema,
mastery map UI, admin panel (blueprints/users/reports/quality/misconceptions),
image queries, source citations, view transitions, reading animations, i18n
(next-intl), PDF export, surprise endpoint, and 402 passing unit tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-08 22:08:14 +02:00
arnaudne 4e38b5a791 feat: initial commit — Curio mastery tutor
Full Next.js App Router application with:
- AI-graded lesson checkpoints (BKT/Elo mastery tracking)
- Auth.js v5: credentials, Google, GitHub, generic OIDC
- Anonymous-session-first with migrate-on-signin
- Admin panel: users, blueprints, reports, site settings
- Password reset + email verification (nodemailer/SMTP)
- Site config: require_auth + signups_enabled flags
- server-only guards on all DB/generation/verification modules
- PostgreSQL 16 + pgvector, Redis cache, Drizzle ORM
- 271 unit tests (Vitest), golden-eval harness, Playwright e2e stubs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 22:25:43 +02:00