diff --git a/docs/decisions/0015-source-leftovers.md b/docs/decisions/0015-source-leftovers.md index 471c70b..45a1aa4 100644 --- a/docs/decisions/0015-source-leftovers.md +++ b/docs/decisions/0015-source-leftovers.md @@ -138,9 +138,11 @@ ADR 0015 早期记述有误, 现清空. | **P4a** | 0.3h | 低 | ✅ **DONE** | 22593df console.error/warn → log.error/warn (11 文件, 17 处); console.log 表格 333 处保留 | | **P6 sample** | 1h | 中 | ✅ **DONE** | 22593df wrapCommand 迁移 7 文件 (dm/list, dm/fields, dict/datalist, dict/typelist, form/info, workflow/info, workflow/list) | | **P5 sample** | 0.2h | 中 | ✅ **DONE** | 45e9f10 throw new Error → DacliError 9 命令路径文件 (datasource/test + integration/* + report/* + storage/info + user/*) | +| **P5 全量** | 0.2h | 中 | ✅ **DONE** | c6b7fe8 portal/create + bigscreen/construct 2 文件 throw → DacliError (剩 ~15 路径不存在, 都在 SDK/test helper) | +| **P6 sample 续** | 0.7h | 中 | ✅ **DONE** | 11f94a3 wrapCommand 续迁 7 文件 (form/list + report/{list,info} + storage/list + integration/{email,smstest,webhook}test); tests/unit/report_wired.test.ts 老 pattern 静态契约更新到 wrapCommand 新约定 | +| **P4 v2** | 0.5h | 中 | ✅ **DONE** | log.printRawTable(headers, rows, opts) 新 primitive + 3 文件迁移 (datasource/list, dm/list, dm/fields) + 5 单测; 剩 ~330 处 console.log 表格后续 session 推广 | | P2 | 2-3h | 高 | 待 | form/create + workflow/create + form/codegen 高严重度 25+ 文件批量审查 | -| P4 v2 | 1h+ | 中 | 待 | console.log → log.printRawTable 新 primitive (P4a 后的剩 333 处) | -| P5 全量 | 2h | 中 | 待 | 剩 ~15 命令路径 throw → DacliError | +| P4 v3 | 1h | 中 | 待 | 剩 ~330 console.log 表格批量迁移到 printRawTable | | P6 大坑 | 8+h | 极高 | 待 (跨多 session) | 350+ 裸 process.exit 全面收口 | ## 4. 决策依据