dsh-contract-stance 0.2.2 → 0.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.3
4
+
5
+ - Correct the severity and basis-kind cells in `## What it does` so they
6
+ match the rule pack. The upgrade pass of 2026-10-07 changed the packs and
7
+ left this table showing the previous basis kind, so the README disagreed
8
+ with the plugin about what a rule does.
9
+
3
10
  ## 0.2.2
4
11
 
5
12
  - Rework the README first screen. The H1 now names what the plugin checks rather
package/README.md CHANGED
@@ -70,13 +70,12 @@ per clause — applies a versioned rule pack, and returns a report.
70
70
  | Rule | Check | Severity | Basis kind |
71
71
  |---|---|---|---|
72
72
  | `CS-001` | every clause's text is recorded | warn | principle |
73
- | `CS-002` | the stance comes from your vocabulary (off by default) | info | local |
74
- | `CS-003` | the risk grade comes from your vocabulary (off by default) | info | local |
75
- | `CS-004` | a must-have clause records a fallback and an owner | warn | principle |
73
+ | `CS-002` | the stance comes from your vocabulary (off by default) | info | principle |
74
+ | `CS-003` | the risk grade comes from your vocabulary (off by default) | info | direct |
75
+ | `CS-004` | a must-have clause records a fallback and an owner | warn | direct |
76
76
  | `CS-005` | clause numbers are unique | warn | principle |
77
- | `CS-006` | the register names the contract and your side | warn | principle |
77
+ | `CS-006` | the register names the contract and your side | warn | direct |
78
78
  | `CS-007` | the clause text holds no unreplaced placeholder | warn | principle |
79
-
80
79
  ## Install
81
80
 
82
81
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-contract-stance",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "合同条款立场台账核对(按立场、风险等级与退让底线核对台账自洽,仅提示差异,不作出定性结论)",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",