dsh-ruleset 0.2.1 → 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,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.3
4
+
5
+ - README badges (npm version / weekly downloads / license / CI); dropped the "(draft)" label
6
+
7
+ ## 0.2.2
8
+
9
+ - published to npm: `dsh plugin add dsh-ruleset`
10
+ - ships `docs/PREDICATE-PLAYBOOK.md` and `DEVELOPMENT.md` in the tarball
11
+
3
12
  ## 0.2.1
4
13
 
5
14
  Community listing and documentation polish.
package/README.md CHANGED
@@ -1,4 +1,13 @@
1
- # dsh-ruleset (draft)
1
+ <div align="center">
2
+
3
+ [![npm version](https://img.shields.io/npm/v/dsh-ruleset.svg)](https://www.npmjs.com/package/dsh-ruleset)
4
+ [![npm downloads](https://img.shields.io/npm/dw/dsh-ruleset.svg)](https://www.npmjs.com/package/dsh-ruleset)
5
+ [![license](https://img.shields.io/npm/l/dsh-ruleset.svg)](LICENSE)
6
+ [![test](https://github.com/cengcengcai-creator/dsh-ruleset/actions/workflows/test.yml/badge.svg)](https://github.com/cengcengcai-creator/dsh-ruleset/actions/workflows/test.yml)
7
+
8
+ </div>
9
+
10
+ # dsh-ruleset
2
11
 
3
12
  **Behavioral rule compliance for DSH — one policy file drives both prompt injection and evidence-backed three-value checks.**
4
13
 
@@ -24,11 +33,11 @@ Contract: **`unknown` is never read as `pass`** (no data source or too few sampl
24
33
  ## Install
25
34
 
26
35
  ```bash
27
- # from GitHub (works today)
28
- dsh plugin --profile web add github:cengcengcai-creator/dsh-ruleset
29
-
30
- # from npm (once published)
36
+ # from npm
31
37
  dsh plugin --profile web add dsh-ruleset
38
+
39
+ # or straight from GitHub
40
+ dsh plugin --profile web add github:cengcengcai-creator/dsh-ruleset
32
41
  ```
33
42
 
34
43
  ## Status
@@ -62,8 +71,4 @@ Pending review:
62
71
 
63
72
  1. [kejixiaoliang/awesome-dsh-plugins](https://github.com/kejixiaoliang/awesome-dsh-plugins/pull/223) — health checks / diagnostics / audit category
64
73
 
65
- Not on npm yet; install from GitHub until it is:
66
-
67
- ```bash
68
- dsh plugin --profile web add github:cengcengcai-creator/dsh-ruleset
69
- ```
74
+ Published on npm: [`dsh-ruleset`](https://www.npmjs.com/package/dsh-ruleset).
package/README.zh.md CHANGED
@@ -1,4 +1,13 @@
1
- # dsh-ruleset(草稿)
1
+ <div align="center">
2
+
3
+ [![npm 版本](https://img.shields.io/npm/v/dsh-ruleset.svg)](https://www.npmjs.com/package/dsh-ruleset)
4
+ [![npm 周下载](https://img.shields.io/npm/dw/dsh-ruleset.svg)](https://www.npmjs.com/package/dsh-ruleset)
5
+ [![许可证](https://img.shields.io/npm/l/dsh-ruleset.svg)](LICENSE)
6
+ [![测试](https://github.com/cengcengcai-creator/dsh-ruleset/actions/workflows/test.yml/badge.svg)](https://github.com/cengcengcai-creator/dsh-ruleset/actions/workflows/test.yml)
7
+
8
+ </div>
9
+
10
+ # dsh-ruleset
2
11
 
3
12
  **把工作纪律变成可观测证据:一份 policy 同时驱动提示词注入与三值判定。**
4
13
 
@@ -124,8 +133,8 @@ node scripts/extract.mjs AGENTS.md policy.draft.yaml # 82 条强制句 → 分
124
133
 
125
134
  1. [kejixiaoliang/awesome-dsh-plugins](https://github.com/kejixiaoliang/awesome-dsh-plugins/pull/223)——健康检查 / 诊断 / 审计分类
126
135
 
127
- 暂未发布到 npm,发布前请用 GitHub 直装:
136
+ 已发布到 npm:[`dsh-ruleset`](https://www.npmjs.com/package/dsh-ruleset):
128
137
 
129
138
  ```bash
130
- dsh plugin --profile web add github:cengcengcai-creator/dsh-ruleset
139
+ dsh plugin --profile web add dsh-ruleset
131
140
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-ruleset",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "description": "Behavioral rule compliance for DeepSeek Harness: one policy file drives both prompt injection and three-value evidence checks. Audits agent behavior, not plugin quality.",
6
6
  "main": "./lib/index.js",