@windyroad/risk-scorer 0.3.5-preview.187 → 0.3.5-preview.188

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.
@@ -105,17 +105,19 @@ setup() {
105
105
 
106
106
  @test "pipeline.md RISK_REMEDIATIONS format has no action_class column" {
107
107
  # ADR-042 Rule 2a: no structured action_class column. The agent reads
108
- # the description and decides.
109
- run grep -q "action_class" "$PIPELINE"
108
+ # the description and decides. Match only markdown-table column-header
109
+ # rows so prose mentions of "action_class" (e.g. "No structured
110
+ # action_class column.") do not trip the assertion (P114).
111
+ run grep -qE '^\| *action_class\b' "$PIPELINE"
110
112
  [ "$status" -ne 0 ]
111
113
  }
112
114
 
113
115
  @test "wip.md RISK_REMEDIATIONS format has no action_class column" {
114
- run grep -q "action_class" "$WIP"
116
+ run grep -qE '^\| *action_class\b' "$WIP"
115
117
  [ "$status" -ne 0 ]
116
118
  }
117
119
 
118
120
  @test "plan.md RISK_REMEDIATIONS format has no action_class column" {
119
- run grep -q "action_class" "$PLAN"
121
+ run grep -qE '^\| *action_class\b' "$PLAN"
120
122
  [ "$status" -ne 0 ]
121
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/risk-scorer",
3
- "version": "0.3.5-preview.187",
3
+ "version": "0.3.5-preview.188",
4
4
  "description": "Pipeline risk scoring, commit/push gates, and secret leak detection",
5
5
  "bin": {
6
6
  "windyroad-risk-scorer": "./bin/install.mjs"