···11---
22title: Testing Workflow
33-updated: 2025-01-08
44-version: 1
33+updated: 2025-11-08
44+version: 2
55---
6677"Ride the lightning."
···256256- Launches TUI with list of entries
257257- Shows entry details on selection
258258- Keyboard navigation works (j/k or arrows)
259259-- Can mark for delete/edit (not yet implemented)
260260-- Exit with q or ESC
259259+- Can mark entries with actions:
260260+ - Press `x` to mark for deletion
261261+ - Press `e` to mark for editing
262262+ - Press `space` to keep (undo marks)
263263+- Action indicators shown: [✓] keep, [✗] delete, [✎] edit
264264+- Footer shows action counts
265265+- Exit with q or ESC to cancel, Enter to confirm
266266+267267+#### Deleting entries
268268+269269+```bash
270270+storm unreleased review
271271+# Press 'x' on unwanted entries, then Enter to confirm
272272+```
273273+274274+**Expected:**
275275+276276+- Entries marked with [✗] are deleted from `.changes/`
277277+- Shows "Deleted: `<filename>`" for each removed entry
278278+- Final count: "Review completed: N deleted, M edited"
279279+- Files are permanently removed
280280+281281+#### Editing entries
282282+283283+```bash
284284+storm unreleased review
285285+# Press 'e' on an entry, then Enter to confirm
286286+```
287287+288288+**Expected:**
289289+290290+- Launches inline editor TUI for each marked entry
291291+- Editor shows:
292292+ - Type (cycle with Ctrl+T through: added, changed, fixed, removed, security)
293293+ - Scope (text input field)
294294+ - Summary (text input field)
295295+ - Breaking change status
296296+- Navigate fields with Tab/Shift+Tab
297297+- Save with Enter or Ctrl+S
298298+- Cancel with Esc (skips editing that entry)
299299+- Shows "Updated: `<filename>`" for saved changes
300300+- CommitHash and DiffHash preserved
301301+302302+#### Review workflow
303303+304304+```bash
305305+# Full workflow: mark multiple actions
306306+storm unreleased review
307307+# 1. Navigate with j/k
308308+# 2. Mark first entry with 'x' (delete)
309309+# 3. Mark second entry with 'e' (edit)
310310+# 4. Mark third entry with 'x' (delete)
311311+# 5. Press Enter to confirm
312312+```
313313+314314+**Expected:**
315315+316316+- All delete actions processed first
317317+- Then edit TUI launched for each edit action
318318+- Can cancel individual edits with Esc
319319+- Final summary shows both delete and edit counts
320320+- If no actions marked, shows "No changes requested"
261321262322**Edge Cases:**
263323264324- Empty changes directory (should show message, not crash)
265325- Corrupted entry file (should handle gracefully)
266326- Non-TTY environment (should detect and warn)
327327+- Cancel review (Esc/q) - no changes applied
328328+- Delete file that no longer exists (should error gracefully)
329329+- Edit with empty fields (fields preserve original if empty)
267330268331### CI Validation (`check`)
269332
+33-2
internal/docs/e2e/README.md
···11---
22title: Integration Testing Scenarios
33updated: 2025-11-08
44-version: 1
44+version: 2
55---
6677## Feature Branch
···3232# 1. Generate from last release
3333storm generate --since v1.0.0
34343535-# 2. Review what was generated
3535+# 2. Review and clean up entries
3636storm unreleased review
3737+# Navigate with j/k
3838+# Press 'x' to mark duplicates/mistakes for deletion
3939+# Press 'e' to fix typos or categorization
4040+# Press Enter to apply changes
37413842# 3. Add manual entry for non-code change
3943storm unreleased add --type changed --summary "Updated documentation"
···4953cat CHANGELOG.md
50545155# Expected: Clean CHANGELOG, annotated tag, empty .changes/
5656+```
5757+5858+## Entry Cleanup Workflow
5959+6060+```bash
6161+# 1. Create some test entries with issues
6262+storm unreleased add --type added --summary "Test entry 1"
6363+storm unreleased add --type fixed --summary "Wrong category entry"
6464+storm unreleased add --type added --summary "Duplicate test entry"
6565+storm unreleased add --type added --summary "Duplicate test entry"
6666+6767+# 2. Review and fix
6868+storm unreleased review
6969+# - Mark duplicate for deletion with 'x'
7070+# - Mark wrong category entry for edit with 'e'
7171+# - Press Enter to confirm
7272+7373+# 3. In editor TUI for marked entry:
7474+# - Press Ctrl+T to cycle type from 'fixed' to 'changed'
7575+# - Tab to scope field, enter "docs"
7676+# - Tab to summary field, update text
7777+# - Press Enter to save
7878+7979+# 4. Verify changes
8080+storm unreleased list
8181+8282+# Expected: Only 2 entries remain, edited entry has correct type and scope
5283```
53845485## CI Pipeline Validation