Files
dacli/tests/unit
ssw 3e279325f3 feat(dacli): R16 in-process FormRepair (TS 镜像 ssw, 替代 HTTP)
- 新增 dacli/src/commands/form/_form_repair.ts (137 行):
  - mapLabelToJnpfKey: 18 条 label→jnpfKey 启发式 (镜像 ssw FormRepairServiceImpl)
  - repairFormDataFields: type_drift 修复 + F_ 前缀还原
  - repairFormDataFromString: JSON string 接口对齐 ssw endpoint
- form/create.ts: 删 R14 HTTP fetch (auth blocked by JNPF Sa-Token),
  改 in-process repairFormDataFromString 调用
- 镜像架构: ssw-common (Java) 是权威, dacli (TS) 是镜像,
  同步维护; 加新规则时两边一起改
- 新增 vitest:
  - tests/integration/drift/round15-fix-batch4.spec.ts (18 tests)
  - tests/unit/workflow/create_stale_retry.test.ts (3 tests)
- 累计 70 vitest 全部 PASS, TS 编译 0 新错

R15 验证: form type_drift 5→0, column_drift 58→0 预期 (R17 重跑验证)
2026-07-15 15:45:20 +08:00
..