dsh-eia-guide-check 0.2.2 → 0.2.8

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,48 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.8] - 2026-10-18
4
+
5
+ ### Fixed
6
+
7
+ - READMEs no longer point at a `rules/evidence/` directory this pack does not ship; the four translations now link only to the English rule-sources section. Install is already on the first screen.
8
+
9
+ ## [0.2.7] - 2026-10-18
10
+
11
+ ### Changed
12
+
13
+ - Move the Install section to the first screen in all five READMEs.
14
+
15
+ ## [0.2.6] - 2026-10-18
16
+
17
+ ### Changed
18
+
19
+ - Add a 1280×720 hero and a 960×540, 4-second terminal GIF rendered from the checker’s own output; `screenshots.json` is an object array and `capture.json` records the storyboard.
20
+
21
+ ## 0.2.5 - 2026-10-18
22
+
23
+ - Fix: a rule that executed and found no difference is no longer placed in `skipped`. The report view labels only genuinely unexecuted rules as “未执行的检查”; `skippedCount` no longer counts executed-clean rules.
24
+
25
+
26
+ ## 0.2.4 - 2026-10-17
27
+
28
+ - Compatibility: declare `engines.dsh` `>=0.2.1-0 <0.3.0`; move `@deepseek-ai/dsh-*` devDependencies to `0.2.1-rc.2`; add `@deepseek-ai/dsh-working-directory`.
29
+ - Docs: the compatibility table no longer claims `engines.dsh` is undeclared; drop the retired `both` tool mode.
30
+
31
+
32
+ ## 0.2.3
33
+
34
+ - Add a demo card to the README: one terminal shot of this plugin's real output
35
+ over its own test fixture, plus the DSH Market badge.
36
+
37
+ The card is generated by running this repository's check core over a committed
38
+ fixture and rendering the report it returned, so the findings, rule ids, cited
39
+ documents and "not obtained" notes are the plugin's own output rather than an
40
+ artist's impression. In a family whose claim is that it never fabricates a
41
+ citation, a hand-drawn screenshot would undercut the thing being demonstrated.
42
+
43
+ Added to all five READMEs together, which `check:readmes` requires.
44
+
45
+
3
46
  ## 0.2.2
4
47
 
5
48
  - Rework the README first screen. The H1 now names what the plugin checks rather
@@ -35,3 +78,5 @@
35
78
  - Five-language READMEs hold the same section count and the same configuration keys.
36
79
  - Rule pack: 7 rules across EG-001..EG-007.
37
80
  - Licensed Apache-2.0.
81
+
82
+
package/README-es.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-eia-guide-check — Verificación de la hoja de aplicabilidad de directrices de evaluación de impacto ambiental
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-eia-guide-check` lee una hoja de aplicabilidad de directrices de una evaluación de impacto ambiental —la cabecera del proyecto más una fila por elemento evaluado— y comprueba la trazabilidad de esa propia hoja: que cada elemento indique la directriz que le aplica, que el número de la directriz siga la forma publicada, que el estado de la directriz proceda del vocabulario que usted configure, que se registre un método de evaluación o una norma aplicable, que ningún elemento esté registrado dos veces, que la cabecera declare el proyecto y el tipo de documento de evaluación, y que no quede ningún marcador de plantilla sin sustituir en la columna de la norma aplicable.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-eia-guide-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
12
+ ```
13
+
14
+ ## Cómo se ve la salida
15
+
16
+ ![Terminal demo of dsh-eia-guide-check: real output over its EG-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-eia-guide-check](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-demo.gif)
19
+
20
+ Salida real de este plugin sobre su propio fixture de prueba `EG-001` — no es un montaje. El paquete de reglas no inventa citas, así que cada hallazgo nombra la cláusula aplicada y advierte que su texto no se obtuvo.
21
+
5
22
  ## Qué responde
6
23
 
7
24
  | Usted pregunta | Qué responde |
@@ -54,22 +71,15 @@ prediction model applies, or whether the conclusions hold.
54
71
 
55
72
  | Superficie | Estado |
56
73
  |---|---|
57
- | Harness | Rango de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificado para aceptar tanto `0.2.0-rc.2` como `0.2.1-alpha.1`. **No se declara `engines.dsh`**: no tiene lector y no puede rechazar ningún host |
74
+ | Harness | Rango de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificado para aceptar tanto `0.2.0-rc.2` como `0.2.1-rc.2`. **`engines.dsh` se declara como `>=0.2.1-0 <0.3.0`** y el host lo aplica desde 0.2.1 |
58
75
  | Node | `^22.19.0 || >=24.0.0` |
59
76
  | Plataformas | Todas (ESM puro; sin código nativo, sin red, sin llamada al modelo) |
60
- | Modo de herramienta | Funciona en `native`, `ptc` y `both`; para un directorio completo use `ptc` |
77
+ | Modo de herramienta | Funciona en `native` y `ptc`; para un directorio completo use `ptc` |
61
78
 
62
79
  ## What it does
63
80
 
64
81
  La tabla de reglas, los campos y el comportamiento detallado están en [README.md](README.md#what-it-does) (versión principal en inglés). El plugin sólo enumera divergencias literales frente a las cláusulas citadas e indica en `skipped` cada comprobación que no pudo ejecutarse.
65
82
 
66
- ## Install
67
-
68
- ```sh
69
- dsh plugin --profile <name> add dsh-eia-guide-check
70
- dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
71
- ```
72
-
73
83
  ## Configuration
74
84
 
75
85
  Todos los parámetros ajustables viven en el esquema Schemastery de `src/config.ts`, por lo que se cambian desde `cordis.yml` sin tocar el código; los umbrales por regla están en el paquete de reglas bajo `rules/`.
@@ -90,7 +100,7 @@ Acepta JSON o YAML. El ejemplo completo de campos está en [README.md](README.md
90
100
 
91
101
  Los datos de las reglas están separados del código: cada regla lleva documento, número, cláusula en la numeración propia de la fuente, extracto literal y URL de origen. El cargador impone que el extracto sea una cita real de al menos ocho caracteres y que una comprobación basada sólo en un principio general (`kind: derived-from-principle`, tope `warn`) o en una política local (`kind: institutional-configuration`, tope `info`) nunca se declare `error`.
92
102
 
93
- Los límites verificados y las conclusiones deliberadamente **no** afirmadas están en [README.md](README.md#rule-sources) (versión principal en inglés) y en `rules/evidence/`.
103
+ Los límites verificados y las conclusiones deliberadamente **no** afirmadas están en [README.md](README.md#rule-sources) (versión principal en inglés) .
94
104
 
95
105
  ## Troubleshooting
96
106
 
package/README-hi.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-eia-guide-check — पर्यावरण प्रभाव मूल्यांकन दिशानिर्देश प्रयोज्यता शीट की जाँच
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-eia-guide-check` पर्यावरण प्रभाव मूल्यांकन की एक दिशानिर्देश-प्रयोज्यता शीट पढ़ता है — परियोजना हेडर और प्रत्येक मूल्यांकित तत्व की एक पंक्ति — और उसी शीट की संदर्भ-योग्यता जाँचता है: क्या हर तत्व अपना लागू दिशानिर्देश बताता है, क्या दिशानिर्देश क्रमांक प्रकाशित रूप में लिखा है, क्या दिशानिर्देश की स्थिति आपके द्वारा कॉन्फ़िगर की गई शब्दावली से ली गई है, क्या मूल्यांकन विधि या लागू मानक दर्ज है, क्या कोई तत्व दो बार दर्ज नहीं है, क्या हेडर परियोजना और मूल्यांकन दस्तावेज़ का प्रकार घोषित करता है, और क्या मानक-कॉलम में कोई अपरिवर्तित टेम्पलेट प्लेसहोल्डर शेष नहीं है।
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-eia-guide-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
12
+ ```
13
+
14
+ ## आउटपुट कैसा दिखता है
15
+
16
+ ![Terminal demo of dsh-eia-guide-check: real output over its EG-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-eia-guide-check](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-demo.gif)
19
+
20
+ इस प्लगइन का अपने ही `EG-001` टेस्ट फ़िक्स्चर पर वास्तविक आउटपुट — कोई नकली चित्र नहीं। नियम-पैक उद्धरण नहीं गढ़ता, इसलिए हर निष्कर्ष लागू किए गए खंड का नाम और यह भी बताता है कि उसका मूल पाठ इस बार प्राप्त नहीं हुआ।
21
+
5
22
  ## यह किन सवालों का जवाब देता है
6
23
 
7
24
  | आपका सवाल | इसका जवाब |
@@ -54,22 +71,15 @@ prediction model applies, or whether the conclusions hold.
54
71
 
55
72
  | सतह | स्थिति |
56
73
  |---|---|
57
- | Harness | peer रेंज `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — `0.2.0-rc.2` और `0.2.1-alpha.1` दोनों को स्वीकार करने के लिए सत्यापित। **`engines.dsh` जानबूझकर घोषित नहीं**: इसका कोई पाठक नहीं और यह किसी होस्ट को अस्वीकार नहीं कर सकता |
74
+ | Harness | peer रेंज `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — `0.2.0-rc.2` और `0.2.1-rc.2` दोनों को स्वीकार करने के लिए सत्यापित। **`engines.dsh` `>=0.2.1-0 <0.3.0` के रूप में घोषित है** और 0.2.1 से होस्ट इसे लागू करता है |
58
75
  | Node | `^22.19.0 || >=24.0.0` |
59
76
  | प्लेटफ़ॉर्म | सभी (शुद्ध ESM; कोई नेटिव कोड नहीं, कोई नेटवर्क नहीं, कोई मॉडल कॉल नहीं) |
60
- | टूल मोड | `native`, `ptc` और `both` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
77
+ | टूल मोड | `native` और `ptc` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
61
78
 
62
79
  ## What it does
63
80
 
64
81
  नियम-सूची, फ़ील्ड और विस्तृत व्यवहार [README.md](README.md#what-it-does) (अंग्रेज़ी मुख्य संस्करण) में हैं। यह प्लगइन केवल उद्धृत धाराओं के सामने शाब्दिक अंतर सूचीबद्ध करता है और हर न चल पाई जाँच को `skipped` में बताता है।
65
82
 
66
- ## Install
67
-
68
- ```sh
69
- dsh plugin --profile <name> add dsh-eia-guide-check
70
- dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
71
- ```
72
-
73
83
  ## Configuration
74
84
 
75
85
  सभी समायोज्य पैरामीटर `src/config.ts` की Schemastery स्कीमा में हैं, इसलिए कोड बदले बिना `cordis.yml` से बदले जा सकते हैं; प्रति-नियम सीमाएँ `rules/` के नियम-पैक में हैं।
@@ -90,7 +100,7 @@ JSON या YAML स्वीकार्य है। पूरा फ़ील
90
100
 
91
101
  नियम-डेटा कोड से अलग है: प्रत्येक नियम में दस्तावेज़, संख्या, स्रोत की अपनी क्रमांकन-प्रणाली के अनुसार धारा, शब्दशः उद्धरण और स्रोत URL होता है। लोडर लागू करता है कि उद्धरण कम से कम आठ अक्षरों का वास्तविक उद्धरण हो, और जिस जाँच का आधार केवल सामान्य सिद्धांत (`kind: derived-from-principle`, अधिकतम `warn`) या स्थानीय नीति (`kind: institutional-configuration`, अधिकतम `info`) हो, उसे कभी `error` घोषित न किया जाए।
92
102
 
93
- सत्यापित सीमाएँ और जान-बूझकर **न** कहे गए निष्कर्ष [README.md](README.md#rule-sources) (अंग्रेज़ी मुख्य संस्करण) और `rules/evidence/` में हैं।
103
+ सत्यापित सीमाएँ और जान-बूझकर **न** कहे गए निष्कर्ष [README.md](README.md#rule-sources) (अंग्रेज़ी मुख्य संस्करण) में हैं।
94
104
 
95
105
  ## Troubleshooting
96
106
 
package/README-pt.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-eia-guide-check — Verificação da folha de aplicabilidade das diretrizes de avaliação de impacto ambiental
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-eia-guide-check` lê uma folha de aplicabilidade de diretrizes de uma avaliação de impacto ambiental —o cabeçalho do projeto mais uma linha por elemento avaliado— e verifica a rastreabilidade dessa própria folha: se cada elemento indica a diretriz que lhe é aplicável, se o número da diretriz segue a forma publicada, se o estado da diretriz vem do vocabulário que você configurar, se está registado um método de avaliação ou uma norma aplicável, se nenhum elemento está registado duas vezes, se o cabeçalho declara o projeto e o tipo de documento de avaliação, e se não resta nenhum marcador de modelo por substituir na coluna da norma aplicável.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-eia-guide-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
12
+ ```
13
+
14
+ ## Como é a saída
15
+
16
+ ![Terminal demo of dsh-eia-guide-check: real output over its EG-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-eia-guide-check](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-demo.gif)
19
+
20
+ Saída real deste plugin sobre o seu próprio fixture de teste `EG-001` — não é uma simulação. O pacote de regras não inventa citações, por isso cada achado nomeia a cláusula aplicada e avisa que o seu texto não foi obtido.
21
+
5
22
  ## O que ele responde
6
23
 
7
24
  | Você pergunta | O que ele responde |
@@ -54,22 +71,15 @@ prediction model applies, or whether the conclusions hold.
54
71
 
55
72
  | Superfície | Estado |
56
73
  |---|---|
57
- | Harness | Faixa de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificada para aceitar tanto `0.2.0-rc.2` quanto `0.2.1-alpha.1`. **`engines.dsh` não é declarado**: não tem leitor e não pode recusar nenhum host |
74
+ | Harness | Faixa de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificada para aceitar tanto `0.2.0-rc.2` quanto `0.2.1-rc.2`. **`engines.dsh` é declarado como `>=0.2.1-0 <0.3.0`** e o host o aplica desde 0.2.1 |
58
75
  | Node | `^22.19.0 || >=24.0.0` |
59
76
  | Plataformas | Todas (ESM puro; sem código nativo, sem rede, sem chamada ao modelo) |
60
- | Modo de ferramenta | Funciona em `native`, `ptc` e `both`; para um diretório inteiro use `ptc` |
77
+ | Modo de ferramenta | Funciona em `native` e `ptc`; para um diretório inteiro use `ptc` |
61
78
 
62
79
  ## What it does
63
80
 
64
81
  A tabela de regras, os campos e o comportamento detalhado estão em [README.md](README.md#what-it-does) (versão principal em inglês). O plugin apenas lista divergências literais frente às cláusulas citadas e indica em `skipped` cada verificação que não pôde ser executada.
65
82
 
66
- ## Install
67
-
68
- ```sh
69
- dsh plugin --profile <name> add dsh-eia-guide-check
70
- dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
71
- ```
72
-
73
83
  ## Configuration
74
84
 
75
85
  Todos os parâmetros ajustáveis ficam no esquema Schemastery de `src/config.ts`, portanto mudam pelo `cordis.yml` sem editar código; os limites por regra ficam no pacote de regras sob `rules/`.
@@ -90,7 +100,7 @@ Aceita JSON ou YAML. O exemplo completo de campos está em [README.md](README.md
90
100
 
91
101
  Os dados das regras ficam separados do código: cada regra traz documento, número, cláusula na numeração própria da fonte, trecho literal e URL de origem. O carregador impõe que o trecho seja citação real de pelo menos oito caracteres e que uma verificação baseada apenas em princípio geral (`kind: derived-from-principle`, teto `warn`) ou em política local (`kind: institutional-configuration`, teto `info`) nunca seja declarada `error`.
92
102
 
93
- Os limites verificados e as conclusões deliberadamente **não** afirmadas estão em [README.md](README.md#rule-sources) (versão principal em inglês) e em `rules/evidence/`.
103
+ Os limites verificados e as conclusões deliberadamente **não** afirmadas estão em [README.md](README.md#rule-sources) (versão principal em inglês) .
94
104
 
95
105
  ## Troubleshooting
96
106
 
package/README-zh.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-eia-guide-check — 环评导则适用性核对
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-eia-guide-check` 读取一份环境影响评价的导则适用性核对表——表头、加上每条评价要素一行——并核对这份核对表自身是否可追溯:每条要素是否指明适用导则、导则编号是否写成通用形式、导则状态是否取自本机构配置的取值、是否填写了评价方法或执行标准、要素是否重复登记、表头是否声明项目与环评文件类型、执行标准栏是否残留未替换的模板占位符。
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-eia-guide-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
12
+ ```
13
+
14
+ ## 实际输出长什么样
15
+
16
+ ![Terminal demo of dsh-eia-guide-check: real output over its EG-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-eia-guide-check](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-demo.gif)
19
+
20
+ 本插件对自己 `EG-001` 测试夹具的**真实输出**,不是示意图。规则库不伪造引文,因此每条发现都会同时写明所引条款,以及该条款原文本次未取得。
21
+
5
22
  ## 它回答什么问题
6
23
 
7
24
  | 你会问 | 它怎么答 |
@@ -54,22 +71,15 @@ prediction model applies, or whether the conclusions hold.
54
71
 
55
72
  | 项目 | 状态 |
56
73
  |---|---|
57
- | Harness | 对等版本范围 `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` —— 已实测同时接受 `0.2.0-rc.2` 与 `0.2.1-alpha.1`。**刻意不声明 `engines.dsh`**:它没有任何读取者,也无法拒装任何宿主 |
74
+ | Harness | 对等版本范围 `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` —— 已实测同时接受 `0.2.0-rc.2` 与 `0.2.1-rc.2`。**已声明 `engines.dsh`**:0.2.1 起由宿主单独裁决,范围为 `>=0.2.1-0 <0.3.0` |
58
75
  | Node | `^22.19.0 || >=24.0.0` |
59
76
  | 平台 | 全平台(纯 ESM;无原生代码、无联网、不调用模型) |
60
- | 工具模式 | `native` / `ptc` / `both` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
77
+ | 工具模式 | `native` / `ptc` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
61
78
 
62
79
  ## What it does
63
80
 
64
81
  规则表、字段说明与行为细节见 [README.md](README.md#what-it-does)(英文主版本)。本插件只列出材料与所引条款之间的字面差异,并对无法执行的检查在 `skipped` 中逐项说明。
65
82
 
66
- ## Install
67
-
68
- ```sh
69
- dsh plugin --profile <name> add dsh-eia-guide-check
70
- dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
71
- ```
72
-
73
83
  ## Configuration
74
84
 
75
85
  全部可调参数都在 `src/config.ts` 的 Schemastery schema 中,只改 `cordis.yml` 即可生效,无需改代码;逐条阈值在 `rules/` 下的规则库文件里。
@@ -90,7 +100,7 @@ dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
90
100
 
91
101
  规则数据与代码分离,每条规则都带文件名、文号、按原文自身编号体系的条款号、逐字摘录与来源地址。加载期强制:摘录必须是真实引文且不少于八个字符;依据仅为原则性条款(`kind: derived-from-principle`,严重级上限 `warn`)或本机构配置(`kind: institutional-configuration`,上限 `info`)的检查不得标为 `error`。夸大依据的规则库会在加载期失败,而不会产出一份看起来很有底气的报告。
92
102
 
93
- 核验中确认的边界与"刻意没有作出的结论"见 [README.md](README.md#rule-sources)(英文主版本)与随包的 `rules/evidence/` 目录。
103
+ 核验中确认的边界与"刻意没有作出的结论"见 [README.md](README.md#rule-sources)(英文主版本)(英文主版本)。
94
104
 
95
105
  ## Troubleshooting
96
106
 
package/README.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-eia-guide-check — Environmental impact assessment guideline applicability sheet check
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-eia-guide-check` reads one guideline-applicability sheet for an environmental impact assessment — the project header plus one row per assessed element — and checks that sheet's own traceability: that every element names its applicable guideline, that the guideline number follows the published form, that the guideline's status comes from the vocabulary you configure, that an assessment method or an applicable standard is recorded, that no element is registered twice, that the header declares the project and the report type, and that no unreplaced template placeholder survives in the standard column.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-eia-guide-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
12
+ ```
13
+
14
+ ## What it looks like
15
+
16
+ ![Terminal demo of dsh-eia-guide-check: real output over its EG-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-eia-guide-check](https://raw.githubusercontent.com/PerryLink/dsh-eia-guide-check/main/docs/assets/dsh-eia-guide-check-demo.gif)
19
+
20
+ Real output from this plugin over its own `EG-001` test fixture — not a mock-up. The rule pack ships no invented quotations, so a finding names both the clause it applied and the fact that the clause text was not obtained.
21
+
5
22
  ## What it answers
6
23
 
7
24
  | You ask | What it answers |
@@ -54,10 +71,10 @@ prediction model applies, or whether the conclusions hold.
54
71
 
55
72
  | Surface | Status |
56
73
  |---|---|
57
- | Harness | Peer range `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verified to accept both `0.2.0-rc.2` and `0.2.1-alpha.1`. `engines.dsh` is deliberately not declared: it has no reader and cannot reject a host |
74
+ | Harness | Peer range `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verified to accept both `0.2.0-rc.2` and `0.2.1-rc.2`. `engines.dsh` is declared as `>=0.2.1-0 <0.3.0` and is enforced by the host since 0.2.1 |
58
75
  | Node | `^22.19.0 || >=24.0.0` |
59
76
  | Platforms | All (plain ESM; no native code, no network, no model call) |
60
- | Tool mode | Works in `native`, `ptc` and `both`; for a full assessment sheet use `ptc` |
77
+ | Tool mode | Works in `native` and `ptc`; for a full assessment sheet use `ptc` |
61
78
 
62
79
  ## What it does
63
80
 
@@ -74,13 +91,6 @@ per element — applies a versioned rule pack, and returns a report.
74
91
  | `EG-006` | the sheet names its project and report type | warn | principle |
75
92
  | `EG-007` | the standard column holds no unreplaced placeholder | warn | principle |
76
93
 
77
- ## Install
78
-
79
- ```sh
80
- dsh plugin --profile <name> add dsh-eia-guide-check
81
- dsh --profile <name> --dump-config | grep 'dsh-eia-guide-check'
82
- ```
83
-
84
94
  ## Configuration
85
95
 
86
96
  | Key | Type | Default | Description |
package/lib/index.mjs CHANGED
@@ -2188,14 +2188,6 @@ function runTableCheck(input, ruleset, options) {
2188
2188
  });
2189
2189
  already.add(ruleId);
2190
2190
  }
2191
- for (const rule of ruleset.rules) {
2192
- if (disabled.has(rule.id) || fired.has(rule.id) || already.has(rule.id)) continue;
2193
- if (only.size > 0 && !only.has(rule.id)) continue;
2194
- skipped.push({
2195
- rule: rule.id,
2196
- reason: withNote("材料满足该检查的前置条件且未发现差异条目")
2197
- });
2198
- }
2199
2191
  if (only.size > 0) {
2200
2192
  const notSelected = ruleset.rules.filter((rule) => !only.has(rule.id) && !disabled.has(rule.id));
2201
2193
  if (notSelected.length > 0) skipped.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-eia-guide-check",
3
- "version": "0.2.2",
3
+ "version": "0.2.8",
4
4
  "description": "环评导则适用性核对(按要素、导则名称与执行标准核对台账自洽,仅提示差异,不作出定性结论)",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "engines": {
71
71
  "node": "^22.19.0 || >=24.0.0",
72
- "dsh": ">=0.2.1-alpha.1"
72
+ "dsh": ">=0.2.1-0 <0.3.0"
73
73
  },
74
74
  "packageManager": "pnpm@11.7.0",
75
75
  "peerDependencies": {
@@ -79,11 +79,12 @@
79
79
  },
80
80
  "devDependencies": {
81
81
  "@deepseek-ai/cordis": "4.0.5-alpha.1",
82
- "@deepseek-ai/dsh-package-manifest": "0.2.1-alpha.1",
83
- "@deepseek-ai/dsh-tools": "0.2.1-alpha.1",
82
+ "@deepseek-ai/dsh-package-manifest": "0.2.1-rc.2",
83
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.2",
84
84
  "@deepseek-ai/schemastery": "3.18.5-alpha.1",
85
85
  "@types/node": "^22.20.1",
86
- "vitest": "^3.2.7"
86
+ "vitest": "^3.2.7",
87
+ "@deepseek-ai/dsh-working-directory": "0.2.1-rc.2"
87
88
  },
88
89
  "dependencies": {
89
90
  "tsdown": "^0.22.14",