ssw
|
736a2a2cca
|
v0.11+ Phase B: 改写 dacli/src (9 文件) - form lint/validate/fixcolumndata 全删
- form/index.ts: 删 lint/validate/fixcolumndata import + addCommand
- form/create.ts: --fields 改报错 (请用 --ai-json), 删 _simplify import, --type 默认 4→2, --ai-json 不再强制 type=4
- form/import.ts: 加 deprecation warning, 删 <appCode>_ 前缀自动重命名
- form/clone.ts: 克隆时强制 type=2 (去掉 type=4 视图兜底)
- form/_blindspots.ts: 整个文件删除 (BS-15/23/31/32/50/52+BS-V2, 6 类盲点 lint/validate 全删)
- _blindspot_guards.ts: 删 BS-15b/BS-32b/BS-52 三个 form-related guard, BS-50 加 __command 限制仅 menu create
- app/context.ts: 注释 fixcolumndata → update
- test/check.ts: 整个文件删除 (6 类盲点必查已被 webapi 镜像自动保证)
- test/index.ts: 删 check 子命令, 保留 run + generate
代码变化: -481 行 / +67 行 (净 -414 行)
vitest: 256/268 PASS (12 失败均为 p2-monitor-log-integration.test.ts 6月14日 pre-existing)
体检报告: docs/v0.11-audit-report.md
执行计划: docs/v0.11-cleanup-execution-plan.md
回滚: git revert HEAD (单 commit 安全回滚)
|
2026-06-26 10:22:20 +08:00 |
|