mirror of
https://github.com/bitbaum/sites.git
synced 2026-12-04 05:56:59 +01:00
loki ADR-0001 build steps 4, 8 and 9 (tooling half). - scripts/import-repo.ts + import-theme.ts: read a sitekit consumer's content module and globals.css into spec + theme + settings. Text tokens below WCAG AA move to the nearest passing shade, each change reported (camille: fg-muted 3.15→4.53:1, accent 3.94→4.54:1, nothing else). - scripts/export-site.ts + export/template: a site bundle becomes a static Next repo with the exact sitekit the engine pins, the engine's own stylesheet and font copier (copied, one source), one git commit per version, and its own verify. Refuses a bundle it could not render, and never writes over a directory. - scripts/compare-renders.mjs: render pages from two bases at 390/834/1440 (with --map to fetch a real host from a local port) and exit 1 on any difference a visitor would notice. Measured 2026-11-20: live camille repo vs the engine serving its imported row, and the engine vs camille's export built to static files — no differences on any page at any width. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>