@pavp/storywright 1.7.0 → 1.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pavp/storywright",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
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",
@@ -63,7 +63,7 @@ Final step in `story-generate` and `story-refine`. Always last.
63
63
  15. Edge Cases
64
64
 
65
65
  4. **Drop any section with no real content.** An empty heading is noise. A story with only the 5 core sections is a valid output.
66
- 5. Always write `story.standard.md` and `story.jira-wiki.md` to disk. Also emit both as fenced code blocks in the chat so the user can copy them. Never ask whether to save — always save.
66
+ 5. Always write `story.standard.md` and `story.jira-wiki.md` to disk using the `Write` tool (Claude Code). Also emit both as fenced code blocks in the chat so the user can copy them. Never ask whether to save — always save. If `Write` tool is unavailable, emit in chat only and note the limitation.
67
67
 
68
68
  ## Examples
69
69
 
@@ -48,9 +48,10 @@ 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
50
  - Show candidate children + dep notes + V audit.
51
- - Ask via `AskUserQuestion`: "This story has [N] independent flows. Run split now?" with options "Yes, split" / "No, keep as-is".
52
- - If user approves → execute `[[story-split]]` inline (epic + children + .storywright-context.json).
53
- - If user declinesstop. No output written.
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.
54
55
  - Do NOT silently auto-split without the AskUserQuestion confirmation.
55
56
 
56
57
  If count ≤1:
@@ -40,9 +40,10 @@ Bring an existing user story up to standard *without* turning it into a feature
40
40
  If the base **deterministic pre-split test** returns count ≥2:
41
41
  - **STOP refining.**
42
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 "Yes, split" / "No, keep as-is".
44
- - If user approves → execute `[[story-split]]` inline (epic + children + .storywright-context.json).
45
- - If user declinesstop. No output written.
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.
46
47
  - Do NOT silently auto-split without the AskUserQuestion confirmation.
47
48
 
48
49
  If count ≤1: