@qilitt-mickey/vue3-temp-skill 1.1.71 → 1.1.74
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/SKILL.md +137 -136
- package/bin/cli.js +1 -1
- package/dist/theme-vars.js +1 -1
- package/dist/theme.css +1 -1
- package/mapping/basic/color.json +35 -35
- package/mapping/basic/radius.json +17 -17
- package/mapping/basic/semantic-values.json +72 -72
- package/mapping/basic/spacing.json +21 -21
- package/mapping/basic/typography.json +21 -21
- package/mapping/component/button.json +90 -90
- package/mapping/component/card.json +31 -31
- package/mapping/component/input.json +42 -42
- package/mapping/component/overlay.json +79 -79
- package/mapping/component/pagination.json +34 -34
- package/mapping/component/table.json +42 -42
- package/mapping/component/tag.json +48 -48
- package/mapping/layout/breakpoint.json +20 -20
- package/mapping/layout/shell-geometry.json +26 -26
- package/mapping/scenes/admin/content.json +494 -494
- package/mapping/scenes/admin/layout.json +574 -574
- 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-legacy.json +11 -11
- package/parser/fixtures/changeset-neg1.json +8 -8
- package/parser/fixtures/changeset-neg2.json +10 -10
- package/parser/fixtures/changeset-neg3.json +22 -22
- package/parser/fixtures/changeset-neg4-g8.json +15 -15
- package/parser/fixtures/changeset-neg5-g8-stub.json +26 -26
- package/parser/fixtures/changeset-neg6-g9-identity.json +39 -39
- package/parser/fixtures/changeset-neg7-g10-dims.json +57 -57
- package/parser/fixtures/changeset-neg8-g11-oracle.json +57 -57
- package/parser/fixtures/changeset-pos-theme-neutral.json +264 -264
- package/parser/fixtures/changeset-pos-theme-nometa.json +260 -260
- package/parser/fixtures/changeset-pos.json +50 -43
- package/parser/fixtures/changeset-registry-gap.json +29 -29
- package/parser/fixtures/changeset-v32-fields.json +71 -63
- package/parser/fixtures/fake-project/src/styles/app.scss +5 -5
- package/parser/fixtures/fake-project/src/views/list.vue +13 -13
- package/parser/fixtures/registry-bad.json +11 -11
- package/parser/fixtures/registry-sample.json +15 -15
- package/parser/fixtures/verify/actual-clean.json +35 -35
- package/parser/fixtures/verify/actual.json +33 -33
- package/parser/fixtures/verify/mockup-baseline-admin-list.html +27 -0
- package/parser/fixtures/verify/mockup-neutral.html +26 -26
- package/parser/fixtures/verify/mockup-nometa.html +26 -26
- package/parser/fixtures/verify/oracle.json +37 -37
- package/parser/fixtures/verify/snapshot-latest.json +102 -102
- package/parser/generator.js +178 -178
- package/parser/index.js +2675 -2605
- package/parser/loader.js +66 -66
- package/parser/override.js +119 -119
- package/parser/regression.js +301 -293
- package/parser/validator.js +206 -206
- package/parser/watch.js +103 -103
- package/references/auth-pages.md +217 -217
- package/references/base-code-dict.md +56 -56
- package/references/code-quality.md +3 -2
- package/references/data-compare.md +509 -509
- package/references/data-writeback.md +124 -124
- package/references/design-apply.md +167 -167
- package/references/detail-page.md +119 -119
- package/references/download-export.md +97 -97
- package/references/feedback-loading.md +104 -104
- package/references/feedback-ui.md +134 -134
- package/references/i18n-localization.md +230 -230
- package/references/project-inventory.md +438 -438
- package/references/rich-text.md +94 -94
- package/references/seamless-scroll.md +47 -47
- package/references/steps/maintenance.md +31 -31
- package/references/steps/regression.md +49 -49
- package/references/steps/step0-preflight.md +58 -58
- package/references/steps/step1-match.md +64 -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 +33 -33
- package/references/steps/step3b-shell.md +61 -61
- package/references/steps/step3c-priority.md +26 -26
- package/references/steps/step4-l3.md +14 -14
- package/references/steps/step5-gates.md +63 -63
- package/references/steps/step6-verify.md +77 -77
- package/references/verify-captcha.md +119 -119
- package/scripts/apply-final-gate.mjs +170 -170
- package/scripts/check.mjs +38 -5
- package/scripts/design-audit.mjs +1502 -1498
package/package.json
CHANGED
|
@@ -1,138 +1,259 @@
|
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
{
|
|
61
|
-
"id": "admin.
|
|
62
|
-
"style": {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"admin.content.table.
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 +1,11 @@
|
|
|
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
|
+
{
|
|
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,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "端到端验证夹具 · 负例 1:缺 schema。预期在第一步协议校验即被拒绝(exit 1)。",
|
|
3
|
-
"changeset_version": "1.0.0",
|
|
4
|
-
"scene": "admin",
|
|
5
|
-
"changes": [
|
|
6
|
-
{ "id": "admin.layout.tabs", "form": "card" }
|
|
7
|
-
]
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$comment": "端到端验证夹具 · 负例 1:缺 schema。预期在第一步协议校验即被拒绝(exit 1)。",
|
|
3
|
+
"changeset_version": "1.0.0",
|
|
4
|
+
"scene": "admin",
|
|
5
|
+
"changes": [
|
|
6
|
+
{ "id": "admin.layout.tabs", "form": "card" }
|
|
7
|
+
]
|
|
8
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
+
{
|
|
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 +1,22 @@
|
|
|
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
|
+
{
|
|
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 +1,15 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "G8 模式闸负例:mode=restore 但缺 oracle 与 coverage
|
|
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
|
+
{
|
|
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 +1,26 @@
|
|
|
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
|
+
{
|
|
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
|
+
}
|