starmen1265
c80cc81eb8
docs(03): capture phase context
2026-03-11 19:11:31 +08:00
starmen1265
330215a163
Merge branch 'main' into fix/ci-deploy-reset
PR Test / lint (pull_request) Successful in 1s
2026-03-11 14:32:09 +08:00
starmen1265
2d0964ed98
chore: update project config and gitignore
...
PR Test / lint (pull_request) Successful in 2s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
e357d81dc8
docs(phase-02): complete Integration Layer phase
2026-03-11 14:30:54 +08:00
starmen1265
bab3ed783c
docs(02-02): complete FeishuResponseFormatter plan
...
- Created 02-02-SUMMARY.md with plan execution details
- Updated STATE.md with Phase 2 decisions
- Updated ROADMAP.md with Phase 2 completion
- All 6 tests pass for FeishuResponseFormatter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
1b9d0c4c31
docs(02-01): complete SKILL.md definition plan
...
- Created SUMMARY.md with plan execution results
- Updated STATE.md with 02-01 decision
- Marked OCLW-01, OCLW-04 requirements complete
- ROADMAP.md already reflects Phase 2 completion
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
b974540690
docs(02-03): complete prompt templates plan
...
- SUMMARY.md: Execution summary with 3 tasks completed
- STATE.md: Updated to Phase 2, plan 3/3 complete
- REQUIREMENTS.md: OCLW-02 marked complete
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
0a6d6277b6
feat(02-01): create SKILL.md with valid frontmatter
...
- YAML frontmatter with name: gsd-openclaw
- Description contains /gsd:* trigger patterns
- Documents all supported GSD commands
- Explains project context switching
Requirements: OCLW-01, OCLW-02
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
9d738eeec2
feat(02-03): implement PromptLoader class
...
- PromptLoader loads and renders markdown templates
- get() returns raw template content (cached)
- render() substitutes {{variable}} placeholders
- Missing variables left as-is (safe substitution)
- Default template_dir points to prompts/ directory
All 10 tests pass.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
662ee48533
feat(02-02): implement FeishuResponseFormatter class
...
- format_success() creates card with green theme
- format_error() creates card with red theme
- format_info() creates card with blue theme
- format_paginated() adds [N/M] marker
- _build_card() creates three-zone structure (header/elements/actions)
- _build_actions() creates interactive button elements
All 6 tests pass. Card JSON uses schema 2.0 with lark_md content.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
72a5ad4441
test(02-01): add failing tests for SKILL.md validation
...
- Test SKILL.md file exists at skill/SKILL.md
- Test SKILL.md has valid YAML frontmatter
- Test SKILL.md has name field
- Test SKILL.md has description field
- Test description contains /gsd: trigger pattern
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
915e97ffe1
feat(02-03): add prompt template files
...
- prompts/__init__.py: Package marker
- context_recovery.md: Session context recovery prompt
- command_mapping.md: User input to GSD command mapping
- error_recovery.md: User-friendly error message generation
All templates use {{variable}} syntax for substitution.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
a155d93dd8
feat(02-02): add CardTheme enum and CardButton dataclass
...
- CardTheme enum with SUCCESS (green), ERROR (red), INFO (blue), WARNING (orange)
- CardButton dataclass with text, value dict, and button_type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
65f6f90c11
test(02-02): add failing tests for FeishuResponseFormatter
...
- Test format_success returns valid card with green theme
- Test format_error returns red theme
- Test format_info returns blue theme
- Test format with buttons includes actions element
- Test format_paginated adds [N/M] marker
- Test card has required structure (schema 2.0, config, elements)
TDD RED phase - tests will fail until implementation is added.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
4113434c72
test(02-03): add failing tests for prompt templates
...
- TestPromptTemplatesExist: 4 tests for template file existence
- TestPromptLoader: 6 tests for loading and rendering templates
- Tests fail (RED phase) - no templates or loader implemented yet
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 14:30:54 +08:00
starmen1265
637240c546
docs(02): create phase 2 integration layer plans
2026-03-11 14:30:54 +08:00
starmen1265
0ab884bc2a
docs(02): add research and validation strategy
2026-03-11 14:30:54 +08:00
starmen1265
6c9aa54eda
docs(02): research integration layer domain
2026-03-11 14:30:54 +08:00
starmen1265
55dee6ef16
docs(state): record phase 2 context session
2026-03-11 14:30:54 +08:00
starmen1265
86e6eabc1c
docs(02): capture phase context
2026-03-11 14:30:54 +08:00
starmen1265
7287f29d03
Merge pull request 'ci: 添加 gsd-openclaw 到 deploy.yml 同步列表' ( #5 ) from fix/ci-deploy-reset into main
...
Deploy kb-skills / deploy (push) Successful in 1s
Reviewed-on: http://192.168.1.22:8418/starmen1265/kb-skills/pulls/5
2026-03-11 11:40:51 +08:00
starmen1265
446dcd21c4
Merge branch 'main' into fix/ci-deploy-reset
PR Test / lint (pull_request) Successful in 1s
2026-03-11 11:40:21 +08:00
starmen1265
407d8d46f0
ci: 添加 gsd-openclaw 到 deploy.yml 同步列表
PR Test / lint (pull_request) Successful in 1s
2026-03-11 11:36:18 +08:00
starmen1265
2362b00b44
Merge pull request 'feat: 添加 gsd-openclaw 技能' ( #4 ) from fix/ci-deploy-reset into main
...
Deploy kb-skills / deploy (push) Successful in 2s
Reviewed-on: http://192.168.1.22:8418/starmen1265/kb-skills/pulls/4
2026-03-11 11:32:39 +08:00
starmen1265
45434668b9
Merge branch 'main' into fix/ci-deploy-reset
PR Test / lint (pull_request) Successful in 2s
2026-03-11 11:31:58 +08:00
starmen1265
96f06f3751
feat: 添加 gsd-openclaw 技能
PR Test / lint (pull_request) Successful in 2s
2026-03-11 10:41:01 +08:00
starmen1265
302b253ee5
Merge pull request 'fix: 修复知乎专栏文章爬取问题' ( #3 ) from fix/ci-deploy-reset into main
...
Deploy kb-skills / deploy (push) Successful in 2s
Reviewed-on: http://192.168.1.22:8418/starmen1265/kb-skills/pulls/3
2026-03-09 23:19:13 +08:00
starmen1265
3909bb0321
fix: 修复知乎专栏文章爬取问题
...
PR Test / lint (pull_request) Successful in 1s
- zhihu_content.py 添加 zhuanlan/article 类型支持
- 内部自动调用 zhihu_article_crawler.py 爬取新数据
- 更新 SKILL.md 文档,明确知乎专栏处理流程
- 解决读取旧数据导致分析错误内容的问题
2026-03-09 23:15:59 +08:00
starmen1265
66cdbfcedb
Merge pull request 'fix/ci-deploy-reset' ( #2 ) from fix/ci-deploy-reset into main
...
Deploy kb-skills / deploy (push) Successful in 1s
Reviewed-on: http://192.168.1.22:8418/starmen1265/kb-skills/pulls/2
2026-03-09 23:05:51 +08:00
starmen1265
b36d8575d4
refactor: 部署到全局技能目录 ~/.openclaw/skills
...
PR Test / lint (pull_request) Successful in 1s
- 改用 rsync 同步技能到全局目录
- 支持多代理共享技能
- 使用 --delete 保持同步干净
2026-03-09 23:03:35 +08:00
starmen1265
c6cf5a6351
fix: 使用 reset --hard 避免 CI 部署时未跟踪文件冲突
2026-03-09 22:56:28 +08:00
starmen1265
fd7d1aafb1
Merge pull request 'feature/cross-stats-test' ( #1 ) from feature/cross-stats-test into main
...
Deploy to knowledge-base / deploy (push) Failing after 1s
Reviewed-on: http://192.168.1.22:8418/starmen1265/kb-skills/pulls/1
2026-03-09 22:28:24 +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
starmen1265
3850bc33dc
ci: 添加 PR 测试 workflow
...
Deploy to knowledge-base / deploy (push) Failing after 1s
- PR 时检查 Python 语法
- 检查技能目录是否有 SKILL.md
2026-03-09 00:17:12 +08:00
starmen1265
04c1ba2e80
feat(kb-workflow): 归档目录改为 ~/work/zq/30.资源/AI分析
...
Deploy to knowledge-base / deploy (push) Failing after 0s
- 添加 KB_ARCHIVE_PATH 环境变量配置归档目录
- 添加 KB_GIT_ROOT 环境变量配置 Git 仓库根目录
- 默认归档到 ~/work/zq/30.资源/AI分析/YYYY-MM-DD/
- Git 提交到 ~/work/zq 仓库
- 更新 SKILL.md 文档说明新的目录结构
2026-03-09 00:07:08 +08:00
starmen1265
ae8e68481b
feat: 添加 todo-manager 技能
Deploy to knowledge-base / deploy (push) Failing after 0s
2026-03-08 23:56:03 +08:00
starmen1265
5d82cee0eb
fix(ci): 确保 workflow 使用正确的 SSH remote URL
Deploy to knowledge-base / deploy (push) Successful in 1s
2026-03-08 23:50:32 +08:00
starmen1265
08dcf7cc08
ci: 添加 Gitea Actions 自动部署 workflow
Deploy to knowledge-base / deploy (push) Failing after 1s
2026-03-08 23:47:50 +08:00
starmen1265
7d972ca981
chore: 移除 common-require 技能,完善 README
...
- 删除 common-require 目录
- 重写 README.md,包含所有技能说明
- 添加快速开始指南和工作流推荐
2026-03-08 23:27:04 +08:00
starmen1265
070cd80342
fix(zhihu): 修复 Cookie 设置时机问题
...
- 将 context 创建移到 cookie 设置之前
- 使用 add_cookies 方法替代初始化时传入
- 添加 .gitignore 忽略 __pycache__ 等文件
2026-03-08 23:25:43 +08:00
starmen1265
727cfc183a
Fix: zhihu_article_crawler.py 强制更新 MediaCrawler 配置,避免爬取错误文章
2026-02-27 20:21:57 +08:00
starmen1265
193d2b375d
feat: 添加 MediaCrawler 整合支持
...
- kb-zhihu-metadata: 新增 zhihu_article_crawler.py 支持爬取知乎专栏文章
- kb-zhihu-content: 添加 article-from-media 类型支持从 MediaCrawler 数据读取
- 更新 SKILL.md 文档说明新功能
2026-02-27 17:42:21 +08:00
starmen1265
85797d0a89
feat: kb-zhihu-metadata 支持 ZHIHU_COOKIE
...
- 安装 markdownify 依赖
- PlaywrightBrowser 支持传入 Cookie
- ZhihuPlaywrightExtractor 支持传入 Cookie
- zhihu_metadata.py 读取 ZHIHU_COOKIE 环境变量
- 更新 SKILL.md 添加 Cookie 配置说明
2026-02-27 15:39:19 +08:00
starmen1265
202960eb64
fix: 统一知识库技能模型名称为 glm-5,补充 OCR 和 kb-funasr 说明
...
- kb-deep-analyzer: glm-4.7 → glm-5, gpt-4 → glm-5
- kb-workflow: 步骤5增加 OCR 和 kb-funasr 作为备用方案
- 统一命令使用 --type subtitle-download
2026-02-27 15:36:18 +08:00
starmen1265
9259a3731a
feat: 添加知乎视频支持
...
新增:
- kb-zhihu-content/: 知乎视频下载模块
- zhihu_content.py: 视频下载工具(使用 yt-dlp)
- SKILL.md: 技能说明文档
修改:
- kb_workflow.py:
- CONTENT_AGENTS 添加 zhihu
- VIDEO_CONTENT_TYPES 添加 zvideo
- SKILL.md:
- 添加 4.1.2 知乎视频处理流程
- 更新子技能清单,添加知乎视频条目
- 更新内容类型判断表格
2026-02-16 22:19:25 +08:00
starmen1265
d2c262973e
feat: 添加知乎问答支持
...
- zhihu_extractor.py:
- 添加 URL_PATTERNS 支持 answer 和 question
- 添加 _extract_answer_content() 方法提取知乎回答
- 添加 _extract_question_content() 方法提取知乎问题
- zhihu_metadata.py:
- 添加 extract_answer() 函数
- 添加 extract_question() 函数
- 更新命令行参数支持 answer/question 类型
- 更新帮助文档
2026-02-16 22:12:13 +08:00