@windyroad/itil 0.61.1-preview.1037 → 0.61.1-preview.1038

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": "@windyroad/itil",
3
- "version": "0.61.1-preview.1037",
3
+ "version": "0.61.1-preview.1038",
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"
@@ -55,7 +55,14 @@ mirror_pattern() {
55
55
  # STORY-055's own problem trace), which would redden on arrival and require an
56
56
  # exclusion list growing with every future story that discusses a mirror.
57
57
  scan() {
58
- grep -rniE "$(mirror_pattern)" "$@" 2>/dev/null || true
58
+ # -H is load-bearing, not decoration. Given exactly ONE file argument, GNU grep
59
+ # OMITS the filename prefix while this machine's grep emits it — so a fixture
60
+ # scan over a single file produced output containing the matched line but not
61
+ # the file it came from, and the assertion naming that file passed locally and
62
+ # failed on CI. Forcing the prefix makes output identical across grep
63
+ # implementations, and makes the two production diagnostics below name the
64
+ # offending artefact rather than only quoting the line.
65
+ grep -rHniE "$(mirror_pattern)" "$@" 2>/dev/null || true
59
66
  }
60
67
 
61
68
  @test "lint: the excluded-key accessor is non-empty and the pattern is well-formed" {