docs(05): create phase 5 plans for archive and directory optimization

This commit is contained in:
2026-03-16 23:03:14 +08:00
parent c92ace8e2d
commit a11a2dde99
4 changed files with 1277 additions and 9 deletions
+9 -9
View File
@@ -53,19 +53,19 @@ Plans:
#### Phase 5: 归档与目录优化
**Goal**: 统一中间目录结构,添加自动归档步骤,优化最终目录布局
**Depends on**: Phase 4
**Requirements**: INT-01, INT-02, INT-03, ARC-01, ARC-02, ARC-03, ARC-04, OUT-01, OUT-02, OUT-03, OUT-04
**Requirements**: INT-01, INT-02, ARC-01, ARC-02, ARC-03, ARC-04, OUT-01, OUT-02, OUT-03, OUT-04
**Success Criteria** (what must be TRUE):
1. 所有分析任务的中间文件统一存放在 `~/work/intermediate/analysis/{platform}_{content_id}/`
2. 分析完成后 md 文件自动复制到按平台分组的最终目录
3. 最终目录结构为 `~/kb/{platform}/{timestamp}_{content_id}_analysis.md`
4. 用户可通过配置文件自定义中间目录路径
5. 归档后可选择性清理中间文件
**Plans**: TBD
3. 最终目录结构为 `{KB_ARCHIVE_PATH}/{platform}/{YYYYMMDD}_{content_id}_analysis.md`
4. 归档时检测重复文件,询问用户是否覆盖
5. 不自动清理中间文件(用户手动维护)
**Plans**: 3 plans
Plans:
- [ ] 05-01: 中间目录统一和配置
- [ ] 05-02: ArchiveProcessor 归档处理器
- [ ] 05-03: 最终目录结构优化
- [ ] 05-01-PLAN.md — 中间目录统一 (INT-01, INT-02)
- [ ] 05-02-PLAN.md — ArchiveProcessor 归档处理器 (ARC-01, ARC-02, ARC-03, ARC-04)
- [ ] 05-03-PLAN.md — 最终目录结构验证和测试 (OUT-01, OUT-02, OUT-03, OUT-04)
#### Phase 6: 代码整合
**Goal**: 将独立的元数据技能和 Pipeline 模块整合进 kb-workflow
@@ -93,5 +93,5 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6
| 2. Adapters | v1.0 | 2/2 | Complete | 2026-03-15 |
| 3. Processors | v1.0 | 3/3 | Complete | 2026-03-15 |
| 4. Pipeline | v1.0 | 2/2 | Complete | 2026-03-15 |
| 5. 归档与目录优化 | v1.1 | 0/3 | Not started | - |
| 5. 归档与目录优化 | v1.1 | 0/3 | Ready to execute | - |
| 6. 代码整合 | v1.1 | 0/2 | Not started | - |