PerryLink/dsh-hidden-risk-map ↗★ 0
dsh-hidden-risk-map
映射安全隐患台账至重大事故判定标准 适合工贸企业安全员,用于辅助映射隐患台账与法规条款。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-hidden-risk-map说明文档
阅读完整 README ↗Configuration
| Key | Type | Default | Description |
|---|---|---|---|
rulesFile | string | rules/hidden-risk-map.yaml | Rule-pack path, relative to the package root |
disabledRules | string[] | [] | Rule ids to stop running; each appears in skipped |
onlyRules | string[] | [] | Run only these rule ids; empty runs every rule |
skipNotes | string | "" | Note appended to every skipped reason |
timeoutMs | number | 120000 | Cooperative tool timeout budget |
Rule-level parameters worth knowing:
HR-001clauses— the article table:article,industry,excerptand thekeywordsthat select it. The keywords are an editorial aid, not standard text. They exist to point a ledger sentence at a candidate article; add your site's own vocabulary as you use it.HR-002industry— your enterprise's industry. Empty means the industry check cannot run and says so.otherRegimeslists the hazard types article 2 hands to other provisions.HR-003requiredFields— the remediation-closure columns your procedure requires, e.g.[整改措施, 整改责任人, 整改完成时间]. Empty means the rule does not run.HR-004maxHitsPerClause— flag a clause hit by more than this many rows.0disables it.