get-research-done 1.1.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 (127) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +560 -0
  3. package/agents/grd-architect.md +789 -0
  4. package/agents/grd-codebase-mapper.md +738 -0
  5. package/agents/grd-critic.md +1065 -0
  6. package/agents/grd-debugger.md +1203 -0
  7. package/agents/grd-evaluator.md +948 -0
  8. package/agents/grd-executor.md +784 -0
  9. package/agents/grd-explorer.md +2063 -0
  10. package/agents/grd-graduator.md +484 -0
  11. package/agents/grd-integration-checker.md +423 -0
  12. package/agents/grd-phase-researcher.md +641 -0
  13. package/agents/grd-plan-checker.md +745 -0
  14. package/agents/grd-planner.md +1386 -0
  15. package/agents/grd-project-researcher.md +865 -0
  16. package/agents/grd-research-synthesizer.md +256 -0
  17. package/agents/grd-researcher.md +2361 -0
  18. package/agents/grd-roadmapper.md +605 -0
  19. package/agents/grd-verifier.md +778 -0
  20. package/bin/install.js +1294 -0
  21. package/commands/grd/add-phase.md +207 -0
  22. package/commands/grd/add-todo.md +193 -0
  23. package/commands/grd/architect.md +283 -0
  24. package/commands/grd/audit-milestone.md +277 -0
  25. package/commands/grd/check-todos.md +228 -0
  26. package/commands/grd/complete-milestone.md +136 -0
  27. package/commands/grd/debug.md +169 -0
  28. package/commands/grd/discuss-phase.md +86 -0
  29. package/commands/grd/evaluate.md +1095 -0
  30. package/commands/grd/execute-phase.md +339 -0
  31. package/commands/grd/explore.md +258 -0
  32. package/commands/grd/graduate.md +323 -0
  33. package/commands/grd/help.md +482 -0
  34. package/commands/grd/insert-phase.md +227 -0
  35. package/commands/grd/insights.md +231 -0
  36. package/commands/grd/join-discord.md +18 -0
  37. package/commands/grd/list-phase-assumptions.md +50 -0
  38. package/commands/grd/map-codebase.md +71 -0
  39. package/commands/grd/new-milestone.md +721 -0
  40. package/commands/grd/new-project.md +1008 -0
  41. package/commands/grd/pause-work.md +134 -0
  42. package/commands/grd/plan-milestone-gaps.md +295 -0
  43. package/commands/grd/plan-phase.md +525 -0
  44. package/commands/grd/progress.md +364 -0
  45. package/commands/grd/quick-explore.md +236 -0
  46. package/commands/grd/quick.md +309 -0
  47. package/commands/grd/remove-phase.md +349 -0
  48. package/commands/grd/research-phase.md +200 -0
  49. package/commands/grd/research.md +681 -0
  50. package/commands/grd/resume-work.md +40 -0
  51. package/commands/grd/set-profile.md +106 -0
  52. package/commands/grd/settings.md +136 -0
  53. package/commands/grd/update.md +172 -0
  54. package/commands/grd/verify-work.md +219 -0
  55. package/get-research-done/config/default.json +15 -0
  56. package/get-research-done/references/checkpoints.md +1078 -0
  57. package/get-research-done/references/continuation-format.md +249 -0
  58. package/get-research-done/references/git-integration.md +254 -0
  59. package/get-research-done/references/model-profiles.md +73 -0
  60. package/get-research-done/references/planning-config.md +94 -0
  61. package/get-research-done/references/questioning.md +141 -0
  62. package/get-research-done/references/tdd.md +263 -0
  63. package/get-research-done/references/ui-brand.md +160 -0
  64. package/get-research-done/references/verification-patterns.md +612 -0
  65. package/get-research-done/templates/DEBUG.md +159 -0
  66. package/get-research-done/templates/UAT.md +247 -0
  67. package/get-research-done/templates/archive-reason.md +195 -0
  68. package/get-research-done/templates/codebase/architecture.md +255 -0
  69. package/get-research-done/templates/codebase/concerns.md +310 -0
  70. package/get-research-done/templates/codebase/conventions.md +307 -0
  71. package/get-research-done/templates/codebase/integrations.md +280 -0
  72. package/get-research-done/templates/codebase/stack.md +186 -0
  73. package/get-research-done/templates/codebase/structure.md +285 -0
  74. package/get-research-done/templates/codebase/testing.md +480 -0
  75. package/get-research-done/templates/config.json +35 -0
  76. package/get-research-done/templates/context.md +283 -0
  77. package/get-research-done/templates/continue-here.md +78 -0
  78. package/get-research-done/templates/critic-log.md +288 -0
  79. package/get-research-done/templates/data-report.md +173 -0
  80. package/get-research-done/templates/debug-subagent-prompt.md +91 -0
  81. package/get-research-done/templates/decision-log.md +58 -0
  82. package/get-research-done/templates/decision.md +138 -0
  83. package/get-research-done/templates/discovery.md +146 -0
  84. package/get-research-done/templates/experiment-readme.md +104 -0
  85. package/get-research-done/templates/graduated-script.md +180 -0
  86. package/get-research-done/templates/iteration-summary.md +234 -0
  87. package/get-research-done/templates/milestone-archive.md +123 -0
  88. package/get-research-done/templates/milestone.md +115 -0
  89. package/get-research-done/templates/objective.md +271 -0
  90. package/get-research-done/templates/phase-prompt.md +567 -0
  91. package/get-research-done/templates/planner-subagent-prompt.md +117 -0
  92. package/get-research-done/templates/project.md +184 -0
  93. package/get-research-done/templates/requirements.md +231 -0
  94. package/get-research-done/templates/research-project/ARCHITECTURE.md +204 -0
  95. package/get-research-done/templates/research-project/FEATURES.md +147 -0
  96. package/get-research-done/templates/research-project/PITFALLS.md +200 -0
  97. package/get-research-done/templates/research-project/STACK.md +120 -0
  98. package/get-research-done/templates/research-project/SUMMARY.md +170 -0
  99. package/get-research-done/templates/research.md +529 -0
  100. package/get-research-done/templates/roadmap.md +202 -0
  101. package/get-research-done/templates/scorecard.json +113 -0
  102. package/get-research-done/templates/state.md +287 -0
  103. package/get-research-done/templates/summary.md +246 -0
  104. package/get-research-done/templates/user-setup.md +311 -0
  105. package/get-research-done/templates/verification-report.md +322 -0
  106. package/get-research-done/workflows/complete-milestone.md +756 -0
  107. package/get-research-done/workflows/diagnose-issues.md +231 -0
  108. package/get-research-done/workflows/discovery-phase.md +289 -0
  109. package/get-research-done/workflows/discuss-phase.md +433 -0
  110. package/get-research-done/workflows/execute-phase.md +657 -0
  111. package/get-research-done/workflows/execute-plan.md +1844 -0
  112. package/get-research-done/workflows/list-phase-assumptions.md +178 -0
  113. package/get-research-done/workflows/map-codebase.md +322 -0
  114. package/get-research-done/workflows/resume-project.md +307 -0
  115. package/get-research-done/workflows/transition.md +556 -0
  116. package/get-research-done/workflows/verify-phase.md +628 -0
  117. package/get-research-done/workflows/verify-work.md +596 -0
  118. package/hooks/dist/grd-check-update.js +61 -0
  119. package/hooks/dist/grd-statusline.js +84 -0
  120. package/package.json +47 -0
  121. package/scripts/audit-help-commands.sh +115 -0
  122. package/scripts/build-hooks.js +42 -0
  123. package/scripts/verify-all-commands.sh +246 -0
  124. package/scripts/verify-architect-warning.sh +35 -0
  125. package/scripts/verify-insights-mode.sh +40 -0
  126. package/scripts/verify-quick-mode.sh +20 -0
  127. package/scripts/verify-revise-data-routing.sh +139 -0
@@ -0,0 +1,322 @@
1
+ # Verification Report Template
2
+
3
+ Template for `.planning/phases/XX-name/{phase}-VERIFICATION.md` — phase goal verification results.
4
+
5
+ ---
6
+
7
+ ## File Template
8
+
9
+ ```markdown
10
+ ---
11
+ phase: XX-name
12
+ verified: YYYY-MM-DDTHH:MM:SSZ
13
+ status: passed | gaps_found | human_needed
14
+ score: N/M must-haves verified
15
+ ---
16
+
17
+ # Phase {X}: {Name} Verification Report
18
+
19
+ **Phase Goal:** {goal from ROADMAP.md}
20
+ **Verified:** {timestamp}
21
+ **Status:** {passed | gaps_found | human_needed}
22
+
23
+ ## Goal Achievement
24
+
25
+ ### Observable Truths
26
+
27
+ | # | Truth | Status | Evidence |
28
+ |---|-------|--------|----------|
29
+ | 1 | {truth from must_haves} | ✓ VERIFIED | {what confirmed it} |
30
+ | 2 | {truth from must_haves} | ✗ FAILED | {what's wrong} |
31
+ | 3 | {truth from must_haves} | ? UNCERTAIN | {why can't verify} |
32
+
33
+ **Score:** {N}/{M} truths verified
34
+
35
+ ### Required Artifacts
36
+
37
+ | Artifact | Expected | Status | Details |
38
+ |----------|----------|--------|---------|
39
+ | `src/components/Chat.tsx` | Message list component | ✓ EXISTS + SUBSTANTIVE | Exports ChatList, renders Message[], no stubs |
40
+ | `src/app/api/chat/route.ts` | Message CRUD | ✗ STUB | File exists but POST returns placeholder |
41
+ | `prisma/schema.prisma` | Message model | ✓ EXISTS + SUBSTANTIVE | Model defined with all fields |
42
+
43
+ **Artifacts:** {N}/{M} verified
44
+
45
+ ### Key Link Verification
46
+
47
+ | From | To | Via | Status | Details |
48
+ |------|----|----|--------|---------|
49
+ | Chat.tsx | /api/chat | fetch in useEffect | ✓ WIRED | Line 23: `fetch('/api/chat')` with response handling |
50
+ | ChatInput | /api/chat POST | onSubmit handler | ✗ NOT WIRED | onSubmit only calls console.log |
51
+ | /api/chat POST | database | prisma.message.create | ✗ NOT WIRED | Returns hardcoded response, no DB call |
52
+
53
+ **Wiring:** {N}/{M} connections verified
54
+
55
+ ## Requirements Coverage
56
+
57
+ | Requirement | Status | Blocking Issue |
58
+ |-------------|--------|----------------|
59
+ | {REQ-01}: {description} | ✓ SATISFIED | - |
60
+ | {REQ-02}: {description} | ✗ BLOCKED | API route is stub |
61
+ | {REQ-03}: {description} | ? NEEDS HUMAN | Can't verify WebSocket programmatically |
62
+
63
+ **Coverage:** {N}/{M} requirements satisfied
64
+
65
+ ## Anti-Patterns Found
66
+
67
+ | File | Line | Pattern | Severity | Impact |
68
+ |------|------|---------|----------|--------|
69
+ | src/app/api/chat/route.ts | 12 | `// TODO: implement` | âš ī¸ Warning | Indicates incomplete |
70
+ | src/components/Chat.tsx | 45 | `return <div>Placeholder</div>` | 🛑 Blocker | Renders no content |
71
+ | src/hooks/useChat.ts | - | File missing | 🛑 Blocker | Expected hook doesn't exist |
72
+
73
+ **Anti-patterns:** {N} found ({blockers} blockers, {warnings} warnings)
74
+
75
+ ## Human Verification Required
76
+
77
+ {If no human verification needed:}
78
+ None — all verifiable items checked programmatically.
79
+
80
+ {If human verification needed:}
81
+
82
+ ### 1. {Test Name}
83
+ **Test:** {What to do}
84
+ **Expected:** {What should happen}
85
+ **Why human:** {Why can't verify programmatically}
86
+
87
+ ### 2. {Test Name}
88
+ **Test:** {What to do}
89
+ **Expected:** {What should happen}
90
+ **Why human:** {Why can't verify programmatically}
91
+
92
+ ## Gaps Summary
93
+
94
+ {If no gaps:}
95
+ **No gaps found.** Phase goal achieved. Ready to proceed.
96
+
97
+ {If gaps found:}
98
+
99
+ ### Critical Gaps (Block Progress)
100
+
101
+ 1. **{Gap name}**
102
+ - Missing: {what's missing}
103
+ - Impact: {why this blocks the goal}
104
+ - Fix: {what needs to happen}
105
+
106
+ 2. **{Gap name}**
107
+ - Missing: {what's missing}
108
+ - Impact: {why this blocks the goal}
109
+ - Fix: {what needs to happen}
110
+
111
+ ### Non-Critical Gaps (Can Defer)
112
+
113
+ 1. **{Gap name}**
114
+ - Issue: {what's wrong}
115
+ - Impact: {limited impact because...}
116
+ - Recommendation: {fix now or defer}
117
+
118
+ ## Recommended Fix Plans
119
+
120
+ {If gaps found, generate fix plan recommendations:}
121
+
122
+ ### {phase}-{next}-PLAN.md: {Fix Name}
123
+
124
+ **Objective:** {What this fixes}
125
+
126
+ **Tasks:**
127
+ 1. {Task to fix gap 1}
128
+ 2. {Task to fix gap 2}
129
+ 3. {Verification task}
130
+
131
+ **Estimated scope:** {Small / Medium}
132
+
133
+ ---
134
+
135
+ ### {phase}-{next+1}-PLAN.md: {Fix Name}
136
+
137
+ **Objective:** {What this fixes}
138
+
139
+ **Tasks:**
140
+ 1. {Task}
141
+ 2. {Task}
142
+
143
+ **Estimated scope:** {Small / Medium}
144
+
145
+ ---
146
+
147
+ ## Verification Metadata
148
+
149
+ **Verification approach:** Goal-backward (derived from phase goal)
150
+ **Must-haves source:** {PLAN.md frontmatter | derived from ROADMAP.md goal}
151
+ **Automated checks:** {N} passed, {M} failed
152
+ **Human checks required:** {N}
153
+ **Total verification time:** {duration}
154
+
155
+ ---
156
+ *Verified: {timestamp}*
157
+ *Verifier: Claude (subagent)*
158
+ ```
159
+
160
+ ---
161
+
162
+ ## Guidelines
163
+
164
+ **Status values:**
165
+ - `passed` — All must-haves verified, no blockers
166
+ - `gaps_found` — One or more critical gaps found
167
+ - `human_needed` — Automated checks pass but human verification required
168
+
169
+ **Evidence types:**
170
+ - For EXISTS: "File at path, exports X"
171
+ - For SUBSTANTIVE: "N lines, has patterns X, Y, Z"
172
+ - For WIRED: "Line N: code that connects A to B"
173
+ - For FAILED: "Missing because X" or "Stub because Y"
174
+
175
+ **Severity levels:**
176
+ - 🛑 Blocker: Prevents goal achievement, must fix
177
+ - âš ī¸ Warning: Indicates incomplete but doesn't block
178
+ - â„šī¸ Info: Notable but not problematic
179
+
180
+ **Fix plan generation:**
181
+ - Only generate if gaps_found
182
+ - Group related fixes into single plans
183
+ - Keep to 2-3 tasks per plan
184
+ - Include verification task in each plan
185
+
186
+ ---
187
+
188
+ ## Example
189
+
190
+ ```markdown
191
+ ---
192
+ phase: 03-chat
193
+ verified: 2025-01-15T14:30:00Z
194
+ status: gaps_found
195
+ score: 2/5 must-haves verified
196
+ ---
197
+
198
+ # Phase 3: Chat Interface Verification Report
199
+
200
+ **Phase Goal:** Working chat interface where users can send and receive messages
201
+ **Verified:** 2025-01-15T14:30:00Z
202
+ **Status:** gaps_found
203
+
204
+ ## Goal Achievement
205
+
206
+ ### Observable Truths
207
+
208
+ | # | Truth | Status | Evidence |
209
+ |---|-------|--------|----------|
210
+ | 1 | User can see existing messages | ✗ FAILED | Component renders placeholder, not message data |
211
+ | 2 | User can type a message | ✓ VERIFIED | Input field exists with onChange handler |
212
+ | 3 | User can send a message | ✗ FAILED | onSubmit handler is console.log only |
213
+ | 4 | Sent message appears in list | ✗ FAILED | No state update after send |
214
+ | 5 | Messages persist across refresh | ? UNCERTAIN | Can't verify - send doesn't work |
215
+
216
+ **Score:** 1/5 truths verified
217
+
218
+ ### Required Artifacts
219
+
220
+ | Artifact | Expected | Status | Details |
221
+ |----------|----------|--------|---------|
222
+ | `src/components/Chat.tsx` | Message list component | ✗ STUB | Returns `<div>Chat will be here</div>` |
223
+ | `src/components/ChatInput.tsx` | Message input | ✓ EXISTS + SUBSTANTIVE | Form with input, submit button, handlers |
224
+ | `src/app/api/chat/route.ts` | Message CRUD | ✗ STUB | GET returns [], POST returns { ok: true } |
225
+ | `prisma/schema.prisma` | Message model | ✓ EXISTS + SUBSTANTIVE | Message model with id, content, userId, createdAt |
226
+
227
+ **Artifacts:** 2/4 verified
228
+
229
+ ### Key Link Verification
230
+
231
+ | From | To | Via | Status | Details |
232
+ |------|----|----|--------|---------|
233
+ | Chat.tsx | /api/chat GET | fetch | ✗ NOT WIRED | No fetch call in component |
234
+ | ChatInput | /api/chat POST | onSubmit | ✗ NOT WIRED | Handler only logs, doesn't fetch |
235
+ | /api/chat GET | database | prisma.message.findMany | ✗ NOT WIRED | Returns hardcoded [] |
236
+ | /api/chat POST | database | prisma.message.create | ✗ NOT WIRED | Returns { ok: true }, no DB call |
237
+
238
+ **Wiring:** 0/4 connections verified
239
+
240
+ ## Requirements Coverage
241
+
242
+ | Requirement | Status | Blocking Issue |
243
+ |-------------|--------|----------------|
244
+ | CHAT-01: User can send message | ✗ BLOCKED | API POST is stub |
245
+ | CHAT-02: User can view messages | ✗ BLOCKED | Component is placeholder |
246
+ | CHAT-03: Messages persist | ✗ BLOCKED | No database integration |
247
+
248
+ **Coverage:** 0/3 requirements satisfied
249
+
250
+ ## Anti-Patterns Found
251
+
252
+ | File | Line | Pattern | Severity | Impact |
253
+ |------|------|---------|----------|--------|
254
+ | src/components/Chat.tsx | 8 | `<div>Chat will be here</div>` | 🛑 Blocker | No actual content |
255
+ | src/app/api/chat/route.ts | 5 | `return Response.json([])` | 🛑 Blocker | Hardcoded empty |
256
+ | src/app/api/chat/route.ts | 12 | `// TODO: save to database` | âš ī¸ Warning | Incomplete |
257
+
258
+ **Anti-patterns:** 3 found (2 blockers, 1 warning)
259
+
260
+ ## Human Verification Required
261
+
262
+ None needed until automated gaps are fixed.
263
+
264
+ ## Gaps Summary
265
+
266
+ ### Critical Gaps (Block Progress)
267
+
268
+ 1. **Chat component is placeholder**
269
+ - Missing: Actual message list rendering
270
+ - Impact: Users see "Chat will be here" instead of messages
271
+ - Fix: Implement Chat.tsx to fetch and render messages
272
+
273
+ 2. **API routes are stubs**
274
+ - Missing: Database integration in GET and POST
275
+ - Impact: No data persistence, no real functionality
276
+ - Fix: Wire prisma calls in route handlers
277
+
278
+ 3. **No wiring between frontend and backend**
279
+ - Missing: fetch calls in components
280
+ - Impact: Even if API worked, UI wouldn't call it
281
+ - Fix: Add useEffect fetch in Chat, onSubmit fetch in ChatInput
282
+
283
+ ## Recommended Fix Plans
284
+
285
+ ### 03-04-PLAN.md: Implement Chat API
286
+
287
+ **Objective:** Wire API routes to database
288
+
289
+ **Tasks:**
290
+ 1. Implement GET /api/chat with prisma.message.findMany
291
+ 2. Implement POST /api/chat with prisma.message.create
292
+ 3. Verify: API returns real data, POST creates records
293
+
294
+ **Estimated scope:** Small
295
+
296
+ ---
297
+
298
+ ### 03-05-PLAN.md: Implement Chat UI
299
+
300
+ **Objective:** Wire Chat component to API
301
+
302
+ **Tasks:**
303
+ 1. Implement Chat.tsx with useEffect fetch and message rendering
304
+ 2. Wire ChatInput onSubmit to POST /api/chat
305
+ 3. Verify: Messages display, new messages appear after send
306
+
307
+ **Estimated scope:** Small
308
+
309
+ ---
310
+
311
+ ## Verification Metadata
312
+
313
+ **Verification approach:** Goal-backward (derived from phase goal)
314
+ **Must-haves source:** 03-01-PLAN.md frontmatter
315
+ **Automated checks:** 2 passed, 8 failed
316
+ **Human checks required:** 0 (blocked by automated failures)
317
+ **Total verification time:** 2 min
318
+
319
+ ---
320
+ *Verified: 2025-01-15T14:30:00Z*
321
+ *Verifier: Claude (subagent)*
322
+ ```