hookehuyr

feat(extractor): 实现智能字段提取器 smartExtractList

- 添加 smartExtractList() 智能列表提取函数
- 支持基于起始模式和结束关键词的列表边界识别
- 修复 insurance_period 和 withdrawal_modes 字段类型处理
- 优化 payment_periods 过滤逻辑,排除无效项

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 +## [2026-02-15] - 智能字段提取器完善
2 +
3 +### 新增
4 +- 实现 `smartExtractList()` 智能列表提取函数
5 +- 支持基于起始模式和结束关键词的列表边界识别
6 +
7 +### 修复
8 +- 修复 `insurance_period``withdrawal_modes` 字段的 `postProcess` 函数类型处理问题
9 +- 优化 `payment_periods` 字段的过滤逻辑,排除"投保年龄"等无效项
10 +
11 +---
12 +
13 +**详细信息**
14 +- **影响文件**: scripts/smart-field-extractor.js
15 +- **技术栈**: Node.js, 正则表达式, 智能提取
16 +- **测试状态**: 单元测试通过
17 +- **备注**: 提升了字段提取的准确性和健壮性
18 +
19 +---
20 +
21 +## [2026-02-14] - 文档解析使用说明完善
22 +
23 +### 优化
24 +- 补充解析链路与使用思路,明确审核与合并边界
25 +- 更新解析命令说明与默认行为
26 +
27 +---
28 +
29 +**详细信息**
30 +- **影响文件**: docs/to-parse/README.md, README.md
31 +- **技术栈**: 文档维护
32 +- **测试状态**: 未运行(仅文档更新)
33 +- **备注**: 使用方式与链路更清晰
34 +
35 +---
36 +
37 +## [2026-02-14] - 文档解析审核流程落地
38 +
39 +### 优化
40 +- 修复审核模板重复定义与内容断裂,统一字段命名与展示结构
41 +- 完善审核流程指引,明确 pending/approved 目录治理与合并步骤
42 +- 默认解析仅生成待审核文件,写入配置需显式开启
43 +
44 +---
45 +
46 +**详细信息**
47 +- **影响文件**: scripts/parse-docs.js, docs/to-parse/README.md, docs/tasks/plan/改进文档解析工具-添加审核流程.md, README.md
48 +- **技术栈**: Node.js, 文档维护
49 +- **测试状态**: pnpm test 通过;pnpm lint 30 warnings
50 +- **备注**: 已生成待审核文件并完成可读性校验
51 +
52 +---
53 +
1 ## [2026-02-14] - 文档解析审核方案整理 54 ## [2026-02-14] - 文档解析审核方案整理
2 55
3 ### 优化 56 ### 优化
......
This diff is collapsed. Click to expand it.