docs(plan): mark design-system migration complete — styles.css retired
Some checks are pending
CI / verify (push) Waiting to run

The PWA unification is done: all remaining views/components/shell migrated off
styles.css to the cocotte design system (commits 5a7e093 + 2512e75). Records the
green gate (301 backend + 17 web tests, typecheck, build) and the separate deploy
effort intentionally left out of scope.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Natalie 2026-06-30 01:48:02 -04:00
parent 19c578bead
commit 407366424a

19
PLAN.md
View file

@ -43,6 +43,25 @@ until per-view migration. The 16-route shell already exposes the prototype nav.)
---
## ✅ COMPLETE (2026-06-30) — design-system migration done, styles.css retired
The PWA unification is finished. The final 14 files still on the legacy global
`styles.css` were migrated to pure styled-components on the cocotte luxe-dark theme
(8 views incl. the 4-file Queue cluster + 5 shared components + the App shell), each
adversarially parity-reviewed vs `designs/` + the prototype. **`styles.css` is
deleted** — its global reset + body base moved to a themed `ui/global.tsx`
`createGlobalStyle`; the three largest views factor their styled blocks into
`*.styled.ts` siblings (500-LOC cap). `grep -r className web/src` is now empty.
Added a vitest + RTL harness (`web/src/App.test.tsx`) proving all 16 routes mount on
the theme. Gate green: **301 backend tests · 17 web tests · root+web typecheck · web
build 240kB/18 chunks**. Commits `5a7e093` (migration) + `2512e75` (test harness),
pushed to ct-forge. The status table below is historical (pre-migration).
> Remaining out-of-scope (separate deploy effort, left uncommitted in the tree):
> `.infra.yaml`/`app.manifest.yaml` consolidation, `deploy/deploy-server.sh`,
> `deploy/edge/` Caddyfile, and the `ci.yml` CD job. Live browser visual-diff vs
> `designs/` against a running backend + Postgres is the only manual check left.
## Status snapshot (2026-06-29)
| Area | State |