@windyroad/risk-scorer 0.7.0 → 0.7.1-preview.296
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.
- package/.claude-plugin/plugin.json +1 -1
- package/agents/wip.md +3 -2
- package/package.json +1 -1
package/agents/wip.md
CHANGED
|
@@ -84,13 +84,14 @@ The verdict is `RISK_VERDICT: PAUSE`. This blocks the next edit until the risk i
|
|
|
84
84
|
After assessing the risk profile, check whether uncommitted changes represent **completed governance work** that should be committed immediately to reduce WIP pipeline risk (ADR-016).
|
|
85
85
|
|
|
86
86
|
**Governance-artefact detection heuristic**: Check `git status --short` and `git diff HEAD --name-only`. If ALL uncommitted files fall within these paths:
|
|
87
|
-
- `docs/problems/*.md`
|
|
87
|
+
- `docs/problems/*.md` (flat layout — pre-RFC-002)
|
|
88
|
+
- `docs/problems/*/*.md` (per-state subdir layout — post-RFC-002 per ADR-031; one of `open/`, `known-error/`, `verifying/`, `parked/`, `closed/`)
|
|
88
89
|
- `packages/*/skills/**/*.md`
|
|
89
90
|
- `packages/*/skills/**/*.bats`
|
|
90
91
|
- `docs/decisions/*.md`
|
|
91
92
|
|
|
92
93
|
AND cumulative risk is **within appetite** (≤ 4), AND at least one completion signal is present:
|
|
93
|
-
- A problem file diff contains "Fix Released" or a status transition keyword
|
|
94
|
+
- A problem file diff contains "Fix Released" or a status transition keyword. Under the flat layout this surfaces as a `.known-error.md` / `.closed.md` filename suffix; under the per-state subdir layout it surfaces as a path move into `docs/problems/known-error/` or `docs/problems/closed/`.
|
|
94
95
|
- A SKILL.md was modified alongside a problem file update
|
|
95
96
|
|
|
96
97
|
→ Emit `RISK_VERDICT: COMMIT` instead of `RISK_VERDICT: CONTINUE`.
|
package/package.json
CHANGED