This repository has been archived on 2026-08-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
kb-skills/.planning/ROADMAP.md
T
starmen1265 b9f74e5a7e docs(11-01): complete stealth fingerprint masking plan
- Created 11-01-SUMMARY.md with execution results
- Updated STATE.md: Plan 1/2 complete, 50% progress
- Updated ROADMAP.md: 11-01 marked complete
- Updated REQUIREMENTS.md: STEALTH-01 to STEALTH-04 complete

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 23:50:24 +08:00

146 lines
4.5 KiB
Markdown

# Roadmap: kb-skills
## Milestones
- ✅ **v1.0 Pipeline Architecture** - Phases 1-4 (shipped 2026-03-15)
- ✅ **v1.1 Architecture Refactor** - Phases 5-6 (shipped 2026-03-16)
- ✅ **v1.2 Zhihu Crawler** - Phases 7-9 (shipped 2026-03-17)
- ✅ **v1.3 Proxy Pool** - Phase 10 (shipped 2026-03-18)
- 🚧 **v1.4 Zhihu Anti-Crawler** - Phase 11 (in progress)
## Phases
<details>
<summary>✅ v1.0 Pipeline Architecture (Phases 1-4) - SHIPPED 2026-03-15</summary>
### Phase 1: Foundation
**Goal**: 项目基础设施和状态管理
**Plans**: 3 plans
Plans:
- [x] 01-01: WorkflowStateManager 状态管理
- [x] 01-02: LinkParser URL 解析
- [x] 01-03: IdempotencyChecker 幂等检查
### Phase 2: Adapters
**Goal**: 平台元数据适配器
**Plans**: 2 plans
Plans:
- [x] 02-01: BilibiliAdapter B站适配器
- [x] 02-02: ZhihuAdapter 知乎适配器
### Phase 3: Processors
**Goal**: 管道处理器架构
**Plans**: 3 plans
Plans:
- [x] 03-01: BaseProcessor 基类
- [x] 03-02: 具体处理器实现
- [x] 03-03: Schema 验证
### Phase 4: Pipeline
**Goal**: 处理器编排和 CLI
**Plans**: 2 plans
Plans:
- [x] 04-01: Pipeline 编排引擎
- [x] 04-02: CLI process 命令
</details>
<details>
<summary>✅ v1.1 Architecture Refactor (Phases 5-6) - SHIPPED 2026-03-16</summary>
### Phase 5: 归档与目录优化
**Goal**: 统一中间目录结构,添加自动归档步骤,优化最终目录布局
**Plans**: 3 plans (all complete)
### Phase 6: 代码整合
**Goal**: 将独立的元数据技能和 Pipeline 模块整合进 kb-workflow
**Plans**: 3 plans (all complete)
</details>
<details>
<summary>✅ v1.2 Zhihu Crawler (Phases 7-9) - SHIPPED 2026-03-17</summary>
### Phase 7: 登录认证体系
**Goal**: 建立知乎登录认证机制,支持二维码扫码和手动 Cookie 两种方式
**Plans**: 3 plans (all complete)
### Phase 8: 内容爬取实现
**Goal**: 实现知乎问答、专栏/文章、评论的完整爬取功能
**Plans**: 3 plans (all complete)
### Phase 9: Pipeline 整合
**Goal**: 将新爬虫实现整合进现有 Pipeline 架构
**Plans**: 1 plan (complete)
</details>
<details>
<summary>✅ v1.3 Proxy Pool (Phase 10) - SHIPPED 2026-03-18</summary>
### Phase 10: Proxy Pool (代理池管理)
**Goal**: 建立代理池基础设施,支持多代理配置、自动轮换和健康检查
**Requirements**: PROXY-01, PROXY-02, PROXY-03, PROXY-04
**Plans**: 2 plans (all complete)
Plans:
- [x] 10-01: ProxyPool 核心类实现 — 从 YAML/环境变量加载代理,Round-Robin 轮换
- [x] 10-02: 健康检查与 ZhihuCrawler 集成 — 被动检测、冷却恢复、代理切换
**Key Decisions:**
- 使用索引指针而非 itertools.cycle 实现轮换
- 惰性冷却检查而非后台定时器
- ProxyPool 参数优先于 config.proxy 配置
</details>
---
## 🚧 v1.4 Zhihu Anti-Crawler (In Progress)
**Milestone Goal:** 绕过知乎反爬检测,让 Playwright 爬虫能正常工作
### Phase 11: Stealth Fingerprinting (指纹伪装)
**Goal**: 隐藏 Playwright 自动化特征,让爬虫通过知乎的浏览器指纹检测
**Depends on**: Phase 10
**Requirements**: STEALTH-01, STEALTH-02, STEALTH-03, STEALTH-04, VERIFY-01, VERIFY-02
**Success Criteria** (what must be TRUE):
1. ZhihuCrawler 访问问答页面时不再被 40362 错误拦截
2. 爬虫的 navigator.webdriver 属性对知乎不可见
3. Playwright 特有的 JS 属性(__playwright, pwInspect 等)被移除
4. 现有功能(登录、Cookie 持久化、内容爬取)保持正常工作
**Plans**: 2 plans
Plans:
- [x] 11-01-PLAN.md — 创建 StealthConfig 模块和单元测试
- [ ] 11-02-PLAN.md — 集成 stealth 到 ZhihuCrawler 并验证
---
## Progress
**Execution Order:**
Phases execute in numeric order: 1 → 2 → ... → 10 → 11
| Phase | Milestone | Plans Complete | Status | Completed |
|-------|-----------|----------------|--------|-----------|
| 1. Foundation | v1.0 | 3/3 | Complete | 2026-03-15 |
| 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 | 3/3 | Complete | 2026-03-16 |
| 6. 代码整合 | v1.1 | 3/3 | Complete | 2026-03-16 |
| 7. 登录认证体系 | v1.2 | 3/3 | Complete | 2026-03-17 |
| 8. 内容爬取实现 | v1.2 | 3/3 | Complete | 2026-03-17 |
| 9. Pipeline 整合 | v1.2 | 1/1 | Complete | 2026-03-17 |
| 10. Proxy Pool | v1.3 | 2/2 | Complete | 2026-03-18 |
| 11. Stealth Fingerprinting | v1.4 | 1/2 | In progress | - |
---
*Last updated: 2026-03-18*