@qilitt-mickey/vue3-temp-skill 1.1.72 → 1.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/dist/theme-vars.js +1 -1
- package/dist/theme.css +1 -1
- package/mapping/layout/shell-geometry.json +26 -26
- package/mapping/scenes/admin/content.json +3 -0
- package/mapping/scenes/admin/layout.json +4 -1
- package/package.json +1 -1
- package/parser/fixtures/changeset-fullpage-restore.json +259 -138
- package/parser/fixtures/changeset-gap-block.json +24 -0
- package/parser/fixtures/changeset-neg4-g8.json +15 -15
- package/parser/fixtures/changeset-neg6-g9-identity.json +39 -39
- package/parser/fixtures/changeset-neg8-g11-oracle.json +57 -57
- package/parser/fixtures/changeset-neg9-g6-token-chain.json +34 -0
- package/parser/fixtures/changeset-pos-g6-token-chain.json +35 -0
- package/parser/fixtures/changeset-pos-theme-neutral.json +264 -264
- package/parser/fixtures/changeset-pos.json +50 -43
- package/parser/fixtures/changeset-v32-fields.json +71 -63
- package/parser/fixtures/registry-g6-token-chain.json +10 -0
- package/parser/fixtures/registry-sample.json +15 -15
- package/parser/fixtures/verify/mockup-baseline-admin-list.html +27 -0
- package/parser/fixtures/verify/mockup-g6-content.html +12 -0
- package/parser/fixtures/verify/oracle.json +37 -37
- package/parser/generator.js +178 -178
- package/parser/index.js +2706 -2648
- package/parser/override.js +119 -119
- package/parser/regression.js +301 -293
- package/parser/watch.js +103 -103
- package/references/layout-theme.md +2 -0
- package/references/steps/maintenance.md +31 -31
- package/references/steps/regression.md +49 -49
- package/references/steps/step1-match.md +65 -64
- package/references/steps/step1b-audit.md +23 -23
- package/references/steps/step1c-registry.md +29 -29
- package/references/steps/step2-structure.md +73 -73
- package/references/steps/step3-style.md +5 -0
- package/references/steps/step3b-shell.md +63 -61
- package/references/steps/step5-gates.md +1 -0
- package/scripts/apply-final-gate.mjs +170 -170
- package/scripts/check.mjs +24 -0
- package/scripts/design-audit.mjs +1575 -1502
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "G9 登记表身份闸负例:mode=restore 且基线三件套齐备(过 G8),但 coverage.registry 指向身份错配的登记表——变更集 scheme=tangerine,登记表 design_scheme=default → 凡身份对不上的表视同没有表。历史缺口:G8 只验 coverage.registry 是非空字符串,拿别的方案/场景的登记表甚至 6 条回归小表都能过 G8,覆盖率分母被偷换,面包屑/顶栏图标/表头 nowrap 等点位从分母消失,欠声明不可数。预期:match 打印「G9 登记表身份闸」并 exit 1。",
|
|
3
|
-
"schema": "design.changeset/1.0",
|
|
4
|
-
"changeset_version": "1.0.0",
|
|
5
|
-
"mapping_version": "1.0.0",
|
|
6
|
-
"scene": "admin",
|
|
7
|
-
"scheme": "tangerine",
|
|
8
|
-
"mode": "restore",
|
|
9
|
-
"layout_type": "vertical",
|
|
10
|
-
"global": { "brand_primary": "橘橙-5" },
|
|
11
|
-
"changes": [
|
|
12
|
-
{ "id": "admin.layout.sidebar.menu", "style": { "menu_bg": "橘橙-10", "menu_active_bg": "橘橙-5" } },
|
|
13
|
-
{ "id": "admin.content.table.header_cell", "style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" }, "layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" }, "suppress_inner": true },
|
|
14
|
-
{ "id": "admin.content.table.cell", "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" }, "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" }, "suppress_inner": true },
|
|
15
|
-
{ "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
|
|
16
|
-
{ "id": "component.button.danger", "style": { "bg_color": "错误色" } },
|
|
17
|
-
{ "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
|
|
18
|
-
],
|
|
19
|
-
"oracle": {
|
|
20
|
-
"mockup": "verify/回归夹具-列表页-钴蓝.html",
|
|
21
|
-
"theme_mapping": { "from": "钴蓝", "to": "橘橙" },
|
|
22
|
-
"sids": [
|
|
23
|
-
"admin.layout.sidebar.menu",
|
|
24
|
-
"admin.content.table.header_cell",
|
|
25
|
-
"admin.content.table.cell",
|
|
26
|
-
"component.tag.status",
|
|
27
|
-
"component.button.danger",
|
|
28
|
-
"admin.content.pagination"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"coverage": {
|
|
32
|
-
"registry": "parser/fixtures/registry-sample.json",
|
|
33
|
-
"registrable": 6,
|
|
34
|
-
"applicable": 5,
|
|
35
|
-
"covered": 5,
|
|
36
|
-
"gaps": []
|
|
37
|
-
},
|
|
38
|
-
"notes": "本夹具用于回归 G9 身份闸,不是真实设计交付件。变更集宣称橘橙(tangerine)方案,登记表却是 default
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$comment": "G9 登记表身份闸负例:mode=restore 且基线三件套齐备(过 G8),但 coverage.registry 指向身份错配的登记表——变更集 scheme=tangerine,登记表 design_scheme=default → 凡身份对不上的表视同没有表。历史缺口:G8 只验 coverage.registry 是非空字符串,拿别的方案/场景的登记表甚至 6 条回归小表都能过 G8,覆盖率分母被偷换,面包屑/顶栏图标/表头 nowrap 等点位从分母消失,欠声明不可数。预期:match 打印「G9 登记表身份闸」并 exit 1。",
|
|
3
|
+
"schema": "design.changeset/1.0",
|
|
4
|
+
"changeset_version": "1.0.0",
|
|
5
|
+
"mapping_version": "1.0.0",
|
|
6
|
+
"scene": "admin",
|
|
7
|
+
"scheme": "tangerine",
|
|
8
|
+
"mode": "restore",
|
|
9
|
+
"layout_type": "vertical",
|
|
10
|
+
"global": { "brand_primary": "橘橙-5" },
|
|
11
|
+
"changes": [
|
|
12
|
+
{ "id": "admin.layout.sidebar.menu", "style": { "menu_bg": "橘橙-10", "menu_active_bg": "橘橙-5" } },
|
|
13
|
+
{ "id": "admin.content.table.header_cell", "style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" }, "layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" }, "suppress_inner": true },
|
|
14
|
+
{ "id": "admin.content.table.cell", "style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" }, "layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" }, "suppress_inner": true },
|
|
15
|
+
{ "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
|
|
16
|
+
{ "id": "component.button.danger", "style": { "bg_color": "错误色" } },
|
|
17
|
+
{ "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
|
|
18
|
+
],
|
|
19
|
+
"oracle": {
|
|
20
|
+
"mockup": "verify/回归夹具-列表页-钴蓝.html",
|
|
21
|
+
"theme_mapping": { "from": "钴蓝", "to": "橘橙" },
|
|
22
|
+
"sids": [
|
|
23
|
+
"admin.layout.sidebar.menu",
|
|
24
|
+
"admin.content.table.header_cell",
|
|
25
|
+
"admin.content.table.cell",
|
|
26
|
+
"component.tag.status",
|
|
27
|
+
"component.button.danger",
|
|
28
|
+
"admin.content.pagination"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"coverage": {
|
|
32
|
+
"registry": "parser/fixtures/registry-sample.json",
|
|
33
|
+
"registrable": 6,
|
|
34
|
+
"applicable": 5,
|
|
35
|
+
"covered": 5,
|
|
36
|
+
"gaps": []
|
|
37
|
+
},
|
|
38
|
+
"notes": "本夹具用于回归 G9 身份闸,不是真实设计交付件。变更集宣称橘橙(tangerine)方案,登记表却是 default 方案的表——对应失效模式:橘橙还原却引用钴蓝方案的登记表,186 条壳层+表格分母被偷换成 6 条小表。oracle 已声明 theme_mapping 钴蓝→橘橙(同构异色合法),因此本夹具若登记表身份正确则其余闸门全绿,唯一拦截点就是 G9——保证负例的归因纯净。"
|
|
39
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "G11 oracle 基线硬闸负例:mode=restore、三件套齐备、登记表身份一致(过 G8/G9),但效果图是钴蓝主题、变更集主色是橘橙,且未声明 theme_mapping 同构异色复用 → 主题错配。历史缺口:基线断裂只打 ⚠ 软提示就继续交付,verify 无从做 1:1 证明。预期:match 打印「G11」与「主题错配」并 exit 1。",
|
|
3
|
-
"schema": "design.changeset/1.0",
|
|
4
|
-
"changeset_version": "1.0.0",
|
|
5
|
-
"mapping_version": "1.0.0",
|
|
6
|
-
"scene": "admin",
|
|
7
|
-
"scheme": "default",
|
|
8
|
-
"mode": "restore",
|
|
9
|
-
"layout_type": "vertical",
|
|
10
|
-
"global": { "brand_primary": "橘橙-5" },
|
|
11
|
-
"changes": [
|
|
12
|
-
{
|
|
13
|
-
"id": "admin.content.table.header_cell",
|
|
14
|
-
"style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" },
|
|
15
|
-
"layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" },
|
|
16
|
-
"suppress_inner": true
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"id": "admin.content.table.cell",
|
|
20
|
-
"style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" },
|
|
21
|
-
"layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" },
|
|
22
|
-
"suppress_inner": true
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"id": "admin.content.table.cell_amount",
|
|
26
|
-
"style": { "align": "right" }
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"id": "admin.content.table.cell_status",
|
|
30
|
-
"form": "filled",
|
|
31
|
-
"style": { "bg": "#FFF3E6" }
|
|
32
|
-
},
|
|
33
|
-
{ "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
|
|
34
|
-
{ "id": "component.button.danger", "style": { "bg_color": "错误色" } },
|
|
35
|
-
{ "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
|
|
36
|
-
],
|
|
37
|
-
"oracle": {
|
|
38
|
-
"mockup": "verify/回归夹具-列表页-钴蓝.html",
|
|
39
|
-
"sids": [
|
|
40
|
-
"admin.content.table.header_cell",
|
|
41
|
-
"admin.content.table.cell",
|
|
42
|
-
"admin.content.table.cell_amount",
|
|
43
|
-
"admin.content.table.cell_status",
|
|
44
|
-
"component.tag.status",
|
|
45
|
-
"component.button.danger",
|
|
46
|
-
"admin.content.pagination"
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"coverage": {
|
|
50
|
-
"registry": "parser/fixtures/registry-sample.json",
|
|
51
|
-
"registrable": 6,
|
|
52
|
-
"applicable": 5,
|
|
53
|
-
"covered": 5,
|
|
54
|
-
"gaps": []
|
|
55
|
-
},
|
|
56
|
-
"notes": "本夹具用于回归 G11 oracle 闸,不是真实设计交付件。与 H 正例的差集只有两处:global.brand_primary 改橘橙、且 oracle 不带 theme_mapping
|
|
57
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$comment": "G11 oracle 基线硬闸负例:mode=restore、三件套齐备、登记表身份一致(过 G8/G9),但效果图是钴蓝主题、变更集主色是橘橙,且未声明 theme_mapping 同构异色复用 → 主题错配。历史缺口:基线断裂只打 ⚠ 软提示就继续交付,verify 无从做 1:1 证明。预期:match 打印「G11」与「主题错配」并 exit 1。",
|
|
3
|
+
"schema": "design.changeset/1.0",
|
|
4
|
+
"changeset_version": "1.0.0",
|
|
5
|
+
"mapping_version": "1.0.0",
|
|
6
|
+
"scene": "admin",
|
|
7
|
+
"scheme": "default",
|
|
8
|
+
"mode": "restore",
|
|
9
|
+
"layout_type": "vertical",
|
|
10
|
+
"global": { "brand_primary": "橘橙-5" },
|
|
11
|
+
"changes": [
|
|
12
|
+
{
|
|
13
|
+
"id": "admin.content.table.header_cell",
|
|
14
|
+
"style": { "height": "48px", "padding": "16px", "font_weight": "中等", "text_align": "左对齐", "nowrap": "不换行" },
|
|
15
|
+
"layer": { "height": "host", "padding": "host", "font_weight": "host", "text_align": "inner", "nowrap": "inner" },
|
|
16
|
+
"suppress_inner": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "admin.content.table.cell",
|
|
20
|
+
"style": { "padding": "16px", "padding_y": "8px", "vertical_align": "middle" },
|
|
21
|
+
"layer": { "padding": "host", "padding_y": "inner", "vertical_align": "inner" },
|
|
22
|
+
"suppress_inner": true
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "admin.content.table.cell_amount",
|
|
26
|
+
"style": { "align": "right" }
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "admin.content.table.cell_status",
|
|
30
|
+
"form": "filled",
|
|
31
|
+
"style": { "bg": "#FFF3E6" }
|
|
32
|
+
},
|
|
33
|
+
{ "id": "component.tag.status", "form": "filled", "style": { "height": "24px", "radius": "小圆角", "bg_color": "#F6FFED" } },
|
|
34
|
+
{ "id": "component.button.danger", "style": { "bg_color": "错误色" } },
|
|
35
|
+
{ "id": "admin.content.pagination", "style": { "active_bg": "橘橙-5", "active_color": "#FFFFFF" } }
|
|
36
|
+
],
|
|
37
|
+
"oracle": {
|
|
38
|
+
"mockup": "verify/回归夹具-列表页-钴蓝.html",
|
|
39
|
+
"sids": [
|
|
40
|
+
"admin.content.table.header_cell",
|
|
41
|
+
"admin.content.table.cell",
|
|
42
|
+
"admin.content.table.cell_amount",
|
|
43
|
+
"admin.content.table.cell_status",
|
|
44
|
+
"component.tag.status",
|
|
45
|
+
"component.button.danger",
|
|
46
|
+
"admin.content.pagination"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"coverage": {
|
|
50
|
+
"registry": "parser/fixtures/registry-sample.json",
|
|
51
|
+
"registrable": 6,
|
|
52
|
+
"applicable": 5,
|
|
53
|
+
"covered": 5,
|
|
54
|
+
"gaps": []
|
|
55
|
+
},
|
|
56
|
+
"notes": "本夹具用于回归 G11 oracle 闸,不是真实设计交付件。与 H 正例的差集只有两处:global.brand_primary 改橘橙、且 oracle 不带 theme_mapping——「橘橙还原却拿钴蓝效果图当基线」正是「还原主题与基线图色板错配」失效模式的直接形态(registry 无橘橙沉淀基线时最易发生)。若设计侧补 theme_mapping { from: 钴蓝, to: 橘橙 } 即转合法(同构异色复用)。"
|
|
57
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "G6 层间令牌链对账闸负例:admin.layout.content(.app-main,preconditions 标记「层间令牌链对账」——与 admin.content.container 同链消费 --layout-content-padding → --vts-margin)声明 style.padding 却未声明 suppress_inner——预期 match 打印「G6」语义的 suppress_inner 缺口并 exit 1。复现件:设计 24px 落父层 .app-main 而子层 .main-content 的 --vts-margin 出厂 8px 原样叠加 → 24+8=32px/侧「边距很大」。注意本夹具带齐 oracle/coverage 三件套以隔离 G8/G9/G11,唯一拦截点 = G6。",
|
|
3
|
+
"schema": "design.changeset/1.0",
|
|
4
|
+
"changeset_version": "1.0.0",
|
|
5
|
+
"mapping_version": "1.0.0",
|
|
6
|
+
"scene": "admin",
|
|
7
|
+
"scheme": "default",
|
|
8
|
+
"mode": "restore",
|
|
9
|
+
"layout_type": "vertical",
|
|
10
|
+
"theme": "钴蓝",
|
|
11
|
+
"page_bindings": [
|
|
12
|
+
{ "mockup": "verify/mockup-g6-content.html", "target": "existing-list-page" }
|
|
13
|
+
],
|
|
14
|
+
"changes": [
|
|
15
|
+
{
|
|
16
|
+
"id": "admin.layout.content",
|
|
17
|
+
"style": { "padding": "24px", "bg": "#F5F5F5" }
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"oracle": {
|
|
21
|
+
"mockup": "verify/mockup-g6-content.html",
|
|
22
|
+
"sids": [
|
|
23
|
+
"admin.layout.content"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"coverage": {
|
|
27
|
+
"registry": "parser/fixtures/registry-g6-token-chain.json",
|
|
28
|
+
"registrable": 1,
|
|
29
|
+
"applicable": 1,
|
|
30
|
+
"covered": 1,
|
|
31
|
+
"gaps": []
|
|
32
|
+
},
|
|
33
|
+
"notes": "本夹具用于回归 G6 层间令牌链对账闸,不是真实设计交付件。唯一失效点:admin.layout.content 声明 style.padding 缺 suppress_inner。"
|
|
34
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "G6 层间令牌链对账闸正例(design-audit E17 专用,parser match 不入回归):admin.layout.content 声明 style.padding 且带 suppress_inner(同链子层接管口径)——parser G6 放行。design-audit E17 判据在项目侧:设计层 .app-main 抢写物理 padding 且同链令牌 --layout-content-padding/--vts-margin 幸存非零 → E17 ERROR;改走令牌通道(var 覆盖)或子层令牌归零 → 通过。expect.exit 仅描述 design-audit 行为,parser match 本身会因 oracle.mockup 实物缺失(夹具目录无该效果图)在登记表环节 exit 1,属预期环境边界,不是 G6 失效。",
|
|
3
|
+
"schema": "design.changeset/1.0",
|
|
4
|
+
"changeset_version": "1.0.0",
|
|
5
|
+
"mapping_version": "1.0.0",
|
|
6
|
+
"scene": "admin",
|
|
7
|
+
"scheme": "default",
|
|
8
|
+
"mode": "restore",
|
|
9
|
+
"layout_type": "vertical",
|
|
10
|
+
"theme": "钴蓝",
|
|
11
|
+
"page_bindings": [
|
|
12
|
+
{ "mockup": "verify/mockup-g6-content.html", "target": "existing-list-page" }
|
|
13
|
+
],
|
|
14
|
+
"changes": [
|
|
15
|
+
{
|
|
16
|
+
"id": "admin.layout.content",
|
|
17
|
+
"style": { "padding": "24px", "bg": "#F5F5F5" },
|
|
18
|
+
"suppress_inner": "间距由 .app-main 统一承载 24px;子层 .main-content 的同链令牌 --vts-margin 归零,不再叠加出厂 8px"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"oracle": {
|
|
22
|
+
"mockup": "verify/mockup-g6-content.html",
|
|
23
|
+
"sids": [
|
|
24
|
+
"admin.layout.content"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"coverage": {
|
|
28
|
+
"registry": "parser/fixtures/registry-g6-token-chain.json",
|
|
29
|
+
"registrable": 1,
|
|
30
|
+
"applicable": 1,
|
|
31
|
+
"covered": 1,
|
|
32
|
+
"gaps": []
|
|
33
|
+
},
|
|
34
|
+
"notes": "本夹具用于回归 G6 正例放行 + design-audit E17 判据说明,不是真实设计交付件。suppress_inner 已声明 → parser G6 通过。"
|
|
35
|
+
}
|