@windyroad/itil 1.1.0 → 1.1.1-preview.1074

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.
@@ -497,5 +497,5 @@
497
497
  }
498
498
  },
499
499
  "name": "wr-itil",
500
- "version": "1.1.0"
500
+ "version": "1.1.1"
501
501
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/itil",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-preview.1074",
4
4
  "description": "ITIL-aligned IT service management for Claude Code (problem, and future incident/change skills)",
5
5
  "bin": {
6
6
  "windyroad-itil": "./bin/install.mjs"
@@ -685,6 +685,7 @@ Pre-flight checks before allowing transition:
685
685
  - [ ] A reproduction test exists or is referenced
686
686
  - [ ] A workaround is documented (even if "feature disabled")
687
687
  - [ ] Effort bucket re-rated against the now-documented fix strategy; if the bucket changed since creation, update the Effort / WSJF lines and note the reason (P047 — creation-time estimates drift as scope clarifies)
688
+ - [ ] Status multiplier re-rated from Open 1.0 to Known Error 2.0; recompute WSJF with the post-transition status and current Effort (P498)
688
689
 
689
690
  If any check fails, report which checks failed and ask the user to address them before transitioning.
690
691
 
@@ -924,12 +925,12 @@ Enumerate via dual-tolerant glob `docs/problems/*.open.md docs/problems/*.known-
924
925
  5. **Calculate Severity** = Impact × Likelihood
925
926
  6. **Look up Label** from the risk matrix label bands
926
927
  7. **Re-estimate Effort** (S / M / L / XL) by reading the root cause analysis and fix strategy. Consider: how many files, how complex, does it need planning, is it cross-package or migration-heavy (XL territory)? If the bucket has changed since last review, update the Effort line in the problem file and note the reason in a short parenthetical (e.g. "L → XL — architect review added ADR + migration script"). P047.
927
- 8. **Calculate WSJF** = (Severity × Status Multiplier) / Effort Divisor
928
- 9. **Update the Priority line** in the problem file if the score changed
929
- 10. **Auto-transition to Known Error**: If an open problem has confirmed root cause AND a workaround documented (even "feature disabled"), automatically transition it to known-error:
928
+ 8. **Auto-transition to Known Error**: If an open problem has confirmed root cause AND a workaround documented (even "feature disabled"), automatically transition it to known-error:
930
929
  - `git mv docs/problems/open/<NNN>-<title>.md docs/problems/known-error/<NNN>-<title>.md`
931
930
  - Update the Status field to "Known Error"
932
931
  - This happens automatically — do not ask the user
932
+ 9. **Calculate WSJF** = (Severity × Status Multiplier) / Effort Divisor, using the ticket's status after step 8 (Open 1.0; Known Error 2.0). P498.
933
+ 10. **Update the Priority and WSJF lines** in the problem file if the scores changed
933
934
 
934
935
  **Step 9b.1: Dependency-graph traversal — propagate transitive effort (P076)**
935
936
 
@@ -48,13 +48,13 @@ For each open / known-error ticket (dual-tolerant enumeration spans `docs/proble
48
48
  5. **Calculate Severity** = Impact × Likelihood.
49
49
  6. **Look up Label** from the risk matrix label bands.
50
50
  7. **Re-estimate Effort** (S / M / L / XL) by reading the Root Cause Analysis and Candidate Fix sections. Consider: how many files, how complex, does it need planning, is it cross-package or migration-heavy (XL territory)? If the bucket has changed since the last review, update the Effort line in the problem file and note the reason in a short parenthetical (e.g. "L → XL — architect review added ADR + migration script"). P047.
51
- 8. **Calculate WSJF** = (Severity × Status Multiplier) / Effort Divisor. Status Multiplier is 1.0 for Open, 2.0 for Known Error (per `/wr-itil:manage-problem`'s WSJF table re-read if unsure).
52
- 9. **Update the Priority and WSJF lines** in the problem file if the scores changed.
53
- 10. **Auto-transition to Known Error** — if an open problem has confirmed root cause AND a workaround documented (even "feature disabled"), automatically transition it:
51
+ 8. **Auto-transition to Known Error** if an open problem has confirmed root cause AND a workaround documented (even "feature disabled"), automatically transition it:
54
52
  - `git mv docs/problems/open/<NNN>-<title>.md docs/problems/known-error/<NNN>-<title>.md`
55
53
  - Update the Status field to "Known Error".
56
54
  - Re-stage explicitly per the P057 staging trap: `git add <new-path>` after the Edit.
57
55
  - This happens automatically — do not ask the user. The transition's fix-strategy is documented; only the shipping is outstanding.
56
+ 9. **Calculate WSJF** = (Severity × Status Multiplier) / Effort Divisor, using the ticket's status after step 8. Status Multiplier is 1.0 for Open and 2.0 for Known Error (P498).
57
+ 10. **Update the Priority and WSJF lines** in the problem file if the scores changed.
58
58
  11. **Confirm the `**Origin**` field (ADR-076)** — this is where "checking for items reported upstream to us" lands during a review. If the ticket originated from an external inbound report, set `**Origin**: inbound-reported (#NN)` (NN = the upstream issue/discussion number); cross-check `docs/problems/.upstream-cache.json` (`matched_local_ticket`) and any acknowledgement comment to confirm. Otherwise set/leave `**Origin**: internal`. Tickets predating ADR-076 carry no Origin field and default to `internal` until stamped here. This field — not the regenerable cache — drives the Step 3 reported-first tier, so stamping it during the review is what makes reported tickets rank ahead on the refreshed ranking.
59
59
 
60
60
  ### 2.5. Dependency-graph traversal — propagate transitive effort (P076)
@@ -83,6 +83,7 @@ Destination-specific pre-flight checks gate the transition. If any check fails,
83
83
  - [ ] A reproduction test exists or is referenced
84
84
  - [ ] A workaround is documented (even if "feature disabled")
85
85
  - [ ] Effort bucket re-rated against the now-documented fix strategy; if the bucket changed since creation, update the Effort / WSJF lines and note the reason (P047 — creation-time estimates drift as scope clarifies)
86
+ - [ ] Status multiplier re-rated from Open 1.0 to Known Error 2.0; recompute WSJF with the post-transition status and current Effort (P498)
86
87
 
87
88
  **Known Error → Verification Pending** (`<status>` = `verifying`) requires:
88
89
 
@@ -104,7 +104,7 @@ If no file is found OR multiple files are found (suffix-exclusive lifecycle viol
104
104
 
105
105
  **2c. Run pre-flight checks** for the destination (same gating as the singular):
106
106
 
107
- - Open → Known Error (`known-error`): root cause documented; ≥ 1 investigation task ticked; reproduction test or reference; workaround documented; effort bucket re-rated if scope shifted (P047).
107
+ - Open → Known Error (`known-error`): root cause documented; ≥ 1 investigation task ticked; reproduction test or reference; workaround documented; effort bucket re-rated if scope shifted (P047); status multiplier re-rated from Open 1.0 to Known Error 2.0 and WSJF recomputed with the post-transition status and current Effort (P498).
108
108
  - Known Error → Verification Pending (`verifying`): fix implemented; release marker available (version, commit SHA, or date) for the `## Fix Released` section.
109
109
  - Verification Pending → Closed (`close`): user has explicitly confirmed the fix works in production. AFK callers (work-problems orchestrator) MUST supply the close pair via prior user authorisation (e.g. an `AskUserQuestion`-batched closure prompt at the orchestrator layer); this skill never auto-closes on inference.
110
110