@windyroad/architect 0.20.1 → 0.20.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.
@@ -123,5 +123,5 @@
123
123
  }
124
124
  },
125
125
  "name": "wr-architect",
126
- "version": "0.20.1"
126
+ "version": "0.20.2"
127
127
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wr-architect",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "description": "Architecture decision enforcement for AI coding agents",
5
5
  "author": {
6
6
  "name": "Windy Road Technology",
@@ -54,6 +54,11 @@ BASENAME=$(basename "$FILE_PATH")
54
54
 
55
55
  # Exclude non-architectural files
56
56
  case "$FILE_PATH" in
57
+ # VCS-internal plumbing is never a project artefact — a commit-message file or
58
+ # any scratch under .git/ must not require governance review. Sibling of the P004
59
+ # outside-the-repo exclusion above, for paths INSIDE the repo root (P458).
60
+ */.git/*|.git/*)
61
+ exit 0 ;;
57
62
  *.css|*.scss|*.sass|*.less)
58
63
  exit 0 ;;
59
64
  *.png|*.jpg|*.jpeg|*.gif|*.svg|*.ico|*.webp)
@@ -51,6 +51,13 @@ assert_path_allowed() {
51
51
  [[ "$output" == *"BLOCKED"* ]]
52
52
  }
53
53
 
54
+ @test "architect: exempts VCS-internal .git/ plumbing files (P458)" {
55
+ # A commit-message scratch file under .git/ is not a project artefact. Without
56
+ # the exclusion a .txt under the repo root is gated (no extension exemption).
57
+ assert_path_allowed "$PWD/.git/cruise-brake-commit-msg.txt"
58
+ assert_path_allowed "$PWD/.git/COMMIT_EDITMSG"
59
+ }
60
+
54
61
  @test "architect: exempts JTBD directory file (P009)" {
55
62
  assert_path_allowed "$PWD/docs/jtbd/solo-developer/persona.md"
56
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/architect",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "description": "Architecture decision enforcement for AI coding agents",
5
5
  "bin": {
6
6
  "windyroad-architect": "./bin/install.mjs"