AutoCAD Skills v1.2.0 - MCP Postconditions and Semantic DRC
Why this release
This release turns a failed engine-drawing prototype into hard runtime and release gates. Tool success is no longer accepted as entity correctness, and a DRC run without FAIL is no longer accepted as drawing correctness.
本版本重点修复放行逻辑:MCP 坐标串写或后置条件不一致时必须停止;拓扑 WARNING 必须逐实体归类;概念图不能以低精度名义掩盖飞线、未闭合边界、视图来源冲突或比例错误。
MCP postcondition contract
- Add
E_POSTCONDITION_MISMATCHas a hard failure. - Require immutable/self-contained requests and strict schema rejection of missing, mistyped, or extra fields.
- Require per-operation
requested,actual, and field-leveldiff, plus complete handle/document/transaction identity. - Read every created/modified entity back and compare type, layer/role, coordinates, parameters, associations, closure, and semantic ownership.
- Roll back immediately on mismatch; after one failed recovery, switch to a verified backend such as a structured
ezdxfpath or reportblocked. - Add a 100-cycle interleaved
LINE/RECTANGLE/POLYLINE/MTEXTconformance fixture for cross-request state leakage, strict-field rejection, rollback, document naming, and plotting identity. - Distinguish legitimate idempotent
already_satisfiedoperations from silent no-ops.
Semantic DRC
DANGLING_ENDPOINTNEAR_MISS_CONNECTIONINTERIOR_CROSSINGUNOWNED_LINEUNCLOSED_MATERIAL_BOUNDARYPROTRUDING_OR_OCCLUDED_GEOMETRYVIEW_SOURCE_CONSISTENCYVIEW_SEMANTICS_CONSISTENCYDELIVERABLE_SCOPE_IDENTITYPLOT_SCALE_CONSISTENCYFINAL_VISUAL_INTEGRITY
Every topology warning now records handle/location, component and line class, intentional-open/crossing basis, evidence, and disposition. Unresolved semantic warnings block release even when purely geometric checks have no FAIL.
Assembly and release integrity
- Concept/teaching classification may reduce production annotations and analysis, but never basic topology, ownership, common-view-source, scale, or visual integrity.
- Add a functional/component coverage matrix so a partial crank-slider mechanism cannot be titled as a complete four-stroke engine assembly.
- Require a view mapping table with authoritative source revision and transforms.
- Reject
CUTAWAY/section labels without matching cut, hatch, visibility, and abstraction semantics. - Fit-to-page PDF output cannot carry a numeric
1:1scale; use approved non-scale designation such asNTSand record plot modeFIT. - Release reports now list authoritative source, preserved original/backup, working copy, final copies, and cleanup/retention strategy.
Validation
- Skill structure: valid
- Required failure codes, rule IDs, evidence fields, fallback route, and cleanup contract verified
- Release baseline is the commit attached to this tag
This release hardens the Skill contract. It does not claim that every AutoCAD MCP backend already implements the preferred strict request/response fields; unsupported backends must be treated as limited or blocked.