app: minimal root-layout shell - theme + env-config session providers (M3 slice 1, coreci-chat#16) #17

Merged
jonathan merged 1 commits from po/m3-slice-1-root-shell into main 2026-11-05 20:39:33 +00:00

1 Commits

Author SHA1 Message Date
coreci-chat-po 754222083c feat(app): minimal root-layout shell - theme + env-config session providers
ci / test-pglite (PGlite, default) (push) Successful in 3m53s
ci / test-postgres (Postgres 16, G-022 RLS) (push) Successful in 2m21s
ci / test-pglite (PGlite, default) (pull_request) Successful in 3m44s
ci / test-postgres (Postgres 16, G-022 RLS) (pull_request) Successful in 2m3s
M3 slice 1 (coreci-chat#16): wrap the root layout's children with a theme
provider (light/dark/system, persisted, no external dep) and a session
wrapper over @coreci/auth's session lane (identity via GET /api/me, client
config from NEXT_PUBLIC_API_BASE_URL, default same-origin). Additive only:
no redirects or gates, SSR pages keep server-side session resolution, and
no boot-time DDL (deploy owns DDL, app boots schema-check only). Pure
logic extracted to app/shell/_lib.ts + unit tests, repo Wave-J convention.
2026-11-03 18:57:24 +00:00