Drawing: Deliver Auditable Bundle
drawing_deliverCreate a hashed, validated DXF delivery bundle and verify save/reopen parity; optionally measure requirements to block delivery unless acceptance checks pass.
Instructions
Create a hashed, validated delivery bundle and verify DXF save/reopen parity.
The result status is success, failed_validation, failed_export or
failed_acceptance. Failure intentionally keeps all generated artifacts for
diagnosis.
The open document is never re-pointed or saved: the DXF is a copy (live:
Document.Export), and the manifest records the document's id, revision, path
and saved flag, the DXF version, every sha256 and the build. Parity reads the
delivered DXF back and compares it with a fresh serialisation of the document over
every space: zero changed, added or removed entities, the same counts per space,
the same block definitions. Both sides are exports, so parity cannot see content
the export itself loses (parity.scope says so); with requirements,
parity.content_check is acceptance, the check that can.
With requirements every requirement is measured on the delivered DXF, read
fresh and re-bound from the document; the bundle gains acceptance.json and
acceptance.md, the result geometry_acceptance, drafting_quality (the
unchanged score), artifact_integrity, coverage and blocking, and a
requirement that does not pass, stale evidence or a dimension that disagrees
with its geometry makes the status failed_acceptance whatever the score
(failed_export and failed_validation are reported first). Refused before
any work: requirements that do not parse (invalid_args).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | No | Requested formats: dxf, pdf, png. | |
| expected | No | Optional validator expectations for the drawing. | |
| min_score | No | Minimum accepted quality score. | |
| output_dir | Yes | Output directory for drawing artifacts and manifest.json. | |
| requirements | No | Source requirements to verify (the drawing_verify_requirements shape). A requirement that does not pass makes the status failed_acceptance, whatever the drafting score. | |
| strict_critique | No | Block delivery on every non-info critique issue. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||