opencodekit 0.22.0 → 0.23.0

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 (71) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +4 -25
  3. package/dist/template/.opencode/.template-manifest.json +115 -188
  4. package/dist/template/.opencode/AGENTS.md +18 -4
  5. package/dist/template/.opencode/README.md +1 -1
  6. package/dist/template/.opencode/agent/build.md +155 -13
  7. package/dist/template/.opencode/agent/plan.md +7 -16
  8. package/dist/template/.opencode/agent/scout.md +2 -2
  9. package/dist/template/.opencode/artifacts/.active +1 -0
  10. package/dist/template/.opencode/artifacts/example/plan.md +12 -0
  11. package/dist/template/.opencode/artifacts/example/progress.md +4 -0
  12. package/dist/template/.opencode/artifacts/example/research.md +4 -0
  13. package/dist/template/.opencode/artifacts/example/spec.md +16 -0
  14. package/dist/template/.opencode/artifacts/todo.md +5 -0
  15. package/dist/template/.opencode/artifacts/verify.log +4 -0
  16. package/dist/template/.opencode/command/clarify.md +6 -8
  17. package/dist/template/.opencode/command/create.md +29 -71
  18. package/dist/template/.opencode/command/design.md +1 -2
  19. package/dist/template/.opencode/command/explore.md +3 -4
  20. package/dist/template/.opencode/command/fix.md +0 -1
  21. package/dist/template/.opencode/command/init.md +1 -4
  22. package/dist/template/.opencode/command/plan.md +30 -60
  23. package/dist/template/.opencode/command/pr.md +10 -28
  24. package/dist/template/.opencode/command/refactor.md +0 -1
  25. package/dist/template/.opencode/command/research.md +7 -29
  26. package/dist/template/.opencode/command/review-codebase.md +6 -13
  27. package/dist/template/.opencode/command/ship.md +136 -78
  28. package/dist/template/.opencode/command/ui-review.md +2 -4
  29. package/dist/template/.opencode/command/verify.md +15 -23
  30. package/dist/template/.opencode/dcp.jsonc +96 -96
  31. package/dist/template/.opencode/memory/README.md +1 -1
  32. package/dist/template/.opencode/memory/_templates/prd.md +1 -1
  33. package/dist/template/.opencode/memory/_templates/roadmap.md +1 -1
  34. package/dist/template/.opencode/memory/_templates/state.md +1 -1
  35. package/dist/template/.opencode/memory/project/gotchas.md +3 -3
  36. package/dist/template/.opencode/memory/project/project.md +2 -2
  37. package/dist/template/.opencode/memory/project/roadmap.md +1 -1
  38. package/dist/template/.opencode/memory/project/state.md +2 -2
  39. package/dist/template/.opencode/memory/project/tech-stack.md +2 -2
  40. package/dist/template/.opencode/opencode.json +14 -152
  41. package/dist/template/.opencode/plugin/README.md +1 -1
  42. package/dist/template/.opencode/skill/brainstorming/SKILL.md +1 -1
  43. package/dist/template/.opencode/skill/context-engineering/SKILL.md +1 -1
  44. package/dist/template/.opencode/skill/development-lifecycle/SKILL.md +26 -45
  45. package/dist/template/.opencode/skill/gemini-large-context/SKILL.md +4 -4
  46. package/dist/template/.opencode/skill/opensrc/references/example-workflow.md +1 -1
  47. package/dist/template/.opencode/skill/subagent-driven-development/SKILL.md +1 -1
  48. package/dist/template/.opencode/skill/using-git-worktrees/SKILL.md +6 -6
  49. package/dist/template/.opencode/skill/verification-before-completion/SKILL.md +6 -6
  50. package/dist/template/.opencode/skill/verification-before-completion/references/VERIFICATION_PROTOCOL.md +5 -5
  51. package/package.json +76 -76
  52. package/dist/template/.opencode/plans/1768385996691-silent-wizard.md +0 -247
  53. package/dist/template/.opencode/plans/1770006237537-mighty-otter.md +0 -418
  54. package/dist/template/.opencode/plans/1770006913647-glowing-forest.md +0 -170
  55. package/dist/template/.opencode/plans/1770013678126-witty-planet.md +0 -278
  56. package/dist/template/.opencode/plans/1770112267595-shiny-rocket.md +0 -258
  57. package/dist/template/.opencode/plans/swarm-protocol.md +0 -123
  58. package/dist/template/.opencode/skill/beads/SKILL.md +0 -182
  59. package/dist/template/.opencode/skill/beads/references/BEST_PRACTICES.md +0 -27
  60. package/dist/template/.opencode/skill/beads/references/BOUNDARIES.md +0 -219
  61. package/dist/template/.opencode/skill/beads/references/DEPENDENCIES.md +0 -124
  62. package/dist/template/.opencode/skill/beads/references/EXAMPLES.md +0 -45
  63. package/dist/template/.opencode/skill/beads/references/FILE_CLAIMING.md +0 -101
  64. package/dist/template/.opencode/skill/beads/references/GIT_SYNC.md +0 -25
  65. package/dist/template/.opencode/skill/beads/references/HIERARCHY.md +0 -71
  66. package/dist/template/.opencode/skill/beads/references/MULTI_AGENT.md +0 -40
  67. package/dist/template/.opencode/skill/beads/references/RESUMABILITY.md +0 -177
  68. package/dist/template/.opencode/skill/beads/references/SESSION_PROTOCOL.md +0 -61
  69. package/dist/template/.opencode/skill/beads/references/TASK_CREATION.md +0 -38
  70. package/dist/template/.opencode/skill/beads/references/TROUBLESHOOTING.md +0 -38
  71. package/dist/template/.opencode/skill/beads/references/WORKFLOWS.md +0 -226
@@ -1,226 +0,0 @@
1
- # Workflows and Checklists
2
-
3
- Detailed step-by-step workflows for common beads usage patterns.
4
-
5
- **Note:** `br` (beads_rust) is non-invasive and never executes git commands. After `br sync --flush-only`, you must manually run `git add .beads/ && git commit`.
6
-
7
- ## Session Start Workflow
8
-
9
- **Every session when beads is available:**
10
-
11
- ```
12
- Session Start:
13
- - [ ] br ready to find unblocked work
14
- - [ ] br update <id> --status in_progress to claim
15
- - [ ] If none ready, br list --status open
16
- - [ ] br show <id> for full context
17
- - [ ] Begin work
18
- ```
19
-
20
- ## Compaction Survival
21
-
22
- **Critical**: After compaction, conversation history is deleted but beads state persists.
23
-
24
- **Post-compaction recovery:**
25
-
26
- ```
27
- After Compaction:
28
- - [ ] br list --status in_progress to see active work
29
- - [ ] br show <id> for each in_progress task
30
- - [ ] Read notes: COMPLETED, IN PROGRESS, BLOCKERS, KEY DECISIONS
31
- - [ ] Reconstruct TodoWrite from notes if needed
32
- ```
33
-
34
- **Writing notes for compaction survival:**
35
-
36
- **Good note (enables recovery):**
37
-
38
- ```
39
- COMPLETED: User auth - JWT tokens with 1hr expiry, refresh endpoint.
40
- IN PROGRESS: Password reset flow. Email service working.
41
- NEXT: Add rate limiting to reset endpoint.
42
- KEY DECISION: Using bcrypt 12 rounds per OWASP.
43
- ```
44
-
45
- **Bad note:**
46
-
47
- ```
48
- Working on auth. Made some progress.
49
- ```
50
-
51
- ## Discovery Workflow
52
-
53
- **When encountering new work during implementation:**
54
-
55
- ```
56
- Discovery:
57
- - [ ] Notice bug, improvement, or follow-up
58
- - [ ] Assess: blocker or deferrable?
59
- - [ ] br create --title "..." --type bug --priority 1
60
- - [ ] If blocker: pause and switch
61
- - [ ] If deferrable: continue current work
62
- ```
63
-
64
- ## Epic Planning
65
-
66
- **For complex multi-step features, think in Ready Fronts.**
67
-
68
- A **Ready Front** is the set of tasks with all dependencies satisfied.
69
-
70
- **Walk backward from goal:**
71
-
72
- ```
73
- "What's the final deliverable?"
74
-
75
- "Integration tests passing" → task-integration
76
-
77
- "What does that need?"
78
-
79
- "Streaming support" → task-streaming
80
- "Header display" → task-header
81
-
82
- "What do those need?"
83
-
84
- "Message rendering" → task-messages
85
-
86
- "Buffer layout" → task-buffer (foundation)
87
- ```
88
-
89
- **Example: OAuth Integration**
90
-
91
- ```bash
92
- # Create epic
93
- br create --title "OAuth integration" --type epic --priority 1
94
-
95
- # Walk backward: What does OAuth need?
96
- br create --title "Login/logout endpoints" --parent oauth-abc
97
- br create --title "Token storage and refresh" --parent oauth-abc
98
- br create --title "Authorization code flow" --parent oauth-abc
99
- br create --title "OAuth client credentials" --parent oauth-abc # foundation
100
- ```
101
-
102
- ## Side Quest Handling
103
-
104
- ```
105
- Side Quest:
106
- - [ ] During main work, discover problem
107
- - [ ] br create for side quest
108
- - [ ] Assess: blocker or deferrable?
109
- - [ ] If blocker: switch to side quest
110
- - [ ] If deferrable: note it, continue main work
111
- ```
112
-
113
- ## Session Handoff
114
-
115
- **At Session End:**
116
-
117
- ```
118
- Session End:
119
- - [ ] Work reaching stopping point
120
- - [ ] Update notes with COMPLETED/IN PROGRESS/NEXT
121
- - [ ] br close <id> --reason "..." if task complete
122
- - [ ] Otherwise leave in_progress with notes
123
- - [ ] br sync --flush-only
124
- - [ ] git add .beads/ && git commit -m "session end"
125
- - [ ] RESTART SESSION
126
- ```
127
-
128
- **At Session Start:**
129
-
130
- ```
131
- Session Start with in_progress:
132
- - [ ] br list --status in_progress
133
- - [ ] br show <id> for each
134
- - [ ] Read notes field
135
- - [ ] Continue from notes context
136
- ```
137
-
138
- ## Unblocking Work
139
-
140
- **When ready list is empty:**
141
-
142
- ```
143
- Unblocking:
144
- - [ ] br list --status open to see all tasks
145
- - [ ] Identify blocked tasks and their blockers
146
- - [ ] Work on blockers first
147
- - [ ] Closing blocker unblocks dependent work
148
- ```
149
-
150
- ## Integration with TodoWrite
151
-
152
- **Using both tools:**
153
-
154
- ```
155
- Hybrid:
156
- - [ ] br ready to find high-level task
157
- - [ ] br update <id> --status in_progress
158
- - [ ] Create TodoWrite from acceptance criteria
159
- - [ ] Work through TodoWrite items
160
- - [ ] Update br notes as you learn
161
- - [ ] When TodoWrite complete, br close <id>
162
- ```
163
-
164
- **Why hybrid**: br provides persistent structure, TodoWrite provides visible progress.
165
-
166
- ## Common Patterns
167
-
168
- ### Systematic Exploration
169
-
170
- ```
171
- 1. Create research task
172
- 2. Update notes with findings
173
- 3. br create for discoveries
174
- 4. Close research with conclusion
175
- ```
176
-
177
- ### Bug Investigation
178
-
179
- ```
180
- 1. Create bug task
181
- 2. Reproduce: note steps
182
- 3. Investigate: track hypotheses in notes
183
- 4. Fix: implement solution
184
- 5. Close with root cause explanation
185
- ```
186
-
187
- ### Refactoring with Dependencies
188
-
189
- ```
190
- 1. Create tasks for each step
191
- 2. Work through in dependency order
192
- 3. br ready shows next step
193
- 4. Each completion unblocks next
194
- ```
195
-
196
- ## Checklist Templates
197
-
198
- ### Starting Any Session
199
-
200
- ```
201
- - [ ] br ready
202
- - [ ] br update <id> --status in_progress
203
- - [ ] br show <id> for context
204
- - [ ] Begin work
205
- ```
206
-
207
- ### Creating Tasks During Work
208
-
209
- ```
210
- - [ ] Notice new work needed
211
- - [ ] br create --title "..." with clear title
212
- - [ ] Add context in description
213
- - [ ] Assess blocker vs deferrable
214
- ```
215
-
216
- ### Completing Work
217
-
218
- ```
219
- - [ ] Implementation done
220
- - [ ] Tests passing
221
- - [ ] br close <id> --reason "..."
222
- - [ ] br sync --flush-only
223
- - [ ] git add .beads/ && git commit
224
- - [ ] br ready for next work
225
- - [ ] RESTART SESSION
226
- ```