@hopla/claude-setup 1.1.9 → 1.2.1

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.
@@ -110,7 +110,7 @@ These become **on-demand context** referenced from the PRD and used in future pl
110
110
 
111
111
  ## Step 4: Generate the PRD
112
112
 
113
- Save to `PRD.md` at the project root. Use this structure:
113
+ Write the full PRD content in memory using this structure (it will be saved as a draft in Step 5):
114
114
 
115
115
  ```markdown
116
116
  # PRD — [Product Name]
@@ -194,13 +194,24 @@ The MVP is working when:
194
194
  - [on-demand context doc] — [what it contains]
195
195
  ```
196
196
 
197
- ## Step 5: Confirm and Save
197
+ ## Step 5: Save Draft and Enter Review Loop
198
198
 
199
- Show the draft PRD to the user and ask:
200
- > "Does this accurately reflect the product? Any corrections before I save it?"
199
+ Do NOT show the full PRD in the chat. Instead:
201
200
 
202
- Once confirmed:
203
- 1. Save `PRD.md` to the project root (overwrite if it existed)
204
- 2. Save any on-demand context documents created in Step 3
205
- 3. List all files created or updated
206
- 4. Suggest running `/hopla-commit` to save everything to the repository
201
+ 1. Save the draft to `PRD.draft.md` at the project root
202
+ 2. Save any on-demand context documents created in Step 3 (also with `.draft` suffix if new)
203
+ 3. Tell the user:
204
+ > "Draft saved to `PRD.draft.md` open it in your editor. Tell me what to change, or say 'looks good' to finalize."
205
+
206
+ **Review loop:** Stay in this loop until the user finalizes:
207
+ - If the user requests changes → apply them directly to `PRD.draft.md`, then say: "Updated — anything else, or ready to finalize?"
208
+ - If the user says the draft is ready (e.g. "looks good", "finalize", "listo") → proceed to Step 6
209
+
210
+ Do not ask clarifying questions about changes — just apply them and confirm what was changed.
211
+
212
+ ## Step 6: Finalize
213
+
214
+ 1. Rename `PRD.draft.md` → `PRD.md` (overwrite if it existed)
215
+ 2. Rename any `.draft` context documents to their final names
216
+ 3. Delete all `.draft` files
217
+ 4. Confirm: "✅ `PRD.md` saved. Run `/hopla-commit` to save it to the repository."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hopla/claude-setup",
3
- "version": "1.1.9",
3
+ "version": "1.2.1",
4
4
  "description": "Hopla team agentic coding system for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {