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 +9 -0
- package/README.md +15 -10
- package/README.zh.md +12 -3
- package/package.json +1 -1
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
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/dsh-ruleset)
|
|
4
|
+
[](https://www.npmjs.com/package/dsh-ruleset)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](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
|
|
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
|
-
|
|
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
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/dsh-ruleset)
|
|
4
|
+
[](https://www.npmjs.com/package/dsh-ruleset)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](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
|
-
|
|
136
|
+
已发布到 npm:[`dsh-ruleset`](https://www.npmjs.com/package/dsh-ruleset):
|
|
128
137
|
|
|
129
138
|
```bash
|
|
130
|
-
dsh plugin --profile web add
|
|
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.
|
|
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",
|