DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

PerryLink /

PerryLink/dsh-construction-doc-check

Verified

扫描施工项目资料目录,报告缺哪些规定资料、哪些像是过期版本、哪些文件是空的。

★ 0 Stars0 Forks4 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@ab5377b9

dsh-construction-doc-check — Construction document check

English · 简体中文 · Español · Português · हिन्दी

dshfind

dsh-construction-doc-check walks a project's document archive and reports which required document types are missing, which look like stale revisions sitting next to the current copy, and which files are empty.

It reads file names, not files. That is a deliberate ceiling: a real archive holds a thousand documents, and asking a 资料员 to transcribe them into a table first gives him more work, not less. The folder and the filenames are what he already has.

Install

dsh plugin --profile <name> add dsh-construction-doc-check
dsh --profile <name> --dump-config | grep 'dsh-construction-doc-check'

What it looks like

Workflow diagram for dsh-construction-doc-check: document → rule pack → findings.

Workflow overview: document → rule pack → findings.

Boundary: three claims this tool does not make. It does not open a document, so "present" is not "correct" — content is a later layer. It does not judge how many copies of a kind should exist: one subitem can need dozens of 检验批 records, and this checks existence, not sufficiency. And a missing file means the archive cannot prove the work was done, which is not the same as the work not being done.

What it answers

  • Which required document types cannot be found anywhere in the archive?
  • Which documents exist in more than one revision side by side?
  • Which files are zero bytes, and therefore present but unusable?
  • Which named requirement is missing, and which clause requires it?

Standards it follows

Requirements are quoted from the clauses that create them, verbatim:

  • 《建筑工程施工质量验收统一标准》GB 50300-2013 — 检验批, 隐蔽工程, 分部验收, 竣工验收四张表.
  • 《建设工程质量管理条例》国务院令第279号 第十六条, 第二十九条 — 竣工报告, 保修书, 材料检验.
  • 《危险性较大的分部分项工程安全管理规定》住建部令第37号 — 专项方案与验收.

Two requirements are marked institutional-configuration because they come from the organisation's own filing policy rather than a national standard; those can never be an error.

Compatibility

Surface Status
Harness peer range >=0.1.2-rc.1 <0.2.0 || >=0.2.0-0 <0.3.0
Node `^22.19.0
Platforms all (pure ESM; no native code, no network, no model call)

What it does

Fourteen rules. Twelve match a kind of document by pattern against the relative path — folders count, because real archives classify by folder. Two are set-level: CD-040 reports the same document name appearing more than once with a revision marker ((1), 副本, 最终, V2), and CD-041 reports zero-byte files.

A zero-byte file still satisfies the requirement that the kind exists, and is reported separately: "there is a file" and "the file is usable" are different statements, and the report makes both.

Configuration

Key Default Meaning
rulesFile rules/construction-doc-check.yaml 规则库路径

Material format

Input is a directory. The pack declares what to look for:

- id: CD-020
  title: 危大工程应有专项施工方案
  category: 危大工程
  severity: error
  patterns: [专项施工方案]

Directories named in scan.skipDirs (.git, node_modules, 旧版备份, …) are skipped whole. Depth is capped at scan.maxDepth (6 by default) and the report says when the cap was hit.

Rule sources

Quotations live in rules/evidence/clauses.md and in the pack; check:citations verifies each appears verbatim.

Known limits: matching is by name, so a correctly named but wrong document counts as present. Counts are not judged — that needs the subitem breakdown, which is the L1 layer. And the scan's depth cap means a deeply nested archive can report a document as missing when it sits one level too deep; the report says so when the cap is reached.

Troubleshooting

  • The plugin installs but the tool never appears: check that main resolves to lib/index.mjs and that pnpm run build produced it.
  • dsh plugin add rejects the package: the peer range covers 0.1.x and 0.2.x; outside it, grant an explicit exemption.
  • A rule did not run: read the skipped array.

Development

pnpm install
pnpm run typecheck
pnpm test
pnpm run build
node ../scripts/sync-shared.mjs dsh-construction-doc-check

PerryLink DSH Plugin Family

This project is part of the DeepSeek Harness plugin family from PerryLink. The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.

Expand all plugins
Plugin Status
dsh-aqua-input-check
dsh-archive-check
dsh-auto-review
dsh-autotier
dsh-bid-ca-precheck
dsh-bid-qual-check
dsh-cert-mcp
dsh-checkpoint-rewind
dsh-click
dsh-composer-history
dsh-contract-stance
dsh-customs-doc-check
dsh-data-quality
dsh-demurrage-ledger
dsh-doublecheck
dsh-drill-script-check
dsh-eia-guide-check
dsh-emergency-plan
dsh-essay-rubric-check
dsh-evidence-check
dsh-export-ctl-check
dsh-fast
dsh-fmea-table-check
dsh-forecast-penalty
dsh-fund-research
dsh-github
dsh-gongwen-flow-check
dsh-gongwen-word-check
dsh-guard-plan-qc
dsh-hazchem-check
dsh-hazplan-check
dsh-hidden-risk-map
dsh-hs-classify
dsh-icd-rule-check
dsh-industry-research
dsh-lawcite-adapter
dsh-laya
dsh-lc-doc-check
dsh-learning-gap-check
dsh-library
dsh-local-ai
dsh-lsp-actions
dsh-mask
dsh-mcp-panel
dsh-medrec-qc
dsh-memento
dsh-nsfc-form-check
dsh-nurse-record-check
dsh-observe
dsh-origin-rvc-check
dsh-ota-review-check
dsh-output-styles
dsh-paper-doc-adapter
dsh-permission-rules
dsh-permit-report-check
dsh-pipeline-check
dsh-pleading-draft
dsh-plugin-doctor
dsh-plugin-guide
dsh-plugin-kit
dsh-plugin-upgrade
dsh-policy-brief-draft
dsh-power-loss-split
dsh-power-ticket-check
dsh-ppap-check
dsh-protest-deadline
dsh-railway-window
dsh-repair-order-qc
dsh-research-report
dsh-review-reply-check
dsh-rulefile-check
dsh-safety-brief-check
dsh-score
dsh-session-sync
dsh-site-log-check
dsh-skill-pack-security
dsh-soe-decision-check
dsh-soilwater-check
dsh-sop-sync-check
dsh-spc-gbt-adapter
dsh-talk
dsh-tender-extract
dsh-tender-matrix
dsh-test-drive
dsh-ticktick
dsh-translate
dsh-warranty-calc
dsh-budget 🧊 FROZEN — see the repo README
dsh-claude-move 🧊 FROZEN — see the repo README
dsh-defend 🧊 FROZEN — see the repo README
dsh-draw 🧊 FROZEN — see the repo README
dsh-reach 🧊 FROZEN — see the repo README
dsh-background-agents 🚫 RETIRED — see the repo README
dsh-session-pin 🚫 RETIRED — see the repo README
dsh-team-rooms 🚫 RETIRED — see the repo README

License

Apache License 2.0 © 2026 dsh-construction-doc-check contributors.

—/ 5

No ratings yet

Verified DSH bundle

Commit ab5377b9deb9

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout