From 7d6845a05b0fa9f0d387e3989974dd95c860a051 Mon Sep 17 00:00:00 2001 From: araharah-executor Date: Thu, 22 Oct 2026 08:53:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(01-04):=20wire=20theme=20gallery=20script?= =?UTF-8?q?=20=E2=80=94=20repair=20root=20delegate=20per=2001-01=20contrac?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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) --- theme/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/theme/package.json b/theme/package.json index 1c2b623..8e12fb0 100644 --- a/theme/package.json +++ b/theme/package.json @@ -12,6 +12,7 @@ "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/", "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:preview": "python3 -m http.server 8123", "audit": "node ./scripts/audit.mjs ./dist/rams.css",