@pavp/storywright 1.13.1 → 1.13.2

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.
@@ -13,7 +13,7 @@ Follow the skill's procedure:
13
13
  2. Phase 0.5 — detect companion text / screenshots. Use text as canonical for `User Story / Scope / Business Goal`; Figma as canonical for `Components / States / Flows`. Surface conflicts as BLOCKING clarifications. Never silently pick a winner.
14
14
  3. Phase 1 — inventory pages and frames; group by prototype links into flows.
15
15
  4. Phase 2 — per flow: identify goal, entry point, states, components. Score per-inference confidence (HIGH/MEDIUM/LOW). Mark MEDIUM/LOW with `> ⚠️ Assumed:` blockquotes.
16
- 5. Phase 3 — for any flow that fails INVEST (Small), hand off to `/story-split` before generating.
17
- 6. Phase 4 — invoke `story-generate` per flow. Emit dual outputs + `flow-summary.md` mapping stories → frames for traceability.
16
+ 5. Phase 3 — for any flow that fails INVEST (Small) OR whose deterministic pre-split count ≥2, STOP that flow's draft, route to `/story-split`, and mark it `SPLIT RECOMMENDED` in `flow-summary.md`. Continue with the other flows.
17
+ 6. Phase 4 — invoke `story-generate` per drafted flow. Emit the full 3-file trio per story (`story-<N>.standard.md` + `story-<N>.jira-wiki.md` + `story-<N>.dev.md`) + `flow-summary.md` mapping stories → frames for traceability.
18
18
 
19
19
  Output in the input language (text language wins if mixed inputs).
@@ -20,6 +20,6 @@ Follow the skill's procedure:
20
20
  4. Draft a split plan as a Markdown table with rationale, pattern, and proposed children.
21
21
  5. Run the strategic evaluation: does the split reveal low-value work? Are children equal-sized?
22
22
  6. STOP and ask the user to approve / adjust / cancel. Never auto-split.
23
- 7. After approval: write `epic.md` + one stub per child + `split-plan.md` decision trail.
23
+ 7. After approval: write `epic.md` (single file — epic metadata, holds the decision trail; NO `split-plan.md`) + the full 3-file trio per child (`story-<N>.standard.md` + `story-<N>.jira-wiki.md` + `story-<N>.dev.md`).
24
24
  8. Coherence check + recursive re-split for children still >1 sprint.
25
- 9. Save artifacts under `./stories/<epic-slug>/`.
25
+ 9. Save artifacts under the canonical output folder `docs/storywright/YYYY-MM-DD-HHmm-<epic-slug>/`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pavp/storywright",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
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",
@@ -56,7 +56,7 @@ If the base **deterministic pre-split test** returns count ≥2:
56
56
  - Show candidate children + dep notes + V audit.
57
57
  - Ask via `AskUserQuestion`: "This story has [N] independent flows. Run split now?" with options:
58
58
  - "Yes, split" → execute `[[story-split]]` inline (epic + children + .storywright-context.json).
59
- - "Continue without split" → proceed with single-story path (fill canonical block → INVEST → render dual outputs).
59
+ - "Continue without split" → proceed with single-story path (fill canonical block → INVEST → render the 3-file trio).
60
60
  - "No, keep as-is" → stop. No output written.
61
61
  - Do NOT silently auto-split without the AskUserQuestion confirmation.
62
62
 
@@ -48,7 +48,7 @@ If the base **deterministic pre-split test** returns count ≥2:
48
48
  - Show candidate children + per-pair dep notes (base rule 10) + V audit (base rule 11).
49
49
  - Ask via `AskUserQuestion`: "This story has [N] independent flows. Run split now?" with options:
50
50
  - "Yes, split" → execute `[[story-split]]` inline (epic + children + .storywright-context.json).
51
- - "Continue without split" → proceed with single-story path (fill canonical block → INVEST → render dual outputs).
51
+ - "Continue without split" → proceed with single-story path (fill canonical block → INVEST → render the 3-file trio).
52
52
  - "No, keep as-is" → stop. No output written.
53
53
  - Do NOT silently auto-split without the AskUserQuestion confirmation.
54
54