opencode-goopspec 0.1.4 โ†’ 0.1.6

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 (91) hide show
  1. package/README.md +7 -8
  2. package/agents/goop-debugger.md +2 -2
  3. package/agents/goop-designer.md +2 -2
  4. package/agents/goop-executor.md +17 -7
  5. package/agents/goop-explorer.md +2 -2
  6. package/agents/goop-librarian.md +1 -1
  7. package/agents/goop-orchestrator.md +47 -5
  8. package/agents/goop-planner.md +3 -3
  9. package/agents/goop-researcher.md +2 -2
  10. package/agents/goop-tester.md +1 -1
  11. package/agents/goop-verifier.md +2 -2
  12. package/agents/goop-writer.md +1 -1
  13. package/agents/memory-distiller.md +2 -2
  14. package/commands/goop-accept.md +27 -401
  15. package/commands/goop-discuss.md +29 -393
  16. package/commands/goop-execute.md +22 -356
  17. package/commands/goop-map-codebase.md +44 -478
  18. package/commands/goop-plan.md +23 -433
  19. package/commands/goop-quick.md +58 -31
  20. package/commands/goop-setup.md +35 -278
  21. package/commands/goop-specify.md +26 -291
  22. package/commands/goop-status.md +26 -261
  23. package/dist/index.js +34981 -239
  24. package/dist/worker/index.js +35883 -0
  25. package/package.json +5 -2
  26. package/references/accept-process.md +402 -0
  27. package/references/context-injection.md +1 -1
  28. package/references/discovery-interview.md +1 -1
  29. package/references/discuss-process.md +383 -0
  30. package/references/dispatch-patterns.md +46 -21
  31. package/references/enforcement-system.md +1 -1
  32. package/references/execute-process.md +358 -0
  33. package/references/git-workflow.md +349 -0
  34. package/references/handoff-protocol.md +1 -1
  35. package/references/map-codebase-process.md +353 -0
  36. package/references/model-profiles.md +16 -16
  37. package/references/orchestrator-philosophy.md +155 -223
  38. package/references/phase-gates.md +1 -1
  39. package/references/plan-process.md +397 -0
  40. package/references/plugin-architecture.md +1 -1
  41. package/references/quick-process.md +343 -0
  42. package/references/response-format.md +2 -2
  43. package/references/specify-process.md +251 -0
  44. package/references/status-process.md +253 -0
  45. package/references/subagent-protocol.md +2 -2
  46. package/references/team-coordination.md +183 -0
  47. package/references/xml-response-schema.md +5 -5
  48. package/skills/accessibility/skill.md +1 -1
  49. package/skills/accessibility-testing/skill.md +1 -1
  50. package/skills/api-docs/skill.md +1 -1
  51. package/skills/architecture-design/skill.md +1 -1
  52. package/skills/atomic-commits/skill.md +92 -15
  53. package/skills/code-review/skill.md +1 -1
  54. package/skills/codebase-mapping/skill.md +1 -1
  55. package/skills/convention-detection/skill.md +1 -1
  56. package/skills/debugging/skill.md +1 -1
  57. package/skills/deviation-handling/skill.md +1 -1
  58. package/skills/documentation/skill.md +1 -1
  59. package/skills/goop-core/skill.md +48 -11
  60. package/skills/memory-usage/skill.md +1 -1
  61. package/skills/parallel-planning/skill.md +1 -1
  62. package/skills/pattern-extraction/skill.md +1 -1
  63. package/skills/performance-optimization/skill.md +1 -1
  64. package/skills/playwright/skill.md +1 -1
  65. package/skills/playwright-testing/skill.md +1 -1
  66. package/skills/progress-tracking/skill.md +1 -1
  67. package/skills/readme-generation/skill.md +1 -1
  68. package/skills/research/skill.md +1 -1
  69. package/skills/responsive-design/skill.md +1 -1
  70. package/skills/scientific-method/skill.md +1 -1
  71. package/skills/security-audit/skill.md +1 -1
  72. package/skills/task-decomposition/skill.md +1 -1
  73. package/skills/task-delegation/skill.md +60 -34
  74. package/skills/technical-writing/skill.md +1 -1
  75. package/skills/testing/skill.md +1 -1
  76. package/skills/ui-design/skill.md +1 -1
  77. package/skills/ux-patterns/skill.md +1 -1
  78. package/skills/verification/skill.md +1 -1
  79. package/skills/visual-regression/skill.md +1 -1
  80. package/templates/blueprint.md +1 -1
  81. package/templates/chronicle.md +1 -1
  82. package/templates/handoff.md +1 -1
  83. package/templates/milestone.md +1 -1
  84. package/templates/project-knowledge-base.md +93 -0
  85. package/templates/project.md +1 -1
  86. package/templates/requirements.md +1 -1
  87. package/templates/research.md +1 -1
  88. package/templates/retrospective.md +1 -1
  89. package/templates/spec.md +1 -1
  90. package/templates/state.md +1 -1
  91. package/templates/summary.md +1 -1
@@ -0,0 +1,353 @@
1
+ # Codebase Mapping Process
2
+
3
+ Detailed process for `/goop-map-codebase` - analyzing existing codebases for brownfield projects.
4
+
5
+ ## Phase 1: Setup
6
+
7
+ ### 1.1 Check for existing codebase map
8
+ ```bash
9
+ [ -d .goopspec/codebase ] && echo "Codebase map already exists"
10
+ ```
11
+
12
+ ### 1.2 Initialize .goopspec if needed
13
+ ```bash
14
+ mkdir -p .goopspec/codebase
15
+ ```
16
+
17
+ ### 1.3 Detect project type
18
+ ```bash
19
+ # Check for common project indicators
20
+ [ -f package.json ] && echo "Node.js project"
21
+ [ -f requirements.txt ] && echo "Python project"
22
+ [ -f Cargo.toml ] && echo "Rust project"
23
+ [ -f go.mod ] && echo "Go project"
24
+ [ -f pom.xml ] && echo "Java/Maven project"
25
+ [ -f build.gradle ] && echo "Java/Gradle project"
26
+ ls -la
27
+ ```
28
+
29
+ ---
30
+
31
+ ## Phase 2: Parallel Exploration
32
+
33
+ Spawn 7 parallel explore agents via `task` tool:
34
+
35
+ ### Explorer 1: Stack Detection
36
+ ```
37
+ Analyze the technology stack of this codebase.
38
+ - Programming languages
39
+ - Frameworks and libraries
40
+ - Build tools
41
+ - Database
42
+ - Testing frameworks
43
+ - Dev tools (linting, formatting, etc.)
44
+
45
+ Create .goopspec/codebase/STACK.md
46
+ ```
47
+
48
+ ### Explorer 2: Architecture Analysis
49
+ ```
50
+ Analyze the architecture of this codebase.
51
+ - Overall pattern (MVC, layered, hexagonal, etc.)
52
+ - Component relationships
53
+ - Data flow
54
+ - Key abstractions
55
+ - Design patterns used
56
+
57
+ Create .goopspec/codebase/ARCHITECTURE.md
58
+ ```
59
+
60
+ ### Explorer 3: Structure Mapping
61
+ ```
62
+ Map the directory and file structure.
63
+ - Top-level organization
64
+ - Module/package boundaries
65
+ - Where different types of code live
66
+ - Configuration locations
67
+ - Asset locations
68
+
69
+ Create .goopspec/codebase/STRUCTURE.md
70
+ ```
71
+
72
+ ### Explorer 4: Conventions Discovery
73
+ ```
74
+ Identify code conventions and patterns.
75
+ - Naming conventions
76
+ - File organization
77
+ - Code style
78
+ - Import patterns
79
+ - Error handling patterns
80
+ - Documentation style
81
+
82
+ Create .goopspec/codebase/CONVENTIONS.md
83
+ ```
84
+
85
+ ### Explorer 5: Testing Analysis
86
+ ```
87
+ Analyze the testing approach.
88
+ - Testing frameworks used
89
+ - Test organization
90
+ - Coverage patterns
91
+ - Test types (unit, integration, e2e)
92
+ - Testing gaps
93
+
94
+ Create .goopspec/codebase/TESTING.md
95
+ ```
96
+
97
+ ### Explorer 6: Integrations Inventory
98
+ ```
99
+ Identify external integrations.
100
+ - APIs consumed
101
+ - Services used
102
+ - Third-party dependencies
103
+ - Environment requirements
104
+ - Secrets/configuration needed
105
+
106
+ Create .goopspec/codebase/INTEGRATIONS.md
107
+ ```
108
+
109
+ ### Explorer 7: Concerns & Debt
110
+ ```
111
+ Identify issues, concerns, and tech debt.
112
+ - Code smells
113
+ - Security concerns
114
+ - Performance issues
115
+ - Outdated dependencies
116
+ - Known bugs or limitations
117
+ - Areas needing attention
118
+
119
+ Create .goopspec/codebase/CONCERNS.md
120
+ ```
121
+
122
+ Wait for all explorers to complete.
123
+
124
+ ---
125
+
126
+ ## Phase 3: Synthesize Findings
127
+
128
+ Collect and organize findings from all 7 explorers:
129
+
130
+ 1. Check for conflicts between explorers
131
+ 2. Identify the most critical insights
132
+ 3. Summarize for quick reference
133
+ 4. Flag areas needing clarification
134
+
135
+ ---
136
+
137
+ ## Phase 4: Document Templates
138
+
139
+ ### STACK.md Template
140
+ ```markdown
141
+ # Technology Stack
142
+
143
+ **Analyzed:** [Date]
144
+ **Project Type:** [Detected type]
145
+
146
+ ## Languages
147
+ - [Language] [version] - [Primary use]
148
+
149
+ ## Frameworks & Libraries
150
+ ### Core
151
+ - [Framework] [version] - [Purpose]
152
+
153
+ ### Supporting
154
+ - [Library] [version] - [Purpose]
155
+
156
+ ## Build & Dev Tools
157
+ - [Tool] - [Purpose]
158
+
159
+ ## Database
160
+ - [Database] [version] - [Usage pattern]
161
+
162
+ ## Testing
163
+ - [Framework] - [Test types]
164
+
165
+ ## Key Dependencies
166
+ - Critical: [dep1, dep2]
167
+ - Utility: [dep3, dep4]
168
+
169
+ ## Version Info
170
+ - Runtime: [version]
171
+ - Package manager: [npm/pip/cargo/etc]
172
+ ```
173
+
174
+ ### ARCHITECTURE.md Template
175
+ ```markdown
176
+ # Architecture Overview
177
+
178
+ **Pattern:** [MVC/Layered/Hexagonal/etc]
179
+ **Complexity:** [Simple/Moderate/Complex]
180
+
181
+ ## High-Level Structure
182
+ [Diagram or description of major components]
183
+
184
+ ## Component Relationships
185
+
186
+ ### [Component A]
187
+ - **Responsibility:** [What it does]
188
+ - **Depends on:** [Other components]
189
+ - **Used by:** [Other components]
190
+
191
+ ## Data Flow
192
+ [Description of how data moves through the system]
193
+
194
+ ## Key Abstractions
195
+ 1. **[Abstraction]** - [Purpose and usage]
196
+
197
+ ## Design Patterns
198
+ - **[Pattern]** - [Where used and why]
199
+
200
+ ## Entry Points
201
+ - [Entry 1] - [Purpose]
202
+ ```
203
+
204
+ ### CONVENTIONS.md Template
205
+ ```markdown
206
+ # Code Conventions
207
+
208
+ ## Naming
209
+ - **Variables:** [convention]
210
+ - **Functions:** [convention]
211
+ - **Classes:** [convention]
212
+ - **Files:** [convention]
213
+
214
+ ## Code Style
215
+ - **Indentation:** [spaces/tabs, count]
216
+ - **Line length:** [max]
217
+ - **Quotes:** [single/double]
218
+
219
+ ## Organization
220
+ - **Imports:** [order and style]
221
+ - **Exports:** [pattern]
222
+
223
+ ## Patterns
224
+ - **Error handling:** [pattern]
225
+ - **Async:** [pattern]
226
+ - **Null checking:** [pattern]
227
+
228
+ ## Anti-Patterns Present
229
+ - [Anti-pattern] - [Where found]
230
+ ```
231
+
232
+ ### TESTING.md Template
233
+ ```markdown
234
+ # Testing Approach
235
+
236
+ ## Frameworks
237
+ - **[Framework]** - [Unit/Integration/E2E]
238
+
239
+ ## Test Organization
240
+ - **Location:** [Where tests live]
241
+ - **Naming:** [Test file naming]
242
+ - **Structure:** [Describe/It blocks, etc.]
243
+
244
+ ## Running Tests
245
+ [Command to run tests]
246
+
247
+ ## Testing Gaps
248
+ - [Gap 1] - [Impact]
249
+ ```
250
+
251
+ ### INTEGRATIONS.md Template
252
+ ```markdown
253
+ # External Integrations
254
+
255
+ ## APIs Consumed
256
+ ### [API Name]
257
+ - **Endpoint:** [URL]
258
+ - **Auth:** [Method]
259
+ - **Usage:** [How used]
260
+
261
+ ## Services
262
+ ### [Service Name]
263
+ - **Type:** [Database/Cache/Queue/etc]
264
+ - **Provider:** [AWS/Railway/etc]
265
+
266
+ ## Environment Requirements
267
+ ### Required Variables
268
+ VARIABLE_NAME=[description]
269
+
270
+ ### Optional Variables
271
+ OPTIONAL_VAR=[description]
272
+ ```
273
+
274
+ ### CONCERNS.md Template
275
+ ```markdown
276
+ # Known Issues & Concerns
277
+
278
+ ## Code Smells
279
+ ### [Concern 1]
280
+ - **Location:** [Files affected]
281
+ - **Issue:** [Description]
282
+ - **Impact:** [Severity]
283
+ - **Recommendation:** [What to do]
284
+
285
+ ## Security Concerns
286
+ ### [Security Issue]
287
+ - **Risk:** [Description]
288
+ - **Severity:** [Critical/High/Medium/Low]
289
+
290
+ ## Tech Debt
291
+ ### [Debt Item]
292
+ - **Description:** [What needs refactoring]
293
+ - **Effort:** [Estimated]
294
+ - **Priority:** [When to address]
295
+
296
+ ## Recommended Priorities
297
+ 1. **[Priority 1]** - [Why urgent]
298
+ ```
299
+
300
+ ---
301
+
302
+ ## Phase 5: Completion
303
+
304
+ **Display completion:**
305
+
306
+ ```
307
+ ## ๐Ÿ”ฎ GoopSpec ยท Codebase Mapped
308
+
309
+ โœจ 7 explorers analyzed your codebase
310
+
311
+ **Created in .goopspec/codebase/:**
312
+ - STACK.md
313
+ - ARCHITECTURE.md
314
+ - STRUCTURE.md
315
+ - CONVENTIONS.md
316
+ - TESTING.md
317
+ - INTEGRATIONS.md
318
+ - CONCERNS.md
319
+
320
+ ---
321
+
322
+ ### Next Step
323
+
324
+ **Initialize GoopSpec project** with brownfield context
325
+
326
+ โ†’ `/goop-setup`
327
+
328
+ ---
329
+
330
+ **Also available:**
331
+ - `cat .goopspec/codebase/CONCERNS.md` โ€” Review issues first
332
+ - `cat .goopspec/codebase/ARCHITECTURE.md` โ€” Understand structure
333
+ ```
334
+
335
+ ---
336
+
337
+ ## When to Map
338
+
339
+ - Joining an existing project
340
+ - Before extending unfamiliar code
341
+ - When inheriting a codebase
342
+ - Before major refactoring
343
+
344
+ ## What to Do with Concerns
345
+
346
+ - Review CONCERNS.md before planning
347
+ - Address critical security issues first
348
+ - Factor tech debt into phase planning
349
+ - Use as context for estimates
350
+
351
+ ---
352
+
353
+ *Codebase Mapping Process v0.1.6*
@@ -6,31 +6,31 @@ Model profiles control which model each GoopSpec agent uses. This enables optima
6
6
 
7
7
  | Agent | Model | Rationale |
8
8
  |-------|-------|-----------|
9
- | goop-debugger | openai/gpt-5.2-codex | Best for code-heavy debugging, hypothesis testing, evidence-based analysis |
10
- | goop-designer | anthropic/claude-opus-4-5 | Best for visual design, UI/UX reasoning, component architecture decisions |
11
- | goop-executor | openai/gpt-5.2-codex | Best for code implementation, atomic commits, clean patterns |
9
+ | goop-debugger | openai/gpt-5.3-codex | Best for code-heavy debugging, hypothesis testing, evidence-based analysis |
10
+ | goop-designer | anthropic/claude-opus-4-6 | Best for visual design, UI/UX reasoning, component architecture decisions |
11
+ | goop-executor | openai/gpt-5.3-codex | Best for code implementation, atomic commits, clean patterns |
12
12
  | goop-explorer | google/antigravity-gemini-3-flash | Fast codebase mapping, pattern detection, lightweight exploration |
13
13
  | goop-librarian | openai/gpt-5.2 | Best for information retrieval, documentation search, code search |
14
- | goop-orchestrator | anthropic/claude-opus-4-5 | Complex orchestration, task delegation, context management |
15
- | goop-planner | anthropic/claude-opus-4-5 | Best for complex architecture decisions, goal decomposition, reasoning-heavy planning |
14
+ | goop-orchestrator | anthropic/claude-opus-4-6 | Complex orchestration, task delegation, context management |
15
+ | goop-planner | anthropic/claude-opus-4-6 | Best for complex architecture decisions, goal decomposition, reasoning-heavy planning |
16
16
  | goop-researcher | openai/gpt-5.2 | Best for research, technology evaluation, knowledge synthesis |
17
17
  | goop-tester | kimi-for-coding/k2p5 | Cost-effective for test writing, quality assurance, coverage thinking |
18
- | goop-verifier | openai/gpt-5.2-codex | Best for code verification, security analysis, catching subtle bugs |
18
+ | goop-verifier | openai/gpt-5.3-codex | Best for code verification, security analysis, catching subtle bugs |
19
19
  | goop-writer | google/antigravity-gemini-3-pro-high | Documentation, structured writing, comprehensive coverage |
20
20
  | memory-distiller | anthropic/claude-haiku-3-5 | Fast, lightweight distillation of events into structured memories |
21
21
 
22
22
  ## Model Selection Philosophy
23
23
 
24
- ### Why GPT-5.2-Codex for Code Tasks?
25
- Code-heavy tasks (debugging, execution, verification) benefit from Codex's specialized training. GPT-5.2-Codex excels at:
24
+ ### Why GPT-5.3-Codex for Code Tasks?
25
+ Code-heavy tasks (debugging, execution, verification) benefit from Codex's specialized training. GPT-5.3-Codex excels at:
26
26
  - Deep code understanding and generation
27
27
  - Bug detection and hypothesis testing
28
28
  - Security vulnerability analysis
29
29
  - Clean, production-quality implementation
30
30
  - Following coding patterns and conventions
31
31
 
32
- ### Why Claude Opus 4.5 for Planning & Orchestration?
33
- Planning and orchestration require complex reasoning and decision-making. Opus 4.5 excels at:
32
+ ### Why Claude Opus 4.6 for Planning & Orchestration?
33
+ Planning and orchestration require complex reasoning and decision-making. Opus 4.6 excels at:
34
34
  - Complex reasoning about system design
35
35
  - Identifying genuine dependencies vs false ones
36
36
  - Creating comprehensive, executable plans
@@ -76,13 +76,13 @@ Users can override models for specific scenarios in goopspec.json:
76
76
  ```json
77
77
  {
78
78
  "models": {
79
- "planner": "anthropic/claude-opus-4-5",
80
- "executor": "openai/gpt-5.2-codex",
79
+ "planner": "anthropic/claude-opus-4-6",
80
+ "executor": "openai/gpt-5.3-codex",
81
81
  "overrides": {
82
- "security_review": "openai/gpt-5.2-codex",
83
- "performance_audit": "openai/gpt-5.2-codex",
84
- "refactor": "openai/gpt-5.2-codex",
85
- "quick_fix": "openai/gpt-5.2-codex",
82
+ "security_review": "openai/gpt-5.3-codex",
83
+ "performance_audit": "openai/gpt-5.3-codex",
84
+ "refactor": "openai/gpt-5.3-codex",
85
+ "quick_fix": "openai/gpt-5.3-codex",
86
86
  "research": "openai/gpt-5.2",
87
87
  "documentation": "google/antigravity-gemini-3-pro-high"
88
88
  }