@pavp/storywright 1.6.3 → 1.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pavp/storywright",
3
- "version": "1.6.3",
3
+ "version": "1.8.0",
4
4
  "description": "PM Skills pack for Claude Code — turn ambiguous inputs (prompts, screenshots, Figma links) into Jira-ready user stories.",
5
5
  "keywords": [
6
6
  "claude",
@@ -47,8 +47,12 @@ Conflicts → BLOCKING `AskUserQuestion` per base rule 1.
47
47
  If the base **deterministic pre-split test** returns count ≥2:
48
48
  - **STOP drafting.**
49
49
  - Output a terminal message listing candidate children + per-pair dep notes (base rule 10) + V audit (base rule 11).
50
- - Recommend `/story-split` to the user.
51
- - Do NOT auto-split, do NOT produce a 15-section story.
50
+ - Show candidate children + dep notes + V audit.
51
+ - Ask via `AskUserQuestion`: "This story has [N] independent flows. Run split now?" with options:
52
+ - "Yes, split" → execute `[[story-split]]` inline (epic + children + .storywright-context.json).
53
+ - "Continue without split" → proceed with single-story path (fill canonical block → INVEST → render dual outputs).
54
+ - "No, keep as-is" → stop. No output written.
55
+ - Do NOT silently auto-split without the AskUserQuestion confirmation.
52
56
 
53
57
  If count ≤1:
54
58
  - Proceed with the base step-by-step Application skeleton (read context → language → persona → passive-goal → gap-check → siblings → fill canonical block → INVEST → render).
@@ -39,9 +39,12 @@ Bring an existing user story up to standard *without* turning it into a feature
39
39
 
40
40
  If the base **deterministic pre-split test** returns count ≥2:
41
41
  - **STOP refining.**
42
- - Output a terminal message listing candidate children + per-pair dep notes (base rule 10) + V audit (base rule 11).
43
- - Recommend `/story-split` to the user.
44
- - Do NOT produce an oversized refined story.
42
+ - Show candidate children + per-pair dep notes (base rule 10) + V audit (base rule 11).
43
+ - Ask via `AskUserQuestion`: "This story has [N] independent flows. Run split now?" with options:
44
+ - "Yes, split" execute `[[story-split]]` inline (epic + children + .storywright-context.json).
45
+ - "Continue without split" → proceed with single-story path (fill canonical block → INVEST → render dual outputs).
46
+ - "No, keep as-is" → stop. No output written.
47
+ - Do NOT silently auto-split without the AskUserQuestion confirmation.
45
48
 
46
49
  If count ≤1:
47
50
  - Proceed with the base step-by-step Application skeleton, applying the source-specific preservation rules above.