docs: start milestone v1.6 语义分段改进

This commit is contained in:
2026-03-21 23:43:58 +08:00
parent c8dcc3e09b
commit cf858027d4
2 changed files with 48 additions and 46 deletions
+29 -34
View File
@@ -1,60 +1,55 @@
---
gsd_state_version: 1.0
milestone: v1.4
milestone_name: Zhihu Anti-Crawler
status: completed
stopped_at: Completed 12-02 Pipeline Integration
last_updated: "2026-03-21T15:24:05.123Z"
last_activity: 2026-03-19 — Completed 12-02 Pipeline Integration
milestone: v1.6
milestone_name: 语义分段改进
status: in_progress
stopped_at: Defining requirements
last_updated: "2026-03-21T16:00:00.000Z"
last_activity: 2026-03-21 — Milestone v1.6 started
progress:
total_phases: 12
completed_phases: 10
total_plans: 31
completed_plans: 30
percent: 100
total_phases: 0
completed_phases: 0
total_plans: 0
completed_plans: 0
percent: 0
---
# Project State
## Project Reference
See: .planning/PROJECT.md (updated 2026-03-19)
See: .planning/PROJECT.md (updated 2026-03-21)
**Core value:** 可靠、可维护的处理管道 - 每个步骤独立、可验证、可恢复
**Current focus:** Phase 12 - SRT 简化处理器 (完成)
**Current focus:** 语义分段改进 — 使用 LLM 实现智能分段
## Current Position
Phase: 12-srt-simplifier (2/2 plans complete)
Plan: 12-02 (完成)
Status: Phase 12 Complete
Last activity: 2026-03-19 — Completed 12-02 Pipeline Integration
Phase: Not started (defining requirements)
Plan: —
Status: Defining requirements
Last activity: 2026-03-21 — Milestone v1.6 started
Progress: [██████████] 100%
Progress: [░░░░░░░░░░] 0%
## Accumulated Context
### Decisions
Key decisions from v1.0-v1.4 (preserved):
Key decisions from v1.0-v1.5 (preserved):
- 管道模型 — BaseProcessor + Pipeline 架构
- 步骤级状态 — WorkflowStateManager
- Schema 验证 — Pydantic v2
- 顺序执行 — 简单性和可调试性
- CLI subparsers — 可扩展命令结构
- SRT 独立模块 — kb_workflow/srt/ 职责分离
- ASR 纠错可选 — AI 不可用时返回原文
v1.5 scope:
- 仅针对 B 站视频处理
- 简化流程:SRT → 去时间戳 → 分段 → 纠正 → Markdown
- 移除深度观点分析
v1.5 Phase 12 decisions:
- TDD approach with RED-GREEN cycles for all modules
- Lazy import for ASRCorrector to avoid dependency issues
- Simple rule-based segmentation (no LLM) for speed
- ASR correction is optional, fallback to original text
- B站视频使用 SRTProcessor,其他平台保持 AnalyzeProcessor
- Pipeline 平台路由:检测 platform=bilibili + content_type=video
v1.6 scope (待验证):
- LLM 语义分析 — 替代简单规则分段
- 通用自适应 — 自动识别视频类型
- 主题识别与标题 — 主题章节生成标题
- 内容完整性 — 避免错误截断话题
### Blockers/Concerns
@@ -62,8 +57,8 @@ None.
## Session Continuity
Last session: 2026-03-19
Stopped at: Completed 12-02 Pipeline Integration
Last session: 2026-03-21
Stopped at: Milestone v1.6 started
Resume file: None
**Next step:** Phase 12 完成,可以继续下一里程碑任务
**Next step:** Define requirements for semantic segmentation