ssw
8762cd0121
BS-新147/153/154: workflow launch 镜像 web getFlowBeforeList + shim 补全
铁律 3 严格镜像 (P0 修复): 删自创 getFlowTaskOperatorList, 改 _loader.ts 镜像
web/api/workFlow/task.ts:71-73 getFlowBeforeList (0 漂移, web 升级时自动同步).
新增:
- src/webapi/operator.ts: loadOperator proxy 镜像 web task.ts (单进程缓存)
- src/webapi/_vben_stores_shim.ts: Pinia useUserStore stub (task.ts:3 import)
- src/webapi/_jnpf_utils_shim.ts: buildUUID + AesEncryption + buildBitUUID (task.ts:1 import)
- src/webapi/_loader.ts step 5.6: @vben/stores shim 规则
- src/webapi/_loader.ts step 4 改: @jnpf/utils → _jnpf_utils_shim
- tests/unit/webapi_operator.test.ts: 6 vitest (initWebapi + getFlowBeforeList 转发 + 边界)
- tests/unit/workflow_launch_regression.test.ts: 7 vitest (L1 + L2 fixture 防回归)
- tests/unit/relation_form_complete_regression.test.ts: 2 vitest (L4 同模式 BS-新146)
- tests/unit/app_context_version_regression.test.ts: 5 vitest (BS-新152 currentVersion)
- tests/unit/workflow_command_smoke.test.ts: 9 vitest (6 命令 0 测试覆盖补全)
launch.ts: 改用 loadOperator.getFlowBeforeList (L116), 加 audit 注释 (L110-113)
relation_form_complete.ts: L4 修 (--no-release 跟 BS-新146 L1 同模式)
app/context.ts: BS-新152 修 (readCliVersion 路径 cli.ts → program.ts)
quality-gate.sh + validate-baseline.sh: 删 L5 Prompt A/B (jnpf7 临时对照目录)
vitest: 584 → 613 (+29), tsc 0 错, 5 关全过
2026-07-29 11:18:13 +08:00
..
2026-07-17 11:46:07 +08:00
2026-07-17 11:49:25 +08:00
2026-07-24 09:47:46 +08:00
2026-07-27 12:49:44 +08:00
2026-07-28 21:27:46 +08:00
2026-07-29 11:18:13 +08:00
2026-07-02 20:14:40 +08:00