@guanlin4924/devflow-pi 0.1.86 → 0.1.89

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.
Files changed (46) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
  3. package/plugins/devflow-core/extensions/devflow-core.ts +199 -9
  4. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/acceptance_test_runner.py +15 -0
  5. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/advance_state.rb +49 -3
  6. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/checker_adapter.rb +83 -0
  7. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/checker_registry.rb +19 -0
  8. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/checkpoint_meta.rb +46 -0
  9. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/execution_contract.rb +27 -2
  10. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/gate_runtime.rb +32 -0
  11. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_state.rb +44 -41
  12. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_workflow.rb +5 -4
  13. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/inspect_state.rb +15 -4
  14. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/machine_evidence.rb +15 -9
  15. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/review_preflight.py +238 -0
  16. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/review_run.py +234 -32
  17. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/validate_state.rb +63 -11
  18. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/workflow_gate_contract.rb +5 -1
  19. package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +40 -31
  20. package/plugins/devflow-core/skills/workflow-pipeline/SKILL.md +11 -5
  21. package/plugins/devflow-core/skills/workflow-pipeline/references/pipeline-flow.md +6 -6
  22. package/plugins/devflow-implementation/skills/workflow-change-plan/SKILL.md +16 -1
  23. package/plugins/devflow-implementation/skills/workflow-change-plan/references/output-template.md +3 -1
  24. package/plugins/devflow-quality/agents/code-reviewer.md +7 -1
  25. package/plugins/devflow-quality/skills/code-review/SKILL.md +10 -0
  26. package/plugins/devflow-quality/skills/workflow-gen-test-guide/SKILL.md +37 -0
  27. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/SKILL.md +327 -0
  28. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/assets/output-template.md +213 -0
  29. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/bug-rules.md +9 -0
  30. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/coverage-checklist.md +63 -0
  31. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/exception-checklist.md +37 -0
  32. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/api-test.md +58 -0
  33. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/boundary-test.md +151 -0
  34. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/common-test.md +49 -0
  35. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/compatibility-test.md +105 -0
  36. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/data-test.md +67 -0
  37. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/exception-test.md +109 -0
  38. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/function-test.md +65 -0
  39. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/integration-test.md +36 -0
  40. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/performance-test.md +100 -0
  41. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/scenario-test.md +63 -0
  42. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/security-test.md +55 -0
  43. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/ui-test.md +49 -0
  44. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/test-type-slots/usability-test.md +46 -0
  45. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/references/writing-guide.md +111 -0
  46. package/src/constants.ts +1 -1
@@ -0,0 +1,100 @@
1
+ # Performance Test Slot
2
+
3
+ ## Applies When
4
+
5
+ Expanding nodes that involve:
6
+ - Time-bound completion requirements (e.g. "1日8:00前完成所有渠道回刷")
7
+ - Large data volume processing (e.g. "千万级订单回刷")
8
+ - Concurrent operations (e.g. "多人同时操作白名单")
9
+ - Export with large datasets (e.g. "客户明细导出")
10
+ - Batch job stability under load
11
+
12
+ Performance test cases belong in **03-专项类/性能测试**.
13
+
14
+ ## Generation Rules
15
+
16
+ ### Rule 1: For every "时间窗口" / "截止时间" node — generate time-bound performance cases
17
+
18
+ ```
19
+ Pattern: 每月1日8:00前完成所有渠道回刷
20
+ → Test case: "正常数据量8:00前完成回刷测试"
21
+ 前置条件: 正常月度量级订单数据
22
+ 步骤: 1.触发1日回刷任务 2.记录完成时间
23
+ 预期: 所有渠道在8:00前完成
24
+
25
+ → Test case: "大数据量8:00前完成回刷测试"
26
+ 前置条件: 上月订单量达到峰值(如千万级)
27
+ 步骤: 1.触发1日回刷任务 2.记录完成时间
28
+ 预期: 所有渠道在8:00前完成; 无超时
29
+
30
+ → Test case: "临近8:00时回刷完成告警测试"
31
+ 前置条件: 回刷完成时间接近8:00
32
+ 步骤: 1.观察监控
33
+ 预期: 接近8:00时触发告警
34
+ ```
35
+
36
+ ### Rule 2: For every "大数据量" / "导出" node — generate volume performance cases
37
+
38
+ ```
39
+ Pattern: 客户明细导出 (可能大数据量)
40
+ → Test case: "千级数据导出响应时间测试"
41
+ 前置条件: 筛选条件下约1000条数据
42
+ 步骤: 1.点击导出 2.计时
43
+ 预期: 导出在可接受时间内完成 (如 < 30s)
44
+
45
+ → Test case: "万级以上数据导出异步处理测试"
46
+ 前置条件: 筛选条件下超过同步阈值
47
+ 步骤: 1.点击导出 2.观察处理方式
48
+ 预期: 触发异步导出; 不阻塞页面; 完成后通知用户
49
+
50
+ → Test case: "导出数据量超阈值时页面不阻塞测试"
51
+ 前置条件: 大数据量导出请求
52
+ 步骤: 1.点击导出 2.在导出期间继续操作页面
53
+ 预期: 页面可正常操作; 导出在后台进行
54
+ ```
55
+
56
+ ### Rule 3: For every "批量任务" / "job" node — generate stability cases
57
+
58
+ ```
59
+ Pattern: 月度回刷批量任务
60
+ → Test case: "回刷任务执行期间订单量激增测试"
61
+ 前置条件: 回刷任务正在执行, 新订单持续进入
62
+ 步骤: 1.触发回刷 2.同时产生新订单
63
+ 预期: 回刷正常完成; 新订单不受影响; 数据无错乱
64
+
65
+ → Test case: "回刷任务异常中断恢复测试"
66
+ 前置条件: 回刷任务执行到50%时服务重启
67
+ 步骤: 1.重启服务 2.观察任务恢复
68
+ 预期: 任务自动恢复; 已回刷数据不重复; 未回刷数据继续处理
69
+ ```
70
+
71
+ ### Rule 4: For every "并发" / "多人" node — generate concurrency performance cases
72
+
73
+ ```
74
+ Pattern: 多人同时操作白名单
75
+ → Test case: "10人同时查询白名单列表响应时间测试"
76
+ 前置条件: 10个账号同时查询
77
+ 步骤: 1.同时发起查询 2.记录每个响应时间
78
+ 预期: 所有查询在可接受时间内返回; 无超时
79
+
80
+ → Test case: "多人同时新增白名单并发测试"
81
+ 前置条件: 5人同时点击新增不同客户
82
+ 步骤: 1.同时提交 2.查看结果
83
+ 预期: 所有新增成功; 无数据冲突
84
+ ```
85
+
86
+ ## Required Fields
87
+
88
+ - **前置条件**: data volume, concurrency level, time constraint
89
+ - **测试步骤**: set up load condition → trigger operation → measure outcome
90
+ - **预期结果**: completion time within window; page not blocked; no data corruption under load
91
+
92
+ ## Quality Checklist
93
+
94
+ - [ ] Time-bound operations: measured completion time within deadline
95
+ - [ ] Large data exports: async fallback beyond threshold
96
+ - [ ] Batch jobs: stability under peak load
97
+ - [ ] Concurrent operations: response time within acceptable range
98
+ - [ ] No data corruption under concurrent writes
99
+ - [ ] Recovery after interruption: no duplicate processing
100
+ - [ ] Performance thresholds are concrete (not "足够快" but "< 30s" or "8:00前")
@@ -0,0 +1,63 @@
1
+ # Scenario Test Slot(流程类检查点)
2
+
3
+ ## Applies When
4
+
5
+ Expanding nodes that involve:
6
+ - End-to-end business flow (from entry to terminal state)
7
+ - Multi-step user operation sequences
8
+ - Role-based workflow (e.g. 新增 → 审批 → 生效)
9
+ - Cross-page or cross-module user journeys
10
+
11
+ 流程类检查点挂在 **正常场景** / **异常场景** / **跨模块场景测试** 文件夹下。
12
+
13
+ ## 展开规则(关键变化)
14
+
15
+ **流程要拆成"场景节点 + 每个状态流转/关键动作一个叶子",不把整条流程当一个叶子。**
16
+
17
+ 旧形态(废弃):一条端到端流程 → 一个"xxx完整流程测试"用例(带步骤1.2.3.4.5)。
18
+ 新形态:一条端到端流程 → 一个场景节点,其下每个状态流转/关键动作是独立叶子。
19
+
20
+ ### Rule 1: 端到端流程 → 状态流转节点 + 每状态一叶
21
+
22
+ ```
23
+ Pattern: 白名单从新增到生效
24
+ → 不生成"白名单新增到生效完整流程测试"一个叶子
25
+ → 而是:
26
+ - 白名单状态流转
27
+ - 创建白名单后状态为"待审核"
28
+ - 审核通过后状态变为"生效中"
29
+ - 生效时间记录为审核通过时刻
30
+ - 待审核状态可被创建人撤回
31
+ ```
32
+
33
+ ### Rule 2: 角色流程 → 角色场景节点 + 每角色一叶
34
+
35
+ ```
36
+ Pattern: 不同角色登录 → 不同落地页
37
+ → 不是 3 个独立"xxx登录测试"叶子
38
+ → 而是:
39
+ - 角色登录落地页
40
+ - 超管登录后默认进入首页
41
+ - 投手登录后默认进入本地生活推广
42
+ - 角色无法识别时按非超管处理
43
+ ```
44
+
45
+ ### Rule 3: 多步表单 → 拆成保存/校验/生效各叶
46
+
47
+ ```
48
+ Pattern: 阶梯配置编辑 → 保存 → 次月生效
49
+ → 不是"阶梯配置编辑保存完整流程测试"一个叶子
50
+ → 而是:
51
+ - 阶梯配置编辑保存
52
+ - 点击保存后配置变更历史新增一条记录
53
+ - 当月阶梯判定不受本次编辑影响
54
+ - 次月1日起按新配置判定阶梯
55
+ ```
56
+
57
+ ## Quality Checklist
58
+
59
+ - [ ] 端到端流程已拆成状态流转节点,不是整条一个叶子
60
+ - [ ] 每个中间状态有对应叶子
61
+ - [ ] 每个角色有对应场景节点
62
+ - [ ] 多步操作的每个关键动作(保存/校验/生效/回调)有独立叶子
63
+ - [ ] 跨页跳转的目标页和参数有叶子验证
@@ -0,0 +1,55 @@
1
+ # Security Test Slot
2
+
3
+ ## Applies When
4
+
5
+ Expanding nodes involving:
6
+ - Permission control (page-level, operation-level)
7
+ - Data isolation (sensitive data visible only to authorized roles)
8
+ - Audit logging
9
+ - Reviewer constraints (e.g., reviewer != applicant)
10
+ - Frontend + backend double validation
11
+
12
+ ## Required Fields
13
+
14
+ - **前置条件**: role + permission configuration; specify which role has which permissions
15
+ - **测试步骤**: perform operation as different roles + attempt to bypass frontend
16
+ - **预期结果**: unauthorized access returns permission denied at API level
17
+
18
+ ## Common Patterns
19
+
20
+ Page-level permission:
21
+ ```
22
+ - 功能: 无权限菜单不显示
23
+ ```
24
+ → Test case: "无权限菜单不显示测试"
25
+ → Test case: "无权限直接访问URL被拦截测试"
26
+
27
+ Operation-level permission:
28
+ ```
29
+ - 功能: 无权限时操作按钮不显示
30
+ ```
31
+ → Test case: "无权限操作按钮不显示测试"
32
+ → Test case: "绕过前端直接调用接口返回无权限测试"
33
+
34
+ Reviewer constraint:
35
+ ```
36
+ - 逻辑: 审核人与申请人不允许同一人
37
+ ```
38
+ → Test case: "审核人与申请人相同时审核阻断测试"
39
+ - Must verify: both frontend hint AND backend rejection
40
+
41
+ Audit log completeness:
42
+ ```
43
+ - 功能: 日志覆盖新增、审核、修改、删除
44
+ ```
45
+ → Test case: "审计日志全操作覆盖测试"
46
+ - Verify each operation type has a corresponding log entry
47
+
48
+ ## Quality Checklist
49
+
50
+ - [ ] Page-level permission: unauthorized menu hidden, direct URL access blocked
51
+ - [ ] Operation-level permission: button not displayed + API-layer validation
52
+ - [ ] Reviewer cannot be the same person as applicant
53
+ - [ ] Audit log covers all operation types: create, approve, reject, modify, delete
54
+ - [ ] Audit log is read-only (cannot be edited or deleted)
55
+ - [ ] Sensitive data is not exposed to unauthorized roles
@@ -0,0 +1,49 @@
1
+ # UI Test Slot
2
+
3
+ ## Applies When
4
+
5
+ Expanding nodes from feature-breakdown:
6
+ - `- 样式` entries
7
+ - `- 样式验证` entries
8
+ - Any leaf describing visual presentation, position, text, component type, placeholder, format
9
+
10
+ ## Required Fields
11
+
12
+ - **前置条件**: specify which page / area / role
13
+ - **测试步骤**: observe → compare → verify
14
+ - **预期结果**: precise to exact text, position ("页面头部右侧"), component type ("文本输入框"), placeholder content ("请输入订单编号")
15
+
16
+ ## Common Patterns
17
+
18
+ Button style:
19
+ ```
20
+ - 样式: 按钮文案显示为"新增", 位于页面头部右侧, 主色调按钮
21
+ ```
22
+ → Test case: "按钮文案显示为新增测试"
23
+
24
+ Input style:
25
+ ```
26
+ - 样式: 字段标签显示为"订单编号", 输入框为文本类型, 占位符显示"请输入订单编号"
27
+ ```
28
+ → Test case: "订单编号输入框样式展示测试"
29
+
30
+ Table column style:
31
+ ```
32
+ - 样式: 展示订单编号文本, 支持复制; 为空时显示"暂无"
33
+ ```
34
+ → Test case: "订单编号列展示测试" + "订单编号为空时展示暂无测试"
35
+
36
+ Dialog style:
37
+ ```
38
+ - 样式: 弹窗标题显示为"订单详情", 居中展示
39
+ ```
40
+ → Test case: "订单详情弹窗标题展示测试"
41
+
42
+ ## Quality Checklist
43
+
44
+ - [ ] Empty state / 0-value / no-data display is covered
45
+ - [ ] Component type (input / dropdown / button / dialog) is explicitly stated
46
+ - [ ] Text matches original requirement
47
+ - [ ] Position description is specific (not "somewhere on the page")
48
+ - [ ] Date/number format is specified when applicable
49
+ - [ ] Long text truncation behavior is covered when applicable
@@ -0,0 +1,46 @@
1
+ # Usability Test Slot
2
+
3
+ ## Applies When
4
+
5
+ Expanding nodes involving:
6
+ - Duplicate submit prevention (button disabled during request)
7
+ - User-friendly error messages
8
+ - Operation guidance
9
+ - Exposure tracking (buried points)
10
+
11
+ ## Required Fields
12
+
13
+ - **前置条件**: operation context (form, button, page)
14
+ - **测试步骤**: perform action → observe feedback
15
+ - **预期结果**: clear, actionable feedback to user
16
+
17
+ ## Common Patterns
18
+
19
+ Duplicate submit prevention:
20
+ ```
21
+ - 功能: 提交中按钮置灰, 防止重复提交
22
+ ```
23
+ → Test case: "提交中按钮置灰防重复提交测试"
24
+ - Click submit → immediately click again → second click has no effect
25
+
26
+ Error message friendliness:
27
+ ```
28
+ - 功能: 接口异常时提示错误信息
29
+ ```
30
+ → Test case: "接口异常时错误提示友好性测试"
31
+ - Error message is in Chinese, actionable, not a raw stack trace
32
+
33
+ Buried point:
34
+ ```
35
+ - 功能: 进入首页时上报消息曝光埋点
36
+ ```
37
+ → Test case: "首页消息曝光埋点上报测试"
38
+
39
+ ## Quality Checklist
40
+
41
+ - [ ] Submit button disabled during request (no double submit)
42
+ - [ ] Error messages are user-friendly and actionable (not raw error codes)
43
+ - [ ] Error messages persist and don't disappear before user reads them
44
+ - [ ] Loading states are shown for async operations
45
+ - [ ] Buried points are reported (if applicable)
46
+ - [ ] Operation steps are minimal (no unnecessary confirmations)
@@ -0,0 +1,111 @@
1
+ # 检查点撰写规范
2
+
3
+ 本规范约束检查点树中每个**叶子检查点**的撰写。检查点树的目标是:每个可测点展平成独立叶子,一眼可见、可勾、可数——**不把检查点埋进"用例.预期结果"的字段块里**。
4
+
5
+ ## 核心原则
6
+
7
+ - **一个叶子只测一个目的**:不把多个检查点塞进一句话。不写"字段渲染正确且必填标注且输入框为空"——拆成 3 个叶子。
8
+ - **动词起头,描述可观察的行为或结果**:如"输入0或负数时提交阻断并提示"、"未上传主图时保存阻断"、"无权限时操作按钮不显示"。
9
+ - **可观察、可验证**:避免"大概"、"可能"、"或"、"应该"等模糊词;预期要能量化或直接判定(状态值/文案/跳转/阻断/数据变化)。
10
+ - **不合并边界值**:边界值校验文件夹下,每个边界(0/负数/极小值/极大值/精度位)是独立叶子,**界外/界内/界上不合并**。
11
+ - **正反对比成对**:开关、启用/禁用、匹配/不匹配等,正反各一个叶子。
12
+
13
+ ## 叶子检查点格式
14
+
15
+ 叶子是树的最末端,**只写一句话,不带任何字段块**(无 优先级/关联/前置/步骤/预期):
16
+
17
+ ```
18
+ - 输入0或负数时提交阻断并提示
19
+ - 未上传主图时保存阻断并提示必填
20
+ - 无权限时操作按钮不显示
21
+ - 概率总和为99%时保存阻断,提示"中奖概率总和必须为100%"
22
+ ```
23
+
24
+ ## FP 编号挂法
25
+
26
+ **FP 编号不进任何节点标题**。节点标题一律纯语义名(同样不带章节号 1.1/2.1)。FP 编号只在文末「覆盖核对」表里做追溯映射:
27
+
28
+ ```
29
+ - 参与模式配置 ← 纯语义名,不带(FP-001)
30
+ - "参与模式"为下拉单选框,标注必填
31
+ - 枚举值为["现金支付模式","闲鱼模式"]
32
+ - 选择"现金支付模式"后展示单抽价格/连抽次数/连抽价格/主图/排序配置项
33
+ ```
34
+
35
+ 覆盖核对表里再写 `FP-001 参与模式 | 是 | 后台/配置页` 做追溯。
36
+
37
+ ## 状态/维度深拆规范(决定树深度,宁可深不要扁)
38
+
39
+ **组件下有 ≥2 个状态/维度时,必须先建四级「状态/维度分叉」节点,再挂叶——禁止组件下直接平铺叶子。** 目标 5-7 层、平均 6+。
40
+
41
+ ### 状态轴(按业务状态拆分叉)
42
+
43
+ 组件有多个业务状态时,每个状态一个分叉节点:
44
+
45
+ ```
46
+ - 日期状态
47
+ - 今日未签
48
+ - 今日日期高亮
49
+ - 展示+X星辉预估
50
+ - 今日已签
51
+ - 显示打勾图标
52
+ - 展示已获得星辉数
53
+ - 历史已签
54
+ - 点击无反应
55
+ - 历史未签
56
+ - 置灰+打叉标记"未签"
57
+ - 未来日期
58
+ - 浅灰空状态
59
+ - 不可点击
60
+ ```
61
+
62
+ 常见状态轴:未签/已签、新增/编辑/查看、开关开/关、成功/失败、未支付/已支付/已退款。
63
+
64
+ ### 维度轴(按测试维度拆分叉)
65
+
66
+ 同一组件的不同测试角度,每个角度一个分叉节点:
67
+
68
+ ```
69
+ - 储蓄罐气泡
70
+ - 交互
71
+ - 气泡正常展示
72
+ - 点击气泡拉起签到日历
73
+ - 逻辑调整
74
+ - 点击气泡不进行签到
75
+ - 星辉余额未变化
76
+ - 未产生星辉流水
77
+ - 不产生签到记录
78
+ ```
79
+
80
+ 常见维度轴:交互/逻辑调整/展示、数值核算/展示内容、入口/权限、正常场景/异常场景、配置/校验/保存。
81
+
82
+ ### 深拆原则
83
+
84
+ - **宁可深不要扁**:有自然轴就拆,哪怕分叉下只有 1 个叶子(为可折叠与可读性)。
85
+ - **条件节点可作五级**:状态/维度分叉下可再挂"条件"节点(如`逻辑调整 → 点击气泡不进行签到 → [叶子]`),让相关叶子聚到同一子树。
86
+ - **不合并分叉**:未签/已签、今日/历史/未来各自独立分叉,不合成"各种状态"一个节点。
87
+
88
+ ## 不做的事(与旧用例形态的边界)
89
+
90
+ - ❌ 不写"测试用例"容器(无 标题+字段块 的用例形态)
91
+ - ❌ 不用 01-06 测试分类编号(改用**测试视角分层**组织,见 output-template)
92
+ - ❌ 不合并边界值/相近操作(每个可测点独立成叶)
93
+ - ❌ 不在叶子里塞前置条件/测试步骤(那些是上下文,不是叶子内容)
94
+
95
+ ## 测试视角归类清单(叶子归到哪个测试视角层)
96
+
97
+ 叶子按**主要测试角度**归位到一级测试视角层(不重复,见 SKILL Phase 3.6 跨切层归位规则)。原"语义文件夹"概念已并入测试视角层:
98
+
99
+ | 原语义文件夹 | 归到哪个测试视角层 |
100
+ |-------------|------------------|
101
+ | 表单与配置 / 字段验证 / 奖品校验 / UI展示 / 功能验证 | **前台** 或 **后台**(按用户/运营区分) |
102
+ | 正常场景 / 异常场景(UI 交互层异常) | **前台**(用户可感知的交互异常) |
103
+ | 边界值校验(数值/时间/容量/精度边界) | **边界场景** |
104
+ | 异常场景(接口超时/系统层) | **边界场景**(时间/数据边界)或 **服务与数据** |
105
+ | 历史兼容(旧新共存/迁移/切换) | **边界场景** |
106
+ | 数据准确性(计算/统计/一致性) | **服务与数据** |
107
+ | 权限测试 / 安全 | **服务与数据**(或 **后台** 的权限矩阵) |
108
+ | 性能 | **服务与数据** |
109
+ | 模块关联 / 跨模块联动 | 归到主要涉及的层,**风险覆盖** 做索引 |
110
+
111
+ > 测试视角层固定 8 分支(前台/后台/服务与数据/边界场景/风险覆盖/待确认/埋点/缺少内容),空的省略。每个组件下再按状态/维度拆四级分叉(见上文「状态/维度深拆规范」)。
package/src/constants.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export const PRODUCT_NAME = "Devflow Pi";
2
- export const PRODUCT_VERSION = "0.1.86";
2
+ export const PRODUCT_VERSION = "0.1.89";
3
3
  export const PROJECT_SCHEMA_VERSION = 1;
4
4
  export const OMP_RUNTIME_VERSION = "17.2.7";
5
5