sumulige-claude 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/.claude/hooks/hook-registry.json +0 -15
  2. package/.claude/rules/coding-style.md +18 -7
  3. package/.claude/rules/hooks.md +15 -4
  4. package/.claude/rules/performance.md +15 -5
  5. package/.claude/rules/security.md +140 -4
  6. package/.claude/rules/testing.md +138 -9
  7. package/.claude/rules/web-design-standard.md +16 -5
  8. package/.claude/skills/algorithmic-art/metadata.yaml +28 -0
  9. package/.claude/skills/api-tester/SKILL.md +61 -0
  10. package/.claude/skills/api-tester/examples/basic.md +3 -0
  11. package/.claude/skills/api-tester/metadata.yaml +30 -0
  12. package/.claude/skills/api-tester/templates/default.md +3 -0
  13. package/.claude/skills/brand-guidelines/metadata.yaml +26 -0
  14. package/.claude/skills/canvas-design/metadata.yaml +27 -0
  15. package/.claude/skills/code-reviewer-123/SKILL.md +61 -0
  16. package/.claude/skills/code-reviewer-123/examples/basic.md +3 -0
  17. package/.claude/skills/code-reviewer-123/metadata.yaml +30 -0
  18. package/.claude/skills/code-reviewer-123/templates/default.md +3 -0
  19. package/.claude/skills/doc-coauthoring/metadata.yaml +27 -0
  20. package/.claude/skills/docx/metadata.yaml +30 -0
  21. package/.claude/skills/frontend-design/metadata.yaml +28 -0
  22. package/.claude/skills/internal-comms/metadata.yaml +28 -0
  23. package/.claude/skills/mcp-builder/metadata.yaml +26 -0
  24. package/.claude/skills/my-skill/SKILL.md +61 -0
  25. package/.claude/skills/my-skill/examples/basic.md +3 -0
  26. package/.claude/skills/my-skill/metadata.yaml +30 -0
  27. package/.claude/skills/my-skill/templates/default.md +3 -0
  28. package/.claude/skills/pdf/metadata.yaml +29 -0
  29. package/.claude/skills/pptx/metadata.yaml +29 -0
  30. package/.claude/skills/react-best-practices/metadata.yaml +26 -0
  31. package/.claude/skills/react-node-practices/SKILL.md +409 -0
  32. package/.claude/skills/react-node-practices/metadata.yaml +56 -0
  33. package/.claude/skills/skill-creator/metadata.yaml +25 -0
  34. package/.claude/skills/slack-gif-creator/metadata.yaml +28 -0
  35. package/.claude/skills/test-skill-name/SKILL.md +61 -0
  36. package/.claude/skills/test-skill-name/examples/basic.md +3 -0
  37. package/.claude/skills/test-skill-name/metadata.yaml +30 -0
  38. package/.claude/skills/test-skill-name/templates/default.md +3 -0
  39. package/.claude/skills/test-workflow/metadata.yaml +32 -0
  40. package/.claude/skills/theme-factory/metadata.yaml +26 -0
  41. package/.claude/skills/threejs-fundamentals/metadata.yaml +27 -0
  42. package/.claude/skills/web-artifacts-builder/metadata.yaml +30 -0
  43. package/.claude/skills/web-design-guidelines/metadata.yaml +26 -0
  44. package/.claude/skills/webapp-testing/metadata.yaml +26 -0
  45. package/.claude/skills/xlsx/metadata.yaml +29 -0
  46. package/LICENSE +21 -0
  47. package/cli.js +1 -1
  48. package/package.json +25 -3
  49. package/.claude/.kickoff-hint.txt +0 -52
  50. package/.claude/.sumulige-claude-version +0 -1
  51. package/.claude/.version +0 -1
  52. package/.claude/AGENTS.md +0 -42
  53. package/.claude/ANCHORS.md +0 -40
  54. package/.claude/CLAUDE.md +0 -138
  55. package/.claude/MEMORY.md +0 -69
  56. package/.claude/PROJECT_LOG.md +0 -101
  57. package/.claude/THINKING_CHAIN_GUIDE.md +0 -287
  58. package/.claude/USAGE.md +0 -175
  59. package/.claude/boris-optimizations.md +0 -167
  60. package/.claude/handoffs/INDEX.md +0 -21
  61. package/.claude/handoffs/LATEST.md +0 -76
  62. package/.claude/handoffs/handoff_2026-01-22T13-07-04-757Z.md +0 -76
  63. package/.claude/quality-gate.json +0 -82
  64. package/.claude/rag/skill-index.json +0 -135
  65. package/.claude/settings.json +0 -99
  66. package/.claude/settings.local.json +0 -175
  67. package/.claude/templates/PROJECT_KICKOFF.md +0 -89
  68. package/.claude/templates/PROJECT_PROPOSAL.md +0 -227
  69. package/.claude/templates/TASK_PLAN.md +0 -121
  70. package/.claude/templates/hooks/README.md +0 -302
  71. package/.claude/templates/hooks/hook.sh.template +0 -94
  72. package/.claude/templates/hooks/user-prompt-submit.cjs.template +0 -116
  73. package/.claude/templates/hooks/user-response-submit.cjs.template +0 -94
  74. package/.claude/templates/hooks/validate.js +0 -173
  75. package/.claude/templates/tasks/develop.md +0 -69
  76. package/.claude/templates/tasks/research.md +0 -64
  77. package/.claude/templates/tasks/test.md +0 -96
  78. package/.claude/thinking-routes/.last-sync +0 -1
  79. package/.claude/thinking-routes/QUICKREF.md +0 -98
  80. package/.claude/workflow/document-scanner.js +0 -426
  81. package/.claude/workflow/knowledge-engine.js +0 -941
  82. package/.claude/workflow/notebooklm/browser.js +0 -1028
  83. package/.claude/workflow/phases/phase1-research.js +0 -578
  84. package/.claude/workflow/phases/phase1-research.ts +0 -465
  85. package/.claude/workflow/phases/phase2-approve.js +0 -722
  86. package/.claude/workflow/phases/phase3-plan.js +0 -1200
  87. package/.claude/workflow/phases/phase4-develop.js +0 -894
  88. package/.claude/workflow/search-cache.js +0 -230
  89. package/.claude/workflow/templates/approval.md +0 -315
  90. package/.claude/workflow/templates/development.md +0 -377
  91. package/.claude/workflow/templates/planning.md +0 -328
  92. package/.claude/workflow/templates/research.md +0 -250
  93. package/.claude/workflow/types.js +0 -37
  94. package/.claude/workflow/web-search.js +0 -278
  95. package/.claude-plugin/marketplace.json +0 -71
  96. package/.github/workflows/sync-skills.yml +0 -74
  97. package/.versionrc +0 -25
  98. package/AGENTS.md +0 -580
  99. package/CHANGELOG.md +0 -481
  100. package/CLAUDE-template.md +0 -114
  101. package/DEV_TOOLS_GUIDE.md +0 -190
  102. package/PROJECT_STRUCTURE.md +0 -266
  103. package/Q&A.md +0 -325
  104. package/config/defaults.json +0 -34
  105. package/config/official-skills.json +0 -183
  106. package/config/quality-gate.json +0 -67
  107. package/config/skill-categories.json +0 -40
  108. package/config/version-manifest.json +0 -85
  109. package/demos/power-3d-scatter.html +0 -683
  110. package/development/cache/web-search/search_1193d605f8eb364651fc2f2041b58a31.json +0 -36
  111. package/development/cache/web-search/search_3798bf06960edc125f744a1abb5b72c5.json +0 -36
  112. package/development/cache/web-search/search_37c7d4843a53f0d83f1122a6f908a2a3.json +0 -36
  113. package/development/cache/web-search/search_44166fa0153709ee168485a22aa0ab40.json +0 -36
  114. package/development/cache/web-search/search_4deaebb1f77e86a8ca066dc5a49c59fd.json +0 -36
  115. package/development/cache/web-search/search_94da91789466070a7f545612e73c7372.json +0 -36
  116. package/development/cache/web-search/search_dd5de8491b8b803a3cb01339cd210fb0.json +0 -36
  117. package/development/knowledge-base/.index.clean.json +0 -1
  118. package/development/knowledge-base/.index.json +0 -486
  119. package/development/knowledge-base/test-best-practices.md +0 -29
  120. package/development/projects/proj_mkh1pazz_ixmt1/phase1/feasibility-report.md +0 -160
  121. package/development/projects/proj_mkh4jvnb_z7rwf/phase1/feasibility-report.md +0 -160
  122. package/development/projects/proj_mkh4jxkd_ewz5a/phase1/feasibility-report.md +0 -160
  123. package/development/projects/proj_mkh4k84n_ni73k/phase1/feasibility-report.md +0 -160
  124. package/development/projects/proj_mkh4wfyd_u9w88/phase1/feasibility-report.md +0 -160
  125. package/development/projects/proj_mkh4wsbo_iahvf/development/projects/proj_mkh4xbpg_4na5w/phase1/feasibility-report.md +0 -160
  126. package/development/projects/proj_mkh4wsbo_iahvf/phase1/feasibility-report.md +0 -160
  127. package/development/projects/proj_mkh4xulg_1ka8x/phase1/feasibility-report.md +0 -160
  128. package/development/projects/proj_mkh4xwhj_gch8j/phase1/feasibility-report.md +0 -160
  129. package/development/projects/proj_mkh4y2qk_9lm8z/phase1/feasibility-report.md +0 -160
  130. package/development/projects/proj_mkh4y2qk_9lm8z/phase2/requirements.md +0 -226
  131. package/development/projects/proj_mkh4y2qk_9lm8z/phase3/PRD.md +0 -345
  132. package/development/projects/proj_mkh4y2qk_9lm8z/phase3/TASK_PLAN.md +0 -284
  133. package/development/projects/proj_mkh4y2qk_9lm8z/phase3/prototype/README.md +0 -14
  134. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/DEVELOPMENT_LOG.md +0 -35
  135. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/TASKS.md +0 -34
  136. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/source/.env.example +0 -5
  137. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/source/README.md +0 -60
  138. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/source/package.json +0 -25
  139. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/source/src/index.js +0 -70
  140. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/source/src/routes/index.js +0 -48
  141. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/source/tests/health.test.js +0 -20
  142. package/development/projects/proj_mkh4y2qk_9lm8z/phase4/source/tests/jest.config.js +0 -21
  143. package/development/projects/proj_mkh7veqg_3lypc/phase1/feasibility-report.md +0 -160
  144. package/development/projects/proj_mkh7veqg_3lypc/phase2/requirements.md +0 -226
  145. package/development/projects/proj_mkh7veqg_3lypc/phase3/PRD.md +0 -345
  146. package/development/projects/proj_mkh7veqg_3lypc/phase3/TASK_PLAN.md +0 -284
  147. package/development/projects/proj_mkh7veqg_3lypc/phase3/prototype/README.md +0 -14
  148. package/development/projects/proj_mkh8k8fo_rmqn5/phase1/feasibility-report.md +0 -160
  149. package/development/projects/proj_mkh8xyhy_1vshq/phase1/feasibility-report.md +0 -178
  150. package/development/projects/proj_mkh8zddd_dhamf/phase1/feasibility-report.md +0 -377
  151. package/development/projects/proj_mkh8zddd_dhamf/phase2/requirements.md +0 -442
  152. package/development/projects/proj_mkh8zddd_dhamf/phase3/api-design.md +0 -800
  153. package/development/projects/proj_mkh8zddd_dhamf/phase3/architecture.md +0 -625
  154. package/development/projects/proj_mkh8zddd_dhamf/phase3/data-model.md +0 -830
  155. package/development/projects/proj_mkh8zddd_dhamf/phase3/risks.md +0 -957
  156. package/development/projects/proj_mkh8zddd_dhamf/phase3/wbs.md +0 -381
  157. package/development/todos/.state.json +0 -19
  158. package/development/todos/INDEX.md +0 -63
  159. package/development/todos/active/_README.md +0 -49
  160. package/development/todos/archived/_README.md +0 -11
  161. package/development/todos/backlog/_README.md +0 -11
  162. package/development/todos/backlog/mcp-integration.md +0 -35
  163. package/development/todos/completed/_README.md +0 -11
  164. package/development/todos/completed/boris-optimizations.md +0 -39
  165. package/development/todos/completed/develop/local-knowledge-index.md +0 -85
  166. package/development/todos/completed/develop/todo-system.md +0 -47
  167. package/development/todos/completed/develop/web-search-integration.md +0 -83
  168. package/development/todos/completed/test/phase1-e2e-test.md +0 -103
  169. package/docs/DEVELOPMENT.md +0 -461
  170. package/docs/MARKETPLACE.md +0 -352
  171. package/docs/RELEASE.md +0 -93
  172. package/jest.config.js +0 -63
  173. package/lib/commands.js +0 -3588
  174. package/lib/config-manager.js +0 -441
  175. package/lib/config-schema.js +0 -408
  176. package/lib/config-validator.js +0 -330
  177. package/lib/config.js +0 -122
  178. package/lib/errors.js +0 -305
  179. package/lib/incremental-sync.js +0 -274
  180. package/lib/marketplace.js +0 -487
  181. package/lib/migrations.js +0 -154
  182. package/lib/permission-audit.js +0 -255
  183. package/lib/quality-gate.js +0 -431
  184. package/lib/quality-rules.js +0 -373
  185. package/lib/utils.js +0 -150
  186. package/lib/version-check.js +0 -169
  187. package/lib/version-manifest.js +0 -171
  188. package/project-paradigm.md +0 -313
  189. package/prompts/how-to-find.md +0 -163
  190. package/prompts/linus-architect.md +0 -71
  191. package/prompts/software-architect.md +0 -173
  192. package/prompts/web-designer.md +0 -249
  193. package/scripts/fix-hooks.mjs +0 -97
  194. package/scripts/sync-external.mjs +0 -298
  195. package/scripts/sync-to-home.sh +0 -108
  196. package/scripts/update-registry.mjs +0 -325
  197. package/sources.yaml +0 -83
  198. package/tests/README.md +0 -263
  199. package/tests/commands.test.js +0 -1086
  200. package/tests/config-manager.test.js +0 -677
  201. package/tests/config-schema.test.js +0 -425
  202. package/tests/config-validator.test.js +0 -436
  203. package/tests/config.test.js +0 -100
  204. package/tests/errors.test.js +0 -477
  205. package/tests/manual/phase1-e2e.sh +0 -389
  206. package/tests/manual/phase2-test-cases.md +0 -311
  207. package/tests/manual/phase3-test-cases.md +0 -309
  208. package/tests/manual/phase4-test-cases.md +0 -414
  209. package/tests/manual/test-cases.md +0 -417
  210. package/tests/marketplace.test.js +0 -420
  211. package/tests/migrations.test.js +0 -187
  212. package/tests/quality-gate.test.js +0 -679
  213. package/tests/quality-rules.test.js +0 -619
  214. package/tests/sync-external.test.js +0 -214
  215. package/tests/update-registry.test.js +0 -251
  216. package/tests/utils.test.js +0 -171
  217. package/tests/version-check.test.js +0 -75
  218. package/tests/web-search.test.js +0 -392
  219. package/thinkinglens-silent.md +0 -138
@@ -1,381 +0,0 @@
1
- # Work Breakdown Structure
2
-
3
- **Project**: proj_mkh8zddd_dhamf (AI 代码审查工具)
4
- **Date**: 1/17/2026
5
- **Phase**: 3 - Planning
6
- **Status**: In Progress
7
-
8
- ---
9
-
10
- ## Executive Summary
11
-
12
- 本文档将 AI 代码审查工具的开发工作分解为约 30 个子任务,按 4 个阶段组织,预计 16 周 (480 小时) 完成。
13
-
14
- **里程碑**:
15
- - Week 1-4: MVP 基础设施 (Parser + Rule Engine)
16
- - Week 5-8: 核心功能 (CLI + 检测规则)
17
- - Week 9-12: 集成功能 (CI/CD + LLM)
18
- - Week 13-16: 测试、优化、发布
19
-
20
- ---
21
-
22
- ## Phase 1: Foundation (Week 1-4)
23
-
24
- **Goal**: 建立项目基础设施和核心解析能力
25
-
26
- ### 1.1 Project Setup (Week 1)
27
-
28
- | Task ID | Task | Days | Dependencies | Deliverables |
29
- |---------|------|------|--------------|--------------|
30
- | **P1-01** | Initialize Go project structure | 1 | - | `go.mod`, directory layout |
31
- | **P1-02** | Set up development environment | 1 | P1-01 | Makefile, Dockerfile, pre-commit hooks |
32
- | **P1-03** | Configure CI/CD pipeline | 2 | P1-01 | GitHub Actions workflow |
33
- | **P1-04** | Set up database schema | 2 | P1-01 | PostgreSQL migrations, DB connection code |
34
- | **P1-05** | Implement configuration loader | 2 | P1-01 | YAML config parser, validation |
35
-
36
- **Subtotal**: 8 days (64 hours)
37
-
38
- ### 1.2 Parser Service (Week 2-3)
39
-
40
- | Task ID | Task | Days | Dependencies | Deliverables |
41
- |---------|------|------|--------------|--------------|
42
- | **P1-06** | Integrate Tree-sitter Go bindings | 2 | P1-01 | Tree-sitter wrapper |
43
- | **P1-07** | Implement Python parser | 2 | P1-06 | Python AST extraction |
44
- | **P1-08** | Implement JavaScript parser | 2 | P1-06 | JavaScript AST extraction |
45
- | **P1-09** | Implement TypeScript parser | 1 | P1-08 | TypeScript AST extraction |
46
- | **P1-10** | Implement AST caching layer | 2 | P1-06, P1-04 | Redis cache integration |
47
- | **P1-11** | Add error handling and recovery | 1 | P1-07, P1-08 | Graceful parse error handling |
48
-
49
- **Subtotal**: 10 days (80 hours)
50
-
51
- ### 1.3 Rule Engine Foundation (Week 4)
52
-
53
- | Task ID | Task | Days | Dependencies | Deliverables |
54
- |---------|------|------|--------------|--------------|
55
- | **P1-12** | Design rule interface | 1 | P1-01 | Rule abstraction |
56
- | **P1-13** | Implement rule engine core | 3 | P1-12 | Rule matching framework |
57
- | **P1-14** | Create rule configuration parser | 2 | P1-05, P1-12 | Rule YAML parser |
58
- | **P1-15** | Implement issue reporting model | 1 | P1-13 | Issue data structures |
59
-
60
- **Subtotal**: 7 days (56 hours)
61
-
62
- **Phase 1 Total**: 25 days (200 hours)
63
-
64
- ---
65
-
66
- ## Phase 2: Core Features (Week 5-8)
67
-
68
- **Goal**: 实现 CLI 工具和代码检测规则
69
-
70
- ### 2.1 CLI Implementation (Week 5)
71
-
72
- | Task ID | Task | Days | Dependencies | Deliverables |
73
- |---------|------|------|--------------|--------------|
74
- | **P2-01** | Implement Cobra CLI framework | 2 | P1-01 | Command structure |
75
- | **P2-02** | Implement `scan` command | 3 | P1-15, P2-01 | File scanning logic |
76
- | **P2-03** | Implement `init` command | 1 | P2-01 | Config file generation |
77
- | **P2-04** | Implement `config` command | 1 | P2-01 | Config management |
78
- | **P2-05** | Implement output formatters (table, JSON) | 2 | P2-02 | Formatted output |
79
-
80
- **Subtotal**: 9 days (72 hours)
81
-
82
- ### 2.2 Security Rules (Week 6)
83
-
84
- | Task ID | Task | Days | Dependencies | Deliverables |
85
- |---------|------|------|--------------|--------------|
86
- | **P2-06** | Implement SQL injection detection | 2 | P1-13 | SQL injection rule |
87
- | **P2-07** | Implement XSS detection | 2 | P1-13 | XSS detection rule |
88
- | **P2-08** | Implement insecure function detection | 2 | P1-13 | Insecure function rules |
89
- | **P2-09** | Implement hardcoded secrets detection | 1 | P1-13 | Secret detection rules |
90
- | **P2-10** | Create security rule test suite | 2 | P2-06, P2-07, P2-08 | Test fixtures |
91
-
92
- **Subtotal**: 9 days (72 hours)
93
-
94
- ### 2.3 Quality Rules (Week 7)
95
-
96
- | Task ID | Task | Days | Dependencies | Deliverables |
97
- |---------|------|------|--------------|--------------|
98
- | **P2-11** | Implement long function detection | 1 | P1-13 | Function length rule |
99
- | **P2-12** | Implement cyclomatic complexity | 2 | P1-13 | Complexity rule |
100
- | **P2-13** | Implement code duplication detection | 3 | P1-13 | Duplication rule |
101
- | **P2-14** | Implement missing documentation check | 1 | P1-13 | Docstring rules |
102
- | **P2-15** | Create quality rule test suite | 1 | P2-11, P2-12, P2-14 | Test fixtures |
103
-
104
- **Subtotal**: 8 days (64 hours)
105
-
106
- ### 2.4 Report Generation (Week 8)
107
-
108
- | Task ID | Task | Days | Dependencies | Deliverables |
109
- |---------|------|------|--------------|--------------|
110
- | **P2-16** | Implement Markdown report generator | 2 | P2-05 | Markdown output |
111
- | **P2-17** | Implement HTML report generator | 2 | P2-05 | HTML output |
112
- | **P2-18** | Implement SARIF report generator | 2 | P2-05 | SARIF output |
113
- | **P2-19** | Add report aggregation logic | 1 | P2-16, P2-17 | Multi-file aggregation |
114
- | **P2-20** | Implement `report` command | 1 | P2-01, P2-19 | Report CLI command |
115
-
116
- **Subtotal**: 8 days (64 hours)
117
-
118
- **Phase 2 Total**: 34 days (272 hours)
119
-
120
- ---
121
-
122
- ## Phase 3: Integration (Week 9-12)
123
-
124
- **Goal**: 实现 CI/CD 集成和 LLM 增强功能
125
-
126
- ### 3.1 Git Integration (Week 9)
127
-
128
- | Task ID | Task | Days | Dependencies | Deliverables |
129
- |---------|------|------|--------------|--------------|
130
- | **P3-01** | Implement Git diff scanner | 2 | P2-02 | Incremental scan |
131
- | **P3-02** | Add .gitignore-aware file discovery | 1 | P2-02 | Smart file filtering |
132
- | **P3-03** | Implement Git context extraction | 1 | P3-01 | Branch, commit info |
133
- | **P3-04** | Create GitHub Action workflow | 2 | P2-02 | Action YAML |
134
- | **P3-05** | Implement PR comment posting | 2 | P3-04 | GitHub integration |
135
-
136
- **Subtotal**: 8 days (64 hours)
137
-
138
- ### 3.2 LLM Integration (Week 10)
139
-
140
- | Task ID | Task | Days | Dependencies | Deliverables |
141
- |---------|------|------|--------------|--------------|
142
- | **P3-06** | Design LLM client interface | 1 | P1-01 | LLM abstraction |
143
- | **P3-07** | Implement Claude API client | 2 | P3-06 | Claude integration |
144
- | **P3-08** | Design and implement prompts | 2 | P3-07 | Prompt templates |
145
- | **P3-09** | Implement AI issue enhancement | 2 | P3-07, P2-02 | AI-enhanced issues |
146
- | **P3-10** | Implement local model fallback | 1 | P3-06 | Local Llama support |
147
-
148
- **Subtotal**: 8 days (64 hours)
149
-
150
- ### 3.3 Performance & Caching (Week 11)
151
-
152
- | Task ID | Task | Days | Dependencies | Deliverables |
153
- |---------|------|------|--------------|--------------|
154
- | **P3-11** | Implement parallel file scanning | 2 | P2-02 | Concurrent scans |
155
- | **P3-12** | Optimize AST caching strategy | 2 | P1-10 | Cache invalidation |
156
- | **P3-13** | Add scan progress reporting | 1 | P2-02 | Progress bars |
157
- | **P3-14** | Implement scan result caching | 2 | P2-02 | Result persistence |
158
- | **P3-15** | Performance benchmarking | 1 | P3-11, P3-12 | Benchmark suite |
159
-
160
- **Subtotal**: 8 days (64 hours)
161
-
162
- ### 3.4 Advanced Features (Week 12)
163
-
164
- | Task ID | Task | Days | Dependencies | Deliverables |
165
- |---------|------|------|--------------|--------------|
166
- | **P3-16** | Implement trend analysis | 2 | P2-20 | Historical reports |
167
- | **P3-17** | Add custom rule DSL | 3 | P1-14 | User-defined rules |
168
- | **P3-18** | Implement auto-fix capability | 2 | P2-06, P2-07 | Auto-fix suggestions |
169
- | **P3-19** | Add ignore directive support | 1 | P2-02 | Inline ignores |
170
-
171
- **Subtotal**: 8 days (64 hours)
172
-
173
- **Phase 3 Total**: 32 days (256 hours)
174
-
175
- ---
176
-
177
- ## Phase 4: Release Preparation (Week 13-16)
178
-
179
- **Goal**: 测试、文档优化、发布准备
180
-
181
- ### 4.1 Testing (Week 13)
182
-
183
- | Task ID | Task | Days | Dependencies | Deliverables |
184
- |---------|------|------|--------------|--------------|
185
- | **P4-01** | Write unit tests for parser | 2 | P1-07, P1-08 | Parser test suite |
186
- | **P4-02** | Write unit tests for rules | 2 | P2-10, P2-15 | Rule test suite |
187
- | **P4-03** | Write integration tests | 2 | All | End-to-end tests |
188
- | **P4-04** | Set up code coverage reporting | 1 | P4-01, P4-02 | Coverage report |
189
- | **P4-05** | Performance and load testing | 2 | P3-15 | Performance report |
190
-
191
- **Subtotal**: 9 days (72 hours)
192
-
193
- ### 4.2 Documentation (Week 14)
194
-
195
- | Task ID | Task | Days | Dependencies | Deliverables |
196
- |---------|------|------|--------------|--------------|
197
- | **P4-06** | Write user guide | 2 | P2-01 | User documentation |
198
- | **P4-07** | Write configuration reference | 1 | P1-05 | Config docs |
199
- | **P4-08** | Write rule development guide | 2 | P3-17 | Custom rule docs |
200
- | **P4-09** | Create example configurations | 1 | P4-07 | Example configs |
201
- | **P4-10** | Record demo video | 1 | All | Demo content |
202
-
203
- **Subtotal**: 7 days (56 hours)
204
-
205
- ### 4.3 Packaging (Week 15)
206
-
207
- | Task ID | Task | Days | Dependencies | Deliverables |
208
- |---------|------|------|--------------|--------------|
209
- | **P4-11** | Set up release automation | 2 | P1-03 | Release workflow |
210
- | **P4-12** | Create binaries for all platforms | 2 | P4-11 | Binary artifacts |
211
- | **P4-13** | Publish to Homebrew | 1 | P4-12 | Homebrew tap |
212
- | **P4-14** | Create Docker image | 1 | P4-12 | Docker Hub |
213
- | **P4-15** | Set up package signing | 1 | P4-12 | Signed releases |
214
-
215
- **Subtotal**: 7 days (56 hours)
216
-
217
- ### 4.4 Launch (Week 16)
218
-
219
- | Task ID | Task | Days | Dependencies | Deliverables |
220
- |---------|------|------|--------------|--------------|
221
- | **P4-16** | Create GitHub release | 1 | P4-12 | v1.0.0 release |
222
- | **P4-17** | Publish marketplace entry | 1 | P3-04 | GitHub Action |
223
- | **P4-18** | Write announcement blog post | 1 | P4-10 | Launch post |
224
- | **P4-19** | Community outreach | 1 | P4-18 | Social media |
225
- | **P4-20** | Post-launch support & bug fixes | 2 | P4-16 | v1.0.1 patches |
226
-
227
- **Subtotal**: 6 days (48 hours)
228
-
229
- **Phase 4 Total**: 29 days (232 hours)
230
-
231
- ---
232
-
233
- ## Task Dependency Graph
234
-
235
- ```
236
- Phase 1: Foundation
237
- ├── P1-01 → All tasks
238
- ├── P1-01 → P1-02 → P1-03 (CI/CD)
239
- ├── P1-01 → P1-04 (Database)
240
- ├── P1-01 → P1-05 (Config)
241
- ├── P1-01 → P1-06 → P1-07, P1-08 (Parsers)
242
- ├── P1-08 → P1-09 (TypeScript)
243
- ├── P1-06, P1-04 → P1-10 (Cache)
244
- ├── P1-01 → P1-12 → P1-13 (Rule Engine)
245
- ├── P1-05, P1-12 → P1-14 (Rule Config)
246
- └── P1-13 → P1-15 (Issue Model)
247
-
248
- Phase 2: Core Features
249
- ├── P1-01 → P2-01 → P2-02, P2-03, P2-04 (CLI)
250
- ├── P2-02 → P2-05 (Output)
251
- ├── P1-13 → P2-06, P2-07, P2-08, P2-09 (Rules)
252
- ├── P2-06, P2-07, P2-08 → P2-10 (Security Tests)
253
- ├── P1-13 → P2-11, P2-12, P2-13, P2-14 (Quality Rules)
254
- ├── P2-11, P2-12, P2-14 → P2-15 (Quality Tests)
255
- ├── P2-05 → P2-16, P2-17, P2-18 (Reports)
256
- └── P2-16, P2-17 → P2-19 → P2-01 → P2-20 (Report Command)
257
-
258
- Phase 3: Integration
259
- ├── P2-02 → P3-01 → P3-03 (Git Integration)
260
- ├── P3-01 → P3-02 (File Discovery)
261
- ├── P2-02 → P3-04 → P3-05 (GitHub Action)
262
- ├── P1-01 → P3-06 → P3-07 (LLM Client)
263
- ├── P3-07 → P3-08 → P3-09 (AI Enhancement)
264
- ├── P3-06 → P3-10 (Local Model)
265
- ├── P2-02 → P3-11 → P3-12, P3-14 (Performance)
266
- ├── P3-11 → P3-13 (Progress)
267
- ├── P3-11, P3-12 → P3-15 (Benchmarking)
268
- ├── P2-20 → P3-16 (Trends)
269
- ├── P1-14 → P3-17 (Custom Rules)
270
- ├── P2-06, P2-07 → P3-18 (Auto-fix)
271
- └── P2-02 → P3-19 (Ignores)
272
-
273
- Phase 4: Release
274
- ├── P1-07, P1-08 → P4-01 (Parser Tests)
275
- ├── P2-10, P2-15 → P4-02 (Rule Tests)
276
- ├── All → P4-03 (Integration Tests)
277
- ├── P4-01, P4-02 → P4-04 (Coverage)
278
- ├── P3-15 → P4-05 (Performance Tests)
279
- ├── P2-01 → P4-06 (User Guide)
280
- ├── P1-05 → P4-07 (Config Docs)
281
- ├── P3-17 → P4-08 (Custom Rule Docs)
282
- ├── P4-07 → P4-09 (Examples)
283
- ├── All → P4-10 (Demo)
284
- ├── P1-03 → P4-11 → P4-12 (Release Automation)
285
- ├── P4-12 → P4-13, P4-14, P4-15 (Packaging)
286
- ├── P4-12 → P4-16 → P4-17 (Launch)
287
- └── P4-10 → P4-18 → P4-19 → P4-20 (Post-Launch)
288
- ```
289
-
290
- ---
291
-
292
- ## Critical Path
293
-
294
- The critical path (longest chain of dependent tasks) is:
295
-
296
- ```
297
- P1-01 → P1-06 → P1-07 → P2-02 → P3-11 → P3-12 → P3-15 → P4-03 → P4-11 → P4-12 → P4-16
298
- ```
299
-
300
- Total: ~11 weeks on the critical path. Parallel tasks can reduce overall timeline to 16 weeks.
301
-
302
- ---
303
-
304
- ## Risk Adjustments
305
-
306
- | Risk | Impact | Mitigation | Schedule Buffer |
307
- |------|--------|------------|-----------------|
308
- | LLM API delays | +1 week | Use local model fallback | Week 10-11 |
309
- | Tree-sitter complexity | +1 week | Start with simple parsers | Week 2-3 |
310
- | Testing overruns | +1 week | Write tests alongside code | Week 13-14 |
311
- | Documentation gaps | +0.5 week | Start docs early | Week 14-15 |
312
-
313
- **Total buffer**: 3.5 weeks built into 16-week schedule
314
-
315
- ---
316
-
317
- ## Resource Allocation
318
-
319
- | Phase | Tasks | Estimated Hours | % of Total |
320
- |-------|-------|-----------------|------------|
321
- | Phase 1 | 15 | 200 | 42% |
322
- | Phase 2 | 20 | 272 | 57% |
323
- | Phase 3 | 19 | 256 | 53% |
324
- | Phase 4 | 20 | 232 | 48% |
325
- | **Total** | **74** | **960** | **200%** |
326
-
327
- *Note: Percentages exceed 100% because tasks can be done in parallel. Actual timeline is 480 hours (16 weeks at 30h/week).*
328
-
329
- ---
330
-
331
- ## Milestone Checklist
332
-
333
- ### Milestone 1: MVP Foundation (Week 4)
334
- - [x] P1-01 to P1-15 completed
335
- - [ ] Python and JavaScript parsing working
336
- - [ ] Rule engine can execute basic rules
337
- - [ ] Configuration system in place
338
-
339
- ### Milestone 2: CLI + Rules (Week 8)
340
- - [ ] P2-01 to P2-20 completed
341
- - [ ] CLI can scan directories
342
- - [ ] Security rules detecting issues
343
- - [ ] Quality rules operational
344
- - [ ] Reports generating correctly
345
-
346
- ### Milestone 3: Integration (Week 12)
347
- - [ ] P3-01 to P3-19 completed
348
- - [ ] GitHub Action working
349
- - [ ] LLM integration functional
350
- - [ ] Performance acceptable
351
-
352
- ### Milestone 4: v1.0 Release (Week 16)
353
- - [ ] P4-01 to P4-20 completed
354
- - [ ] All tests passing
355
- - [ ] Documentation complete
356
- - [ ] v1.0.0 released
357
-
358
- ---
359
-
360
- ## Next Steps
361
-
362
- 1. Review WBS with stakeholders
363
- 2. Assign start dates to each task
364
- 3. Create project tracking dashboard
365
- 4. Set up weekly review cadence
366
- 5. Proceed to risk assessment (risks.md)
367
-
368
- ---
369
-
370
- ## Metadata
371
-
372
- - **Created**: 1/17/2026
373
- - **Author**: Phase 3 Design Executor
374
- - **Total Tasks**: 74
375
- - **Estimated Duration**: 16 weeks (480 hours)
376
- - **Status**: Draft for Review
377
- - **Related Docs**: phase3/architecture.md, phase3/api-design.md, phase3/data-model.md
378
-
379
- ---
380
-
381
- *This work breakdown structure provides a detailed task roadmap for the AI Code Review Tool implementation.*
@@ -1,19 +0,0 @@
1
- {
2
- "tasks": {
3
- "completed_develop_local-knowledge-index.md": {
4
- "completed": true,
5
- "notified": true
6
- },
7
- "completed_develop_web-search-integration.md": {
8
- "completed": true,
9
- "notified": true
10
- },
11
- "completed_develop_todo-system.md": {
12
- "completed": true,
13
- "notified": true
14
- }
15
- },
16
- "transitions": [],
17
- "lastSynced": "2026-01-22T13:07:26.625Z",
18
- "sessionId": "unknown"
19
- }
@@ -1,63 +0,0 @@
1
- # 项目任务追踪系统
2
-
3
- > 本目录由 AI 自动维护,记录项目开发任务和进度
4
-
5
- @version: 1.0.0
6
-
7
- ## 目录结构
8
-
9
- ```
10
- development/todos/
11
- ├── INDEX.md # 本文件 - 任务总览
12
- ├── active/ # 进行中的任务
13
- ├── completed/ # 已完成的任务
14
- ├── backlog/ # 待规划的任务
15
- └── archived/ # 已归档的任务
16
- ```
17
-
18
- ## 任务状态说明
19
-
20
- | 状态 | 目录 | 说明 |
21
- |------|------|------|
22
- | 🚧 进行中 | `active/` | 当前正在开发的任务 |
23
- | ✅ 已完成 | `completed/` | 完成的任务 |
24
- | 📋 待办 | `backlog/` | 规划中或待分配的任务 |
25
- | 📦 已归档 | `archived/` | 不再活跃的历史任务 |
26
-
27
- ## 快速跳转
28
-
29
- - [🚧 进行中的任务](./active/) - 当前开发重点
30
- - [✅ 已完成的任务](./completed/) - 最近完成
31
- - [📋 待办任务](./backlog/) - 待规划
32
- - [📦 已归档](./archived/) - 历史记录
33
-
34
- ## 使用方式
35
-
36
- ### 查看任务
37
- 点击上方链接跳转到对应目录,或使用:
38
- ```bash
39
- # 查看进行中的任务
40
- cat development/todos/active/*.md
41
-
42
- # 查看特定任务
43
- cat development/todos/active/feature-name.md
44
- ```
45
-
46
- ### 创建新任务
47
- 在 Claude Code 中:
48
- ```
49
- 创建一个新任务:实现用户登录功能
50
- ```
51
-
52
- AI 会自动在 `active/` 目录创建对应的任务文件。
53
-
54
- ### 更新任务状态
55
- ```
56
- 将 [任务名] 标记为完成
57
- ```
58
-
59
- AI 会自动将任务移动到 `completed/` 目录。
60
-
61
- ---
62
-
63
- > **维护说明**: 本系统由 AI 自动维护,请勿手动编辑(除非你知道自己在做什么)
@@ -1,49 +0,0 @@
1
- # 进行中的任务
2
-
3
- > 当前正在开发的任务
4
-
5
- @version: 1.0.0
6
-
7
- 本目录包含所有进行中的任务。每个任务是一个独立的 Markdown 文件。
8
-
9
- ## 任务模板
10
-
11
- ```markdown
12
- # [任务名称]
13
-
14
- **状态**: 🚧 进行中
15
- **优先级**: P0/P1/P2/P3
16
- **负责人**: AI/Human
17
- **分支**: `feature/xxx`
18
- **创建时间**: 2026-01-11
19
- **预计完成**: 2026-01-15
20
-
21
- ## 描述
22
-
23
- [任务描述]
24
-
25
- ## 子任务
26
-
27
- - [ ] 子任务 1
28
- - [ ] 子任务 2
29
- - [ ] 子任务 3
30
-
31
- ## 依赖
32
-
33
- - [依赖的其他任务或资源]
34
-
35
- ## 进度
36
-
37
- - [x] 初始规划
38
- - [ ] 开发中
39
- - [ ] 测试
40
- - [ ] 代码审查
41
-
42
- ## 备注
43
-
44
- [其他备注信息]
45
- ```
46
-
47
- ## 返回
48
-
49
- [返回总览](../INDEX.md)
@@ -1,11 +0,0 @@
1
- # 已归档任务
2
-
3
- > 不再活跃的历史任务
4
-
5
- @version: 1.0.0
6
-
7
- 本目录包含已归档的历史任务,供参考使用。
8
-
9
- ## 返回
10
-
11
- [返回总览](../INDEX.md)
@@ -1,11 +0,0 @@
1
- # 待办任务
2
-
3
- > 规划中或待分配的任务
4
-
5
- @version: 1.0.0
6
-
7
- 本目录包含待规划的任务。
8
-
9
- ## 返回
10
-
11
- [返回总览](../INDEX.md)
@@ -1,35 +0,0 @@
1
- # MCP 集成增强
2
-
3
- **状态**: 📋 待办
4
- **优先级**: P2
5
- **负责人**: AI
6
- **分支**: `feature/mcp-integration`
7
- **创建时间**: 2026-01-11
8
- **预计完成**: TBD
9
-
10
- ## 描述
11
-
12
- 增强 Model Context Protocol (MCP) 集成,支持更多第三方服务。
13
-
14
- ## 子任务
15
-
16
- - [ ] Slack MCP 集成
17
- - [ ] BigQuery 查询支持
18
- - [ ] Sentry 错误日志
19
- - [ ] GitHub Actions 集成
20
-
21
- ## 依赖
22
-
23
- - MCP Server SDK
24
- - 各服务 API credentials
25
-
26
- ## 进度
27
-
28
- - [x] 需求分析
29
- - [ ] 技术方案设计
30
- - [ ] 开发实现
31
- - [ ] 测试验证
32
-
33
- ## 备注
34
-
35
- 等待 MCP 生态成熟后优先级提升。
@@ -1,11 +0,0 @@
1
- # 已完成的任务
2
-
3
- > 已完成并关闭的任务
4
-
5
- @version: 1.0.0
6
-
7
- 本目录包含所有已完成的任务。
8
-
9
- ## 返回
10
-
11
- [返回总览](../INDEX.md)
@@ -1,39 +0,0 @@
1
- # Boris 最佳实践集成
2
-
3
- **状态**: 🚧 进行中
4
- **优先级**: P1
5
- **负责人**: AI
6
- **分支**: `feature/boris-optimizations`
7
- **创建时间**: 2026-01-11
8
- **预计完成**: 2026-01-11
9
-
10
- ## 描述
11
-
12
- 集成 Claude Code 创造者 Boris Cherny 的最佳实践,提升开发效率 2-3 倍。
13
-
14
- ## 子任务
15
-
16
- - [x] 验证反馈循环 (verify-work)
17
- - [x] Slash Commands (7个命令)
18
- - [x] 代码格式化 Hook
19
- - [x] 并行多会话支持
20
-
21
- ## 依赖
22
-
23
- - Claude Code
24
- - oh-my-claude 模板系统
25
-
26
- ## 进度
27
-
28
- - [x] 初始规划
29
- - [x] 开发实现
30
- - [x] 测试验证
31
- - [x] 代码审查
32
-
33
- ## 备注
34
-
35
- 已集成到 template/.claude/ 目录,包括:
36
- - hooks/verify-work.cjs
37
- - hooks/code-formatter.cjs
38
- - hooks/multi-session.cjs
39
- - commands/ (7个 slash commands)