dongsheng123132/dsh-cad-review
Evidence-first ASCII DXF inspection and deterministic CAD rule review for DeepSeek Harness
Evidence-first ASCII DXF inspection and deterministic CAD rule review: reads CAD entities, hashes the source drawing, and emits issues tied to entity handle/index, layer, source line range and geometric location — it does not infer defects from screenshots. Tools: dsh_cad_inspect_dxf (source SHA-256, units, bounds, layers, entity counts, exact geometry) and dsh_cad_review_dxf (same evidence plus a deterministic policy report, with per-call policyJson override). TEXT/MTEXT bodies are represented only by SHA-256 plus length, so evidence output does not reproduce drawing prose.
Install
dsh plugin --profile <name> add github:dongsheng123132/dsh-cad-reviewGitHub install per README: dsh plugin --profile <name> add github:dongsheng123132/dsh-cad-review (no npm package). Configure workspaceRoot and project-owned policy in the plugin row (requiredLayers, forbiddenLayers, forbiddenEntityTypes, requireClosedPolylines, minTextHeight, maxDrawingSpan, requiredInsUnits, maxEntities, maxIssues). Paths must be .dxf files relative to workspaceRoot; traversal, symlink escape, binary DXF and oversized input are refused. MIT. Node.js 22+.
Compatibility
DeepSeek Harness, Node.js 22+. Host-neutral and stock-Cordis-loader safe — imports no private ToolRuntime helper, preserves the module-level inject = ['tools'] contract.
Details
- Repo: dongsheng123132/dsh-cad-review
- Category: Coding & Development
- Stars: 4
- Version: GitHub source, v0.2.0 (no npm package)
- Last push: 2026-09-07
- First seen: 2026-08-13
Recent updates
v0.2.0: host-neutral stock-Cordis-loader safe; inspect + review tools; SHA-256 source hashing; deterministic policy engine; evidence-gap visibility.
FAQ
- How does it find defects?
- It reads CAD entities and applies a deterministic policy (required/forbidden layers, entity types, closed polylines, text height, drawing span, insunits) — no screenshot-based inference.
- What evidence does it emit?
- Issues tied to entity handle/index, layer, source line range and geometric location, plus the drawing's SHA-256; unsupported entities remain visible as an evidence gap.
- Which files can it read?
- ASCII .dxf files relative to workspaceRoot; binary DXF, traversal, symlink escape and oversized input are refused.
Alternatives
dingkaihu63/dsh-robotic-harness · omdsh-dev/dsh-security-audit · PerryLink/dsh-doublecheck