@windyroad/jtbd 0.12.2 → 0.12.3-preview.587

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.
@@ -90,5 +90,5 @@
90
90
  }
91
91
  },
92
92
  "name": "wr-jtbd",
93
- "version": "0.12.2"
93
+ "version": "0.12.3"
94
94
  }
@@ -111,6 +111,13 @@ case "$FILE_PATH" in
111
111
  exit 0 ;;
112
112
  */docs/stories/*|docs/stories/*)
113
113
  exit 0 ;;
114
+ # Retros — ask-hygiene + run-retro narrative trail written routinely by
115
+ # `/wr-retrospective:run-retro` (Step 2d + Step 5). Not user-job content;
116
+ # the gate firing on every retro append forces a subagent round-trip
117
+ # before a non-load-bearing narrative artefact can land. Mirrors the
118
+ # docs/problems and docs/jtbd peer-plugin-policy exemptions. P203.
119
+ */docs/retros/*|docs/retros/*)
120
+ exit 0 ;;
114
121
  esac
115
122
 
116
123
  # Determine JTBD path — canonical directory layout only (ADR-008 Option 3).
@@ -174,3 +174,21 @@ assert_path_blocked() {
174
174
  @test "functional: exempts docs/stories/README.md (P170 / ADR-060)" {
175
175
  assert_path_allowed "$PWD/docs/stories/README.md"
176
176
  }
177
+
178
+ # --- Retros exemption (P203) ---
179
+ # `docs/retros/*` is the ask-hygiene + run-retro narrative trail written
180
+ # routinely by `/wr-retrospective:run-retro` Step 2d + Step 5. Routine
181
+ # appends should not fire the JTBD gate — they are not user-job content.
182
+ # Mirrors the docs/problems and docs/jtbd peer-plugin-policy exemptions.
183
+
184
+ @test "functional: exempts docs/retros/ ask-hygiene file (P203)" {
185
+ assert_path_allowed "$PWD/docs/retros/2026-06-06-some-iter-ask-hygiene.md"
186
+ }
187
+
188
+ @test "functional: exempts docs/retros/ analyze-context file (P203)" {
189
+ assert_path_allowed "$PWD/docs/retros/2026-06-06-context-analysis.md"
190
+ }
191
+
192
+ @test "functional: exempts docs/retros/ retro narrative file (P203)" {
193
+ assert_path_allowed "$PWD/docs/retros/2026-06-06-session-wrap.md"
194
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/jtbd",
3
- "version": "0.12.2",
3
+ "version": "0.12.3-preview.587",
4
4
  "description": "Jobs-to-be-done enforcement for UI changes",
5
5
  "bin": {
6
6
  "windyroad-jtbd": "./bin/install.mjs"