@qilitt-mickey/vue3-temp-skill 1.1.76 → 1.2.1
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/README.md +85 -84
- package/SKILL.md +55 -27
- package/bin/cli.js +5 -6
- package/mapping/admin.json +60 -0
- package/package.json +4 -13
- package/references/adapters/_new-adapter.md +88 -0
- package/references/adapters/vue-antdv.md +70 -0
- package/references/adapters/vue-element-plus.md +90 -0
- package/references/design-apply.md +238 -122
- package/scripts/modules.json +2 -2
- package/dist/mapping-type.d.ts +0 -33
- package/dist/theme-vars.js +0 -62
- package/dist/theme-vars.ts +0 -113
- package/dist/theme.css +0 -73
- package/mapping/basic/color.json +0 -35
- package/mapping/basic/radius.json +0 -17
- package/mapping/basic/semantic-values.json +0 -72
- package/mapping/basic/spacing.json +0 -21
- package/mapping/basic/typography.json +0 -21
- package/mapping/component/button.json +0 -90
- package/mapping/component/card.json +0 -31
- package/mapping/component/input.json +0 -42
- package/mapping/component/overlay.json +0 -79
- package/mapping/component/pagination.json +0 -34
- package/mapping/component/table.json +0 -42
- package/mapping/component/tag.json +0 -48
- package/mapping/layout/breakpoint.json +0 -20
- package/mapping/layout/shell-geometry.json +0 -26
- package/mapping/scenes/admin/content.json +0 -497
- package/mapping/scenes/admin/layout.json +0 -577
- package/parser/fixtures/changeset-fullpage-restore.json +0 -259
- package/parser/fixtures/changeset-gap-block.json +0 -24
- package/parser/fixtures/changeset-legacy.json +0 -11
- package/parser/fixtures/changeset-neg1.json +0 -8
- package/parser/fixtures/changeset-neg2.json +0 -10
- package/parser/fixtures/changeset-neg3.json +0 -22
- package/parser/fixtures/changeset-neg4-g8.json +0 -15
- package/parser/fixtures/changeset-neg5-g8-stub.json +0 -26
- package/parser/fixtures/changeset-neg6-g9-identity.json +0 -39
- package/parser/fixtures/changeset-neg7-g10-dims.json +0 -57
- package/parser/fixtures/changeset-neg8-g11-oracle.json +0 -57
- package/parser/fixtures/changeset-neg9-g6-token-chain.json +0 -34
- package/parser/fixtures/changeset-pos-g6-token-chain.json +0 -35
- package/parser/fixtures/changeset-pos-theme-neutral.json +0 -264
- package/parser/fixtures/changeset-pos-theme-nometa.json +0 -260
- package/parser/fixtures/changeset-pos.json +0 -50
- package/parser/fixtures/changeset-registry-gap.json +0 -29
- package/parser/fixtures/changeset-v32-fields.json +0 -71
- package/parser/fixtures/fake-project/src/styles/app.scss +0 -5
- package/parser/fixtures/fake-project/src/views/list.vue +0 -13
- package/parser/fixtures/registry-bad.json +0 -11
- package/parser/fixtures/registry-g6-token-chain.json +0 -10
- package/parser/fixtures/registry-sample.json +0 -15
- package/parser/fixtures/verify/actual-clean.json +0 -35
- package/parser/fixtures/verify/actual.json +0 -33
- package/parser/fixtures/verify/mockup-baseline-admin-list.html +0 -27
- package/parser/fixtures/verify/mockup-g6-content.html +0 -12
- package/parser/fixtures/verify/mockup-neutral.html +0 -26
- package/parser/fixtures/verify/mockup-nometa.html +0 -26
- package/parser/fixtures/verify/oracle.json +0 -37
- package/parser/fixtures/verify/snapshot-latest.json +0 -103
- package/parser/generator.js +0 -178
- package/parser/index.js +0 -2706
- package/parser/loader.js +0 -66
- package/parser/override.js +0 -119
- package/parser/regression.js +0 -301
- package/parser/validator.js +0 -206
- package/parser/watch.js +0 -103
- package/references/steps/maintenance.md +0 -31
- package/references/steps/regression.md +0 -49
- package/references/steps/step0-preflight.md +0 -58
- package/references/steps/step1-match.md +0 -67
- package/references/steps/step1b-audit.md +0 -23
- package/references/steps/step1c-registry.md +0 -29
- package/references/steps/step2-structure.md +0 -73
- package/references/steps/step3-style.md +0 -38
- package/references/steps/step3b-shell.md +0 -63
- package/references/steps/step3c-priority.md +0 -26
- package/references/steps/step4-l3.md +0 -14
- package/references/steps/step5-gates.md +0 -65
- package/references/steps/step6-verify.md +0 -77
- package/scripts/apply-final-gate.mjs +0 -170
- package/scripts/check.mjs +0 -207
- package/scripts/design-audit.mjs +0 -1707
- package/scripts/validate.mjs +0 -106
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "端到端示例 · 整页场景还原(对照效果图逐模块提取的完整交付样例,模拟设计技能真实产出)。G8 模式闸正例:mode=restore + scheme + oracle(含 mockup) + coverage(含 registry) 齐备,且通过 G9 身份闸(registry-sample.json 属 default×admin,与变更集一致)与 G10 dims 兑现闸(sample#1-4/sample#6 适用项的 dims 全部给出;sample#5 选择列为条件项、效果图未标注不适用)。覆盖率计数以登记表当场重算为准(applicable=5:4 条恒存在 + 1 条效果图命中)。覆盖:global 主题 + 壳层全模块 + 列表页全字段 + 表格细粒度点位(操作列形态/状态Tag/金额对齐/缩略图)+ pending 新点位。值口径演示:主题色用语义值(钴蓝-N/错误色)、尺寸用数值字面量(28px/40px 等,设计侧 v1.0 协议第 3 条合法通道)、灰阶用临时主题 hex + notes 申报。业务功能差异(新增运单按钮功能、demo 演示按钮去留)不在本变更集范围,走项目侧业务闭环开发(双层交付)。真实 186 条登记表(references/.../scenes/admin/restore-registry.json)见 M 步与项目侧实测;本夹具的 registry 指向 6 条回归夹具表,避免回归依赖跨技能实物。运行:node parser/index.js match <本文件>(cwd 为 skill 根)。",
|
|
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": {
|
|
11
|
-
"brand_primary": "钴蓝-5",
|
|
12
|
-
"sidebar_bg": "钴蓝-10"
|
|
13
|
-
},
|
|
14
|
-
"changes": [
|
|
15
|
-
{
|
|
16
|
-
"id": "admin.layout.sidebar",
|
|
17
|
-
"style": {
|
|
18
|
-
"bg": "钴蓝-10"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"id": "admin.layout.sidebar.logo_area",
|
|
23
|
-
"style": {
|
|
24
|
-
"bg": "钴蓝-10",
|
|
25
|
-
"title_color": "#FFFFFF"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"id": "admin.layout.sidebar.menu",
|
|
30
|
-
"style": {
|
|
31
|
-
"menu_bg": "钴蓝-10",
|
|
32
|
-
"menu_text": "钴蓝-2",
|
|
33
|
-
"menu_hover_bg": "钴蓝-8",
|
|
34
|
-
"menu_title_hover": "#FFFFFF",
|
|
35
|
-
"sub_menu_bg": "钴蓝-9",
|
|
36
|
-
"sub_menu_active_text": "#FFFFFF",
|
|
37
|
-
"menu_active_bg": "钴蓝-5",
|
|
38
|
-
"menu_active_indicator": "钴蓝-5"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"id": "admin.layout.header",
|
|
43
|
-
"style": {
|
|
44
|
-
"bg": "#FFFFFF"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"id": "admin.layout.header.lang_switch",
|
|
49
|
-
"form": "inline_switch",
|
|
50
|
-
"suppress": [
|
|
51
|
-
"icon_only",
|
|
52
|
-
"dropdown_popper"
|
|
53
|
-
],
|
|
54
|
-
"style": {
|
|
55
|
-
"icon_size": "16px",
|
|
56
|
-
"gap": "8px",
|
|
57
|
-
"text_font_size": "14px"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"id": "admin.layout.header.user_profile",
|
|
62
|
-
"style": {
|
|
63
|
-
"avatar_width": "28px",
|
|
64
|
-
"avatar_height": "28px",
|
|
65
|
-
"avatar_radius": "全圆角",
|
|
66
|
-
"name_font_size": "14px",
|
|
67
|
-
"name_font_weight": "中等"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"id": "admin.layout.tabs",
|
|
72
|
-
"form": "chrome",
|
|
73
|
-
"style": {
|
|
74
|
-
"bg": "#FFFFFF"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "admin.content.table.header_cell",
|
|
79
|
-
"style": {
|
|
80
|
-
"height": "48px",
|
|
81
|
-
"padding": "16px",
|
|
82
|
-
"bg": "#FAFAFA",
|
|
83
|
-
"font_weight": "中等",
|
|
84
|
-
"text_align": "左对齐",
|
|
85
|
-
"nowrap": "不换行"
|
|
86
|
-
},
|
|
87
|
-
"layer": {
|
|
88
|
-
"height": "host",
|
|
89
|
-
"padding": "host",
|
|
90
|
-
"bg": "host",
|
|
91
|
-
"font_weight": "host",
|
|
92
|
-
"text_align": "inner",
|
|
93
|
-
"nowrap": "inner"
|
|
94
|
-
},
|
|
95
|
-
"suppress_inner": true
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"id": "admin.content.table.cell",
|
|
99
|
-
"style": {
|
|
100
|
-
"padding": "16px",
|
|
101
|
-
"padding_y": "8px",
|
|
102
|
-
"vertical_align": "middle"
|
|
103
|
-
},
|
|
104
|
-
"layer": {
|
|
105
|
-
"padding": "host",
|
|
106
|
-
"padding_y": "inner",
|
|
107
|
-
"vertical_align": "inner"
|
|
108
|
-
},
|
|
109
|
-
"suppress_inner": true
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"id": "admin.content.table.cell_status",
|
|
113
|
-
"form": "filled",
|
|
114
|
-
"style": {
|
|
115
|
-
"bg": "#E8F3FF",
|
|
116
|
-
"text_color": "钴蓝-5",
|
|
117
|
-
"radius": "小圆角"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"id": "component.tag.status",
|
|
122
|
-
"form": "filled",
|
|
123
|
-
"style": {
|
|
124
|
-
"height": "24px",
|
|
125
|
-
"radius": "小圆角",
|
|
126
|
-
"bg_color": "#F6FFED"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"id": "admin.content.page_header",
|
|
131
|
-
"style": {
|
|
132
|
-
"title_size": "20px",
|
|
133
|
-
"title_weight": "加粗",
|
|
134
|
-
"desc_color": "钴蓝-3",
|
|
135
|
-
"actions_gap": "8px"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"id": "admin.content.filter_area",
|
|
140
|
-
"style": {
|
|
141
|
-
"radius": "小圆角",
|
|
142
|
-
"padding_y": "宽松",
|
|
143
|
-
"padding_x": "宽松",
|
|
144
|
-
"bg": "#FFFFFF",
|
|
145
|
-
"border_bottom": "1px solid #F0F0F0"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"id": "admin.content.table.operation_bar",
|
|
150
|
-
"style": {
|
|
151
|
-
"gap": "8px",
|
|
152
|
-
"padding_y": "紧凑"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"id": "admin.content.table.operation_column",
|
|
157
|
-
"form": "text_link",
|
|
158
|
-
"style": {
|
|
159
|
-
"link_color": "钴蓝-5",
|
|
160
|
-
"danger_color": "错误色",
|
|
161
|
-
"align": "center",
|
|
162
|
-
"divider_color": "#F0F0F0"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"id": "admin.content.table.area",
|
|
167
|
-
"style": {
|
|
168
|
-
"header_bg": "#FAFAFA",
|
|
169
|
-
"row_hover_bg": "#FAFAFA",
|
|
170
|
-
"radius": "小圆角"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"id": "admin.content.table.cell_amount",
|
|
175
|
-
"style": {
|
|
176
|
-
"align": "right",
|
|
177
|
-
"font_variant_numeric": "等宽数字"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"id": "admin.content.table.cell_thumb",
|
|
182
|
-
"style": {
|
|
183
|
-
"thumb_width": "40px",
|
|
184
|
-
"thumb_height": "40px",
|
|
185
|
-
"thumb_radius": "小圆角"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"id": "component.button.danger",
|
|
190
|
-
"style": {
|
|
191
|
-
"bg_color": "错误色",
|
|
192
|
-
"border_color": "错误色",
|
|
193
|
-
"text_color": "#FFFFFF"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"id": "admin.content.pagination",
|
|
198
|
-
"style": {
|
|
199
|
-
"active_bg": "钴蓝-5",
|
|
200
|
-
"active_color": "#FFFFFF"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
],
|
|
204
|
-
"oracle": {
|
|
205
|
-
"mockup": "verify/mockup-baseline-admin-list.html",
|
|
206
|
-
"sids": [
|
|
207
|
-
"admin.layout.sidebar",
|
|
208
|
-
"admin.layout.sidebar.logo_area",
|
|
209
|
-
"admin.layout.sidebar.menu",
|
|
210
|
-
"admin.layout.header",
|
|
211
|
-
"admin.layout.header.lang_switch",
|
|
212
|
-
"admin.layout.header.user_profile",
|
|
213
|
-
"admin.layout.tabs",
|
|
214
|
-
"admin.content.page_header",
|
|
215
|
-
"admin.content.filter_area",
|
|
216
|
-
"admin.content.table.operation_bar",
|
|
217
|
-
"admin.content.table.operation_column",
|
|
218
|
-
"admin.content.table.area",
|
|
219
|
-
"admin.content.table.header_cell",
|
|
220
|
-
"admin.content.table.cell",
|
|
221
|
-
"admin.content.table.cell_status",
|
|
222
|
-
"admin.content.table.cell_amount",
|
|
223
|
-
"admin.content.table.cell_thumb",
|
|
224
|
-
"component.tag.status",
|
|
225
|
-
"component.button.danger",
|
|
226
|
-
"admin.content.pagination"
|
|
227
|
-
]
|
|
228
|
-
},
|
|
229
|
-
"coverage": {
|
|
230
|
-
"registry": "parser/fixtures/registry-sample.json",
|
|
231
|
-
"registrable": 6,
|
|
232
|
-
"applicable": 5,
|
|
233
|
-
"covered": 5,
|
|
234
|
-
"gaps": []
|
|
235
|
-
},
|
|
236
|
-
"pending": [
|
|
237
|
-
{
|
|
238
|
-
"proposed_id": "admin.content.page_header.greeting",
|
|
239
|
-
"function": "页面标题下的说明副标题(一句话描述页面用途)",
|
|
240
|
-
"parent": "admin.content.page_header"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"proposed_id": "admin.content.table.cell_status_badge",
|
|
244
|
-
"function": "表格状态列的带图标状态胶囊(图标+文字+浅色底)",
|
|
245
|
-
"parent": "admin.content.table.area"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"proposed_id": "admin.content.table.cell_route_arrow",
|
|
249
|
-
"function": "表格线路列的起点到终点箭头展示(如 上海→北京)",
|
|
250
|
-
"parent": "admin.content.table.area"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"proposed_id": "admin.content.table.cell_link",
|
|
254
|
-
"function": "表格内可点击的链接文字单元(如运单号)",
|
|
255
|
-
"parent": "admin.content.table.area"
|
|
256
|
-
}
|
|
257
|
-
],
|
|
258
|
-
"notes": "整页场景还原样例(对照效果图逐模块提取)。效果图定制冲突项:侧栏底色用钴蓝-10(极深)而非模板默认 #001529,以用户效果图为准;顶栏保持白底。灰阶临时色申报:白 #FFFFFF、浅灰 #FAFAFA、边框灰 #F0F0F0 为中性色(不属任何主题梯度),按临时主题 hex 直写,全主题通用。页面存在业务结构改动(标题区按钮数量与功能、demo 演示内容去留),需项目侧双层交付:页面结构层走业务闭环开发重建,视觉语义层按本变更集落地。问候语(下午好,张伟)文案属业务层,本变更集只声明其载体形态与样式。"
|
|
259
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"changes": [
|
|
3
|
-
{
|
|
4
|
-
"id": "portal.content.banner.carousel",
|
|
5
|
-
"style": {
|
|
6
|
-
"bg": "#7C3AED"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"id": "admin.layout.header.user_profile",
|
|
11
|
-
"style": {
|
|
12
|
-
"avatar_radius": "全圆角",
|
|
13
|
-
"unknown_field": "应进字段级待补充"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"schema": "design.changeset/1.0",
|
|
18
|
-
"mode": "design",
|
|
19
|
-
"changeset_version": "1.0.0",
|
|
20
|
-
"mapping_version": "1.0.0",
|
|
21
|
-
"scene": "admin",
|
|
22
|
-
"$comment": "match 缺口阻断负例:含词典未登记点位(L3)与字段级未命中维度——缺口清单非空必须 exit 1(缺口只有补齐或回流两种合法出口)。",
|
|
23
|
-
"notes": "负例用途:模拟「词典能力缺口被静默放行」的失效模式。"
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "端到端验证夹具 · 旧协议兼容:v0.2 曾用的顶层 layout 键(应触发告警但按值处理)+ 历史值 schema design-changeset/v1(应告警不阻断)。预期 exit 0 + 两条 ⚠ 告警。",
|
|
3
|
-
"schema": "design-changeset/v1",
|
|
4
|
-
"changeset_version": "0.2.0",
|
|
5
|
-
"mapping_version": "1.0.0",
|
|
6
|
-
"scene": "admin",
|
|
7
|
-
"layout": "mix",
|
|
8
|
-
"changes": [
|
|
9
|
-
{ "id": "admin.layout.tabs", "style": { "card_radius": "小圆角" } }
|
|
10
|
-
]
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "端到端验证夹具 · 负例 2:mapping_version 不匹配。预期被 parser 拒绝(exit 1,提示当前映射集版本与依赖版本不一致)。",
|
|
3
|
-
"schema": "design.changeset/1.0",
|
|
4
|
-
"changeset_version": "1.0.0",
|
|
5
|
-
"mapping_version": "9.9.9",
|
|
6
|
-
"scene": "admin",
|
|
7
|
-
"changes": [
|
|
8
|
-
{ "id": "admin.layout.tabs", "form": "card" }
|
|
9
|
-
]
|
|
10
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "端到端验证夹具 · 负例 3:禁词/非法 ID/位置违规(schema 与版本均合法,专测 checkBannedWords)。预期被阻断并列出:position 含 .sidebar 选择器写法与像素坐标、id 含 ElMenu 技术词与大写、id 不符合命名规范。",
|
|
3
|
-
"schema": "design.changeset/1.0",
|
|
4
|
-
"changeset_version": "1.0.0",
|
|
5
|
-
"mapping_version": "1.0.0",
|
|
6
|
-
"scene": "admin",
|
|
7
|
-
"changes": [
|
|
8
|
-
{
|
|
9
|
-
"id": "admin.layout.sidebar.menu",
|
|
10
|
-
"position": "left 20px .sidebar-container",
|
|
11
|
-
"style": { "menu_bg": "#1d223a" }
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"id": "admin.content.sidebar.ElMenu",
|
|
15
|
-
"style": { "bg": "红色" }
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"id": "admin.layout.tabs.item.v2.extra",
|
|
19
|
-
"style": { "padding_x": "宽松" }
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "G8 模式闸负例:mode=restore 但缺 oracle 与 coverage(伪还原变更集机检复现件)。预期:match 打印「G8 模式闸」并 exit 1。与 changeset-pos.json 的区别仅此——mode=restore 却没带基线三件套。",
|
|
3
|
-
"schema": "design.changeset/1.0",
|
|
4
|
-
"changeset_version": "1.0.0",
|
|
5
|
-
"mapping_version": "1.0.0",
|
|
6
|
-
"scene": "admin",
|
|
7
|
-
"mode": "restore",
|
|
8
|
-
"layout_type": "vertical",
|
|
9
|
-
"global": { "brand_primary": "钴蓝-5" },
|
|
10
|
-
"changes": [
|
|
11
|
-
{ "id": "admin.layout.sidebar.menu", "style": { "menu_bg": "钴蓝-9", "menu_active_bg": "钴蓝-5" } },
|
|
12
|
-
{ "id": "component.button.primary", "style": { "bg_color": "钴蓝-5" } }
|
|
13
|
-
],
|
|
14
|
-
"notes": "伪还原变更集:只换主题色就宣称场景还原——没有 oracle 验收基线(还原度不可证明)、没有 coverage 登记表记账(组内子项静默丢失不可数)。G8 之前这类变更集只收软提示、一路绿灯,落地后用户看到「只变了主题、布局细节零变化」。"
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "G8 强化负例(二轮):mode=restore,scheme/oracle/coverage 三个对象都在,但 oracle.mockup 与 coverage.registry 为空串 —— 「有壳无芯」的伪基线:验收抽不出效果图、覆盖率无法以登记表重算。预期:match 打印「G8 模式闸」并 exit 1。与 changeset-fullpage-restore.json 的区别仅在此三处。",
|
|
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
|
-
{ "id": "admin.layout.sidebar.menu", "style": { "menu_bg": "钴蓝-9", "menu_active_bg": "钴蓝-5" } }
|
|
13
|
-
],
|
|
14
|
-
"oracle": {
|
|
15
|
-
"mockup": "",
|
|
16
|
-
"sids": ["admin.layout.sidebar.menu"]
|
|
17
|
-
},
|
|
18
|
-
"coverage": {
|
|
19
|
-
"registry": "",
|
|
20
|
-
"registrable": 186,
|
|
21
|
-
"applicable": 4,
|
|
22
|
-
"covered": 4,
|
|
23
|
-
"gaps": []
|
|
24
|
-
},
|
|
25
|
-
"notes": "空壳伪基线:oracle/coverage 对象齐全但 mockup 与 registry 为空。过去只校验『对象是否存在』,这类写法能一路绿灯——效果图无从抽取、A/C 无从重算,『完备性可数』形同虚设。G8 强化后予拦截。"
|
|
26
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "G10 dims 兑现闸负例:mode=restore、基线三件套齐备、登记表身份一致(过 G8/G9),但 admin.content.table.header_cell 的 ID 已声明却缺 nowrap / text_align 维度(表头竖排 = nowrap 丢失的机检复现件)——「点位在、细节丢」正是样式细节不还原的机制成因。历史缺口:兑现只数 ID 出现,漏给关键维度也算已兑现。预期:match 打印「G10」与「缺 dims=」并 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": "中等" },
|
|
15
|
-
"layer": { "height": "host", "padding": "host", "font_weight": "host" },
|
|
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": "#E8F3FF" }
|
|
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": "本夹具用于回归 G10 dims 闸,不是真实设计交付件。与 H 正例的差集只有一处:header_cell 少了 text_align / nowrap 两个维度(及其 layer)——ID 级覆盖率 100%,但表头竖排(nowrap 丢失)这类「点位在、细节丢」症状在旧口径下一路绿灯。G10 生效后 dims 缺口与欠声明同级阻断。所有条目均带 suppress_inner 硬闸所需声明、tag.status 的 bg_color 维度齐备,保证唯一拦截点 = G10。"
|
|
57
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
}
|