@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
|
-
|
|
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 -
|
|
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 -
|
|
121
|
+
run grep -qE '^\| *action_class\b' "$PLAN"
|
|
120
122
|
[ "$status" -ne 0 ]
|
|
121
123
|
}
|
package/package.json
CHANGED