docs: start milestone v1.5 B站字幕简化处理
This commit is contained in:
+16
-4
@@ -1,8 +1,14 @@
|
|||||||
# kb-skills 工作流重构
|
# kb-skills 工作流重构
|
||||||
|
|
||||||
## Current Milestone: (Planning next version)
|
## Current Milestone: v1.5 B站字幕简化处理
|
||||||
|
|
||||||
**Status:** v1.4 completed, ready for next milestone
|
**Goal:** 简化 B 站视频处理流程,基于 SRT 字幕生成易读的 Markdown 文档
|
||||||
|
|
||||||
|
**Target features:**
|
||||||
|
- SRT 字幕解析与时间戳去除
|
||||||
|
- 语义分段(LLM 根据内容主题自动划分)
|
||||||
|
- LLM 自动纠正语音识别错误
|
||||||
|
- 移除深度观点分析功能
|
||||||
|
|
||||||
## Previous Milestones
|
## Previous Milestones
|
||||||
|
|
||||||
@@ -89,7 +95,13 @@ python3 kb-workflow/kb_workflow.py process "https://www.bilibili.com/video/BVxxx
|
|||||||
|
|
||||||
### Active
|
### Active
|
||||||
|
|
||||||
(No active requirements — plan next milestone)
|
**v1.5 B站字幕简化处理:**
|
||||||
|
- [ ] **SRT-01**: SRT 字幕解析 — 读取生成的 SRT 文件,提取纯文本
|
||||||
|
- [ ] **SRT-02**: 去除时间戳 — 移除时间码,保留字幕文本
|
||||||
|
- [ ] **SRT-03**: 语义分段 — LLM 根据内容主题变化自动划分段落
|
||||||
|
- [ ] **SRT-04**: LLM 纠正 — 根据上下文自动修正语音识别错误
|
||||||
|
- [ ] **SRT-05**: Markdown 输出 — 生成结构化的 Markdown 文件
|
||||||
|
- [ ] **SRT-06**: 移除观点提炼 — 不再做深度观点分析
|
||||||
|
|
||||||
### Deferred
|
### Deferred
|
||||||
|
|
||||||
@@ -155,4 +167,4 @@ python3 kb-workflow/kb_workflow.py process "https://www.bilibili.com/video/BVxxx
|
|||||||
| stealth 默认启用 | stealth_config=None 时默认启用 | ✓ Good — 向后兼容,无需修改现有代码 |
|
| stealth 默认启用 | stealth_config=None 时默认启用 | ✓ Good — 向后兼容,无需修改现有代码 |
|
||||||
|
|
||||||
---
|
---
|
||||||
*Last updated: 2026-03-19 after v1.4 milestone completed*
|
*Last updated: 2026-03-19 after starting v1.5 milestone*
|
||||||
|
|||||||
+20
-57
@@ -1,82 +1,45 @@
|
|||||||
---
|
---
|
||||||
gsd_state_version: 1.0
|
gsd_state_version: 1.0
|
||||||
milestone: v1.4
|
milestone: v1.5
|
||||||
milestone_name: Zhihu Anti-Crawler
|
milestone_name: B站字幕简化处理
|
||||||
status: completed
|
status: planning
|
||||||
stopped_at: Completed v1.4 Zhihu Anti-Crawler milestone
|
last_updated: "2026-03-19T00:00:00.000Z"
|
||||||
last_updated: "2026-03-18T16:02:40.968Z"
|
last_activity: 2026-03-19 — Milestone v1.5 started
|
||||||
last_activity: 2026-03-18 — Completed 11-02 stealth integration
|
|
||||||
progress:
|
|
||||||
total_phases: 11
|
|
||||||
completed_phases: 10
|
|
||||||
total_plans: 31
|
|
||||||
completed_plans: 30
|
|
||||||
percent: 100
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Project State
|
# Project State
|
||||||
|
|
||||||
## Project Reference
|
## Project Reference
|
||||||
|
|
||||||
See: .planning/PROJECT.md (updated 2026-03-18)
|
See: .planning/PROJECT.md (updated 2026-03-19)
|
||||||
|
|
||||||
**Core value:** 可靠、可维护的处理管道 - 每个步骤独立、可验证、可恢复
|
**Core value:** 可靠、可维护的处理管道 - 每个步骤独立、可验证、可恢复
|
||||||
**Current focus:** Phase 11 - Stealth Fingerprinting (指纹伪装)
|
**Current focus:** Defining requirements for v1.5
|
||||||
|
|
||||||
## Current Position
|
## Current Position
|
||||||
|
|
||||||
Phase: 1 of 1 (Phase 11: Stealth Fingerprinting) - COMPLETE
|
Phase: Not started (defining requirements)
|
||||||
Plan: 2 of 2
|
Plan: —
|
||||||
Status: Complete
|
Status: Defining requirements
|
||||||
Last activity: 2026-03-18 — Completed 11-02 stealth integration
|
Last activity: 2026-03-19 — Milestone v1.5 started
|
||||||
|
|
||||||
Progress: [██████████] 100%
|
Progress: [░░░░░░░░░░] 0%
|
||||||
|
|
||||||
## Performance Metrics
|
|
||||||
|
|
||||||
**Velocity:**
|
|
||||||
- Total plans completed: 26 (v1.0-v1.3)
|
|
||||||
- v1.3 plans: 2/2
|
|
||||||
- Average duration: ~5min
|
|
||||||
- Total execution time: ~2.5 hours
|
|
||||||
|
|
||||||
| Plan | Duration | Tasks | Files | Date |
|
|
||||||
|------|----------|-------|-------|------|
|
|
||||||
| 11-02 | 3min | 3 | 2 | 2026-03-18 |
|
|
||||||
| 11-01 | 3min | 2 | 4 | 2026-03-18 |
|
|
||||||
| 10-01 | 3min | 2 | 2 | 2026-03-18 |
|
|
||||||
| 10-02 | 4min | 2 | 2 | 2026-03-18 |
|
|
||||||
|
|
||||||
**Recent Trend:**
|
|
||||||
- v1.0-v1.3 completed smoothly
|
|
||||||
- Trend: Stable
|
|
||||||
|
|
||||||
## Accumulated Context
|
## Accumulated Context
|
||||||
|
|
||||||
### Decisions
|
### Decisions
|
||||||
|
|
||||||
Key decisions from v1.0 (preserved):
|
Key decisions from v1.0-v1.4 (preserved):
|
||||||
- 管道模型 — BaseProcessor + Pipeline 架构
|
- 管道模型 — BaseProcessor + Pipeline 架构
|
||||||
- 步骤级状态 — WorkflowStateManager
|
- 步骤级状态 — WorkflowStateManager
|
||||||
- Schema 验证 — Pydantic v2
|
- Schema 验证 — Pydantic v2
|
||||||
- 顺序执行 — 简单性和可调试性
|
- 顺序执行 — 简单性和可调试性
|
||||||
- CLI subparsers — 可扩展命令结构
|
- CLI subparsers — 可扩展命令结构
|
||||||
|
|
||||||
v1.3 decisions:
|
v1.5 scope:
|
||||||
- 代理池使用索引指针实现 Round-Robin,惰性检查冷却恢复
|
- 仅针对 B 站视频处理
|
||||||
- ProxyPool 参数优先于 config.proxy 配置
|
- 简化流程:SRT → 去时间戳 → 分段 → 纠正 → Markdown
|
||||||
|
- 移除深度观点分析
|
||||||
v1.4 scope:
|
|
||||||
- 只针对知乎反爬检测
|
|
||||||
- 使用最小改动(指纹伪装)先验证效果
|
|
||||||
- 行为伪装(鼠标轨迹等)暂不实现,如需要再加
|
|
||||||
|
|
||||||
v1.4 Phase 11 decisions:
|
|
||||||
- 使用 playwright-stealth 库进行指纹伪装
|
|
||||||
- Pydantic BaseModel 配置模型
|
|
||||||
- 分离 sync/async 函数匹配 Playwright API 模式
|
|
||||||
- stealth_config=None 表示默认启用 stealth (向后兼容)
|
|
||||||
- launch 时添加 --disable-blink-features=AutomationControlled 参数
|
|
||||||
|
|
||||||
### Blockers/Concerns
|
### Blockers/Concerns
|
||||||
|
|
||||||
@@ -84,8 +47,8 @@ None.
|
|||||||
|
|
||||||
## Session Continuity
|
## Session Continuity
|
||||||
|
|
||||||
Last session: 2026-03-18
|
Last session: 2026-03-19
|
||||||
Stopped at: Completed v1.4 Zhihu Anti-Crawler milestone
|
Stopped at: Starting v1.5 milestone planning
|
||||||
Resume file: None
|
Resume file: None
|
||||||
|
|
||||||
**Next step:** v1.4 complete. Ready for real-world testing against Zhihu anti-crawler.
|
**Next step:** Define requirements and create roadmap
|
||||||
|
|||||||
Reference in New Issue
Block a user