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,40 @@
1
+ ---
2
+ name: grd:resume-work
3
+ description: Resume work from previous session with full context restoration
4
+ allowed-tools:
5
+ - Read
6
+ - Bash
7
+ - Write
8
+ - AskUserQuestion
9
+ - SlashCommand
10
+ ---
11
+
12
+ <objective>
13
+ Restore complete project context and resume work seamlessly from previous session.
14
+
15
+ Routes to the resume-project workflow which handles:
16
+
17
+ - STATE.md loading (or reconstruction if missing)
18
+ - Checkpoint detection (.continue-here files)
19
+ - Incomplete work detection (PLAN without SUMMARY)
20
+ - Status presentation
21
+ - Context-aware next action routing
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/get-research-done/workflows/resume-project.md
26
+ </execution_context>
27
+
28
+ <process>
29
+ **Follow the resume-project workflow** from `@~/.claude/get-research-done/workflows/resume-project.md`.
30
+
31
+ The workflow handles all resumption logic including:
32
+
33
+ 1. Project existence verification
34
+ 2. STATE.md loading or reconstruction
35
+ 3. Checkpoint and incomplete work detection
36
+ 4. Visual status presentation
37
+ 5. Context-aware option offering (checks CONTEXT.md before suggesting plan vs discuss)
38
+ 6. Routing to appropriate next command
39
+ 7. Session continuity updates
40
+ </process>
@@ -0,0 +1,106 @@
1
+ ---
2
+ name: grd:set-profile
3
+ description: Switch model profile for GRD agents (quality/balanced/budget)
4
+ arguments:
5
+ - name: profile
6
+ description: "Profile name: quality, balanced, or budget"
7
+ required: true
8
+ ---
9
+
10
+ <objective>
11
+ Switch the model profile used by GRD agents. This controls which Claude model each agent uses, balancing quality vs token spend.
12
+ </objective>
13
+
14
+ <profiles>
15
+ | Profile | Description |
16
+ |---------|-------------|
17
+ | **quality** | Opus everywhere except read-only verification |
18
+ | **balanced** | Opus for planning, Sonnet for execution/verification (default) |
19
+ | **budget** | Sonnet for writing, Haiku for research/verification |
20
+ </profiles>
21
+
22
+ <process>
23
+
24
+ ## 1. Validate argument
25
+
26
+ ```
27
+ if $ARGUMENTS.profile not in ["quality", "balanced", "budget"]:
28
+ Error: Invalid profile "$ARGUMENTS.profile"
29
+ Valid profiles: quality, balanced, budget
30
+ STOP
31
+ ```
32
+
33
+ ## 2. Check for project
34
+
35
+ ```bash
36
+ ls .planning/config.json 2>/dev/null
37
+ ```
38
+
39
+ If no `.planning/` directory:
40
+ ```
41
+ Error: No GRD project found.
42
+ Run /grd:new-project first to initialize a project.
43
+ ```
44
+
45
+ ## 3. Update config.json
46
+
47
+ Read current config:
48
+ ```bash
49
+ cat .planning/config.json
50
+ ```
51
+
52
+ Update `model_profile` field (or add if missing):
53
+ ```json
54
+ {
55
+ "model_profile": "$ARGUMENTS.profile"
56
+ }
57
+ ```
58
+
59
+ Write updated config back to `.planning/config.json`.
60
+
61
+ ## 4. Confirm
62
+
63
+ ```
64
+ ✓ Model profile set to: $ARGUMENTS.profile
65
+
66
+ Agents will now use:
67
+ [Show table from model-profiles.md for selected profile]
68
+
69
+ Next spawned agents will use the new profile.
70
+ ```
71
+
72
+ </process>
73
+
74
+ <examples>
75
+
76
+ **Switch to budget mode:**
77
+ ```
78
+ /grd:set-profile budget
79
+
80
+ ✓ Model profile set to: budget
81
+
82
+ Agents will now use:
83
+ | Agent | Model |
84
+ |-------|-------|
85
+ | grd-planner | sonnet |
86
+ | grd-executor | sonnet |
87
+ | grd-verifier | haiku |
88
+ | ... | ... |
89
+ ```
90
+
91
+ **Switch to quality mode:**
92
+ ```
93
+ /grd:set-profile quality
94
+
95
+ ✓ Model profile set to: quality
96
+
97
+ Agents will now use:
98
+ | Agent | Model |
99
+ |-------|-------|
100
+ | grd-planner | opus |
101
+ | grd-executor | opus |
102
+ | grd-verifier | sonnet |
103
+ | ... | ... |
104
+ ```
105
+
106
+ </examples>
@@ -0,0 +1,136 @@
1
+ ---
2
+ name: grd:settings
3
+ description: Configure GRD workflow toggles and model profile
4
+ allowed-tools:
5
+ - Read
6
+ - Write
7
+ - AskUserQuestion
8
+ ---
9
+
10
+ <objective>
11
+ Allow users to toggle workflow agents on/off and select model profile via interactive settings.
12
+
13
+ Updates `.planning/config.json` with workflow preferences and model profile selection.
14
+ </objective>
15
+
16
+ <process>
17
+
18
+ ## 1. Validate Environment
19
+
20
+ ```bash
21
+ ls .planning/config.json 2>/dev/null
22
+ ```
23
+
24
+ **If not found:** Error - run `/grd:new-project` first.
25
+
26
+ ## 2. Read Current Config
27
+
28
+ ```bash
29
+ cat .planning/config.json
30
+ ```
31
+
32
+ Parse current values (default to `true` if not present):
33
+ - `workflow.research` — spawn researcher during plan-phase
34
+ - `workflow.plan_check` — spawn plan checker during plan-phase
35
+ - `workflow.verifier` — spawn verifier during execute-phase
36
+ - `model_profile` — which model each agent uses (default: `balanced`)
37
+
38
+ ## 3. Present Settings
39
+
40
+ Use AskUserQuestion with current values shown:
41
+
42
+ ```
43
+ AskUserQuestion([
44
+ {
45
+ question: "Which model profile for agents?",
46
+ header: "Model",
47
+ multiSelect: false,
48
+ options: [
49
+ { label: "Quality", description: "Opus everywhere except verification (highest cost)" },
50
+ { label: "Balanced (Recommended)", description: "Opus for planning, Sonnet for execution/verification" },
51
+ { label: "Budget", description: "Sonnet for writing, Haiku for research/verification (lowest cost)" }
52
+ ]
53
+ },
54
+ {
55
+ question: "Spawn Plan Researcher? (researches domain before planning)",
56
+ header: "Research",
57
+ multiSelect: false,
58
+ options: [
59
+ { label: "Yes", description: "Research phase goals before planning" },
60
+ { label: "No", description: "Skip research, plan directly" }
61
+ ]
62
+ },
63
+ {
64
+ question: "Spawn Plan Checker? (verifies plans before execution)",
65
+ header: "Plan Check",
66
+ multiSelect: false,
67
+ options: [
68
+ { label: "Yes", description: "Verify plans meet phase goals" },
69
+ { label: "No", description: "Skip plan verification" }
70
+ ]
71
+ },
72
+ {
73
+ question: "Spawn Execution Verifier? (verifies phase completion)",
74
+ header: "Verifier",
75
+ multiSelect: false,
76
+ options: [
77
+ { label: "Yes", description: "Verify must-haves after execution" },
78
+ { label: "No", description: "Skip post-execution verification" }
79
+ ]
80
+ }
81
+ ])
82
+ ```
83
+
84
+ **Pre-select based on current config values.**
85
+
86
+ ## 4. Update Config
87
+
88
+ Merge new settings into existing config.json:
89
+
90
+ ```json
91
+ {
92
+ ...existing_config,
93
+ "model_profile": "quality" | "balanced" | "budget",
94
+ "workflow": {
95
+ "research": true/false,
96
+ "plan_check": true/false,
97
+ "verifier": true/false
98
+ }
99
+ }
100
+ ```
101
+
102
+ Write updated config to `.planning/config.json`.
103
+
104
+ ## 5. Confirm Changes
105
+
106
+ Display:
107
+
108
+ ```
109
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
110
+ GRD ► SETTINGS UPDATED
111
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
112
+
113
+ | Setting | Value |
114
+ |----------------------|-------|
115
+ | Model Profile | {quality/balanced/budget} |
116
+ | Plan Researcher | {On/Off} |
117
+ | Plan Checker | {On/Off} |
118
+ | Execution Verifier | {On/Off} |
119
+
120
+ These settings apply to future /grd:plan-phase and /grd:execute-phase runs.
121
+
122
+ Quick commands:
123
+ - /grd:set-profile <profile> — switch model profile
124
+ - /grd:plan-phase --research — force research
125
+ - /grd:plan-phase --skip-research — skip research
126
+ - /grd:plan-phase --skip-verify — skip plan check
127
+ ```
128
+
129
+ </process>
130
+
131
+ <success_criteria>
132
+ - [ ] Current config read
133
+ - [ ] User presented with 4 settings (profile + 3 toggles)
134
+ - [ ] Config updated with model_profile and workflow section
135
+ - [ ] Changes confirmed to user
136
+ </success_criteria>
@@ -0,0 +1,172 @@
1
+ ---
2
+ name: grd:update
3
+ description: Update GSD to latest version with changelog display
4
+ ---
5
+
6
+ <objective>
7
+ Check for GSD updates, install if available, and display what changed.
8
+
9
+ Provides a better update experience than raw `npx get-research-done-cc` by showing version diff and changelog entries.
10
+ </objective>
11
+
12
+ <process>
13
+
14
+ <step name="get_installed_version">
15
+ Read installed version:
16
+
17
+ ```bash
18
+ cat ~/.claude/get-research-done/VERSION 2>/dev/null
19
+ ```
20
+
21
+ **If VERSION file missing:**
22
+ ```
23
+ ## GSD Update
24
+
25
+ **Installed version:** Unknown
26
+
27
+ Your installation doesn't include version tracking.
28
+
29
+ Running fresh install...
30
+ ```
31
+
32
+ Proceed to install step (treat as version 0.0.0 for comparison).
33
+ </step>
34
+
35
+ <step name="check_latest_version">
36
+ Check npm for latest version:
37
+
38
+ ```bash
39
+ npm view get-research-done-cc version 2>/dev/null
40
+ ```
41
+
42
+ **If npm check fails:**
43
+ ```
44
+ Couldn't check for updates (offline or npm unavailable).
45
+
46
+ To update manually: `npx get-research-done-cc --global`
47
+ ```
48
+
49
+ STOP here if npm unavailable.
50
+ </step>
51
+
52
+ <step name="compare_versions">
53
+ Compare installed vs latest:
54
+
55
+ **If installed == latest:**
56
+ ```
57
+ ## GSD Update
58
+
59
+ **Installed:** X.Y.Z
60
+ **Latest:** X.Y.Z
61
+
62
+ You're already on the latest version.
63
+ ```
64
+
65
+ STOP here if already up to date.
66
+
67
+ **If installed > latest:**
68
+ ```
69
+ ## GSD Update
70
+
71
+ **Installed:** X.Y.Z
72
+ **Latest:** A.B.C
73
+
74
+ You're ahead of the latest release (development version?).
75
+ ```
76
+
77
+ STOP here if ahead.
78
+ </step>
79
+
80
+ <step name="show_changes_and_confirm">
81
+ **If update available**, fetch and show what's new BEFORE updating:
82
+
83
+ 1. Fetch changelog (same as fetch_changelog step)
84
+ 2. Extract entries between installed and latest versions
85
+ 3. Display preview and ask for confirmation:
86
+
87
+ ```
88
+ ## GSD Update Available
89
+
90
+ **Installed:** 1.5.10
91
+ **Latest:** 1.5.15
92
+
93
+ ### What's New
94
+ ────────────────────────────────────────────────────────────
95
+
96
+ ## [1.5.15] - 2026-01-20
97
+
98
+ ### Added
99
+ - Feature X
100
+
101
+ ## [1.5.14] - 2026-01-18
102
+
103
+ ### Fixed
104
+ - Bug fix Y
105
+
106
+ ────────────────────────────────────────────────────────────
107
+
108
+ ⚠️ **Note:** The installer performs a clean install of GSD folders:
109
+ - `~/.claude/commands/gsd/` will be wiped and replaced
110
+ - `~/.claude/get-research-done/` will be wiped and replaced
111
+ - `~/.claude/agents/grd-*` files will be replaced
112
+
113
+ Your custom files in other locations are preserved:
114
+ - Custom commands in `~/.claude/commands/your-stuff/` ✓
115
+ - Custom agents not prefixed with `grd-` ✓
116
+ - Custom hooks ✓
117
+ - Your CLAUDE.md files ✓
118
+
119
+ If you've modified any GSD files directly, back them up first.
120
+ ```
121
+
122
+ Use AskUserQuestion:
123
+ - Question: "Proceed with update?"
124
+ - Options:
125
+ - "Yes, update now"
126
+ - "No, cancel"
127
+
128
+ **If user cancels:** STOP here.
129
+ </step>
130
+
131
+ <step name="run_update">
132
+ Run the update:
133
+
134
+ ```bash
135
+ npx get-research-done-cc --global
136
+ ```
137
+
138
+ Capture output. If install fails, show error and STOP.
139
+
140
+ Clear the update cache so statusline indicator disappears:
141
+
142
+ ```bash
143
+ rm -f ~/.claude/cache/grd-update-check.json
144
+ ```
145
+ </step>
146
+
147
+ <step name="display_result">
148
+ Format completion message (changelog was already shown in confirmation step):
149
+
150
+ ```
151
+ ╔═══════════════════════════════════════════════════════════╗
152
+ ║ GSD Updated: v1.5.10 → v1.5.15 ║
153
+ ╚═══════════════════════════════════════════════════════════╝
154
+
155
+ ⚠️ Restart Claude Code to pick up the new commands.
156
+
157
+ [View full changelog](https://github.com/glittercowboy/get-research-done/blob/main/CHANGELOG.md)
158
+ ```
159
+ </step>
160
+
161
+ </process>
162
+
163
+ <success_criteria>
164
+ - [ ] Installed version read correctly
165
+ - [ ] Latest version checked via npm
166
+ - [ ] Update skipped if already current
167
+ - [ ] Changelog fetched and displayed BEFORE update
168
+ - [ ] Clean install warning shown
169
+ - [ ] User confirmation obtained
170
+ - [ ] Update executed successfully
171
+ - [ ] Restart reminder shown
172
+ </success_criteria>
@@ -0,0 +1,219 @@
1
+ ---
2
+ name: grd:verify-work
3
+ description: Validate built features through conversational UAT
4
+ argument-hint: "[phase number, e.g., '4']"
5
+ allowed-tools:
6
+ - Read
7
+ - Bash
8
+ - Glob
9
+ - Grep
10
+ - Edit
11
+ - Write
12
+ - Task
13
+ ---
14
+
15
+ <objective>
16
+ Validate built features through conversational testing with persistent state.
17
+
18
+ Purpose: Confirm what Claude built actually works from user's perspective. One test at a time, plain text responses, no interrogation. When issues are found, automatically diagnose, plan fixes, and prepare for execution.
19
+
20
+ Output: {phase}-UAT.md tracking all test results. If issues found: diagnosed gaps, verified fix plans ready for /grd:execute-phase
21
+ </objective>
22
+
23
+ <execution_context>
24
+ @~/.claude/get-research-done/workflows/verify-work.md
25
+ @~/.claude/get-research-done/templates/UAT.md
26
+ </execution_context>
27
+
28
+ <context>
29
+ Phase: $ARGUMENTS (optional)
30
+ - If provided: Test specific phase (e.g., "4")
31
+ - If not provided: Check for active sessions or prompt for phase
32
+
33
+ @.planning/STATE.md
34
+ @.planning/ROADMAP.md
35
+ </context>
36
+
37
+ <process>
38
+ 1. Check for active UAT sessions (resume or start new)
39
+ 2. Find SUMMARY.md files for the phase
40
+ 3. Extract testable deliverables (user-observable outcomes)
41
+ 4. Create {phase}-UAT.md with test list
42
+ 5. Present tests one at a time:
43
+ - Show expected behavior
44
+ - Wait for plain text response
45
+ - "yes/y/next" = pass, anything else = issue (severity inferred)
46
+ 6. Update UAT.md after each response
47
+ 7. On completion: commit, present summary
48
+ 8. If issues found:
49
+ - Spawn parallel debug agents to diagnose root causes
50
+ - Spawn grd-planner in --gaps mode to create fix plans
51
+ - Spawn grd-plan-checker to verify fix plans
52
+ - Iterate planner ↔ checker until plans pass (max 3)
53
+ - Present ready status with `/clear` then `/grd:execute-phase`
54
+ </process>
55
+
56
+ <anti_patterns>
57
+ - Don't use AskUserQuestion for test responses — plain text conversation
58
+ - Don't ask severity — infer from description
59
+ - Don't present full checklist upfront — one test at a time
60
+ - Don't run automated tests — this is manual user validation
61
+ - Don't fix issues during testing — log as gaps, diagnose after all tests complete
62
+ </anti_patterns>
63
+
64
+ <offer_next>
65
+ Output this markdown directly (not as a code block). Route based on UAT results:
66
+
67
+ | Status | Route |
68
+ |--------|-------|
69
+ | All tests pass + more phases | Route A (next phase) |
70
+ | All tests pass + last phase | Route B (milestone complete) |
71
+ | Issues found + fix plans ready | Route C (execute fixes) |
72
+ | Issues found + planning blocked | Route D (manual intervention) |
73
+
74
+ ---
75
+
76
+ **Route A: All tests pass, more phases remain**
77
+
78
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
79
+ GRD ► PHASE {Z} VERIFIED ✓
80
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
81
+
82
+ **Phase {Z}: {Name}**
83
+
84
+ {N}/{N} tests passed
85
+ UAT complete ✓
86
+
87
+ ───────────────────────────────────────────────────────────────
88
+
89
+ ## ▶ Next Up
90
+
91
+ **Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
92
+
93
+ /grd:discuss-phase {Z+1} — gather context and clarify approach
94
+
95
+ <sub>/clear first → fresh context window</sub>
96
+
97
+ ───────────────────────────────────────────────────────────────
98
+
99
+ **Also available:**
100
+ - /grd:plan-phase {Z+1} — skip discussion, plan directly
101
+ - /grd:execute-phase {Z+1} — skip to execution (if already planned)
102
+
103
+ ───────────────────────────────────────────────────────────────
104
+
105
+ ---
106
+
107
+ **Route B: All tests pass, milestone complete**
108
+
109
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
110
+ GRD ► PHASE {Z} VERIFIED ✓
111
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
112
+
113
+ **Phase {Z}: {Name}**
114
+
115
+ {N}/{N} tests passed
116
+ Final phase verified ✓
117
+
118
+ ───────────────────────────────────────────────────────────────
119
+
120
+ ## ▶ Next Up
121
+
122
+ **Audit milestone** — verify requirements, cross-phase integration, E2E flows
123
+
124
+ /grd:audit-milestone
125
+
126
+ <sub>/clear first → fresh context window</sub>
127
+
128
+ ───────────────────────────────────────────────────────────────
129
+
130
+ **Also available:**
131
+ - /grd:complete-milestone — skip audit, archive directly
132
+
133
+ ───────────────────────────────────────────────────────────────
134
+
135
+ ---
136
+
137
+ **Route C: Issues found, fix plans ready**
138
+
139
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
140
+ GRD ► PHASE {Z} ISSUES FOUND ⚠
141
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
142
+
143
+ **Phase {Z}: {Name}**
144
+
145
+ {N}/{M} tests passed
146
+ {X} issues diagnosed
147
+ Fix plans verified ✓
148
+
149
+ ### Issues Found
150
+
151
+ {List issues with severity from UAT.md}
152
+
153
+ ───────────────────────────────────────────────────────────────
154
+
155
+ ## ▶ Next Up
156
+
157
+ **Execute fix plans** — run diagnosed fixes
158
+
159
+ /grd:execute-phase {Z} --gaps-only
160
+
161
+ <sub>/clear first → fresh context window</sub>
162
+
163
+ ───────────────────────────────────────────────────────────────
164
+
165
+ **Also available:**
166
+ - cat .planning/phases/{phase_dir}/*-PLAN.md — review fix plans
167
+ - /grd:plan-phase {Z} --gaps — regenerate fix plans
168
+
169
+ ───────────────────────────────────────────────────────────────
170
+
171
+ ---
172
+
173
+ **Route D: Issues found, planning blocked**
174
+
175
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
176
+ GRD ► PHASE {Z} BLOCKED ✗
177
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
178
+
179
+ **Phase {Z}: {Name}**
180
+
181
+ {N}/{M} tests passed
182
+ Fix planning blocked after {X} iterations
183
+
184
+ ### Unresolved Issues
185
+
186
+ {List blocking issues from planner/checker output}
187
+
188
+ ───────────────────────────────────────────────────────────────
189
+
190
+ ## ▶ Next Up
191
+
192
+ **Manual intervention required**
193
+
194
+ Review the issues above and either:
195
+ 1. Provide guidance for fix planning
196
+ 2. Manually address blockers
197
+ 3. Accept current state and continue
198
+
199
+ ───────────────────────────────────────────────────────────────
200
+
201
+ **Options:**
202
+ - /grd:plan-phase {Z} --gaps — retry fix planning with guidance
203
+ - /grd:discuss-phase {Z} — gather more context before replanning
204
+
205
+ ───────────────────────────────────────────────────────────────
206
+ </offer_next>
207
+
208
+ <success_criteria>
209
+ - [ ] UAT.md created with tests from SUMMARY.md
210
+ - [ ] Tests presented one at a time with expected behavior
211
+ - [ ] Plain text responses (no structured forms)
212
+ - [ ] Severity inferred, never asked
213
+ - [ ] Batched writes: on issue, every 5 passes, or completion
214
+ - [ ] Committed on completion
215
+ - [ ] If issues: parallel debug agents diagnose root causes
216
+ - [ ] If issues: grd-planner creates fix plans from diagnosed gaps
217
+ - [ ] If issues: grd-plan-checker verifies fix plans (max 3 iterations)
218
+ - [ ] Ready for `/grd:execute-phase` when complete
219
+ </success_criteria>
@@ -0,0 +1,15 @@
1
+ {
2
+ "workflow": {
3
+ "commit_planning_docs": true,
4
+ "auto_execute": false,
5
+ "checkpoint_verification": true
6
+ },
7
+ "agents": {
8
+ "default_profile": "balanced",
9
+ "spawn_timeout": 600000
10
+ },
11
+ "state": {
12
+ "track_research_loops": true,
13
+ "session_restoration": true
14
+ }
15
+ }