@windyroad/architect 0.5.0 → 0.5.1-preview.179

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "wr-architect",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Architecture decision enforcement for Claude Code"
5
5
  }
@@ -54,7 +54,7 @@ REQUIRED ACTIONS:
54
54
  SCOPE: All project files including source code, configs, CI, hooks,
55
55
  scripts, and decisions.
56
56
  Does NOT apply to: CSS/SCSS files, image assets, lockfiles, font files,
57
- docs/problems/ (problem tickets), docs/BRIEFING.md, RISK-POLICY.md,
57
+ docs/problems/ (problem tickets), docs/BRIEFING.md, docs/briefing/, RISK-POLICY.md,
58
58
  .risk-reports/, .changeset/, memory files, plan files, docs/jtbd/,
59
59
  docs/PRODUCT_DISCOVERY.md, docs/VOICE-AND-TONE.md,
60
60
  docs/STYLE-GUIDE.md.
@@ -62,6 +62,8 @@ case "$FILE_PATH" in
62
62
  exit 0 ;;
63
63
  */docs/BRIEFING.md|docs/BRIEFING.md)
64
64
  exit 0 ;;
65
+ */docs/briefing/*|docs/briefing/*)
66
+ exit 0 ;;
65
67
  */docs/problems/*.md|docs/problems/*.md)
66
68
  exit 0 ;;
67
69
  # Peer-plugin policy files — governed by their own plugin's enforce hook, not architect (P009)
@@ -31,6 +31,12 @@ teardown() {
31
31
  [[ "$output" == *"BRIEFING"* ]]
32
32
  }
33
33
 
34
+ @test "detect: scope text mentions docs/briefing/ exemption (P100)" {
35
+ run bash "$HOOK"
36
+ [ "$status" -eq 0 ]
37
+ [[ "$output" == *"docs/briefing/"* ]]
38
+ }
39
+
34
40
  @test "detect: scope text mentions RISK-POLICY exemption (P029)" {
35
41
  run bash "$HOOK"
36
42
  [ "$status" -eq 0 ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/architect",
3
- "version": "0.5.0",
3
+ "version": "0.5.1-preview.179",
4
4
  "description": "Architecture decision enforcement for AI coding agents",
5
5
  "bin": {
6
6
  "windyroad-architect": "./bin/install.mjs"