From 1fb4f0d20828d609486d160f188cd73a288eb69a Mon Sep 17 00:00:00 2001 From: ssw Date: Tue, 21 Jul 2026 18:06:54 +0800 Subject: [PATCH] =?UTF-8?q?docs(ADR=200015):=20=E5=90=8C=E6=AD=A5=E6=9C=AC?= =?UTF-8?q?=20session=20=E7=B4=AF=E8=AE=A1=20(P5=20=E5=85=A8=E9=87=8F=20+?= =?UTF-8?q?=20P6=20sample=20=E7=BB=AD=20+=20P4=20v2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/decisions/0015-source-leftovers.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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. 决策依据