refactor: 原型迁移 .superpowers/prototype → design/prototype(与 CONTRACT 同目录)
Design Source Checks / design-source (push) Failing after 14m23s
Design Source Checks / design-source (push) Failing after 14m23s
- git mv 全目录(历史保留);.gitignore 收敛为整个 .superpowers/ 忽略 - 全仓 16 处引用同步(CI checks.yml / l1-sync / screens.mjs / hooks / CLAUDE.md / CONTRACT / SSR 模板注释 / docs / web 注释) - 修 pre-commit 路径正则残留;5180 评审服务已切新路径 - 验证:check-ds 12 道 / l1-sync 6 道 / fidelity 抽查全过 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
This commit is contained in:
+13
-13
@@ -20,7 +20,7 @@ export const SCREENS = {
|
||||
// 外壳:顶栏(两级品牌+主题器+通知) + 侧栏(分组) + 状态栏。
|
||||
// 全屏阈值松(内容区空白 vs 原型满表),真正判定看 zones(顶栏带收紧到 4%)。
|
||||
shell: {
|
||||
html: '.superpowers/prototype/screens/inventory.html', // 外壳含在每个全框屏里,借库存页取整框
|
||||
html: 'design/prototype/screens/inventory.html', // 外壳含在每个全框屏里,借库存页取整框
|
||||
prefix: 'app_shell',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -33,7 +33,7 @@ export const SCREENS = {
|
||||
],
|
||||
},
|
||||
inventory: {
|
||||
html: '.superpowers/prototype/screens/inventory.html',
|
||||
html: 'design/prototype/screens/inventory.html',
|
||||
prefix: 'inventory_list',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -42,7 +42,7 @@ export const SCREENS = {
|
||||
threshold: 0.07, // 实测 4.7% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
partners: {
|
||||
html: '.superpowers/prototype/screens/partners.html',
|
||||
html: 'design/prototype/screens/partners.html',
|
||||
prefix: 'partners',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -50,7 +50,7 @@ export const SCREENS = {
|
||||
threshold: 0.06, // 实测 3.6% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
products: {
|
||||
html: '.superpowers/prototype/screens/products.html',
|
||||
html: 'design/prototype/screens/products.html',
|
||||
prefix: 'products_archive',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -60,7 +60,7 @@ export const SCREENS = {
|
||||
threshold: 0.06, // 实测 3.7% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
devices: {
|
||||
html: '.superpowers/prototype/screens/devices.html',
|
||||
html: 'design/prototype/screens/devices.html',
|
||||
prefix: 'device_management',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -68,7 +68,7 @@ export const SCREENS = {
|
||||
threshold: 0.06, // 实测 3.5% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
settings: {
|
||||
html: '.superpowers/prototype/screens/settings.html',
|
||||
html: 'design/prototype/screens/settings.html',
|
||||
prefix: 'settings',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -76,7 +76,7 @@ export const SCREENS = {
|
||||
threshold: 0.04, // 实测 2.4% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
users: {
|
||||
html: '.superpowers/prototype/screens/users.html',
|
||||
html: 'design/prototype/screens/users.html',
|
||||
prefix: 'users',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -84,14 +84,14 @@ export const SCREENS = {
|
||||
threshold: 0.04, // 实测 1.9% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
about: {
|
||||
html: '.superpowers/prototype/screens/about.html',
|
||||
html: 'design/prototype/screens/about.html',
|
||||
prefix: 'about',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
threshold: 0.05, // 实测 2.7% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
'stock-in': {
|
||||
html: '.superpowers/prototype/screens/stock-in-list.html',
|
||||
html: 'design/prototype/screens/stock-in-list.html',
|
||||
prefix: 'stock_in_list',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -101,7 +101,7 @@ export const SCREENS = {
|
||||
threshold: 0.06, // 实测 4.0% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
'stock-out': {
|
||||
html: '.superpowers/prototype/screens/stock-out-list.html',
|
||||
html: 'design/prototype/screens/stock-out-list.html',
|
||||
prefix: 'stock_out_list',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
@@ -109,7 +109,7 @@ export const SCREENS = {
|
||||
threshold: 0.06, // 实测 4.0% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
login: {
|
||||
html: '.superpowers/prototype/screens/login.html',
|
||||
html: 'design/prototype/screens/login.html',
|
||||
prefix: 'login',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.auth',
|
||||
@@ -123,14 +123,14 @@ export const SCREENS = {
|
||||
// (实测 a 15.5 / b 6.2 / c 26%),像素闸无意义。golden 测试仍锁三主题回归;
|
||||
// 后端补 shop_code/voucher 支持后恢复此注册并收紧到 ~8%:
|
||||
// register: {
|
||||
// html: '.superpowers/prototype/screens/register.html',
|
||||
// html: 'design/prototype/screens/register.html',
|
||||
// prefix: 'register',
|
||||
// width: 1280, height: 900, dpr: 2,
|
||||
// waitFor: '.auth',
|
||||
// threshold: 0.08,
|
||||
// },
|
||||
finance: {
|
||||
html: '.superpowers/prototype/screens/finance.html',
|
||||
html: 'design/prototype/screens/finance.html',
|
||||
prefix: 'finance',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
|
||||
Reference in New Issue
Block a user