docs(plan): P2 Task 6 勾选
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -107,7 +107,7 @@ cms-one/
|
||||
- [ ] Step 2 实现:`sanitizeBodyHtml(html): { html, diffs }`——白名单配置集中导出(后续阶段可复用到 preview CSP 对齐)
|
||||
- [ ] Step 3 绿 → commit `feat(adapter-wp): HTML 白名单清洗与差异收集`
|
||||
|
||||
### Task 6: 适配器组装 + 报告
|
||||
### Task 6: 适配器组装 + 报告 ✅ 完成(6573b8b + 修复 073b9ca,双审通过;253 测试;审查修复:IO 错误归 fatalError 三分支、rowErrors 封顶 10k+truncated、timings 契约/纯 term 流/版本漂移三钉)
|
||||
|
||||
**Files:** Create `src/adapter.ts`(parse→map→sanitize 串联为 `AsyncIterable<RowResult>`,RowResult = {kind:'row', row}|{kind:'unsupported',…}|{kind:'error',…});`src/report.ts`(计数汇总);Test `test/adapter.test.ts`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user