@windyroad/architect 0.6.2-preview.300 → 0.7.0-preview.303

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.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Architecture decision enforcement for Claude Code"
5
5
  }
@@ -84,6 +84,15 @@ case "$FILE_PATH" in
84
84
  exit 0 ;;
85
85
  */docs/STYLE-GUIDE.md|docs/STYLE-GUIDE.md)
86
86
  exit 0 ;;
87
+ # Story maps + stories — governed by capture-story-map / manage-story-map
88
+ # and capture-story / manage-story skills (ADR-060 § Phase 2 amendment
89
+ # 2026-05-12 lines 481-496). Same pattern as docs/problems and docs/jtbd
90
+ # exemptions — these are governance-managed surfaces with their own
91
+ # capture/manage lifecycle skills. P170 Phase 2 Slice 2.5.
92
+ */docs/story-maps/*|docs/story-maps/*)
93
+ exit 0 ;;
94
+ */docs/stories/*|docs/stories/*)
95
+ exit 0 ;;
87
96
  esac
88
97
 
89
98
  # Check gate
@@ -66,3 +66,33 @@ assert_path_allowed() {
66
66
  @test "architect: exempts style-guide policy file (P009)" {
67
67
  assert_path_allowed "$PWD/docs/STYLE-GUIDE.md"
68
68
  }
69
+
70
+ # --- Story maps + stories exemptions (P170 Phase 2 Slice 2.5 / ADR-060 amendment 2026-05-12) ---
71
+ # ADR-060 § Phase 2 encoding amendment lines 481-496 mandates exempting
72
+ # `docs/story-maps/**/*.html` and `docs/stories/**/*.md` from the 5
73
+ # enforce-edit gates. Mirrors the docs/problems and docs/jtbd exemptions —
74
+ # these are governance-managed surfaces with their own capture/manage skills.
75
+
76
+ @test "architect: exempts docs/story-maps/ HTML in per-state subdir (P170 / ADR-060)" {
77
+ assert_path_allowed "$PWD/docs/story-maps/draft/STORY-MAP-001-rfc-framework.html"
78
+ }
79
+
80
+ @test "architect: exempts docs/story-maps/ HTML in completed subdir (P170 / ADR-060)" {
81
+ assert_path_allowed "$PWD/docs/story-maps/completed/STORY-MAP-002-foo.html"
82
+ }
83
+
84
+ @test "architect: exempts docs/story-maps/README.md (P170 / ADR-060)" {
85
+ assert_path_allowed "$PWD/docs/story-maps/README.md"
86
+ }
87
+
88
+ @test "architect: exempts docs/stories/ markdown in per-state subdir (P170 / ADR-060)" {
89
+ assert_path_allowed "$PWD/docs/stories/draft/STORY-001-some-slice.md"
90
+ }
91
+
92
+ @test "architect: exempts docs/stories/ markdown in done subdir (P170 / ADR-060)" {
93
+ assert_path_allowed "$PWD/docs/stories/done/STORY-002-other.md"
94
+ }
95
+
96
+ @test "architect: exempts docs/stories/README.md (P170 / ADR-060)" {
97
+ assert_path_allowed "$PWD/docs/stories/README.md"
98
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/architect",
3
- "version": "0.6.2-preview.300",
3
+ "version": "0.7.0-preview.303",
4
4
  "description": "Architecture decision enforcement for AI coding agents",
5
5
  "bin": {
6
6
  "windyroad-architect": "./bin/install.mjs"