specweave 1.0.235 → 1.0.239

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 (196) hide show
  1. package/README.md +89 -193
  2. package/dist/plugins/specweave-github/lib/github-ac-comment-poster.d.ts +37 -0
  3. package/dist/plugins/specweave-github/lib/github-ac-comment-poster.d.ts.map +1 -0
  4. package/dist/plugins/specweave-github/lib/github-ac-comment-poster.js +176 -0
  5. package/dist/plugins/specweave-github/lib/github-ac-comment-poster.js.map +1 -0
  6. package/dist/plugins/specweave-github/lib/github-batch-sync.d.ts +36 -0
  7. package/dist/plugins/specweave-github/lib/github-batch-sync.d.ts.map +1 -0
  8. package/dist/plugins/specweave-github/lib/github-batch-sync.js +115 -0
  9. package/dist/plugins/specweave-github/lib/github-batch-sync.js.map +1 -0
  10. package/dist/plugins/specweave-github/lib/github-board-resolver-v2.d.ts +37 -0
  11. package/dist/plugins/specweave-github/lib/github-board-resolver-v2.d.ts.map +1 -0
  12. package/dist/plugins/specweave-github/lib/github-board-resolver-v2.js +56 -0
  13. package/dist/plugins/specweave-github/lib/github-board-resolver-v2.js.map +1 -0
  14. package/dist/plugins/specweave-github/lib/github-conflict-resolver.d.ts +68 -0
  15. package/dist/plugins/specweave-github/lib/github-conflict-resolver.d.ts.map +1 -0
  16. package/dist/plugins/specweave-github/lib/github-conflict-resolver.js +102 -0
  17. package/dist/plugins/specweave-github/lib/github-conflict-resolver.js.map +1 -0
  18. package/dist/plugins/specweave-github/lib/github-cross-repo-sync.d.ts +64 -0
  19. package/dist/plugins/specweave-github/lib/github-cross-repo-sync.d.ts.map +1 -0
  20. package/dist/plugins/specweave-github/lib/github-cross-repo-sync.js +162 -0
  21. package/dist/plugins/specweave-github/lib/github-cross-repo-sync.js.map +1 -0
  22. package/dist/plugins/specweave-github/lib/github-field-sync.d.ts +50 -0
  23. package/dist/plugins/specweave-github/lib/github-field-sync.d.ts.map +1 -0
  24. package/dist/plugins/specweave-github/lib/github-field-sync.js +107 -0
  25. package/dist/plugins/specweave-github/lib/github-field-sync.js.map +1 -0
  26. package/dist/plugins/specweave-github/lib/github-graphql-client.d.ts +53 -0
  27. package/dist/plugins/specweave-github/lib/github-graphql-client.d.ts.map +1 -0
  28. package/dist/plugins/specweave-github/lib/github-graphql-client.js +138 -0
  29. package/dist/plugins/specweave-github/lib/github-graphql-client.js.map +1 -0
  30. package/dist/plugins/specweave-github/lib/github-issue-body-generator.d.ts +40 -0
  31. package/dist/plugins/specweave-github/lib/github-issue-body-generator.d.ts.map +1 -0
  32. package/dist/plugins/specweave-github/lib/github-issue-body-generator.js +50 -0
  33. package/dist/plugins/specweave-github/lib/github-issue-body-generator.js.map +1 -0
  34. package/dist/plugins/specweave-github/lib/github-issue-body-parser.d.ts +30 -0
  35. package/dist/plugins/specweave-github/lib/github-issue-body-parser.d.ts.map +1 -0
  36. package/dist/plugins/specweave-github/lib/github-issue-body-parser.js +75 -0
  37. package/dist/plugins/specweave-github/lib/github-issue-body-parser.js.map +1 -0
  38. package/dist/plugins/specweave-github/lib/github-pull-sync.d.ts +94 -0
  39. package/dist/plugins/specweave-github/lib/github-pull-sync.d.ts.map +1 -0
  40. package/dist/plugins/specweave-github/lib/github-pull-sync.js +232 -0
  41. package/dist/plugins/specweave-github/lib/github-pull-sync.js.map +1 -0
  42. package/dist/plugins/specweave-github/lib/github-push-sync.d.ts +50 -0
  43. package/dist/plugins/specweave-github/lib/github-push-sync.d.ts.map +1 -0
  44. package/dist/plugins/specweave-github/lib/github-push-sync.js +114 -0
  45. package/dist/plugins/specweave-github/lib/github-push-sync.js.map +1 -0
  46. package/dist/plugins/specweave-github/lib/github-rate-limiter.d.ts +53 -0
  47. package/dist/plugins/specweave-github/lib/github-rate-limiter.d.ts.map +1 -0
  48. package/dist/plugins/specweave-github/lib/github-rate-limiter.js +109 -0
  49. package/dist/plugins/specweave-github/lib/github-rate-limiter.js.map +1 -0
  50. package/dist/plugins/specweave-github/lib/github-spec-frontmatter-updater.d.ts +21 -0
  51. package/dist/plugins/specweave-github/lib/github-spec-frontmatter-updater.d.ts.map +1 -0
  52. package/dist/plugins/specweave-github/lib/github-spec-frontmatter-updater.js +161 -0
  53. package/dist/plugins/specweave-github/lib/github-spec-frontmatter-updater.js.map +1 -0
  54. package/dist/plugins/specweave-github/lib/github-sync-orchestrator.d.ts +46 -0
  55. package/dist/plugins/specweave-github/lib/github-sync-orchestrator.d.ts.map +1 -0
  56. package/dist/plugins/specweave-github/lib/github-sync-orchestrator.js +99 -0
  57. package/dist/plugins/specweave-github/lib/github-sync-orchestrator.js.map +1 -0
  58. package/dist/plugins/specweave-github/lib/github-us-auto-closer.d.ts +43 -0
  59. package/dist/plugins/specweave-github/lib/github-us-auto-closer.d.ts.map +1 -0
  60. package/dist/plugins/specweave-github/lib/github-us-auto-closer.js +153 -0
  61. package/dist/plugins/specweave-github/lib/github-us-auto-closer.js.map +1 -0
  62. package/dist/plugins/specweave-github/lib/index.d.ts +1 -4
  63. package/dist/plugins/specweave-github/lib/index.d.ts.map +1 -1
  64. package/dist/plugins/specweave-github/lib/index.js +1 -4
  65. package/dist/plugins/specweave-github/lib/index.js.map +1 -1
  66. package/dist/plugins/specweave-testing/lib/playwright-ci-defaults.d.ts +7 -0
  67. package/dist/plugins/specweave-testing/lib/playwright-ci-defaults.d.ts.map +1 -0
  68. package/dist/plugins/specweave-testing/lib/playwright-ci-defaults.js +15 -0
  69. package/dist/plugins/specweave-testing/lib/playwright-ci-defaults.js.map +1 -0
  70. package/dist/plugins/specweave-testing/lib/playwright-cli-detector.d.ts +10 -0
  71. package/dist/plugins/specweave-testing/lib/playwright-cli-detector.d.ts.map +1 -0
  72. package/dist/plugins/specweave-testing/lib/playwright-cli-detector.js +36 -0
  73. package/dist/plugins/specweave-testing/lib/playwright-cli-detector.js.map +1 -0
  74. package/dist/plugins/specweave-testing/lib/playwright-cli-runner.d.ts +25 -0
  75. package/dist/plugins/specweave-testing/lib/playwright-cli-runner.d.ts.map +1 -0
  76. package/dist/plugins/specweave-testing/lib/playwright-cli-runner.js +57 -0
  77. package/dist/plugins/specweave-testing/lib/playwright-cli-runner.js.map +1 -0
  78. package/dist/plugins/specweave-testing/lib/playwright-routing.d.ts +7 -0
  79. package/dist/plugins/specweave-testing/lib/playwright-routing.d.ts.map +1 -0
  80. package/dist/plugins/specweave-testing/lib/playwright-routing.js +17 -0
  81. package/dist/plugins/specweave-testing/lib/playwright-routing.js.map +1 -0
  82. package/dist/src/cli/commands/auto.d.ts.map +1 -1
  83. package/dist/src/cli/commands/auto.js +1 -2
  84. package/dist/src/cli/commands/auto.js.map +1 -1
  85. package/dist/src/cli/commands/cancel-auto.js +1 -2
  86. package/dist/src/cli/commands/cancel-auto.js.map +1 -1
  87. package/dist/src/cli/commands/living-docs.js +2 -2
  88. package/dist/src/cli/commands/living-docs.js.map +1 -1
  89. package/dist/src/cli/commands/update.d.ts.map +1 -1
  90. package/dist/src/cli/commands/update.js +1 -2
  91. package/dist/src/cli/commands/update.js.map +1 -1
  92. package/dist/src/core/config/types.d.ts +8 -0
  93. package/dist/src/core/config/types.d.ts.map +1 -1
  94. package/dist/src/core/config/types.js +3 -0
  95. package/dist/src/core/config/types.js.map +1 -1
  96. package/dist/src/core/types/sync-profile.d.ts +72 -0
  97. package/dist/src/core/types/sync-profile.d.ts.map +1 -1
  98. package/dist/src/core/types/sync-profile.js +6 -0
  99. package/dist/src/core/types/sync-profile.js.map +1 -1
  100. package/package.json +2 -2
  101. package/plugins/specweave/hooks/hooks.json +2 -2
  102. package/plugins/specweave/hooks/startup-health-check.sh +1 -1
  103. package/plugins/specweave/hooks/stop-auto-v5.sh +166 -0
  104. package/plugins/specweave/hooks/user-prompt-submit.sh +10 -0
  105. package/plugins/specweave/hooks/v2/dispatchers/post-tool-use.sh +21 -1
  106. package/plugins/specweave/hooks/v2/dispatchers/session-start.sh +1 -1
  107. package/plugins/specweave/skills/auto/SKILL.md +71 -251
  108. package/plugins/specweave/skills/team-build/SKILL.md +370 -0
  109. package/plugins/specweave/skills/team-merge/SKILL.md +123 -0
  110. package/plugins/specweave/skills/team-orchestrate/SKILL.md +800 -0
  111. package/plugins/specweave/skills/team-status/SKILL.md +89 -0
  112. package/plugins/specweave-github/MULTI-PROJECT-SYNC-ARCHITECTURE.md +94 -8
  113. package/plugins/specweave-github/commands/sync.md +17 -3
  114. package/plugins/specweave-github/hooks/github-ac-sync-handler.sh +255 -0
  115. package/plugins/specweave-github/hooks/github-auto-create-handler.sh +455 -0
  116. package/plugins/specweave-github/lib/github-ac-comment-poster.js +150 -0
  117. package/plugins/specweave-github/lib/github-ac-comment-poster.ts +245 -0
  118. package/plugins/specweave-github/lib/github-batch-sync.js +93 -0
  119. package/plugins/specweave-github/lib/github-batch-sync.ts +152 -0
  120. package/plugins/specweave-github/lib/github-board-resolver-v2.js +47 -0
  121. package/plugins/specweave-github/lib/github-board-resolver-v2.ts +73 -0
  122. package/plugins/specweave-github/lib/github-conflict-resolver.js +90 -0
  123. package/plugins/specweave-github/lib/github-conflict-resolver.ts +154 -0
  124. package/plugins/specweave-github/lib/github-cross-repo-sync.js +168 -0
  125. package/plugins/specweave-github/lib/github-cross-repo-sync.ts +252 -0
  126. package/plugins/specweave-github/lib/github-field-sync.js +116 -0
  127. package/plugins/specweave-github/lib/github-field-sync.ts +165 -0
  128. package/plugins/specweave-github/lib/github-graphql-client.js +129 -0
  129. package/plugins/specweave-github/lib/github-graphql-client.ts +181 -0
  130. package/plugins/specweave-github/lib/github-issue-body-generator.js +30 -0
  131. package/plugins/specweave-github/lib/github-issue-body-generator.ts +76 -0
  132. package/plugins/specweave-github/lib/github-issue-body-parser.js +55 -0
  133. package/plugins/specweave-github/lib/github-issue-body-parser.ts +92 -0
  134. package/plugins/specweave-github/lib/github-pull-sync.js +185 -0
  135. package/plugins/specweave-github/lib/github-pull-sync.ts +343 -0
  136. package/plugins/specweave-github/lib/github-push-sync.js +119 -0
  137. package/plugins/specweave-github/lib/github-push-sync.ts +174 -0
  138. package/plugins/specweave-github/lib/github-rate-limiter.js +96 -0
  139. package/plugins/specweave-github/lib/github-rate-limiter.ts +143 -0
  140. package/plugins/specweave-github/lib/github-spec-frontmatter-updater.js +117 -0
  141. package/plugins/specweave-github/lib/github-spec-frontmatter-updater.ts +180 -0
  142. package/plugins/specweave-github/lib/github-sync-orchestrator.js +84 -0
  143. package/plugins/specweave-github/lib/github-sync-orchestrator.ts +156 -0
  144. package/plugins/specweave-github/lib/github-us-auto-closer.js +134 -0
  145. package/plugins/specweave-github/lib/github-us-auto-closer.ts +226 -0
  146. package/plugins/specweave-github/lib/index.js +1 -7
  147. package/plugins/specweave-github/lib/index.ts +1 -4
  148. package/plugins/specweave-github/skills/github-sync/SKILL.md +76 -4
  149. package/plugins/specweave-testing/commands/e2e-setup.md +18 -0
  150. package/plugins/specweave-testing/commands/ui-automate.md +2 -0
  151. package/plugins/specweave-testing/commands/ui-inspect.md +8 -0
  152. package/plugins/specweave-testing/lib/playwright-ci-defaults.d.ts +6 -0
  153. package/plugins/specweave-testing/lib/playwright-ci-defaults.js +14 -0
  154. package/plugins/specweave-testing/lib/playwright-ci-defaults.ts +24 -0
  155. package/plugins/specweave-testing/lib/playwright-cli-detector.js +33 -0
  156. package/plugins/specweave-testing/lib/playwright-cli-detector.ts +48 -0
  157. package/plugins/specweave-testing/lib/playwright-cli-runner.js +58 -0
  158. package/plugins/specweave-testing/lib/playwright-cli-runner.ts +80 -0
  159. package/plugins/specweave-testing/lib/playwright-routing.js +16 -0
  160. package/plugins/specweave-testing/lib/playwright-routing.ts +38 -0
  161. package/plugins/specweave-testing/skills/e2e-testing/SKILL.md +38 -0
  162. package/src/templates/CLAUDE.md.template +7 -0
  163. package/src/templates/config.json.template +9 -1
  164. package/dist/plugins/specweave-github/lib/subtask-sync.d.ts +0 -51
  165. package/dist/plugins/specweave-github/lib/subtask-sync.d.ts.map +0 -1
  166. package/dist/plugins/specweave-github/lib/subtask-sync.js +0 -147
  167. package/dist/plugins/specweave-github/lib/subtask-sync.js.map +0 -1
  168. package/dist/plugins/specweave-github/lib/task-parser.d.ts +0 -37
  169. package/dist/plugins/specweave-github/lib/task-parser.d.ts.map +0 -1
  170. package/dist/plugins/specweave-github/lib/task-parser.js +0 -211
  171. package/dist/plugins/specweave-github/lib/task-parser.js.map +0 -1
  172. package/dist/plugins/specweave-github/lib/task-sync.d.ts +0 -56
  173. package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +0 -1
  174. package/dist/plugins/specweave-github/lib/task-sync.js +0 -375
  175. package/dist/plugins/specweave-github/lib/task-sync.js.map +0 -1
  176. package/plugins/specweave/hooks/validate-completion-conditions.sh +0 -474
  177. package/plugins/specweave-github/lib/subtask-sync.d.ts +0 -51
  178. package/plugins/specweave-github/lib/subtask-sync.d.ts.map +0 -1
  179. package/plugins/specweave-github/lib/subtask-sync.js +0 -154
  180. package/plugins/specweave-github/lib/subtask-sync.js.map +0 -1
  181. package/plugins/specweave-github/lib/subtask-sync.ts +0 -225
  182. package/plugins/specweave-github/lib/task-parser.d.js +0 -0
  183. package/plugins/specweave-github/lib/task-parser.d.ts +0 -37
  184. package/plugins/specweave-github/lib/task-parser.d.ts.map +0 -1
  185. package/plugins/specweave-github/lib/task-parser.js +0 -195
  186. package/plugins/specweave-github/lib/task-parser.js.map +0 -1
  187. package/plugins/specweave-github/lib/task-parser.ts +0 -246
  188. package/plugins/specweave-github/lib/task-sync.d.js +0 -0
  189. package/plugins/specweave-github/lib/task-sync.d.ts +0 -51
  190. package/plugins/specweave-github/lib/task-sync.d.ts.map +0 -1
  191. package/plugins/specweave-github/lib/task-sync.js +0 -415
  192. package/plugins/specweave-github/lib/task-sync.js.map +0 -1
  193. package/plugins/specweave-github/lib/task-sync.ts +0 -451
  194. package/plugins/specweave-github/skills/github-issue-tracker/SKILL.md +0 -496
  195. /package/plugins/specweave/hooks/{stop-auto.sh → _archive/stop-auto-v4-legacy.sh} +0 -0
  196. /package/plugins/{specweave-github/lib/subtask-sync.d.js → specweave-testing/lib/playwright-ci-defaults.d.js} +0 -0
@@ -1,496 +0,0 @@
1
- ---
2
- description: Task-level GitHub issue tracking for fine-grained progress visibility via comments, checklists, and labels. Use when tracking detailed task progress in GitHub, managing team collaboration on specific tasks, or tracking blocking issues. Enables per-task updates and discussions.
3
- ---
4
-
5
- # GitHub Issue Tracker - Task-Level Progress Tracking
6
-
7
- **Purpose**: Provide fine-grained task-level visibility in GitHub issues for detailed progress tracking and team collaboration.
8
-
9
- **When to Use**:
10
- - Detailed progress tracking (per-task updates)
11
- - Team collaboration on specific tasks
12
- - Task assignments via GitHub
13
- - Blocking issue tracking
14
- - Task-level comments and discussions
15
-
16
- **Integration**: Works with `github-sync` skill and `/sw:github:*` commands
17
-
18
- ---
19
-
20
- ## How Task Tracking Works
21
-
22
- ### 1. Task Checklist in GitHub Issue
23
-
24
- When creating an increment issue, automatically add task checklist:
25
-
26
- ```markdown
27
- ## Tasks
28
-
29
- ### Week 1: Foundation (12 tasks)
30
-
31
- - [ ] T-001: Create plugin type definitions (6h) @developer1
32
- - [ ] T-002: Create plugin manifest schema (4h) @developer1
33
- - [ ] T-003: Implement PluginLoader (6h) @developer2
34
- - [ ] T-004: Implement PluginManager (8h) @developer2
35
- ...
36
-
37
- ### Week 2: GitHub Plugin (10 tasks)
38
-
39
- - [ ] T-013: Create GitHub plugin structure (2h)
40
- - [ ] T-014: Implement github-sync skill (8h)
41
- ...
42
- ```
43
-
44
- **Features**:
45
- - Clickable checkboxes (GitHub native)
46
- - Time estimates in parentheses
47
- - Assignees via @mentions
48
- - Organized by phase/week
49
-
50
- ### 2. Per-Task Comments
51
-
52
- After each task completion, post detailed comment:
53
-
54
- ```markdown
55
- ### ✅ Task Completed: T-007
56
-
57
- **Title**: Implement Claude plugin installer
58
- **Estimated**: 8h
59
- **Actual**: 7h
60
- **Assignee**: @developer2
61
-
62
- **What Changed**:
63
- - Added `compilePlugin()` method to ClaudeAdapter
64
- - Implemented plugin file copying to `.claude/`
65
- - Added unload and status methods
66
- - Updated adapter interface
67
-
68
- **Files Modified**:
69
- - `src/adapters/claude/adapter.ts` (+150 lines)
70
- - `src/adapters/adapter-interface.ts` (+35 lines)
71
-
72
- **Tests**:
73
- - ✅ Unit tests passing (12 new tests)
74
- - ✅ Integration test: plugin install/uninstall
75
-
76
- **Next Task**: T-008 - Implement Cursor plugin compiler
77
-
78
- ---
79
-
80
- **Progress**: 7/48 tasks (15%) | Week 1: 7/12 complete
81
-
82
- 🤖 Posted by SpecWeave at 2025-10-30 14:30:00
83
- ```
84
-
85
- **Benefits**:
86
- - Detailed change log per task
87
- - Time tracking (estimated vs actual)
88
- - File change summary
89
- - Test status
90
- - Context for code reviewers
91
-
92
- ### 3. Task Assignments
93
-
94
- Assign tasks to team members via GitHub:
95
-
96
- **Method 1: Task checklist with @mentions**
97
- ```markdown
98
- - [ ] T-015: Create test suite (8h) @qa-engineer
99
- ```
100
-
101
- **Method 2: Issue comments**
102
- ```
103
- @developer1 Can you take T-003 and T-004 this week?
104
- ```
105
-
106
- **Method 3: GitHub Projects**
107
- - Drag tasks to columns (To Do, In Progress, Done)
108
- - Auto-sync with increment status
109
-
110
- ### 4. Blocking Issues
111
-
112
- Track dependencies and blockers:
113
-
114
- ```markdown
115
- ### 🚨 Blocked: T-020
116
-
117
- **Task**: Implement Kubernetes plugin
118
- **Blocked By**: #127 (Infrastructure setup incomplete)
119
- **Blocking**: T-021, T-022
120
- **Reason**: Need staging cluster before testing K8s plugin
121
-
122
- **Resolution**: Wait for #127 to close, then proceed with T-020
123
-
124
- ---
125
-
126
- **ETA**: Blocked since 2025-10-28, expected resolution by 2025-11-01
127
- ```
128
-
129
- ---
130
-
131
- ## Configuration
132
-
133
- Enable task-level tracking in `.specweave/config.yaml`:
134
-
135
- ```yaml
136
- plugins:
137
- settings:
138
- specweave-github:
139
- # Task-level tracking
140
- task_tracking:
141
- enabled: true
142
-
143
- # Post comment after each task
144
- post_task_comments: true
145
-
146
- # Update checklist after each task
147
- update_checklist: true
148
-
149
- # Include file changes in comments
150
- include_file_changes: true
151
-
152
- # Include time tracking
153
- include_time_tracking: true
154
-
155
- # Auto-assign tasks based on git author
156
- auto_assign: true
157
-
158
- # Blocking issue detection
159
- blocking_issues:
160
- enabled: true
161
-
162
- # Check for blocking keywords in task descriptions
163
- keywords: ["blocked by", "depends on", "requires"]
164
- ```
165
-
166
- ---
167
-
168
- ## Commands
169
-
170
- ### Check Task Status
171
-
172
- ```bash
173
- /sw:github:status 0004
174
- ```
175
-
176
- Output:
177
- ```
178
- GitHub Issue: #130
179
- Status: Open (In Progress)
180
-
181
- Tasks: 7/48 completed (15%)
182
-
183
- Week 1: Foundation
184
- ✅ T-001: Create plugin types (Done)
185
- ✅ T-002: Create manifest schema (Done)
186
- ✅ T-003: Implement PluginLoader (Done)
187
- ✅ T-004: Implement PluginManager (Done)
188
- ✅ T-005: Implement PluginDetector (Done)
189
- ✅ T-006: Update adapter interface (Done)
190
- ✅ T-007: Implement Claude installer (Done)
191
- ⏳ T-008: Implement Cursor compiler (In Progress)
192
- ⏸️ T-009: Implement Copilot compiler (Pending)
193
- ```
194
-
195
- ### Sync Task Checklist
196
-
197
- ```bash
198
- /sw:github:sync 0004 --tasks
199
- ```
200
-
201
- Updates GitHub issue checklist to match current increment progress.
202
-
203
- ### Comment on Task
204
-
205
- ```bash
206
- /sw:github:comment 0004 T-008 "Cursor adapter completed, moving to testing phase"
207
- ```
208
-
209
- Posts custom comment to GitHub issue for specific task.
210
-
211
- ---
212
-
213
- ## GitHub Labels for Tasks
214
-
215
- Automatically apply labels based on task status:
216
-
217
- | Label | When Applied | Purpose |
218
- |-------|--------------|---------|
219
- | `in-progress` | First task starts | Increment is actively being worked on |
220
- | `testing` | Implementation tasks done | Ready for QA |
221
- | `blocked` | Task marked as blocked | Needs attention |
222
- | `review-requested` | PR created | Code review needed |
223
- | `ready-for-merge` | Review approved | Can be merged |
224
-
225
- ---
226
-
227
- ## Team Collaboration Patterns
228
-
229
- ### Pattern 1: Daily Standups via GitHub
230
-
231
- Team members comment on tasks with daily updates:
232
-
233
- ```markdown
234
- **@developer1** on T-008:
235
- Yesterday: Implemented Cursor adapter skeleton
236
- Today: Adding plugin compilation logic
237
- Blockers: None
238
-
239
- **@developer2** on T-014:
240
- Yesterday: Created github-sync skill
241
- Today: Testing sync workflow
242
- Blockers: Waiting for #130 review
243
- ```
244
-
245
- ### Pattern 2: Code Review Integration
246
-
247
- Link PRs to tasks:
248
-
249
- ```markdown
250
- ### T-007: Claude plugin installer
251
-
252
- **PR**: #45
253
- **Status**: Ready for review
254
- **Reviewers**: @tech-lead, @architect
255
-
256
- **Changes**:
257
- - Implemented plugin support in Claude adapter
258
- - Added comprehensive tests
259
- - Updated documentation
260
-
261
- **Review Checklist**:
262
- - [ ] Code quality (clean, readable)
263
- - [ ] Test coverage (80%+)
264
- - [ ] Documentation updated
265
- - [ ] No security issues
266
- ```
267
-
268
- ### Pattern 3: Task Handoff
269
-
270
- Transfer task ownership:
271
-
272
- ```markdown
273
- @developer1 → @developer2 (T-015)
274
-
275
- **Context**:
276
- - Tests framework configured
277
- - Need to write E2E tests for plugin system
278
- - Reference: T-007 implementation
279
-
280
- **Handoff Notes**:
281
- - Use Playwright for E2E tests
282
- - Cover happy path + error scenarios
283
- - See `.specweave/increments/0004/tests.md` for test cases
284
- ```
285
-
286
- ---
287
-
288
- ## Time Tracking
289
-
290
- ### Automatic Time Tracking
291
-
292
- Track time spent on tasks:
293
-
294
- ```yaml
295
- # .specweave/increments/0004-plugin-architecture/.metadata.yaml
296
- tasks:
297
- T-007:
298
- estimated_hours: 8
299
- actual_hours: 7
300
- started_at: 2025-10-30T10:00:00Z
301
- completed_at: 2025-10-30T17:00:00Z
302
- assignee: developer2
303
- ```
304
-
305
- ### Time Reports
306
-
307
- Generate time reports:
308
-
309
- ```bash
310
- /sw:github:time-report 0004
311
- ```
312
-
313
- Output:
314
- ```
315
- Time Report: Increment 0004
316
-
317
- Estimated: 240 hours (6 weeks)
318
- Actual: 56 hours (1.4 weeks)
319
- Remaining: 184 hours (4.6 weeks)
320
-
321
- By Developer:
322
- - developer1: 24h (5 tasks)
323
- - developer2: 32h (2 tasks)
324
-
325
- By Phase:
326
- - Week 1 Foundation: 56h / 96h (58%)
327
- - Week 2 GitHub Plugin: 0h / 80h (0%)
328
- - Week 3 Plugins: 0h / 120h (0%)
329
- - Week 4 Docs: 0h / 88h (0%)
330
-
331
- Pace: On track (4% ahead of schedule)
332
- ```
333
-
334
- ---
335
-
336
- ## GitHub Projects Integration
337
-
338
- ### Automated Kanban Board
339
-
340
- Sync increment tasks with GitHub Projects:
341
-
342
- **Board Columns**:
343
- 1. **Backlog**: Pending tasks
344
- 2. **Ready**: Tasks ready to start
345
- 3. **In Progress**: Currently being worked on
346
- 4. **Review**: PRs open, needs review
347
- 5. **Done**: Completed tasks
348
-
349
- **Auto-Move Rules**:
350
- - Task starts → Move to "In Progress"
351
- - PR created → Move to "Review"
352
- - PR merged → Move to "Done"
353
-
354
- ### Milestone Tracking
355
-
356
- Link increments to GitHub Milestones:
357
-
358
- ```yaml
359
- # .specweave/config.yaml
360
- plugins:
361
- settings:
362
- specweave-github:
363
- milestones:
364
- "v0.4.0":
365
- increments:
366
- - 0004-plugin-architecture
367
- - 0005-user-authentication
368
- due_date: 2025-11-30
369
- ```
370
-
371
- GitHub Milestone view shows progress across multiple increments.
372
-
373
- ---
374
-
375
- ## Advanced Features
376
-
377
- ### Task Dependencies
378
-
379
- Define task dependencies in `tasks.md`:
380
-
381
- ```markdown
382
- ### T-008: Implement Cursor compiler
383
-
384
- **Dependencies**: T-006, T-007
385
- **Blocks**: T-011, T-012
386
-
387
- **Description**: ...
388
- ```
389
-
390
- SpecWeave enforces dependency order and warns if attempting blocked task.
391
-
392
- ### Subtasks
393
-
394
- Break complex tasks into subtasks:
395
-
396
- ```markdown
397
- ### T-014: Implement github-sync skill (8h)
398
-
399
- **Subtasks**:
400
- - [ ] T-014.1: Create SKILL.md (1h)
401
- - [ ] T-014.2: Implement export (increment → issue) (3h)
402
- - [ ] T-014.3: Implement import (issue → increment) (2h)
403
- - [ ] T-014.4: Add progress updates (1h)
404
- - [ ] T-014.5: Write tests (1h)
405
- ```
406
-
407
- Subtasks appear as nested checkboxes in GitHub issue.
408
-
409
- ### External Issue Links
410
-
411
- Reference external blocking issues:
412
-
413
- ```markdown
414
- ### T-020: Kubernetes plugin
415
-
416
- **Blocked By**:
417
- - #127 (this repo): Infrastructure setup
418
- - https://github.com/kubernetes/kubernetes/issues/12345: K8s API bug
419
-
420
- **Resolution Plan**:
421
- 1. Wait for #127 (ETA: 2025-11-01)
422
- 2. Work around K8s bug using alternative API
423
- ```
424
-
425
- ---
426
-
427
- ## Notifications
428
-
429
- ### Task Assignment Notifications
430
-
431
- GitHub automatically notifies assignees:
432
-
433
- ```
434
- @developer1 you were assigned T-015 in #130
435
- ```
436
-
437
- ### Blocking Notifications
438
-
439
- Notify blocked task assignees when blocker resolves:
440
-
441
- ```
442
- @developer2 Task T-020 is unblocked (#127 was closed)
443
- ```
444
-
445
- ### Deadline Reminders
446
-
447
- Warn when tasks are behind schedule:
448
-
449
- ```
450
- ⚠️ T-008 is 2 days overdue (estimated: 2 days, actual: 4 days)
451
- ```
452
-
453
- ---
454
-
455
- ## Troubleshooting
456
-
457
- **Checklist not updating?**
458
- - Verify `update_checklist: true` in config
459
- - Check GitHub API permissions (repo write access)
460
- - Manually sync: `/sw:github:sync 0004 --tasks`
461
-
462
- **Comments not posting?**
463
- - Check `post_task_comments: true`
464
- - Verify GitHub CLI authenticated: `gh auth status`
465
- - Check rate limits: `gh api rate_limit`
466
-
467
- **Time tracking inaccurate?**
468
- - Verify task timestamps in `.metadata.yaml`
469
- - Check for manual edits to metadata
470
- - Re-sync: `/sw:github:sync 0004 --force`
471
-
472
- ---
473
-
474
- ## Best Practices
475
-
476
- 1. **Keep Tasks Atomic**: Each task should be completable in one work session (2-8 hours)
477
- 2. **Update Checklists Daily**: Sync progress at least once per day
478
- 3. **Use Assignees**: Assign tasks to specific developers for accountability
479
- 4. **Track Blockers**: Immediately flag blocking issues for visibility
480
- 5. **Link PRs**: Always reference task ID in PR title (`T-007: Add plugin support`)
481
- 6. **Comment Context**: Add context comments when handing off tasks
482
- 7. **Review Time Estimates**: Adjust estimates based on actual time tracked
483
-
484
- ---
485
-
486
- ## Related
487
-
488
- - **github-sync**: High-level increment ↔ issue synchronization
489
- - **github-manager agent**: AI agent for GitHub operations
490
- - **Commands**: All `/sw:github:*` commands
491
-
492
- ---
493
-
494
- **Version**: 1.0.0
495
- **Plugin**: specweave-github
496
- **Last Updated**: 2025-10-30