opencodekit 0.15.21 → 0.16.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.
- package/dist/index.js +5 -7
- package/dist/template/.opencode/AGENTS.md +21 -20
- package/dist/template/.opencode/agent/build.md +88 -7
- package/dist/template/.opencode/agent/explore.md +1 -1
- package/dist/template/.opencode/agent/general.md +54 -4
- package/dist/template/.opencode/agent/looker.md +1 -1
- package/dist/template/.opencode/agent/painter.md +1 -1
- package/dist/template/.opencode/agent/plan.md +52 -0
- package/dist/template/.opencode/agent/review.md +1 -1
- package/dist/template/.opencode/agent/scout.md +3 -3
- package/dist/template/.opencode/agent/vision.md +1 -1
- package/dist/template/.opencode/command/create.md +201 -95
- package/dist/template/.opencode/command/design.md +5 -7
- package/dist/template/.opencode/command/handoff.md +7 -0
- package/dist/template/.opencode/command/init.md +25 -47
- package/dist/template/.opencode/command/plan.md +35 -16
- package/dist/template/.opencode/command/resume.md +7 -18
- package/dist/template/.opencode/command/ship.md +156 -0
- package/dist/template/.opencode/command/start.md +315 -28
- package/dist/template/.opencode/command/ui-review.md +5 -7
- package/dist/template/.opencode/command/verify.md +279 -0
- package/dist/template/.opencode/memory/_templates/README.md +57 -19
- package/dist/template/.opencode/memory/_templates/prd.md +29 -0
- package/dist/template/.opencode/memory/_templates/project/tech-stack.md +50 -0
- package/dist/template/.opencode/memory/_templates/proposal.md +38 -0
- package/dist/template/.opencode/memory/_templates/spec.md +66 -0
- package/dist/template/.opencode/memory/_templates/tasks.md +198 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-add-skills-vs-commands-to-global-agents-.md +15 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-build-agent-auto-loads-skills-contextual.md +31 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-fixed-agent-configuration-for-opencodeki.md +25 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-focused-agents-md-upgrade-for-opencode-k.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-implement-tier-1-permission-upgrades.md +15 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-instructions-config-explicit-paths-not-w.md +40 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-merged-context-into-memory-project-singl.md +42 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-oracle-tool-should-use-review-agent-not-.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-plan-agent-auto-loads-skills-contextuall.md +31 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-plan-phased-oracle-command-merge-into-ne.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-prd-workflow-uses-prd-and-prd-task-skill.md +23 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-prefer-review-agent-via-opencode-cli-ove.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-oracle-tool-add-ship-command-with.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-oracle-tool-and-add-ship-command-.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-oracle-tool-and-add-ship-command.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-skills-vs-commands-section-from-a.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-replace-oracle-tool-with-ship-command-fl.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-replace-oracle-with-ship-command-workflo.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-replace-proxypal-oracle-with-cli-review-.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-simplified-dist-template-only-tech-stack.md +50 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-simplified-templates-only-tech-stack-md.md +26 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-subagents-load-minimal-skills-stay-lean.md +29 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-user-approved-permission-upgrades-in-ope.md +15 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-discovery-verify-command-already-implemented.md +28 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-feature-openspec-phase-b-complete-template-upgra.md +43 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-build-agent-should-use-dynamic-lsp-not-f.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-kimi-k2-5-model-requires-temperature-1-0.md +22 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-opencode-context-injection-already-imple.md +27 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-opencode-context-injection-uses-instruct.md +35 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-update-build-agent-prompt-to-use-context.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-upgrade-agents-md-using-opencode-expert-.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-upgrade-agents-md-with-opencode-expert-g.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-upgrade-agents-md-with-opencode-expert-r.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-user-prefers-copilot-gpt-5-2-codex-mediu.md +14 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-user-wants-general-agent-prompt-contextu.md +15 -0
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-user-wants-general-agent-prompt-reviewed.md +15 -0
- package/dist/template/.opencode/memory/project/command-rules.md +122 -0
- package/dist/template/.opencode/memory/project/tech-stack.md +50 -0
- package/dist/template/.opencode/memory/research/ccpm-analysis.md +334 -0
- package/dist/template/.opencode/memory/research/openspec-analysis.md +226 -0
- package/dist/template/.opencode/opencode.json +916 -803
- package/dist/template/.opencode/skill/tool-priority/SKILL.md +2 -2
- package/package.json +1 -1
- package/dist/template/.opencode/command/accessibility-check.md +0 -331
- package/dist/template/.opencode/command/agent-browser.md +0 -21
- package/dist/template/.opencode/command/analyze-mockup.md +0 -423
- package/dist/template/.opencode/command/analyze-project.md +0 -295
- package/dist/template/.opencode/command/brainstorm.md +0 -373
- package/dist/template/.opencode/command/cloudflare.md +0 -70
- package/dist/template/.opencode/command/commit.md +0 -245
- package/dist/template/.opencode/command/complete-next-task.md +0 -77
- package/dist/template/.opencode/command/design-audit.md +0 -480
- package/dist/template/.opencode/command/edit-image.md +0 -242
- package/dist/template/.opencode/command/finish.md +0 -255
- package/dist/template/.opencode/command/fix-ci.md +0 -109
- package/dist/template/.opencode/command/fix-types.md +0 -104
- package/dist/template/.opencode/command/fix-ui.md +0 -117
- package/dist/template/.opencode/command/fix.md +0 -168
- package/dist/template/.opencode/command/frontend-design.md +0 -21
- package/dist/template/.opencode/command/generate-diagram.md +0 -349
- package/dist/template/.opencode/command/generate-icon.md +0 -283
- package/dist/template/.opencode/command/generate-image.md +0 -246
- package/dist/template/.opencode/command/generate-pattern.md +0 -247
- package/dist/template/.opencode/command/generate-storyboard.md +0 -250
- package/dist/template/.opencode/command/implement.md +0 -609
- package/dist/template/.opencode/command/import-plan.md +0 -406
- package/dist/template/.opencode/command/index-knowledge.md +0 -25
- package/dist/template/.opencode/command/integration-test.md +0 -424
- package/dist/template/.opencode/command/issue.md +0 -102
- package/dist/template/.opencode/command/new-feature.md +0 -651
- package/dist/template/.opencode/command/opensrc.md +0 -58
- package/dist/template/.opencode/command/quick-build.md +0 -238
- package/dist/template/.opencode/command/ralph.md +0 -41
- package/dist/template/.opencode/command/research-and-implement.md +0 -148
- package/dist/template/.opencode/command/research-ui.md +0 -466
- package/dist/template/.opencode/command/restore-image.md +0 -424
- package/dist/template/.opencode/command/revert-feature.md +0 -386
- package/dist/template/.opencode/command/skill-create.md +0 -517
- package/dist/template/.opencode/command/skill-optimize.md +0 -556
- package/dist/template/.opencode/command/summarize.md +0 -412
- package/dist/template/.opencode/command/triage.md +0 -398
- package/dist/template/.opencode/memory/_templates/project/architecture.md +0 -60
- package/dist/template/.opencode/memory/_templates/project/commands.md +0 -72
- package/dist/template/.opencode/memory/_templates/project/conventions.md +0 -68
- package/dist/template/.opencode/memory/_templates/project/gotchas.md +0 -41
- package/dist/template/.opencode/skill/notebooklm/SKILL.md +0 -272
- package/dist/template/.opencode/skill/notebooklm/references/setup.md +0 -353
- package/dist/template/.opencode/tool/notebooklm.ts +0 -488
- package/dist/template/.opencode/tool/oracle.ts +0 -240
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# Implementation Tasks
|
|
2
|
+
|
|
3
|
+
**Bead:** [bead-id]
|
|
4
|
+
**Spec:** [link to spec]
|
|
5
|
+
**Date:** [YYYY-MM-DD]
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Task Metadata
|
|
10
|
+
|
|
11
|
+
Each task can have these optional fields in YAML frontmatter:
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
---
|
|
15
|
+
id: "1.1" # Task identifier
|
|
16
|
+
depends_on: [] # Task IDs that must complete first
|
|
17
|
+
parallel: true # Can run concurrently with other parallel tasks
|
|
18
|
+
conflicts_with: [] # Task IDs that modify same files (cannot parallelize)
|
|
19
|
+
files: [] # Files this task will modify
|
|
20
|
+
estimated_minutes: 30 # Time estimate for planning
|
|
21
|
+
---
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 1. Setup
|
|
27
|
+
|
|
28
|
+
### 1.1 [Prerequisite task]
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
depends_on: []
|
|
32
|
+
parallel: false
|
|
33
|
+
files: ["package.json", "tsconfig.json"]
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
- [ ] [Task description]
|
|
37
|
+
|
|
38
|
+
### 1.2 [Environment or config task]
|
|
39
|
+
|
|
40
|
+
```yaml
|
|
41
|
+
depends_on: ["1.1"]
|
|
42
|
+
parallel: false
|
|
43
|
+
files: [".env.example"]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
- [ ] [Task description]
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 2. Core Implementation
|
|
51
|
+
|
|
52
|
+
### 2.1 [Primary implementation task]
|
|
53
|
+
|
|
54
|
+
```yaml
|
|
55
|
+
depends_on: ["1.1", "1.2"]
|
|
56
|
+
parallel: true
|
|
57
|
+
conflicts_with: []
|
|
58
|
+
files: ["src/feature/index.ts"]
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
- [ ] [Task description]
|
|
62
|
+
|
|
63
|
+
### 2.2 [Secondary implementation task]
|
|
64
|
+
|
|
65
|
+
```yaml
|
|
66
|
+
depends_on: ["1.1", "1.2"]
|
|
67
|
+
parallel: true
|
|
68
|
+
conflicts_with: []
|
|
69
|
+
files: ["src/feature/utils.ts"]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
- [ ] [Task description]
|
|
73
|
+
|
|
74
|
+
### 2.3 [Integration task]
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
depends_on: ["2.1", "2.2"]
|
|
78
|
+
parallel: false
|
|
79
|
+
conflicts_with: []
|
|
80
|
+
files: ["src/feature/index.ts", "src/feature/utils.ts"]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
- [ ] [Task description]
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 3. Testing
|
|
88
|
+
|
|
89
|
+
### 3.1 [Unit test task]
|
|
90
|
+
|
|
91
|
+
```yaml
|
|
92
|
+
depends_on: ["2.1"]
|
|
93
|
+
parallel: true
|
|
94
|
+
files: ["tests/feature.test.ts"]
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
- [ ] [Task description]
|
|
98
|
+
|
|
99
|
+
### 3.2 [Integration test task]
|
|
100
|
+
|
|
101
|
+
```yaml
|
|
102
|
+
depends_on: ["2.3"]
|
|
103
|
+
parallel: true
|
|
104
|
+
files: ["tests/integration/feature.test.ts"]
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
- [ ] [Task description]
|
|
108
|
+
|
|
109
|
+
### 3.3 [Edge case verification]
|
|
110
|
+
|
|
111
|
+
```yaml
|
|
112
|
+
depends_on: ["3.1", "3.2"]
|
|
113
|
+
parallel: false
|
|
114
|
+
files: []
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
- [ ] [Task description]
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 4. Documentation
|
|
122
|
+
|
|
123
|
+
### 4.1 [Code comments / JSDoc]
|
|
124
|
+
|
|
125
|
+
```yaml
|
|
126
|
+
depends_on: ["2.3"]
|
|
127
|
+
parallel: true
|
|
128
|
+
files: ["src/feature/*.ts"]
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
- [ ] [Task description]
|
|
132
|
+
|
|
133
|
+
### 4.2 [README updates]
|
|
134
|
+
|
|
135
|
+
```yaml
|
|
136
|
+
depends_on: ["2.3"]
|
|
137
|
+
parallel: true
|
|
138
|
+
files: ["README.md"]
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
- [ ] [Task description]
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 5. Verification
|
|
146
|
+
|
|
147
|
+
### 5.1 All tests pass
|
|
148
|
+
|
|
149
|
+
```yaml
|
|
150
|
+
depends_on: ["3.1", "3.2", "3.3"]
|
|
151
|
+
parallel: false
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
- [ ] `[test command]`
|
|
155
|
+
|
|
156
|
+
### 5.2 Lint clean
|
|
157
|
+
|
|
158
|
+
```yaml
|
|
159
|
+
depends_on: ["2.3", "4.1"]
|
|
160
|
+
parallel: true
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
- [ ] `[lint command]`
|
|
164
|
+
|
|
165
|
+
### 5.3 Build succeeds
|
|
166
|
+
|
|
167
|
+
```yaml
|
|
168
|
+
depends_on: ["5.1", "5.2"]
|
|
169
|
+
parallel: false
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
- [ ] `[build command]`
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Dependency Graph
|
|
177
|
+
|
|
178
|
+
Visualize task flow (auto-generated from above):
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
1.1 ──┬──> 2.1 ──┬──> 2.3 ──┬──> 3.2 ──┬──> 5.1 ──> 5.3
|
|
182
|
+
│ │ │ │
|
|
183
|
+
1.2 ──┘ 2.2 ──┘ 3.1 ──┘ 5.2 ──┘
|
|
184
|
+
│
|
|
185
|
+
4.1 ──┘
|
|
186
|
+
4.2
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
**Legend:**
|
|
190
|
+
|
|
191
|
+
- `──>` = depends_on (sequential)
|
|
192
|
+
- Tasks at same level with `parallel: true` = can run concurrently
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Notes
|
|
197
|
+
|
|
198
|
+
<!-- Implementation notes, gotchas, or decisions made during task creation -->
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T11:37:16.161Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["AGENTS.md", "skills vs commands", "global rules"]
|
|
8
|
+
files: [".opencode/AGENTS.md"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 🎯 Add Skills vs Commands to global AGENTS rules
|
|
12
|
+
|
|
13
|
+
🟢 **Confidence:** high
|
|
14
|
+
|
|
15
|
+
User requested adding the 'Skills vs Commands' guidance to the global rules file .opencode/AGENTS.md.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T16:02:30.722Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["skills", "auto-loading", "build-agent", "context", "prd", "swarm", "debugging", "testing", "frontend"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Build agent auto-loads skills contextually
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
Build agent loads skills based on context, NOT all at once:
|
|
15
|
+
|
|
16
|
+
**Always load:**
|
|
17
|
+
- beads (task tracking)
|
|
18
|
+
- verification-before-completion (never skip)
|
|
19
|
+
|
|
20
|
+
**Conditional loading:**
|
|
21
|
+
- prd-task: when prd.md exists
|
|
22
|
+
- prd: when feature needs PRD creation
|
|
23
|
+
- swarm-coordination: when 3+ parallel tasks
|
|
24
|
+
- systematic-debugging: for bug fixes
|
|
25
|
+
- test-driven-development: for test work
|
|
26
|
+
- frontend-design: for UI/component work
|
|
27
|
+
- using-git-worktrees: for epics or --worktree flag
|
|
28
|
+
- requesting-code-review: before claiming done
|
|
29
|
+
- finishing-a-development-branch: when completing feature
|
|
30
|
+
|
|
31
|
+
This prevents skill overload and keeps context focused.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T05:06:14.307Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["opencode", "agents", "configuration", "temperature", "steps", "scout", "build", "plan"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Fixed agent configuration for OpenCodeKit
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
Applied comprehensive fixes to .opencode/agent/ configuration:
|
|
15
|
+
|
|
16
|
+
1. **scout.md**: Changed temperature from 0.3 to 1.0 (required for kimi-k2.5-free thinking mode), changed maxSteps to steps
|
|
17
|
+
2. **explore.md**: Changed maxSteps to steps
|
|
18
|
+
3. **review.md**: Changed maxSteps to steps
|
|
19
|
+
4. **vision.md**: Changed maxSteps to steps
|
|
20
|
+
5. **looker.md**: Changed maxSteps to steps
|
|
21
|
+
6. **painter.md**: Changed maxSteps to steps
|
|
22
|
+
7. **build.md**: Added steps: 50 and color: "#4CAF50" (green)
|
|
23
|
+
8. **plan.md**: Added steps: 50 and color: "#2196F3" (blue)
|
|
24
|
+
|
|
25
|
+
All agents now use modern `steps` syntax instead of deprecated `maxSteps`. Scout agent temperature fixed to work with kimi-k2.5-free model. Primary agents have visual colors for UI distinction.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T10:28:34.941Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["AGENTS.md", "opencode-expert", "configuration", "best practices", "kit users"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Focused AGENTS.md upgrade for OpenCode kit users
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User requested a focused upgrade to AGENTS.md using opencode-expert guidance to add OpenCode configuration best practices and doc references for kit users.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T09:32:47.846Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["opencode.json", "permissions", "tier1", "git safety", "npm publish", "db reset", "secrets"]
|
|
8
|
+
files: [".opencode/opencode.json"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 🎯 Implement Tier 1 permission upgrades
|
|
12
|
+
|
|
13
|
+
🟢 **Confidence:** high
|
|
14
|
+
|
|
15
|
+
User requested implementing best-practice Tier 1 permission upgrades in .opencode/opencode.json (git safety, npm publish guard, db reset guard, extra secret patterns). Proceed with bead creation and updates before edits.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T14:09:52.652Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["opencode.json", "instructions", "context-injection", "tech-stack"]
|
|
8
|
+
files: ["opencode.json", ".opencode/memory/user.md", ".opencode/memory/project/tech-stack.md"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 🎯 Instructions[] config: Explicit paths, not wildcards
|
|
12
|
+
|
|
13
|
+
🟢 **Confidence:** high
|
|
14
|
+
|
|
15
|
+
## Final Instructions Configuration
|
|
16
|
+
|
|
17
|
+
Updated `opencode.json` instructions to be explicit rather than using wildcards:
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
"instructions": [
|
|
21
|
+
".opencode/memory/user.md",
|
|
22
|
+
".opencode/memory/project/tech-stack.md"
|
|
23
|
+
]
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Rationale
|
|
27
|
+
|
|
28
|
+
1. **Explicit over implicit** - Wildcards (`*.md`) would pick up any future files, explicit paths are clearer
|
|
29
|
+
2. **Single file approach** - Only tech-stack.md exists in project/ now
|
|
30
|
+
3. **AI learns organically** - Observations are captured via `observation` tool, searched via `memory-search`
|
|
31
|
+
4. **Observations NOT auto-injected** - Would bloat context; they're searchable instead
|
|
32
|
+
|
|
33
|
+
## Full Context Injection Chain
|
|
34
|
+
|
|
35
|
+
| File | Purpose | Injection |
|
|
36
|
+
| --------------------------------------- | -------------------------- | --------- |
|
|
37
|
+
| `.opencode/memory/user.md` | User preferences | Auto |
|
|
38
|
+
| `.opencode/memory/project/tech-stack.md`| Tech stack & constraints | Auto |
|
|
39
|
+
| `.opencode/memory/observations/*.md` | AI learnings | Searchable|
|
|
40
|
+
| `.beads/artifacts/<id>/*` | Bead-specific context | Manual |
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T14:02:05.967Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["context-injection", "memory", "project-config", "tech-stack", "opencode"]
|
|
8
|
+
files: [".opencode/context/project.md", ".opencode/memory/project/tech-stack.md", "opencode.json", ".opencode/memory/_templates/README.md", "dist/template/.opencode/memory/project/tech-stack.md"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 🎯 Merged context/ into memory/project/ - Single Source of Truth
|
|
12
|
+
|
|
13
|
+
🟢 **Confidence:** high
|
|
14
|
+
|
|
15
|
+
## Decision
|
|
16
|
+
|
|
17
|
+
Merged `.opencode/context/project.md` into `.opencode/memory/project/tech-stack.md` to avoid duplication.
|
|
18
|
+
|
|
19
|
+
## Rationale
|
|
20
|
+
|
|
21
|
+
- **Before**: Two places for project context (context/project.md + memory/project/*.md)
|
|
22
|
+
- **After**: Single location (memory/project/*.md) with tech-stack.md as the new summary file
|
|
23
|
+
- **Why**: Instructions[] already loads memory/project/*.md, so tech-stack.md gets auto-injected
|
|
24
|
+
|
|
25
|
+
## Structure After Change
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
.opencode/memory/project/
|
|
29
|
+
├── tech-stack.md [NEW] - Framework, DB, styling, constraints (auto-injected)
|
|
30
|
+
├── architecture.md - Modules, directory structure, data flow
|
|
31
|
+
├── commands.md - Build, test, lint, deploy commands
|
|
32
|
+
├── conventions.md - Code style, naming, commit messages
|
|
33
|
+
└── gotchas.md - Known issues, edge cases, troubleshooting
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Files Changed
|
|
37
|
+
|
|
38
|
+
- Created: `.opencode/memory/project/tech-stack.md`
|
|
39
|
+
- Deleted: `.opencode/context/` folder
|
|
40
|
+
- Updated: `opencode.json` instructions[] (reverted to original)
|
|
41
|
+
- Updated: `.opencode/memory/_templates/README.md`
|
|
42
|
+
- Updated: `dist/template/.opencode/memory/project/tech-stack.md`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T10:51:20.528Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle tool", "review agent", "opencode CLI", "Task tool", "proxypal replacement"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Oracle tool should use review agent (not ProxyPal)
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants the oracle tool to be replaced so it calls the OpenCode review agent instead of ProxyPal. They initially mentioned CLI opencode run and later asked for Task tool usage; need clarification because Task tool isn’t available inside oracle tool runtime.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T16:08:24.231Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["skills", "auto-loading", "plan-agent", "context", "prd", "brainstorming", "writing-plans", "swarm-coordination"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Plan agent auto-loads skills contextually
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
Plan agent now loads skills based on context, NOT all at once:
|
|
15
|
+
|
|
16
|
+
**Always load:**
|
|
17
|
+
- beads (task tracking)
|
|
18
|
+
- brainstorming (refine ideas before implementation)
|
|
19
|
+
|
|
20
|
+
**Conditional loading:**
|
|
21
|
+
- prd: for feature/epic tasks needing PRD creation
|
|
22
|
+
- writing-plans: for detailed implementation plans (features, refactors, migrations)
|
|
23
|
+
- swarm-coordination: for multi-phase work (3+ phases)
|
|
24
|
+
- deep-research: for research-heavy tasks
|
|
25
|
+
- frontend-design: for UI/UX planning (guidelines only)
|
|
26
|
+
|
|
27
|
+
**Key differences from build agent:**
|
|
28
|
+
- Plan agent loads `brainstorming` (not verification-before-completion) as core
|
|
29
|
+
- Plan agent loads `prd` and `writing-plans` for planning artifacts
|
|
30
|
+
- Plan agent loads `swarm-coordination` for multi-phase orchestration
|
|
31
|
+
- Build agent loads execution-focused skills (debugging, TDD, code review)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T10:58:28.385Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle tool", "review agent", "opencode commands", "implement", "finish", "new command"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Plan phased oracle + command merge into new command
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants phased changes: update oracle tool to use review agent, then combine implement+finish into a new command (name TBD).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T15:59:37.640Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["prd", "prd-task", "skills", "templates", "beads", "artifacts"]
|
|
8
|
+
files: [".opencode/memory/_templates/prd.md"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 🎯 PRD workflow uses prd and prd-task skills
|
|
12
|
+
|
|
13
|
+
🟢 **Confidence:** high
|
|
14
|
+
|
|
15
|
+
When working with PRDs in /start command:
|
|
16
|
+
1. Load `prd` skill when creating new PRDs (defines WHAT to build)
|
|
17
|
+
2. Load `prd-task` skill when converting PRD to executable tasks
|
|
18
|
+
3. PRD files go to `.beads/artifacts/<bead-id>/prd.md`
|
|
19
|
+
4. Task JSON goes to `.beads/artifacts/<bead-id>/prd.json`
|
|
20
|
+
5. Progress tracking in `.beads/artifacts/<bead-id>/progress.txt`
|
|
21
|
+
|
|
22
|
+
The template at `.opencode/memory/_templates/prd.md` is for reference only.
|
|
23
|
+
Skills handle the actual workflow.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T10:38:32.958Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle tool", "review agent", "opencode cli", "proxypal replacement"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Prefer review agent via OpenCode CLI over ProxyPal oracle
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants to replace the ProxyPal-backed oracle tool with invoking the OpenCode CLI review agent (per opencode CLI docs) instead of using ProxyPal.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T11:06:11.110Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle tool removal", "/ship command", "implement finish merge", "review agent", "Task tool"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Remove oracle tool; add /ship command with review after tests
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants best-practice simplification: remove oracle tool entirely, and create a combined command /ship that merges implement+finish and triggers review (via Task subagent) after tests.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T11:18:21.359Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle removal", "ship command", "implement finish merge", "review agent", "Task tool"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Remove oracle tool and add /ship command with review after tests
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants to remove the oracle tool entirely, delete /implement and /finish commands, and add a new /ship command that combines implement+finish and spawns the review agent via Task after tests.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T11:11:24.824Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle tool removal", "/ship command", "implement finish merge", "review agent", "Task tool"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Remove oracle tool and add /ship command
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants to remove the oracle tool and replace it with a single /ship command that combines implement+finish and spawns the review agent via Task after tests.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T11:38:24.397Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["AGENTS.md", "skills vs commands", "documentation cleanup"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Remove Skills vs Commands section from AGENTS.md
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User requested cleaning up the 'Skills vs Commands' section in project AGENTS.md. Proceed to remove that block.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T11:17:19.834Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle removal", "ship command", "implement finish merge", "review agent", "Task tool"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Replace oracle tool with /ship command flow
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User decided to remove the oracle tool and instead use a single /ship command that combines implement+finish and spawns the review agent via Task after tests.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T11:15:30.702Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle removal", "ship command", "implement finish merge", "review agent", "Task tool"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Replace oracle with /ship command workflow
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants to remove the oracle tool entirely and use a single /ship command that combines implement+finish, spawning the review agent via Task after tests. Also remove /implement and /finish commands.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T10:50:28.823Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["oracle tool", "review agent", "opencode cli", "proxypal replacement"]
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# 🎯 Replace ProxyPal oracle with CLI review agent
|
|
11
|
+
|
|
12
|
+
🟢 **Confidence:** high
|
|
13
|
+
|
|
14
|
+
User wants to replace the ProxyPal-backed oracle tool with invoking the OpenCode CLI review agent, using opencode run instead of proxypal.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T14:05:54.668Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["templates", "memory", "project-config", "organic-learning", "observation"]
|
|
8
|
+
files: ["tech-stack.md"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 🎯 Simplified dist/template: Only tech-stack.md, AI learns organically
|
|
12
|
+
|
|
13
|
+
🟢 **Confidence:** high
|
|
14
|
+
|
|
15
|
+
## Decision
|
|
16
|
+
|
|
17
|
+
Simplified dist/template to only include `tech-stack.md` - removed placeholder files that were just noise.
|
|
18
|
+
|
|
19
|
+
## Before (5 files)
|
|
20
|
+
```
|
|
21
|
+
dist/template/.opencode/memory/project/
|
|
22
|
+
├── tech-stack.md - Summary for context injection
|
|
23
|
+
├── architecture.md - Empty placeholder with [...]
|
|
24
|
+
├── commands.md - Generic examples
|
|
25
|
+
├── conventions.md - Generic examples
|
|
26
|
+
└── gotchas.md - Empty placeholder with [...]
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## After (1 file)
|
|
30
|
+
```
|
|
31
|
+
dist/template/.opencode/memory/project/
|
|
32
|
+
└── tech-stack.md - Summary for context injection
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Rationale
|
|
36
|
+
|
|
37
|
+
1. **Empty templates are noise** - Placeholders like `[...]` don't help the AI
|
|
38
|
+
2. **AI can discover organically** - Commands from package.json, conventions from codebase
|
|
39
|
+
3. **Observation tool captures learnings** - Gotchas and patterns saved as they're discovered
|
|
40
|
+
4. **Single file = less maintenance** - One file to fill out when starting a project
|
|
41
|
+
|
|
42
|
+
## Key Insight
|
|
43
|
+
|
|
44
|
+
The AI doesn't need pre-filled templates to learn about a project. It:
|
|
45
|
+
- Reads package.json to discover commands
|
|
46
|
+
- Reads existing code to learn conventions
|
|
47
|
+
- Uses `observation` tool to capture gotchas when it hits them
|
|
48
|
+
- Builds up knowledge in `.opencode/memory/observations/`
|
|
49
|
+
|
|
50
|
+
This is more valuable than static placeholder files.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: decision
|
|
3
|
+
created: 2026-02-01T15:12:56.167Z
|
|
4
|
+
confidence: high
|
|
5
|
+
valid_until: null
|
|
6
|
+
superseded_by: null
|
|
7
|
+
concepts: ["templates", "memory", "tech-stack", "init", "organic-learning", "observation"]
|
|
8
|
+
files: ["user.md", "tech-stack.md"]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 🎯 Simplified templates: only tech-stack.md
|
|
12
|
+
|
|
13
|
+
🟢 **Confidence:** high
|
|
14
|
+
|
|
15
|
+
Removed redundant template files from `.opencode/memory/_templates/project/`:
|
|
16
|
+
- ❌ architecture.md (removed)
|
|
17
|
+
- ❌ commands.md (removed)
|
|
18
|
+
- ❌ conventions.md (removed)
|
|
19
|
+
- ❌ gotchas.md (removed)
|
|
20
|
+
- ✅ tech-stack.md (kept)
|
|
21
|
+
|
|
22
|
+
Updated `/init` command to only create:
|
|
23
|
+
- `user.md` - user preferences
|
|
24
|
+
- `tech-stack.md` - for AI context injection
|
|
25
|
+
|
|
26
|
+
Philosophy: AI discovers commands, architecture, conventions, and gotchas organically from the codebase and saves learnings via the `observation` tool. Static placeholder templates are noise.
|