diff --git a/.gitea/workflows/checks.yml b/.gitea/workflows/checks.yml index d792935..0cc3e83 100644 --- a/.gitea/workflows/checks.yml +++ b/.gitea/workflows/checks.yml @@ -24,7 +24,7 @@ jobs: run: sh scripts/ci/provision-mac.sh - name: 原型设计系统闸(check-ds 12 道) - run: node .superpowers/prototype/tools/check-ds.mjs + run: node design/prototype/tools/check-ds.mjs - name: L1 真相源同源闸(tokens 快照 / icons / 官网 token 值 / web hex) run: node tools/check-l1-sync.mjs diff --git a/.gitignore b/.gitignore index 0d3fb59..a7f322c 100644 --- a/.gitignore +++ b/.gitignore @@ -67,10 +67,8 @@ backend/gencode # iOS 证书私钥(绝不入库) .ios-certs/ -# superpowers 工作目录:brainstorm/sdd 是草稿不入库; -# prototype 是设计像素真源 + 设计系统守门闸(check-ds.mjs),入库供 CI 跑。 -.superpowers/* -!.superpowers/prototype/ +# superpowers 工作目录(草稿不入库)。原型已迁 design/prototype/(2026-07-07)。 +.superpowers/ # design-distill 保真目检对比图(可重生,见 tools/ds-compare.mjs) design/_compare/ diff --git a/CLAUDE.md b/CLAUDE.md index 6b415a7..1c82e9e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -257,7 +257,7 @@ cd client && flutter test ### 设计真相源分层(原型漂移治理,2026-07-04 拍板) -原型(`.superpowers/prototype/`)与真实页面**不追求全量永久同步**,按层分治: +原型(`design/prototype/`)与真实页面**不追求全量永久同步**,按层分治: - **L1 设计系统层**(`tokens.css` / `atoms.css` / `mobile-atoms.css` / `icons.js` + `index.html` 登记):原型是**单一真源**。新增颜色/组件/图标必须**先登记原型再同步**代码与官网(如 `web/_includes/icons.njk`)。闸:pre-commit `check-ds.mjs` 12 道(本地钩子,新机器先跑 `sh scripts/hooks/install.sh`)+ 代码侧 `client/tool/check_ds_code.mjs`。 - **L2 屏级三态**(台账 = `design/CONTRACT.md` 块 4「真相源」列): diff --git a/backend/internal/handler/templates/public_product.html b/backend/internal/handler/templates/public_product.html index 54ff7f0..0a5464b 100644 --- a/backend/internal/handler/templates/public_product.html +++ b/backend/internal/handler/templates/public_product.html @@ -6,7 +6,7 @@ {{.PageTitle}}{{.OGTags}}