dsh-policy-ledger 0.2.0-alpha.8 → 0.2.0-alpha.9
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 +8 -0
- package/README-es.md +8 -1
- package/README-hi.md +8 -1
- package/README-pt.md +8 -1
- package/README-zh.md +8 -1
- package/README.md +16 -1
- package/TROUBLESHOOTING.md +45 -0
- package/docs/assets/dsh-policy-ledger-demo.gif +0 -0
- package/docs/assets/dsh-policy-ledger-hero.png +0 -0
- package/package.json +3 -1
- package/screenshots.json +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.0-alpha.9] — 2026-11-01
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Documentation: five-language fixture/acceptance links now resolve on npm; added specific related-checker/tool links.
|
|
8
|
+
- Marketplace metadata: taxonomy category, archetype, domains and status; docs page now shows the same.
|
|
9
|
+
- Added a real terminal hero (and GIF for the active docs set) plus `TROUBLESHOOTING.md`.
|
|
10
|
+
|
|
3
11
|
All notable changes to `dsh-policy-ledger` are documented here. The format follows Keep a Changelog; this project uses alpha versions.
|
|
4
12
|
|
|
5
13
|
## [0.2.0-alpha.8] — 2026-11-01
|
package/README-es.md
CHANGED
|
@@ -35,6 +35,10 @@ dsh plugin --profile <profile> add dsh-policy-ledger
|
|
|
35
35
|
|
|
36
36
|
*Flujo: entrada local → plugin → salida local. No requiere llamada a un modelo.*
|
|
37
37
|
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
*Ejecución local real; sin modelo ni red.*
|
|
41
|
+
|
|
38
42
|
## Instalación
|
|
39
43
|
|
|
40
44
|
Instalar y verificar:
|
|
@@ -90,7 +94,7 @@ dsh --profile <profile> --dump-config | grep dsh-policy-ledger
|
|
|
90
94
|
|
|
91
95
|
### Ejemplo respaldado por fixture
|
|
92
96
|
|
|
93
|
-
Entrada: [`ACCEPTANCE.csv`](ACCEPTANCE.csv)
|
|
97
|
+
Entrada: [`ACCEPTANCE.csv`](https://github.com/PerryLink/dsh-policy-ledger/blob/main/ACCEPTANCE.csv)
|
|
94
98
|
|
|
95
99
|
Comando: `pnpm test`
|
|
96
100
|
|
|
@@ -140,6 +144,9 @@ pnpm build && pnpm lint && pnpm typecheck && pnpm test
|
|
|
140
144
|
|
|
141
145
|
Paquetes hermanos e índices de familia: [dsh-pim-lint](https://github.com/PerryLink/dsh-pim-lint) · [dsh-eval-pack](https://github.com/PerryLink/dsh-eval-pack)
|
|
142
146
|
|
|
147
|
+
Herramientas relacionadas (tabla en inglés): [Related tools](README.md#related-tools).
|
|
148
|
+
|
|
149
|
+
- [Solución de problemas (inglés)](TROUBLESHOOTING.md)
|
|
143
150
|
- [Índice de dominio](https://perrylink.github.io/dsh-plugins/)
|
|
144
151
|
- [Familia de checkers](https://perrylink.github.io/zh/checkers/)
|
|
145
152
|
- [Familia principal](https://github.com/PerryLink/dsh-kit)
|
package/README-hi.md
CHANGED
|
@@ -35,6 +35,10 @@ dsh plugin --profile <profile> add dsh-policy-ledger
|
|
|
35
35
|
|
|
36
36
|
*वर्कफ़्लो: स्थानीय इनपुट → प्लगइन → स्थानीय आउटपुट। मॉडल कॉल आवश्यक नहीं।*
|
|
37
37
|
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
*वास्तविक स्थानीय परीक्षण; कोई मॉडल या नेटवर्क कॉल नहीं।*
|
|
41
|
+
|
|
38
42
|
## इंस्टॉल
|
|
39
43
|
|
|
40
44
|
इंस्टॉल और सत्यापन:
|
|
@@ -90,7 +94,7 @@ dsh --profile <profile> --dump-config | grep dsh-policy-ledger
|
|
|
90
94
|
|
|
91
95
|
### fixture-आधारित उदाहरण
|
|
92
96
|
|
|
93
|
-
इनपुट: [`ACCEPTANCE.csv`](ACCEPTANCE.csv)
|
|
97
|
+
इनपुट: [`ACCEPTANCE.csv`](https://github.com/PerryLink/dsh-policy-ledger/blob/main/ACCEPTANCE.csv)
|
|
94
98
|
|
|
95
99
|
कमांड: `pnpm test`
|
|
96
100
|
|
|
@@ -140,6 +144,9 @@ pnpm build && pnpm lint && pnpm typecheck && pnpm test
|
|
|
140
144
|
|
|
141
145
|
सहोदर पैकेज और परिवार सूचकांक: [dsh-pim-lint](https://github.com/PerryLink/dsh-pim-lint) · [dsh-eval-pack](https://github.com/PerryLink/dsh-eval-pack)
|
|
142
146
|
|
|
147
|
+
संबंधित टूल (अंग्रेज़ी तालिका): [Related tools](README.md#related-tools).
|
|
148
|
+
|
|
149
|
+
- [समस्या निवारण (अंग्रेज़ी)](TROUBLESHOOTING.md)
|
|
143
150
|
- [डोमेन सूचकांक](https://perrylink.github.io/dsh-plugins/)
|
|
144
151
|
- [चेकर परिवार](https://perrylink.github.io/zh/checkers/)
|
|
145
152
|
- [मुख्य परिवार](https://github.com/PerryLink/dsh-kit)
|
package/README-pt.md
CHANGED
|
@@ -35,6 +35,10 @@ dsh plugin --profile <profile> add dsh-policy-ledger
|
|
|
35
35
|
|
|
36
36
|
*Fluxo: entrada local → plugin → saída local. Não exige chamada a modelo.*
|
|
37
37
|
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
*Execução local real; sem modelo ou rede.*
|
|
41
|
+
|
|
38
42
|
## Instalação
|
|
39
43
|
|
|
40
44
|
Instalar e verificar:
|
|
@@ -90,7 +94,7 @@ dsh --profile <profile> --dump-config | grep dsh-policy-ledger
|
|
|
90
94
|
|
|
91
95
|
### Exemplo com fixture
|
|
92
96
|
|
|
93
|
-
Entrada: [`ACCEPTANCE.csv`](ACCEPTANCE.csv)
|
|
97
|
+
Entrada: [`ACCEPTANCE.csv`](https://github.com/PerryLink/dsh-policy-ledger/blob/main/ACCEPTANCE.csv)
|
|
94
98
|
|
|
95
99
|
Comando: `pnpm test`
|
|
96
100
|
|
|
@@ -140,6 +144,9 @@ pnpm build && pnpm lint && pnpm typecheck && pnpm test
|
|
|
140
144
|
|
|
141
145
|
Pacotes irmãos e índices da família: [dsh-pim-lint](https://github.com/PerryLink/dsh-pim-lint) · [dsh-eval-pack](https://github.com/PerryLink/dsh-eval-pack)
|
|
142
146
|
|
|
147
|
+
Ferramentas relacionadas (tabela em inglês): [Related tools](README.md#related-tools).
|
|
148
|
+
|
|
149
|
+
- [Solução de problemas (inglês)](TROUBLESHOOTING.md)
|
|
143
150
|
- [Índice de domínio](https://perrylink.github.io/dsh-plugins/)
|
|
144
151
|
- [Família de checkers](https://perrylink.github.io/zh/checkers/)
|
|
145
152
|
- [Família principal](https://github.com/PerryLink/dsh-kit)
|
package/README-zh.md
CHANGED
|
@@ -35,6 +35,10 @@ dsh plugin --profile <profile> add dsh-policy-ledger
|
|
|
35
35
|
|
|
36
36
|
*工作流:本地输入 → 插件 → 本地输出;不需要调用模型。*
|
|
37
37
|
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
*本地真实测试运行;不调用模型或网络。*
|
|
41
|
+
|
|
38
42
|
## 安装
|
|
39
43
|
|
|
40
44
|
安装并验证:
|
|
@@ -90,7 +94,7 @@ dsh --profile <profile> --dump-config | grep dsh-policy-ledger
|
|
|
90
94
|
|
|
91
95
|
### fixture 支撑的示例
|
|
92
96
|
|
|
93
|
-
输入: [`ACCEPTANCE.csv`](ACCEPTANCE.csv)
|
|
97
|
+
输入: [`ACCEPTANCE.csv`](https://github.com/PerryLink/dsh-policy-ledger/blob/main/ACCEPTANCE.csv)
|
|
94
98
|
|
|
95
99
|
命令: `pnpm test`
|
|
96
100
|
|
|
@@ -140,6 +144,9 @@ pnpm build && pnpm lint && pnpm typecheck && pnpm test
|
|
|
140
144
|
|
|
141
145
|
兄弟包与家族索引: [dsh-pim-lint](https://github.com/PerryLink/dsh-pim-lint) · [dsh-eval-pack](https://github.com/PerryLink/dsh-eval-pack)
|
|
142
146
|
|
|
147
|
+
相关工具(英文表): [Related tools](README.md#related-tools).
|
|
148
|
+
|
|
149
|
+
- [故障排查(英文)](TROUBLESHOOTING.md)
|
|
143
150
|
- [领域索引](https://perrylink.github.io/dsh-plugins/)
|
|
144
151
|
- [Checker 家族](https://perrylink.github.io/zh/checkers/)
|
|
145
152
|
- [主线家族](https://github.com/PerryLink/dsh-kit)
|
package/README.md
CHANGED
|
@@ -35,6 +35,10 @@ dsh plugin --profile <profile> add dsh-policy-ledger
|
|
|
35
35
|
|
|
36
36
|
*Workflow: local input → plugin → local output. No model call is required.*
|
|
37
37
|
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
*Real local test run; no model or network call.*
|
|
41
|
+
|
|
38
42
|
## Install
|
|
39
43
|
|
|
40
44
|
Install and verify:
|
|
@@ -90,7 +94,7 @@ dsh --profile <profile> --dump-config | grep dsh-policy-ledger
|
|
|
90
94
|
|
|
91
95
|
### Fixture-backed example
|
|
92
96
|
|
|
93
|
-
Input: [`ACCEPTANCE.csv`](ACCEPTANCE.csv)
|
|
97
|
+
Input: [`ACCEPTANCE.csv`](https://github.com/PerryLink/dsh-policy-ledger/blob/main/ACCEPTANCE.csv)
|
|
94
98
|
|
|
95
99
|
Command: `pnpm test`
|
|
96
100
|
|
|
@@ -140,6 +144,17 @@ pnpm build && pnpm lint && pnpm typecheck && pnpm test
|
|
|
140
144
|
|
|
141
145
|
Sibling packages and family indexes: [dsh-pim-lint](https://github.com/PerryLink/dsh-pim-lint) · [dsh-eval-pack](https://github.com/PerryLink/dsh-eval-pack)
|
|
142
146
|
|
|
147
|
+
|
|
148
|
+
### Related tools
|
|
149
|
+
|
|
150
|
+
Each entry is a separate package with its own tool surface and version; install only the ones you need.
|
|
151
|
+
|
|
152
|
+
| Package | Why it is relevant |
|
|
153
|
+
|---|---|
|
|
154
|
+
| [`dsh-plugin-doctor`](https://github.com/PerryLink/dsh-plugin-doctor) | Package structure, Cordis wiring and sandbox smoke checks. |
|
|
155
|
+
| [`dsh-plugin-kit`](https://github.com/PerryLink/dsh-plugin-kit) | Plugin authoring and scaffolding kit. |
|
|
156
|
+
|
|
157
|
+
- [Troubleshooting](TROUBLESHOOTING.md)
|
|
143
158
|
- [Domain index](https://perrylink.github.io/dsh-plugins/)
|
|
144
159
|
- [Checker family](https://perrylink.github.io/zh/checkers/)
|
|
145
160
|
- [Mainline family](https://github.com/PerryLink/dsh-kit)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Troubleshooting — dsh-policy-ledger
|
|
2
|
+
|
|
3
|
+
## Install or activation fails
|
|
4
|
+
|
|
5
|
+
- DSH must satisfy `>=0.2.1-rc.3 <0.3.0`; Node must be `>=24.9 <25`.
|
|
6
|
+
- Run `dsh --version` and `node --version`, then retry with a fresh `DSH_HOME`:
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
export DSH_HOME="$(mktemp -d)"
|
|
10
|
+
dsh plugin --profile <profile> add dsh-policy-ledger
|
|
11
|
+
dsh --profile <profile> --dump-config | grep dsh-policy-ledger
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## The tool cannot find an input
|
|
15
|
+
|
|
16
|
+
- All paths are local. Use an absolute path, or a path relative to the process working directory.
|
|
17
|
+
- The public samples under `fixtures/` are repository-only; they are not shipped in the npm tarball. Download them from the GitHub repository if needed.
|
|
18
|
+
- Supported material: npm tarballs and install logs.
|
|
19
|
+
|
|
20
|
+
## Parse or encoding failures
|
|
21
|
+
|
|
22
|
+
- Text inputs must be UTF-8; CSV headers must match the README's documented column names.
|
|
23
|
+
- Remove a UTF-8 BOM if the first header is reported as unknown.
|
|
24
|
+
- This is a read-only install doctor, not a policy gate. Check that the tarball path is local and readable.
|
|
25
|
+
|
|
26
|
+
## Permission or write failures
|
|
27
|
+
|
|
28
|
+
- Tools marked `R1 local write` write under the configured DSH data directory.
|
|
29
|
+
- For tests, point `DSH_HOME` at a temporary directory; do not write into a real profile.
|
|
30
|
+
|
|
31
|
+
## The result looks wrong
|
|
32
|
+
|
|
33
|
+
- Check the tool boundary in the README first. These are public/synthetic alpha tools, not a production or customer-validated determination.
|
|
34
|
+
- Compare the reported row ids and input rows; the output is deliberately explicit about what it could not run.
|
|
35
|
+
|
|
36
|
+
## Run the tests
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
pnpm install --frozen-lockfile
|
|
40
|
+
pnpm test
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Report
|
|
44
|
+
|
|
45
|
+
Open an issue on <https://github.com/PerryLink/dsh-policy-ledger/issues> with the package version, a minimal synthetic input, and the exact tool call. Do not attach customer data.
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-policy-ledger",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.9",
|
|
4
4
|
"description": "Read-only install doctor: capability snapshot, tarball assert and install diagnosis.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/plugin/index.js",
|
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
"CODE_OF_CONDUCT.md",
|
|
33
33
|
"CONTRIBUTING.md",
|
|
34
34
|
"CHANGELOG.md",
|
|
35
|
+
"TROUBLESHOOTING.md",
|
|
36
|
+
"screenshots.json",
|
|
35
37
|
"icon.svg"
|
|
36
38
|
],
|
|
37
39
|
"dsh": {
|
package/screenshots.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"path": "docs/assets/dsh-policy-ledger-hero.png",
|
|
4
|
+
"kind": "hero",
|
|
5
|
+
"alt": "dsh-policy-ledger terminal output",
|
|
6
|
+
"caption": "Real dsh-policy-ledger local test run; 3 tests passed."
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"path": "docs/assets/dsh-policy-ledger-demo.gif",
|
|
10
|
+
"kind": "demo",
|
|
11
|
+
"alt": "Animated dsh-policy-ledger terminal session",
|
|
12
|
+
"caption": "The same run, assembled line by line."
|
|
13
|
+
}
|
|
14
|
+
]
|