Commit Graph

46 Commits

Author SHA1 Message Date
starmen1265 debd53961a docs(04): research phase 04 domain 2026-03-13 22:43:32 +08:00
starmen1265 777fe38a9d docs(state): record phase 4 context session 2026-03-13 22:37:52 +08:00
starmen1265 62c33cdfd5 docs(04): capture phase context 2026-03-13 22:37:52 +08:00
starmen1265 6e4582f7ad docs(phase-03): complete phase execution 2026-03-13 19:39:56 +08:00
starmen1265 cb20090162 docs(03-01): complete ASr processing plan
- Created ASRInput/ASroputput schemas extending StepInput/StepOutput
- Implemented ASRProcessor with subtitle-first strategy
- Added Whisper.cpp integration with auto-cleanup
- Integrated speaker diarization (HF_TOKEN detection)
- All 22 tests passing
- Updated ROADMAP progress: Phase 3: 1/1 complete
- Updated state with completion timestamp and- Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 19:34:36 +08:00
starmen1265 d8f4df9149 docs(03-01): complete ASr processing plan
- Created ASRInput/ASroOutput schemas
- Implemented ASRProcessor with subtitle-first strategy
- Added whisper.cpp integration with auto-cleanup
- Integrated speaker diarization (HF_TOKEN detection)
- All 22 tests passing

- Updated ROADmap progress: Phase 3: 1/1 complete
- Updated state with completion timestamp

- recorded execution metrics

- Updated session info
- Added final documentation commit
2026-03-13 19:29:27 +08:00
starmen1265 2039a45bf0 docs(03): create ASR processing plan 2026-03-13 19:11:29 +08:00
starmen1265 eaa68acb9d docs(03): add research and validation strategy 2026-03-13 19:06:19 +08:00
starmen1265 46bd809bf6 docs(phase-03): research ASR processing domain 2026-03-13 19:05:28 +08:00
starmen1265 acb6e15621 docs(state): record phase 3 context session 2026-03-13 18:50:40 +08:00
starmen1265 2148f1632a docs(03): capture phase context 2026-03-13 18:49:57 +08:00
starmen1265 cfd61d6cf6 docs(phase-02): complete phase execution 2026-03-13 18:32:20 +08:00
starmen1265 45df259047 docs(02-02): complete bilibili adapter plan
- Create 02-02-SUMMARY.md with execution results
- Update STATE.md with decisions and session info
- Update ROADMAP.md with plan progress

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 18:27:51 +08:00
starmen1265 d7f1ddde47 docs(02-03): complete zhihu adapter plan
- ZhihuAdapter supports answer and zhuanlan content extraction
- Cookie-based authentication with login page detection
- Markdown output with YAML frontmatter
- 13 new tests, all 35 platform tests passing
- Test coverage: 86%

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 18:27:10 +08:00
starmen1265 ae7dea9581 docs(02-01): complete link parser & idempotency plan
- Created LinkParser for unified URL parsing (B站/知乎)
- Created IdempotencyChecker for file existence checking
- All 23 new tests passing, 95% coverage
- Requirements PLAT-01, PLAT-02, PLAT-03 completed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 18:16:04 +08:00
starmen1265 8a8959cebe docs(02): add phase 2 plans 2026-03-13 18:04:48 +08:00
starmen1265 cc6c915f10 fix(02): revise plan 02-02 based on checker feedback 2026-03-13 18:02:24 +08:00
starmen1265 65e7c276d0 docs(02): create phase 2 plans for platform skills 2026-03-13 17:57:10 +08:00
starmen1265 3d262ff230 docs(02): research phase 2 platform skills 2026-03-13 17:49:06 +08:00
starmen1265 b8b2f72311 docs(state): record phase 2 context session 2026-03-13 17:43:15 +08:00
starmen1265 ea82f5d965 docs(02): capture phase 2 context 2026-03-13 17:43:03 +08:00
starmen1265 8736f240ec docs(phase-01): complete phase execution with verification
Phase 1 Foundation verified with 5/5 must-haves passed.
All 9 requirements covered: PIPE-01~03, REL-01~03, VAL-01, MNT-02~03.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:28:35 +08:00
starmen1265 b7db451d9d docs(01-03): complete error handler & config manager plan
- Structured error types with rich context (KBError, NetworkError, etc.)
- Configuration management via pydantic-settings from ~/.kb_env
- Automatic retry mechanism with tenacity (3 attempts, exponential backoff)
- All 100 tests passing
- Requirements REL-02, MNT-02, MNT-03 completed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:22:58 +08:00
starmen1265 770225439b feat(01-03): export all public APIs from package root
- Export error types (KBError, NetworkError, ValidationError, SystemError, AuthError, ErrorType)
- Export config (KBSettings, get_settings)
- Export retry (retry_on_network_error)
- Clean import interface for users

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:20:38 +08:00
starmen1265 46f1724e06 docs(01-01): complete WorkflowStateManager plan
Summary:
- WorkflowStateManager with atomic write and backup rotation
- 90% test coverage (20 tests)
- 5 min execution time

State updates:
- Plan counter advanced to 3
- Progress: 67% (2/3 plans complete)
- Requirements marked complete: PIPE-02, REL-01

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:19:37 +08:00
starmen1265 3cec1cafaf docs(01-02): complete core pipeline schemas plan
- Create 01-02-SUMMARY.md with execution results
- Update STATE.md: Plan 2 of 3 completed, 8% progress
- Mark requirements complete: PIPE-01, PIPE-03, VAL-01, REL-03
- Update ROADMAP.md with plan progress

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:11:30 +08:00
starmen1265 bd40f4965b fix(01): correct depends_on format to use plan number
Change depends_on from [01-02] to ["02"] for consistency
with plan frontmatter format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 16:58:37 +08:00
starmen1265 4ccb2be1ad fix(01): align validation paths with plans
Update VALIDATION.md test file paths to use tests/test_pipeline/
instead of tests/unit/ to match PLAN.md definitions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 16:54:27 +08:00
starmen1265 a14c429e90 docs(01): create phase 1 plans - State Manager, Schema Registry, Error Handler & Config 2026-03-13 16:50:46 +08:00
starmen1265 ac578bafd0 docs(01): add validation strategy
Add Nyquist validation contract for Phase 1 Foundation.
Covers test infrastructure, sampling rate, and per-task verification map.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 16:43:55 +08:00
starmen1265 c555b78d9b docs(01): research phase 1 domain - state, schema, error, config 2026-03-13 16:42:16 +08:00
starmen1265 2ee0a9e41d docs(state): record phase 1 context session 2026-03-13 16:35:37 +08:00
starmen1265 0c3f99a0e1 docs(01): capture phase 1 context 2026-03-13 16:35:25 +08:00
starmen1265 2ed555ccc2 docs: create roadmap (4 phases) 2026-03-13 16:06:47 +08:00
starmen1265 ab952f4c69 docs: define v1 requirements 2026-03-13 15:55:57 +08:00
starmen1265 408a02e615 docs: complete project research 2026-03-13 15:45:47 +08:00
starmen1265 431732179c chore: update project config 2026-03-13 15:35:05 +08:00
starmen1265 d8c1356307 docs: initialize project 2026-03-13 15:32:33 +08:00
starmen1265 a8669ec0a3 docs: map existing codebase 2026-03-13 14:55:43 +08:00
starmen1265 1d7957aab4 chore: remove dev-workflow skill and related GSD files
The dev-workflow multi-agent orchestration skill is no longer needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 14:42:33 +08:00
starmen1265 cf7cbd2ad0 feat: kb-deep-analyzer 支持文章类型分析
PR Test / lint (pull_request) Successful in 2s
- 新增 --type article 参数
- 文章类型生成 300 字摘要 + 完整原文
- 视频类型保持原有时间轴分析逻辑
- 更新相关文档

🤖 Generated by AI
2026-03-13 11:12:34 +08:00
starmen1265 e3575accc0 feat(dev-workflow): Phase 11 - 集成测试 + v1.0 完成
PR Test / lint (pull_request) Successful in 2s
测试:
- test_dev_workflow.py - 10个单元测试全部通过
- quick_test.sh - 快速验证脚本
- INTEGRATION_TEST.md - 集成测试指南

文档:
- 更新 README.md 添加 dev-workflow 技能
- 更新 ROADMAP.md 标记所有阶段完成
- 更新 STATE.md 标记里程碑完成

v1.0 功能:
- 9阶段多代理协作开发流程
- 状态持久化和跨会话恢复
- 有限自动修复(最多3次)
- 每阶段进度汇报
- 支持通用项目和kb-skills开发
2026-03-09 19:08:38 +08:00
starmen1265 f3398eda5f docs: update roadmap progress - Phase 1-10 completed 2026-03-09 19:04:50 +08:00
starmen1265 8cc6fa2354 feat(dev-workflow): Phase 2-9 prompt templates + orchestrator
Phase 2 头脑风暴:
- prompts/brainstorming.md - 问答策略和需求收集模板

Phase 3 方案设计:
- prompts/solution-design.md - 3个子代理启动配置

Phase 4 方案审核:
- prompts/solution-review.md - 交叉审核和综合方案生成

Phase 5 方案汇报:
- prompts/solution-report.md - 用户决策处理

Phase 6 Spec编排:
- prompts/spec-planning.md - 依赖分析和分波计划

Phase 7 并行开发:
- prompts/parallel-development.md - 波次执行逻辑

Phase 8 测试:
- prompts/testing.md - 测试框架检测和重试逻辑

Phase 9 代码审查:
- prompts/code-review.md - 3个子代理独立审查

Phase 10 修复验证:
- prompts/fix-verification.md - 修复循环和最终汇报

主编排器:
- orchestrator.py - 9阶段协调逻辑
- 状态管理和恢复机制
2026-03-09 19:04:22 +08:00
starmen1265 d19062fc1e feat(dev-workflow): Phase 1 - 技能框架搭建
- 创建 SKILL.md 定义9阶段流程
- 定义触发词: '开始开发...'
- 创建状态文件结构 state.json
- 创建需求收集模板 requirements.json
- 创建状态管理工具 state_manager.py
- 支持跨会话状态恢复
2026-03-09 18:57:32 +08:00
starmen1265 e23b88c3fa docs: initialize dev-workflow project with GSD
- PROJECT.md: 项目愿景和核心价值
- REQUIREMENTS.md: 21个v1需求 + 4个v2延期需求
- ROADMAP.md: 11阶段开发路线图
- STATE.md: 项目状态跟踪
- config.json: GSD工作流配置
2026-03-09 18:54:17 +08:00