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.

Coding & Development ★ 4 updated 2026-09-07 ⚠️ needs adapt
View on GitHub ↗

Install

dsh plugin --profile <name> add github:dongsheng123132/dsh-cad-review

GitHub 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

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

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins