fix(01-04): wire theme gallery script — repair root delegate per 01-01 contract

- root 'npm run gallery' delegate pointed at a missing theme script since wave 1
  (01-01 contract: plan 04 wires the 'gallery' slot; tasks 1-2 wired audit/capture only)
- gallery = one-command DSGN-02 review loop: build -> capture -> serve theme/ on :8123
  (fresh-checkout safe: dist + captures regenerate; fallback contract intact per D-06)
- verified: JSON valid in both manifests; resolution from root + theme; build 114ms;
  CAPTURE OK 6/6 non-blank (sheet + basemap byte-identical to approved set, mockups
  <=107B render variance, zero fallbacks); AUDIT CLEAN (354 declarations, 0 off-token);
  serve link proven live (basemap:preview serving gallery.html 200 on :8123)
This commit is contained in:
araharah-executor
2026-10-22 08:53:22 +08:00
parent f51e7148df
commit 7d6845a05b
+1
View File
@@ -12,6 +12,7 @@
"build": "tailwindcss -i ./src/theme.css -o ./dist/rams.css --minify", "build": "tailwindcss -i ./src/theme.css -o ./dist/rams.css --minify",
"send": "mkdir -p dist/fonts && cp -r fonts/geist fonts/space-grotesk dist/fonts/", "send": "mkdir -p dist/fonts && cp -r fonts/geist fonts/space-grotesk dist/fonts/",
"sheet": "npm run build && echo 'open theme/src/sheet.html in browser ( Consumes theme/dist/rams.css )'", "sheet": "npm run build && echo 'open theme/src/sheet.html in browser ( Consumes theme/dist/rams.css )'",
"gallery": "npm run build && npm run capture && echo 'DSGN-02 gallery serving: http://localhost:8123/gallery.html + /basemap/' && npm run basemap:preview",
"basemap": "node basemap/build.mjs", "basemap": "node basemap/build.mjs",
"basemap:preview": "python3 -m http.server 8123", "basemap:preview": "python3 -m http.server 8123",
"audit": "node ./scripts/audit.mjs ./dist/rams.css", "audit": "node ./scripts/audit.mjs ./dist/rams.css",