specify-pmi 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- specify_pmi-0.3.0/CHANGELOG.md +2172 -0
- specify_pmi-0.3.0/Cargo.lock +941 -0
- specify_pmi-0.3.0/Cargo.toml +84 -0
- specify_pmi-0.3.0/LICENSE +202 -0
- specify_pmi-0.3.0/NOTICE +24 -0
- specify_pmi-0.3.0/PKG-INFO +165 -0
- specify_pmi-0.3.0/README.md +413 -0
- specify_pmi-0.3.0/build.rs +190 -0
- specify_pmi-0.3.0/bundle/app/LICENSE +202 -0
- specify_pmi-0.3.0/bundle/app/NOTICE +31 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-600-normal-CTOM6hUh.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-600-normal-fLZuRloM.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-ext-600-normal-9HEixskS.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-cyrillic-ext-600-normal-V-xxqcpd.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-600-normal-DWFSQ4vo.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-ext-600-normal-D38SheWl.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-latin-ext-600-normal-DmB0ttJJ.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-vietnamese-600-normal-D2EvbN8M.woff2 +0 -0
- specify_pmi-0.3.0/bundle/app/assets/ibm-plex-mono-vietnamese-600-normal-iLQfcSjf.woff +0 -0
- specify_pmi-0.3.0/bundle/app/assets/index-B2o2J5po.js +11094 -0
- specify_pmi-0.3.0/bundle/app/assets/index-BV5TOf7V.css +1 -0
- specify_pmi-0.3.0/bundle/app/assets/intent.worker-NiFEGV_1.js +3 -0
- specify_pmi-0.3.0/bundle/app/assets/no-bundled-engine-D1H2bWWQ.js +1 -0
- specify_pmi-0.3.0/bundle/app/index.html +14 -0
- specify_pmi-0.3.0/bundle/app/licenses/IBM-Plex-Mono-OFL.txt +93 -0
- specify_pmi-0.3.0/bundle/app/specify-ui-app.json +1 -0
- specify_pmi-0.3.0/bundle/wasm/package.json +21 -0
- specify_pmi-0.3.0/bundle/wasm/specify_pmi_wasm.js +895 -0
- specify_pmi-0.3.0/bundle/wasm/specify_pmi_wasm_bg.wasm +0 -0
- specify_pmi-0.3.0/crates/specify-pmi-py/Cargo.toml +24 -0
- specify_pmi-0.3.0/crates/specify-pmi-py/LICENSE +202 -0
- specify_pmi-0.3.0/crates/specify-pmi-py/NOTICE +24 -0
- specify_pmi-0.3.0/crates/specify-pmi-py/README.md +137 -0
- specify_pmi-0.3.0/crates/specify-pmi-py/src/lib.rs +752 -0
- specify_pmi-0.3.0/pyproject.toml +48 -0
- specify_pmi-0.3.0/python/specify_pmi/__init__.py +5 -0
- specify_pmi-0.3.0/python/specify_pmi/__main__.py +5 -0
- specify_pmi-0.3.0/python/specify_pmi/api.py +213 -0
- specify_pmi-0.3.0/python/specify_pmi/choices.py +47 -0
- specify_pmi-0.3.0/python/specify_pmi/cli.py +53 -0
- specify_pmi-0.3.0/python/specify_pmi/existing.py +89 -0
- specify_pmi-0.3.0/python/specify_pmi/load.py +77 -0
- specify_pmi-0.3.0/python/specify_pmi/problems.py +12 -0
- specify_pmi-0.3.0/python/specify_pmi/rules.py +206 -0
- specify_pmi-0.3.0/python/specify_pmi/schema/haecceity.pmi-1.json +3919 -0
- specify_pmi-0.3.0/python/specify_pmi/schema/haecceity.presentation-1.json +286 -0
- specify_pmi-0.3.0/python/specify_pmi/serve.py +23 -0
- specify_pmi-0.3.0/python/specify_pmi/writer.py +81 -0
- specify_pmi-0.3.0/src/anchors.rs +212 -0
- specify_pmi-0.3.0/src/answer_file.rs +139 -0
- specify_pmi-0.3.0/src/api.rs +961 -0
- specify_pmi-0.3.0/src/bom.rs +2022 -0
- specify_pmi-0.3.0/src/carried.rs +266 -0
- specify_pmi-0.3.0/src/carry.rs +1475 -0
- specify_pmi-0.3.0/src/characteristics/inspection.rs +261 -0
- specify_pmi-0.3.0/src/characteristics/keys.rs +188 -0
- specify_pmi-0.3.0/src/characteristics.rs +1452 -0
- specify_pmi-0.3.0/src/choices.rs +1037 -0
- specify_pmi-0.3.0/src/cli.rs +978 -0
- specify_pmi-0.3.0/src/dimensioning.rs +1559 -0
- specify_pmi-0.3.0/src/edits.rs +1217 -0
- specify_pmi-0.3.0/src/existing.rs +1941 -0
- specify_pmi-0.3.0/src/extras.rs +571 -0
- specify_pmi-0.3.0/src/feature_table.rs +1585 -0
- specify_pmi-0.3.0/src/features.rs +905 -0
- specify_pmi-0.3.0/src/general.rs +474 -0
- specify_pmi-0.3.0/src/input.rs +218 -0
- specify_pmi-0.3.0/src/lib.rs +56 -0
- specify_pmi-0.3.0/src/locations.rs +123 -0
- specify_pmi-0.3.0/src/main.rs +16 -0
- specify_pmi-0.3.0/src/materials.rs +640 -0
- specify_pmi-0.3.0/src/mates.rs +674 -0
- specify_pmi-0.3.0/src/mcp.rs +2702 -0
- specify_pmi-0.3.0/src/mesh.rs +1026 -0
- specify_pmi-0.3.0/src/open/bundle.rs +30 -0
- specify_pmi-0.3.0/src/open.rs +1724 -0
- specify_pmi-0.3.0/src/part.rs +488 -0
- specify_pmi-0.3.0/src/pmi_origin.rs +271 -0
- specify_pmi-0.3.0/src/pmi_read.rs +77 -0
- specify_pmi-0.3.0/src/pmi_scene/notes.rs +381 -0
- specify_pmi-0.3.0/src/pmi_scene.rs +1445 -0
- specify_pmi-0.3.0/src/problems.rs +579 -0
- specify_pmi-0.3.0/src/process.rs +573 -0
- specify_pmi-0.3.0/src/provenance.rs +415 -0
- specify_pmi-0.3.0/src/pyfmt.rs +435 -0
- specify_pmi-0.3.0/src/pyjson.rs +240 -0
- specify_pmi-0.3.0/src/resume/names.rs +116 -0
- specify_pmi-0.3.0/src/resume/truth.rs +23 -0
- specify_pmi-0.3.0/src/resume.rs +1920 -0
- specify_pmi-0.3.0/src/revision/assembly.rs +517 -0
- specify_pmi-0.3.0/src/revision/pmi.rs +1560 -0
- specify_pmi-0.3.0/src/revision/pmi_picture.rs +77 -0
- specify_pmi-0.3.0/src/revision/tests.rs +605 -0
- specify_pmi-0.3.0/src/revision/treatments.rs +297 -0
- specify_pmi-0.3.0/src/revision.rs +3214 -0
- specify_pmi-0.3.0/src/rule_sources.rs +256 -0
- specify_pmi-0.3.0/src/rules/datums.rs +1007 -0
- specify_pmi-0.3.0/src/rules/general_rows.rs +332 -0
- specify_pmi-0.3.0/src/rules/holes.rs +727 -0
- specify_pmi-0.3.0/src/rules/mates.rs +46 -0
- specify_pmi-0.3.0/src/rules/mod.rs +2083 -0
- specify_pmi-0.3.0/src/rules/py.rs +284 -0
- specify_pmi-0.3.0/src/rules/records.rs +599 -0
- specify_pmi-0.3.0/src/rules/turned.rs +293 -0
- specify_pmi-0.3.0/src/serve.rs +633 -0
- specify_pmi-0.3.0/src/session.rs +1631 -0
- specify_pmi-0.3.0/src/sightlines.rs +108 -0
- specify_pmi-0.3.0/src/standards.rs +604 -0
- specify_pmi-0.3.0/src/tolerance_block.rs +662 -0
- specify_pmi-0.3.0/src/tolerancing.rs +353 -0
- specify_pmi-0.3.0/src/triangulate.rs +1539 -0
- specify_pmi-0.3.0/src/writer/apply.rs +2558 -0
- specify_pmi-0.3.0/src/writer/tests.rs +1117 -0
- specify_pmi-0.3.0/src/writer.rs +4608 -0
|
@@ -0,0 +1,2172 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to specify-pmi (formerly specify-core and specify-core-rust). The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
|
|
5
|
+
[Semantic Versioning](https://semver.org/).
|
|
6
|
+
|
|
7
|
+
## 0.3.0 (2026-11-27)
|
|
8
|
+
|
|
9
|
+
Every package is released at 0.3.0 (see "Lockstep versions").
|
|
10
|
+
|
|
11
|
+
Read first:
|
|
12
|
+
|
|
13
|
+
- **`specify-core` still works as a command for all of 0.3.x, and is removed in 0.4.** The Python
|
|
14
|
+
wheel installs a second console script and each release archive a copy of the binary named
|
|
15
|
+
`specify-core`; with cargo, the `specify-core` 0.3.1 forwarder crate provides it. It is the
|
|
16
|
+
same command (`mcp` and exit codes included); it first prints `specify-core is now specify-pmi;
|
|
17
|
+
this alias will be removed in 0.4` to stderr, never stdout.
|
|
18
|
+
- **Renamed: specify-core is now specify-pmi.** Every package, the command and the repository:
|
|
19
|
+
the crate and the command are `specify-pmi` (library `specify_pmi`); the WASM crate is
|
|
20
|
+
`specify-pmi-wasm` and its npm package `@draftwright/specify-pmi-wasm` (generated
|
|
21
|
+
`specify_pmi_wasm.js` and `specify_pmi_wasm_bg.wasm`); the Python distribution is
|
|
22
|
+
`specify-pmi` and its module `specify_pmi`; the release assets are `specify-pmi-<target>…`;
|
|
23
|
+
the repository is `pzfreo/specify-pmi` (GitHub redirects the old links).
|
|
24
|
+
`@draftwright/specify-ui` keeps its name. The old names get forwarding releases that
|
|
25
|
+
re-export the new ones. The `SPECIFY_CORE` test variable that names the command's
|
|
26
|
+
binary is now `SPECIFY_PMI`; `SPECIFY_CORE` is still read for one release. Nothing in the
|
|
27
|
+
files changes: `_specify` in STEP, the edit lists and session `api` 2 are as before.
|
|
28
|
+
Entries below keep the names they were written under.
|
|
29
|
+
- **The app and engine ship inside the command** ([ADR P12](https://github.com/pzfreo/draftwright-project/blob/main/adr/P12-specify-ships-whole.md)):
|
|
30
|
+
the release binaries, the Python wheels and the crates.io crate carry the Specify app and its
|
|
31
|
+
WASM engine (about 6 MB more), and `open` and MCP `show` serve them from the binary. Nothing is
|
|
32
|
+
downloaded or cached, the page works offline from the first run, and the app, the engine and
|
|
33
|
+
the command are always one version. `--app`/`SPECIFY_APP_DIR` and `--wasm`/`SPECIFY_WASM_DIR`
|
|
34
|
+
still override, and an `--app`'s session `api` is still checked.
|
|
35
|
+
- **specify-ui moved into this repository,** under `ui/`, with its history: the React components
|
|
36
|
+
(`@draftwright/specify-ui`) and the local app that `open` and MCP `show` serve. Package names are
|
|
37
|
+
unchanged: `specify-core` (crates.io, PyPI), `@draftwright/specify-core-wasm` and
|
|
38
|
+
`@draftwright/specify-ui` (npm). pzfreo/specify-ui is to be archived (kept, so 0.2.1 can still download its app); its changes up to 0.2.0 are in
|
|
39
|
+
its own history and release notes.
|
|
40
|
+
- **The file is the only copy** ([ADR P11](https://github.com/pzfreo/draftwright-project/blob/main/adr/P11-the-file-is-the-only-copy.md)):
|
|
41
|
+
a file's PMI is the state, whoever wrote it (docs/answers.md, "Reopening a file").
|
|
42
|
+
- `analyse` adds the feature table, `table: {rows, file_pmi, decided_none}`: each
|
|
43
|
+
feature-and-kind `stated`, `gap` (with Specify's suggestion) or `decided_none`. Only gaps are
|
|
44
|
+
asked.
|
|
45
|
+
- `existing` is the file's whole PMI, Specify's own included (before, a reopened file's
|
|
46
|
+
`existing` left out what its stored answers explained), each item with its full `text`.
|
|
47
|
+
- **Removed:** conflicts (`resume.conflicts`, `review`'s and MCP `open`/`questions`'
|
|
48
|
+
`conflicts`, `kind: "conflict"`), `keep` (MCP `answer`'s `keep`, `_specify.keep`),
|
|
49
|
+
`resume.foreign` and `resume.present`. What the file states stands; changing it is an
|
|
50
|
+
explicit edit.
|
|
51
|
+
- **Storage:** only answers that leave no PMI behind are stored in the file: decided none,
|
|
52
|
+
choices that are not requirements, and general sizes deliberately omitted on datum faces
|
|
53
|
+
(the payload's `no_pmi`, `_specify.no_pmi` among resumed answers). Unfulfilled approvals
|
|
54
|
+
are reported and their rows stay open. An answer that wrote PMI is
|
|
55
|
+
not stored; the file states it. A file saved by 0.2.x reopens with its other stored answers
|
|
56
|
+
ignored (the file states them) and is stored the new way on the next save.
|
|
57
|
+
- **Lockstep versions.** Every package is released together at one version: 0.3.0 is the next for
|
|
58
|
+
all of them, so `@draftwright/specify-ui` goes from 0.2.0 to 0.3.0 (there is no specify-ui
|
|
59
|
+
0.2.1). `@draftwright/specify-ui` X depends on `@draftwright/specify-core-wasm` X exactly.
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
|
|
63
|
+
- **`specify-core open` without a file** (docs/open.md): starts the local app empty with a drop
|
|
64
|
+
target and file picker accepting `.step`, `.stp`, `.step.gz` and `.stp.gz`. Dropping or choosing
|
|
65
|
+
a file uploads its bytes to the local server (`POST <token>/open`, same-origin, 64 MiB limit) and
|
|
66
|
+
opens the same review; Save writes `<stem>.specified.step` (then `-2`, `-3`, …; updating only
|
|
67
|
+
this session's copy, never overwriting any other file) in the working directory where `open` was
|
|
68
|
+
started, shown in `saveTarget`. `--in-place` still requires a file on the command line.
|
|
69
|
+
- **The ids are a contract** (docs/ids.md): the part-level ids (`part.material`, `datum.<letter>`,
|
|
70
|
+
`bom.*`, `extra.<name>`, …), the requirement kinds (`hole.position`, `diameter.fit`, …) and the
|
|
71
|
+
added requirement kinds, and measurement ids `length:planes:*` and `location:holes:*`,
|
|
72
|
+
are listed and promised stable; a feature id is a kind and the faces
|
|
73
|
+
it is on, and its face numbers hold for one revision only. `tests/ids_contract.rs` fails when
|
|
74
|
+
the code's ids and the doc's lists differ. The lists are one source each in the code
|
|
75
|
+
(`input::PART_NAMES`, `FEATURE_KINDS`, `DATUM_LETTERS`, `DATUM_CONTROLS`, `bom::KEYS`, public
|
|
76
|
+
but hidden from the docs, for the test). No behaviour change. The file's other PMI items'
|
|
77
|
+
ids, `file_pmi:#<entity>` (the edit list's `{"id": …}` removal), are documented there too:
|
|
78
|
+
the prefix is in the contract, the entity number holds while the file is saved in place.
|
|
79
|
+
- What the file states reads back whole (ADR P11): each `existing` item, and each feature-table
|
|
80
|
+
requirement, has its full notation, `text` (`⌀3.3 H11`, `⌖ ⌀0.3Ⓜ A`, `M2×0.4-6H ↧ 2`), so a
|
|
81
|
+
stated row reads `⌀3.3 H11`, not `Size_Diameter 3.3`; optional structured fields by the
|
|
82
|
+
planner's names (a size's `fit`, with its ISO 286 deviations; a tolerance's `diametral`,
|
|
83
|
+
`zone`, `mmc`, `modifiers`; a thread's `designation`, `spec`, `pitch`, `class`, `hand`,
|
|
84
|
+
depths; a knurl's parameters; a finish's `finish`); and `text_only: true` where the item
|
|
85
|
+
states something those fields don't hold (a datum reference's Ⓜ, a projected zone ...). Also
|
|
86
|
+
in Python's `ExistingPmi` (`text`, `text_only`, `fields`). docs/answers.md, "What the file
|
|
87
|
+
states, read back whole".
|
|
88
|
+
- **A general tolerance given as a block** (#228; docs/questions.md): `part.general_tolerance`
|
|
89
|
+
takes a title block's lines in one line of text, for example `.XX ±.01, .XXX ±.005, fractions
|
|
90
|
+
±1/64, angles ±1°`, shown back as `.XX ±.01 · .XXX ±.005 · ±1/64 · angles ±1°`. The decimal-place
|
|
91
|
+
lines are written as AP242's default tolerance table in the unit stated (inch notation means
|
|
92
|
+
inches; never converted), fractions and angles in the general tolerance note beside it, and
|
|
93
|
+
nothing else: no ISO class, no dimension. Reopening shows the table as stated, whoever wrote it.
|
|
94
|
+
A different general tolerance in an intent is still refused when the file states one; only an
|
|
95
|
+
explicit change (`writer::write_bytes_changing_general_tolerance`, for the edit list's
|
|
96
|
+
`change`) replaces it, every other entity byte for byte. `none` is now an answer for `part.general_tolerance` and
|
|
97
|
+
`part.surface_finish` (decided none: nothing written, the decision stored).
|
|
98
|
+
- `@draftwright/specify-ui`: a `HostView` interface (ui/docs/host-view.md, specify-core #222) so a host can
|
|
99
|
+
draw the 3D view. `StepDiff` and `SpecifyReview` take an optional `view` prop; without one they use
|
|
100
|
+
today's view, now the interface's default implementation. Faces are identified by STEP entity
|
|
101
|
+
(MapShapes order only for solid-only parts), with a check on load. Labels and drawn PMI stay on the
|
|
102
|
+
default view for now. StepDiff now reports the nearest face under the pointer, since a host reports
|
|
103
|
+
only that; known gap: StepDiff runs no load check yet.
|
|
104
|
+
On a host's view the comparison's callouts are the host's to draw: `HostView.showCallouts` (optional)
|
|
105
|
+
is handed the whole list (each callout's status, colour, graphics and planes) whenever it changes,
|
|
106
|
+
and a host's pointer events carry `callout: id`. The assembly comparison takes the `view` too: its
|
|
107
|
+
parts coloured with `styleFaces`, removed ones given as meshes, clicks opening a part.
|
|
108
|
+
Fixed after 0.3.0-rc.2: the assembly stayed on the host's view while a part was open (its colours and
|
|
109
|
+
its clicks) and All parts did not bring the other parts back; a removed part opened as whichever new
|
|
110
|
+
part has its index; see-through stayed on after leaving a part.
|
|
111
|
+
- The review's general dimensions: one the file states with its nominal alone has Call Out too. It
|
|
112
|
+
is toleranced in place (its feature-and-kind changed, `change {"length:…": {"to": "±t"}}`), not
|
|
113
|
+
added beside the one the file states.
|
|
114
|
+
- `carry OLD NEW -o OUT` (and the MCP tool `carry`) copies an annotated revision's requirements
|
|
115
|
+
onto a new revision, file to file (ADR P11, docs/carry.md). Each feature-and-kind OLD states
|
|
116
|
+
fills NEW's gap through the in-place writer, all or nothing; NEW's own requirements stand,
|
|
117
|
+
with differences reported; one on a feature that moved or changed size is listed to check;
|
|
118
|
+
one not found or ambiguous, one citing a datum that is not carried, one the new geometry
|
|
119
|
+
cannot take, and anything Specify does not understand, is reported not carried with its kind
|
|
120
|
+
and faces; datums are matched by their faces. NEW's own numbering and BOM values stand. The
|
|
121
|
+
report starts with the counts (carried, not carried, to check) and a verdict as `diff`'s:
|
|
122
|
+
`decide` whenever anything is not carried or is to check. Decided-none, characteristic numbers (with their retired numbers)
|
|
123
|
+
and, in an assembly, BOM item numbers and answers carry too: what `diff`'s answers carried
|
|
124
|
+
before 0.3.0. New features with nothing stated are listed as information. In an assembly,
|
|
125
|
+
each matched part's own requirements carry too, through the in-place writer on that part
|
|
126
|
+
(every other part keeps its bytes), each entry naming its part. Not yet: `--base`, WASM and
|
|
127
|
+
Python.
|
|
128
|
+
- `diff` lists, for information, the features new in this revision that the new file's PMI states
|
|
129
|
+
nothing on: "New in this revision with nothing stated: Ø7 × 10 through hole." in the Markdown
|
|
130
|
+
report (and so on the diff page and in MCP's `markdown`), and `new_unstated: [{feature, what}]`
|
|
131
|
+
in `report.json` (left out when empty). It never changes the verdict or `check`.
|
|
132
|
+
|
|
133
|
+
- The edit list (`src/edits.rs`, proposal specify-0.3.0 use case 7): `{fill, change, items:
|
|
134
|
+
{change, remove}, none, accept_suggestions}`, parsed with every malformed part named by its
|
|
135
|
+
path, and validated all or nothing against the file's state (a differing fill, a stale
|
|
136
|
+
`expect`, an unknown id or number, an unsupported item change, contradictory entries). A 0.2
|
|
137
|
+
answers file is read as fills plus nones. `write STEP EDITS.json --check` validates and writes
|
|
138
|
+
nothing; so do MCP `check`, WASM `checkEdits` and Python `api.check_edits`, against the file.
|
|
139
|
+
- Saving edits in place (proposal specify-0.3.0 use cases 3, 4 and 7; ADR P11):
|
|
140
|
+
`write STEP EDITS.json -o OUT` applies an edit list all or nothing, and `--check` now checks it
|
|
141
|
+
against the file's feature table. A save touches only what the list names: every other
|
|
142
|
+
requirement keeps its bytes and its number, whoever wrote it, and a rules change never alters a
|
|
143
|
+
file. A change keeps the number when only its limits change; a different measurement gets a new
|
|
144
|
+
number and the old one is retired; a removed requirement's number is retired; retired numbers
|
|
145
|
+
are never reused. Only decided-none (and how holes are located) and the number history are
|
|
146
|
+
stored. A fill writes only its own row (filling the general tolerance writes its class, not
|
|
147
|
+
the planner's dimensions for other features). A change never adds a location beside one its
|
|
148
|
+
row shares with another feature: such a change is refused, naming it. A change to none takes
|
|
149
|
+
the frame with the basic dimensions only it used. `--check` applies the list in memory, so it
|
|
150
|
+
refuses exactly what `write` would. Every numbered requirement is in the feature table (a
|
|
151
|
+
finish on the whole part on `part.surface_finish`), so any can be removed by number. After
|
|
152
|
+
`session::save_edits`, the session works on the file saved: a later save keeps the edits. Rust: `writer::apply::{apply, apply_bytes, check}`, `session::save_edits`. Not yet:
|
|
153
|
+
changing one requirement by its number (`items.change`).
|
|
154
|
+
- Edits in place on a part of an assembly (Paul, 2026-11-21; as 0.2's `write` could):
|
|
155
|
+
`write STEP EDITS.json --part K -o OUT` (and `--check --part K`), `session::save_part_edits`,
|
|
156
|
+
and `writer::apply::apply_bytes`'s `part` apply a list to one part of a file of several
|
|
157
|
+
parts, or of a part placed more than once, with the same rules as a file of one part. A part
|
|
158
|
+
placed twice is edited once, as its definition. Every other part, placement and instance,
|
|
159
|
+
their PMI and stored answers, keep their bytes (decision D3), and the save refuses rather
|
|
160
|
+
than change them; characteristic numbers are each part's own.
|
|
161
|
+
- Removal without a number: `items.remove` also takes `{"id": "<stated row>"}` (every
|
|
162
|
+
requirement stating it that no other feature's row shares; `part.material`, a requirement
|
|
163
|
+
with no number) and `{"id": "file_pmi:#<entity>"}`, an item of the file's other PMI. The
|
|
164
|
+
feature table gives each file-PMI item that id (`file_pmi[].id`), from the STEP entity its
|
|
165
|
+
number is (or would be) on, so it stays the same while the file is saved in place. A removal
|
|
166
|
+
retires the removed items' numbers, as one by number does.
|
|
167
|
+
- A change keeps what it does not touch: a changed tolerance keeps the file's zone form and
|
|
168
|
+
modifiers (`⌖ ⌀0.3Ⓜ A` changed to 0.2 is `⌖ ⌀0.2Ⓜ A`), and `change` also takes a value field
|
|
169
|
+
by field, `"to": {"value": 3.4}` (a tolerance's value, or a fitted size's nominal: `⌀3.3 H11`
|
|
170
|
+
becomes `⌀3.4 H11`, the class kept, no deviations in its place). A requirement whose text
|
|
171
|
+
holds what no field does (`text_only`) is refused a change, with the reason, rather than
|
|
172
|
+
replanned without those parts. A tolerance row's stated value in the fill form is its
|
|
173
|
+
magnitude alone (`0.3` for `⌖ ⌀0.3Ⓜ A`).
|
|
174
|
+
|
|
175
|
+
### Changed
|
|
176
|
+
|
|
177
|
+
- **Single 3D PMI view** (`@draftwright/specify-ui` and the local app): replaces the `View PMI`
|
|
178
|
+
(`Semantic` / `Graphical` / `Both`) switch everywhere with one 3D annotation-plane PMI view.
|
|
179
|
+
File-native CAD graphics stay untouched on their recorded annotation planes in dark blueprint
|
|
180
|
+
blue (`#0c36c0`), while Specify-created callouts lay out on part-axis-aligned 3D annotation
|
|
181
|
+
planes with feature-attached datums, rim-attached single-leader hole stacks, and
|
|
182
|
+
feature-touching extension lines so the view is identical before and after **Save**. Parts open
|
|
183
|
+
from their saved MBD view or computed **Best view** with solid shading (default transparency 0),
|
|
184
|
+
draw a small RGB `x`/`y`/`z` origin triad when the file states an origin, show pending unsaved
|
|
185
|
+
callouts and notes in burnt amber (`#b84a00`) with a compact bottom-center key (`— Unsaved` /
|
|
186
|
+
`— In file`) instead of floating pills, and omit gap markers on rows routinely defaulted or
|
|
187
|
+
decided `general` or `none`.
|
|
188
|
+
- The review says each length's unit: what is suggested, measured or typed is mm (typing boxes say so);
|
|
189
|
+
what the file states is in the unit it was written in, told from its value, or says none where that
|
|
190
|
+
cannot be told. The panel says "Units: mm" or "File in inches · Specify works in mm"; an inch file's
|
|
191
|
+
feature names say mm. Nothing is written differently: a tolerance typed on an inch file was, and is,
|
|
192
|
+
millimetres. Not labelled: callouts drawn on the model, edge notes ("Break 0.2"), stated thread depths.
|
|
193
|
+
- The inspection files (CSV, AS9102) made from a saved STEP say their units: the text in the unit it was
|
|
194
|
+
written in ("(0.75) in from left face"), the numbers in mm, degrees or µm as a new last CSV column,
|
|
195
|
+
`Unit`, says; AS9102 limits say mm. Float noise is rounded away. A legacy host's preview files are unchanged.
|
|
196
|
+
- A part that is wholly one recognised sheet-metal body with a bend suggests `sheet metal` as its process
|
|
197
|
+
(docs/process.md), unless its material suggests printing; before, `machined`. Marked `check`. As a
|
|
198
|
+
default it is taken with every other default, so accepting all of them on such a part gives sheet
|
|
199
|
+
metal's: no surface finish, edges `Deburr only`, ± dimensions. Recorded expectations change for
|
|
200
|
+
sm-hanger, cgb245 and NIST CTC-03 only; answering `machined` there gives the rules as before.
|
|
201
|
+
- **Quiddity 0.6.0.** Bumped `quiddity` and `haecceity` to `v0.6.0` (haecceity's own Part 21 types and step-io 0.4.0; meshes follow the STEP-selected boundary, quiddity #349, so `cgb207_torus_dense_deviation` runs again). Internal only: no behaviour change for users.
|
|
202
|
+
- **Quiddity 0.5.6.** Bumped `quiddity` and `haecceity` to `v0.5.6` (tangent fillet chains and radius groups, sheet-metal flange bounds, and STEP-selected boundary face integrals; grouped fillet rows remain planned for 0.3.2).
|
|
203
|
+
- **Saved answers use Quiddity's own fingerprints (schema 3) and are never dropped silently.**
|
|
204
|
+
- New saves always write stored-answer schema 3 carrying Quiddity's versioned `geometry` fingerprints (`fingerprint_version`, `scale`, `features`, `faces`) instead of Specify's own 0.001 mm rounded-centroid SHA-256 hash (`faces`). Unique authored `f:` names keep `face_names` (all-named parts use `face_names` alone).
|
|
205
|
+
- Reading schema 3 checks exact match first, then rebinds unchanged parts through `quiddity::correspondence::correspond` when versions match, then falls back to tolerant same-order recovery (same face count, surface kinds in order, centroids and surface parameters within 0.01 mm, including across `fingerprint_version` bumps).
|
|
206
|
+
- Legacy schema 1 and 2 payloads stay readable (with pre-#317 projected-boundary recovery for files like `cgb217` whose centroids shifted when haecceity 0.5.6 switched public `face_moments` to STEP master pcurves) and rewrite as schema 3 on the next save.
|
|
207
|
+
- When stored answers in a STEP file do not match and cannot be recovered, Specify never drops them silently: `analysis.resume_warning`, CLI/serve/MCP warnings, and review `problems` (`code: "saved_answers_not_reused"`, shown in `SpecifyReview`'s problem banner) report `"Saved answers in this file were not reused: the part has changed since they were saved"`.
|
|
208
|
+
- **Quiddity 0.5.5.** Published step levels on every part axis get plane-to-plane length rows.
|
|
209
|
+
Independent plane lengths keep their rows. Stated locations on retired levels appear under
|
|
210
|
+
**Other PMI in the file** when they match no measured row. A stated length on tilted planes
|
|
211
|
+
stays on its matching row. Change its tolerance with `"to": "±0.2"` and the row value as
|
|
212
|
+
`expect`. The edit preserves the nominal length and both supports.
|
|
213
|
+
Faces that only support another feature, such as a round boss cap, get no rows of their own.
|
|
214
|
+
Fillets are unchanged from 0.2 and use the general tolerance. Grouped fillet rows come with
|
|
215
|
+
quiddity 0.5.6 radius groups (Paul, 2026-11-22).
|
|
216
|
+
|
|
217
|
+
- **`write` can save with open gaps** (#228, ADR P11). A successful edit list writes
|
|
218
|
+
the requested requirements and lists the remaining gaps under `missing`.
|
|
219
|
+
- **`pmiScene` item ids changed** (ADR P11, D3): a planned dimension's id no longer says how it
|
|
220
|
+
was stated. `planner:specified:dim:…` and `planner:answered:dim:…` are now `planner:dim:…`, and
|
|
221
|
+
the `planner:stored:dim:…:{nominal}:{tolerance}` form read from a file loses its stored mark and
|
|
222
|
+
its nominal and tolerance (`planner:dim:…`), so one requirement has one id from preview to the
|
|
223
|
+
written file, whatever its value. **Hosts that pair callouts with rows by these ids must update
|
|
224
|
+
them.**
|
|
225
|
+
- **An answer to a question Specify doesn't ask is never dropped silently** (decision D11,
|
|
226
|
+
#126). In a file's stored answers (an older file), one whose question is not asked given the
|
|
227
|
+
other stored answers, or a stored "none" where the file now states the requirement, is reported
|
|
228
|
+
once on reopening and left out of the resumed answers, as a stored answer whose requirement is
|
|
229
|
+
gone already was: each is listed in the analysis's new `resume.dropped_answers` (`id`, `value`,
|
|
230
|
+
`reason`) and named in a warning, and the next save lists it in `not_written` and does not store
|
|
231
|
+
it again. In answers given now, an id that names nothing the part has (a feature it does not
|
|
232
|
+
have, or a kind that feature's family has no question of) refuses the whole list, named with
|
|
233
|
+
its reason (`Invalid answers: hole.position:holes:999: unknown feature holes:999`), in the
|
|
234
|
+
rules (`questions`, `apply`, `preview`, `review`) and the writer; before, the rules ignored it.
|
|
235
|
+
An answer to a real question that is merely not asked now is reported in `not_written` as
|
|
236
|
+
before, and is no longer stored (docs/answers.md).
|
|
237
|
+
- **A hole is located per direction** (decision D8): a location dimension locates, along the
|
|
238
|
+
axis it measures, the holes on its located side and every other hole on the same line from
|
|
239
|
+
the same reference; its reference side locates nothing. A hole's location row is stated when
|
|
240
|
+
every direction is located, otherwise a gap whose `missing` lists the directions left; its
|
|
241
|
+
suggestion then adds only those (no position tolerance, no second location in a located
|
|
242
|
+
direction). A datum hole is not asked its location in the directions it is the origin of
|
|
243
|
+
(docs/answers.md).
|
|
244
|
+
- **A general-tolerance answer writes only its note** (ADR P9, decision D1): approving "ISO
|
|
245
|
+
2768-m" no longer writes the general tolerance's dimensions (every feature's size and
|
|
246
|
+
location, nominal only) as a side effect. Each is written when its own question is approved
|
|
247
|
+
(`hole.function`/`diameter.fit` for a size, `hole.position`/`hole.location` for a hole's
|
|
248
|
+
location); until then the feature table keeps those rows as gaps with their suggestions.
|
|
249
|
+
- **General dimensions have rows** (Paul, 2026-11-21). Plane lengths and hole locations
|
|
250
|
+
without an owning question appear as optional gaps with suggestions such as `14 ±0.2 from B`.
|
|
251
|
+
Approve a row individually or name multiple rows in `accept_suggestions`.
|
|
252
|
+
Answer `none` to record that the dimension is unnecessary. Measurements already in the file
|
|
253
|
+
show as stated.
|
|
254
|
+
- **The local app's review panel** (proposal specify-0.3.0 piece 7; draftwright-project
|
|
255
|
+
proposals/specify-panel.md, accepted with its mock-up). The page lists the part's features from the
|
|
256
|
+
file's feature table, each kind of requirement stated, a gap (with its suggestion as a chip) or
|
|
257
|
+
decided none, and "Other PMI in the file" last. Stated rows have a pencil and a bin, matching and
|
|
258
|
+
uncoloured; change opens one line with the current value first; the bin asks once, in red, and says
|
|
259
|
+
the number is retired. A gap offers Add (pre-filled) and None needed; a decided none offers Undo
|
|
260
|
+
(`clear`). "Other PMI" rows have remove only. Edits are listed in a bar at the bottom and written
|
|
261
|
+
together by Save, as one edit list, all or nothing, or dropped by Discard; each is checked against
|
|
262
|
+
the file (with those already listed) before it joins the bar. Only unsaved edits are highlighted;
|
|
263
|
+
nothing says who wrote a requirement. The general tolerance's line is a row editor (#228): a class,
|
|
264
|
+
or a block of decimal places and their tolerances, an angles line and a note line, written as one
|
|
265
|
+
line of text (`.XX ±.01, .XXX ±.005, angles ±1°`). The part picker opens assembly parts for
|
|
266
|
+
editing and keeps pending edits in one bar, with each entry named for its part. A refused
|
|
267
|
+
None needed explains why on its row. A queued removal can be undone on its row. Notes have
|
|
268
|
+
separate lines. Agent answers can fill gaps. A different answer to a stated row shows a
|
|
269
|
+
discardable refusal with the explicit guarded change to make. Only a staged `change` with
|
|
270
|
+
`to` and `expect` becomes a savable change draft.
|
|
271
|
+
The bar marks when a local edit replaces an agent's answer. **Add all suggestions** queues
|
|
272
|
+
suggestions for the selected part. Save applies the pending edits together, and Undo or
|
|
273
|
+
Discard drops working edits without writing.
|
|
274
|
+
Removed from the app: the questions list and the Answers (JSON) export; the 3D view now
|
|
275
|
+
draws the file's PMI only. Values read as drawn ("⌖ 0.2 A"). Every stated row has the bin; a removal
|
|
276
|
+
sends the numbers, or `{"id": …}` in `items.remove` for a requirement without one. Save with nothing listed says "Nothing to
|
|
277
|
+
save." and writes nothing. `SpecifyReview` no longer says "from the file" (datum chips, stated part
|
|
278
|
+
settings) and its Show menu's "PMI from the file" is "Requirements": origin is never shown.
|
|
279
|
+
`@draftwright/specify-ui`'s worker gains a `check-edits` operation (WASM `checkEdits`). Plane
|
|
280
|
+
lengths appear under “The part”, and hole locations appear with the feature they locate.
|
|
281
|
+
- **Saving is an edit list everywhere** (proposal specify-0.3.0 piece 6, ADR P11): the page, MCP,
|
|
282
|
+
WASM and Python apply an edit list to the file, all or nothing, as `write STEP EDITS.json` does.
|
|
283
|
+
Writing a whole intent from answers is gone from them.
|
|
284
|
+
- **Page contract, session `api` 2** (docs/open.md): `POST save` accepts `{rev, edits}`
|
|
285
|
+
or `{rev, partEdits: [{part, edits}, …]}`. Batch save stages each part and commits the
|
|
286
|
+
file once. A refusal names the part and entry (422), a malformed list returns 400,
|
|
287
|
+
and a stale revision returns 409. Save includes working edits. `POST discard` clears
|
|
288
|
+
one or all working edits. The session holds its lock from the final revision check
|
|
289
|
+
through commit.
|
|
290
|
+
- **MCP:** `check` and `save` accept an edit list for the opened part or a batch in
|
|
291
|
+
`partEdits`. Both combine working answers with explicit edits. `discard` drops working
|
|
292
|
+
answers and refusals without writing. `open` and a successful save return the current
|
|
293
|
+
file's table. Reopening the original after a copy save starts without the saved drafts.
|
|
294
|
+
Another copy requires an edit. Use `check` with `stage: true` to draft explicit changes.
|
|
295
|
+
`write_pmi` and `save`'s `accept_defaults` are removed.
|
|
296
|
+
- **Python:** `api.write(step, edits, output)` applies an edit list (`EditsRefused`, a
|
|
297
|
+
`ValueError` with `failures`, when any entry cannot be applied), and `api.check_edits(step,
|
|
298
|
+
edits)` checks one; the report adds `retired` and `unchanged`. `write(step, intent, output,
|
|
299
|
+
answers=)` was replaced by the edit-list signature.
|
|
300
|
+
- The edit list gains `clear`: it takes back a stored decision that leaves no PMI (a decided
|
|
301
|
+
none, a stored choice), never PMI. A fill of `extra.<name>` adds that requirement, as a 0.2
|
|
302
|
+
answer did; one the file already states is a no-op with the same spec and refused with
|
|
303
|
+
another (remove it by number in the same list to replace it). A 0.2 answers file whose evidence is from another revision is refused as stale
|
|
304
|
+
(`_specify.evidence`), as 0.2's write refused it. MCP `check` refuses as `save` does while
|
|
305
|
+
the session holds unsaved answers.
|
|
306
|
+
- An edit list may fill a choice that is not a requirement and has no feature-table row (how
|
|
307
|
+
holes are located, `part.locating`), checked against its options, or decide it none where
|
|
308
|
+
none is an option; it is stored beside the PMI, and the planner reads it for the rest of the
|
|
309
|
+
list.
|
|
310
|
+
- A part of an assembly is edited through WASM as through `write --part`: `IntentEngine.openPart`
|
|
311
|
+
then `edit`. Its BOM goes in the same list: `fill` of `bom.<field>`, or `accept_suggestions`
|
|
312
|
+
of `bom.<field>` for the BOM's suggestion (what `writePmi`'s `bom` argument did); the BOM is
|
|
313
|
+
appended and every part numbered. A `bom.*` entry on a file with no assembly is refused
|
|
314
|
+
(`bom_no_assembly`).
|
|
315
|
+
- An edit list approves general dimensions through their rows. A thread written without a
|
|
316
|
+
callout reads, in the PMI scene, as its manufacturing data does (`M4×0.7-6H THRU`).
|
|
317
|
+
- Rust: `session::save` (answers) and its approvals are gone; `session::save_edits` takes the
|
|
318
|
+
`rev` the caller saw and refuses a list as `SaveError::Edits(failures)`; `session::check_edits`.
|
|
319
|
+
|
|
320
|
+
- **`diff` reads only the PMI in the two files** ([ADR P11](https://github.com/pzfreo/draftwright-project/blob/main/adr/P11-the-file-is-the-only-copy.md),
|
|
321
|
+
0.3.0 use case 6): reviewing a requirement change is `specify-core diff OLD NEW` between two
|
|
322
|
+
annotated files. It lists requirements added, removed and changed per feature, with their
|
|
323
|
+
characteristic numbers, and the new file's requirements on a feature that moved or changed
|
|
324
|
+
size, to check. Each file is read alone, whoever wrote it: stored answers are never read to
|
|
325
|
+
compare, so the same requirements pair the same way with or without them (items keep their
|
|
326
|
+
`pmiScene` ids and statuses). A change of limits on the same feature and kind
|
|
327
|
+
is `changed` with both values and the same number; a different measurement is one removed
|
|
328
|
+
and another added, also when the last-resort pairing by kind would have joined them; a datum
|
|
329
|
+
relettered on the same faces is `changed`. The geometric matching, the picture and the
|
|
330
|
+
Markdown report are as before.
|
|
331
|
+
- **Removed:** `diff --answers` and the `answers.json` that `diff` wrote; `open --diff`'s
|
|
332
|
+
`--answers` and its default of carrying the answers stored in OLD (the session is NEW's own);
|
|
333
|
+
MCP `open`'s `old_answers` and `diff`'s `doc` and `answers`; Python `api.diff`'s `answers`;
|
|
334
|
+
the report's `answers`, `migrated`, `unresolved`, `questions` and `problems`, and the
|
|
335
|
+
deprecated `pmi.stored`, `pmi.existing`, `pmi.existing_count`, `pmi.answers_from` and
|
|
336
|
+
`pmi.new_stored`; the `problems` verdict. `check` rows are now `{number, id, requirement,
|
|
337
|
+
feature, changes}`. The `_specify_characteristic_numbers` and `_specify_bom` answer
|
|
338
|
+
transports, which only `diff` produced, are no longer produced (the writer still accepts
|
|
339
|
+
them); carrying requirements and numbers to a new revision is for `carry`.
|
|
340
|
+
- The STEP diff action no longer reads `<part>.answers.json` sidecars or reports them stale.
|
|
341
|
+
- `open` and MCP `show` no longer download anything: the first-run download of the app and
|
|
342
|
+
engine, its cache (`app/` and `wasm/` under the user cache directory, which can be deleted) and
|
|
343
|
+
`app.lock.json` (the pin of a specify-ui release) are gone, and with them the `ureq`, `tar`,
|
|
344
|
+
`dirs` and `tempfile` dependencies. `build.rs` builds in the app from `ui/dist-app` (of the same
|
|
345
|
+
version) and the engine from the wasm-pack `pkg/`, gzipped, under the default `bundled-app`
|
|
346
|
+
feature; a build without them still compiles, and its `open` asks for `--app` (or points to
|
|
347
|
+
`pip install specify-core`). With `--app` and no `--wasm`, an app without its own `wasm/` is
|
|
348
|
+
served the built-in engine. See docs/open.md.
|
|
349
|
+
- One `v*` release builds the engine, the command line, the WASM, the Python package and the UI.
|
|
350
|
+
The command line (cli.yml), the wheels and sdist (python.yml) and the crate (crates.yml) each
|
|
351
|
+
build the app and WASM first (bundle.yml) and carry them; each binary and wheel is checked to
|
|
352
|
+
serve its built-in app with no network (tools/open_smoke.py), the crate takes them while it
|
|
353
|
+
stays under crates.io's 10 MB (about 6.8 MB for 0.3.0), and release.yml tests the app against the
|
|
354
|
+
command with the app built in. No app archive is attached to the release; the command-line
|
|
355
|
+
archives carry a build provenance attestation instead. release.yml publishes
|
|
356
|
+
`@draftwright/specify-ui` (environment `npm`) after its engine.
|
|
357
|
+
- The UI builds and tests against the in-repo WASM build (`file:../crates/specify-core-wasm/pkg`)
|
|
358
|
+
and command (`target/release/specify-core`); its `engines.lock.json` (the WASM and command pins)
|
|
359
|
+
is gone.
|
|
360
|
+
- CI filters pull requests by path: a change only under `ui/` skips the Rust jobs, one that does
|
|
361
|
+
not touch `ui/` or a shared file skips the UI jobs. Main and releases run everything. `ci-ok` is
|
|
362
|
+
the one check to require.
|
|
363
|
+
- `pmiScene` statuses are the feature table's states (ADR P11, D3): `stated` (the file has the
|
|
364
|
+
item, whoever wrote it), `gap` (planned for an open gap in a preview) or `decided_none`, in
|
|
365
|
+
place of `answered` / `default` / `general` / `existing`. The `origin` field is gone; a dimension
|
|
366
|
+
the general tolerance governs has `general: true`. Item ids no longer say how a requirement was
|
|
367
|
+
stated (`planner:dim:hole:9/bore.diameter`, not `planner:specified:…`), and a Specify-written
|
|
368
|
+
file names its numbered requirements as the preview did, so an item keeps its id from preview
|
|
369
|
+
to file. The UI draws stated items as the file's PMI and gaps as Specify's.
|
|
370
|
+
- A value read from the file is labelled `file`, whoever wrote it (ADR P11, D5a): the BOM's
|
|
371
|
+
material source and the process attribute's source (`analysis.process`, `process::of`,
|
|
372
|
+
`process::read`) no longer say `answered` for a value Specify wrote. An accepted, marked process
|
|
373
|
+
suggestion still reads as `default`.
|
|
374
|
+
|
|
375
|
+
- A saved answer with no requirement for it in the file now warns "saved answer {id} ({value}): no
|
|
376
|
+
requirement for this answer in the file; the question is open again", once per answer (ADR
|
|
377
|
+
P11, D6).
|
|
378
|
+
- The reviewed WASM size ceiling is raised from 16,500,000 to **17,000,000** bytes (approved by Paul,
|
|
379
|
+
2026-11-22, for the 0.3.0 feature set), after the integrated 0.3.0 stack measured 16,568,361 bytes.
|
|
380
|
+
Raised again to **18,000,000** bytes (approved by Paul, 2026-11-24) at 0.3.0-rc.2, which measured
|
|
381
|
+
16,988,345 bytes on Linux CI, 11,655 under 17,000,000. Raised again to **20,000,000** bytes
|
|
382
|
+
(approved by Paul, 2026-11-27) for Quiddity 0.6.0 and the Save read cache, which together
|
|
383
|
+
measured 17,923,913 bytes, 76,087 under 18,000,000.
|
|
384
|
+
|
|
385
|
+
### Removed
|
|
386
|
+
|
|
387
|
+
- The command-line whole-intent writer. Use
|
|
388
|
+
`write STEP EDITS.json` and name any suggestions to accept in `accept_suggestions`.
|
|
389
|
+
|
|
390
|
+
- **Answers export** ([ADR P11](https://github.com/pzfreo/draftwright-project/blob/main/adr/P11-the-file-is-the-only-copy.md):
|
|
391
|
+
no export of answers as a record; the file is the only copy): CLI `questions
|
|
392
|
+
--resolve-defaults` and its approval-file option, serve `export_answers`, MCP
|
|
393
|
+
`export_answers`, Rust `api::export_answers` (with `api::Exported` and
|
|
394
|
+
`api::APPROVALS_FORM`), Python `api.export_answers` and WASM `exportAnswers`. Answer files
|
|
395
|
+
written earlier are still read (`--answers`, `write`, `answers_file`).
|
|
396
|
+
|
|
397
|
+
### WASM API
|
|
398
|
+
|
|
399
|
+
- Renamed with the package: the npm package is `@draftwright/specify-pmi-wasm` and the generated
|
|
400
|
+
module is `specify_pmi_wasm.js` (`specify_pmi_wasm_bg.wasm`, `specify_pmi_wasm.d.ts`). Import from
|
|
401
|
+
the new names; the exports are otherwise unchanged.
|
|
402
|
+
- `IntentEngine.edit(editsJson, project?, payload?)`: an edit list (or a 0.2 answers file)
|
|
403
|
+
applied to the file in memory, all or nothing: `{written: true, bytes, report, source_sha256}`
|
|
404
|
+
(the report with `retired` and `unchanged`), or `{written: false, failures, message}` naming
|
|
405
|
+
every entry that cannot be applied. A part opened with `openPart` is edited in the original
|
|
406
|
+
assembly. Open the returned bytes before the next edit. Optional `project` or `payload`
|
|
407
|
+
replaces the value stored under that name and retains the original part record.
|
|
408
|
+
- `IntentEngine.checkEdits(editsJson)`: the list checked against the file, as `write --check`
|
|
409
|
+
checks it without writing.
|
|
410
|
+
- `IntentEngine.table()`: the feature table, `{rows, file_pmi, decided_none}`.
|
|
411
|
+
- Removed (Specify 0.3.0, "What goes away"): `IntentEngine.writePmi` (writing a whole intent; use
|
|
412
|
+
`edit`), `IntentEngine.acceptDefaults` (the free `acceptDefaults(analysis, answers)` stays, for
|
|
413
|
+
previews). `rematchAnswers` stays: the editor matches the answers its project keeps to the
|
|
414
|
+
part with it.
|
|
415
|
+
- `diff(oldName, oldBytes, newName, newBytes, title, scenes?)`: the unused fifth argument
|
|
416
|
+
(`_answers`) is removed.
|
|
417
|
+
|
|
418
|
+
- `exportAnswers(answers, approved?)` is removed: there is no export of answers as a record
|
|
419
|
+
(ADR P11).
|
|
420
|
+
- `AnswerEvidence.faces` is now optional (`faces?: string`): schema 3 evidence stores Quiddity's
|
|
421
|
+
versioned `geometry` fingerprints (and/or `face_names`) instead of Specify's legacy `faces` hash.
|
|
422
|
+
|
|
423
|
+
### Fixed
|
|
424
|
+
|
|
425
|
+
- Saving is faster: each file's PMI is read once per save, an edit that removes nothing is not
|
|
426
|
+
re-analysed, and an assembly's parts are analysed from one load. A two-part assembly save
|
|
427
|
+
took 36.7 s and now takes 21.9 s on one machine; a single part, 0.63 s and now 0.43 s. The
|
|
428
|
+
saved file is byte-for-byte the same.
|
|
429
|
+
- `open` and MCP `show`: only a request with the right `Host` and token counts as activity. A refused
|
|
430
|
+
one no longer keeps a forgotten server running or cancels a close. The app no longer contains
|
|
431
|
+
three-cad-viewer's polyhaven.org address (its Studio lighting, which is off and the CSP refuses).
|
|
432
|
+
- MCP `show`: when the agent exits while an open page holds unsaved edits, the page is served until they
|
|
433
|
+
are saved or discarded, or it is closed. If the command stops anyway, the page offers the unsaved edits
|
|
434
|
+
as files for `specify-core write`. Closing a tab warns for edits held in the page too (it looked only
|
|
435
|
+
at the session's answers).
|
|
436
|
+
- Local app: after a save, the page shows the file the session wrote (a copy, or the input in place): the tab title,
|
|
437
|
+
heading, path and panel title take its name, and a reload opens it, not the input; `config.savedPath` says where it is
|
|
438
|
+
(docs/open.md). If that copy was changed or removed since, the page says so and opens the input. A saved file's own
|
|
439
|
+
"General notes" graphic is no longer drawn on the model beside the notes panel. The edits kept when a save lands are
|
|
440
|
+
those not sent with it. Known limits: a same-row change made while a save is running can be refused again; a rare failed
|
|
441
|
+
reopen can lose a revert; a renamed note attribute can still lose its graphic.
|
|
442
|
+
- Local app: the 3D view is beside the panel, as in the editor. In 0.3.0-rc.2 it ran under it, so the
|
|
443
|
+
view's own controls (Show, turning, zoom, fit, home, see-through, the orientation cube and the part
|
|
444
|
+
filter) could not be reached on a wide window.
|
|
445
|
+
- Stated BOM values now require a guarded `change` in edit lists. The feature table
|
|
446
|
+
shows native data and explicit STEP property overrides as stated, with default
|
|
447
|
+
proposals left as gaps.
|
|
448
|
+
- `fill` on a decided-none row was accepted; the 0.3.0 model treats it as a decision.
|
|
449
|
+
To replace it, send `clear` and `fill` for its ID in one edit list. An equal fill is
|
|
450
|
+
unchanged, including when both answers mean none.
|
|
451
|
+
- `fill` could also overwrite a stored choice such as `part.locating`. Repeating the
|
|
452
|
+
choice is unchanged. To replace it, send `clear` and `fill` for its ID in one list.
|
|
453
|
+
- Diff and carry exclude features with a stored decision from `new_unstated`.
|
|
454
|
+
- Assembly carry preserves a decided-none material when copying the BOM.
|
|
455
|
+
- Multipart `serve` writes and Python's analysis-based planning reuse saved decisions
|
|
456
|
+
when the caller omits those answers, including when taking defaults.
|
|
457
|
+
- Writer refusals explain when a prerequisite such as the general tolerance needs both
|
|
458
|
+
`clear` and `fill` because it was decided none.
|
|
459
|
+
- `@draftwright/specify-ui`: confirming Material and then moving focus sends one answer, with the
|
|
460
|
+
catalogue spelling for an exact case-insensitive match. Quick edits to different questions keep
|
|
461
|
+
both answers when the first review is still pending.
|
|
462
|
+
- Changing or removing a requirement on a shared feature preserves its other requirements,
|
|
463
|
+
including thread manufacturing data. Scoped saves replace the previous caller project.
|
|
464
|
+
- Carry verifies that numbered requirements are present in its output and reports omissions.
|
|
465
|
+
Kept-thread comparisons include manufacturing data.
|
|
466
|
+
- MCP Save returns the saved feature table and analysis resources follow the session’s saved file.
|
|
467
|
+
- General tolerances can be changed on assembly parts. Typed tolerance blocks and ISO classes
|
|
468
|
+
can be replayed, and free-text lines are kept in the general tolerance note.
|
|
469
|
+
|
|
470
|
+
- A reopened file's preview no longer plans the general dimensions the file already states
|
|
471
|
+
(ADR P11), so the app's inspection list showed them twice, once as planned and once as the
|
|
472
|
+
file's. The file's own rows in that list now read as planned ones: a location dimension is on
|
|
473
|
+
the faces it locates, "from" its reference, and the file's surface texture keeps its number.
|
|
474
|
+
A thread and a tolerance now read as planned there too (`M2×0.4-6H`, `⌖ ⌀0.3 Ⓜ`), from the
|
|
475
|
+
engine's read-back fields; one stating more than its fields hold reads its whole text.
|
|
476
|
+
- The read-only view folds the dimensions a file states under its general tolerance into the
|
|
477
|
+
"N dimensions under ISO 2768-m" row again (they are the file's own now, not planned).
|
|
478
|
+
- A stated ⌀3.3 H11, ⌖ ⌀0.3 Ⓜ and M2×0.4-6H no longer read back as `⌀3.3`, `⌖ 0.3` and
|
|
479
|
+
`internal thread` (a 0.3.0 regression from reading stated PMI from the file, ADR P11).
|
|
480
|
+
- MCP `answer` stages an edit against the current STEP value when a row is already
|
|
481
|
+
stated. Accepting the same value is a no-op. Save checks the stated value before committing.
|
|
482
|
+
- An approval the planner writes nothing for (a ⌀ left to the general tolerance on a datum's own
|
|
483
|
+
faces) is no longer dropped silently: `not_written` says what was approved and that nothing
|
|
484
|
+
of its kind was written, it is stored (`no_pmi`), and on reopening its row is decided on every
|
|
485
|
+
route (the command line's `questions` and `write` and `serve` now take the file's stored
|
|
486
|
+
decisions as answered, as the sessions do), so `questions --open` no longer lists it and a
|
|
487
|
+
plain `write` of the saved file no longer refuses "incomplete".
|
|
488
|
+
- A location the planner shares across several holes is written unless the file already
|
|
489
|
+
locates every one of them: on NIST CTC-05, 263.525 from face 9 to holes 37, 51/53 and 54/56
|
|
490
|
+
was left out because hole 37 (datum B) is located, and the other holes lost their only x
|
|
491
|
+
location.
|
|
492
|
+
- Stated text reads as a drawing does: no float noise (`⌀1.06500000000426` → `⌀1.065`), no
|
|
493
|
+
trailing zeros (`0.016000` → `0.016`), and a dimension with no value in words (`Diameter,
|
|
494
|
+
no value stated`, not `⌀` or `Location_LinearDistance`).
|
|
495
|
+
- A save that changes nothing keeps the file's bytes in an assembly whose parts are written in
|
|
496
|
+
different modes (one with PMI added to, one without replaced); before, only all-Add or
|
|
497
|
+
all-Replace saves did, and the stored-answer blocks were renumbered.
|
|
498
|
+
|
|
499
|
+
- Datum C is no longer asked once datum B is answered none, nor B (or C) once A is: a datum
|
|
500
|
+
without the one before it makes no sense. A letter already given stays asked, so its answer can
|
|
501
|
+
still be seen and removed.
|
|
502
|
+
- Later saves of an `open` (or MCP) session update the copy that session's last save wrote,
|
|
503
|
+
instead of writing a new numbered copy each time. A file the session did not write, or its copy
|
|
504
|
+
once changed or removed by anyone else, is never overwritten: the save takes the next free name.
|
|
505
|
+
|
|
506
|
+
## 0.2.1 (2026-11-20)
|
|
507
|
+
|
|
508
|
+
Read first:
|
|
509
|
+
|
|
510
|
+
- **No `--app` needed:** `specify-core open` and MCP `show` download the pinned Specify app
|
|
511
|
+
(specify-ui v0.2.0) and the matching WASM engine on first use, verify their SHA-256, and cache
|
|
512
|
+
them. `--app`/`SPECIFY_APP_DIR` and `--wasm`/`SPECIFY_WASM_DIR` still override.
|
|
513
|
+
- **Fixed: saves delete less.** Answers that write no PMI (no coating, a general hole, no
|
|
514
|
+
flatness on a datum) are resumed on reopening instead of asked again, unless the file now says
|
|
515
|
+
otherwise. A general note another tool added is no longer removed when an empty notes answer is
|
|
516
|
+
stored (the known issue in 0.2.0's notes). Edited printed general tolerances, a second flatness,
|
|
517
|
+
another tool's manufacturing process and another tool's hole position answered afresh are kept.
|
|
518
|
+
- **Fixed: a part with a face whose area cannot be computed** (a degenerate face some
|
|
519
|
+
converters write) opens instead of being refused. That face is left out and reported as
|
|
520
|
+
`unmeasured_face`, and the part has no planned dimensions (details under Fixed).
|
|
521
|
+
- **Rust API:** `features::Face.area` and `Face.centroid` are now `Option` (absent for an
|
|
522
|
+
unmeasured face), and the WASM types mark them optional; Rust callers that read them need
|
|
523
|
+
updating. The JSON only leaves them out for faces that used to refuse the whole part.
|
|
524
|
+
- **Conflict handling changes in 0.3.0.** In 0.2.x another tool's requirement is keep-only and
|
|
525
|
+
`not_written` says to change it in that tool; the "use my answer" choice 0.2.0 announced does not
|
|
526
|
+
come in 0.2.x. 0.3.0 treats the file's PMI the same whoever wrote it and lets a person or an AI
|
|
527
|
+
change or remove any of it on purpose (ADR P11).
|
|
528
|
+
- **Known issue:** on a file an older Specify wrote (0.1.7), the editor's live preview can list
|
|
529
|
+
location dimensions that saving then removes, and leave out ones that saving keeps. `write`'s
|
|
530
|
+
"retired characteristic numbers" warning names what a save removed. 0.3.0 is planned to stop
|
|
531
|
+
removing them (ADR P11).
|
|
532
|
+
|
|
533
|
+
### Added
|
|
534
|
+
|
|
535
|
+
- `open` and MCP `show` can download and cache a pinned Specify app and the release-matched
|
|
536
|
+
WASM engine, with SHA-256 verification and a session API check. Local app and engine overrides
|
|
537
|
+
remain available. `app.lock.json` pins specify-ui v0.2.0 (page contract `api` 1).
|
|
538
|
+
- The page's `config` gives `api`, the version of the page contract (docs/open.md): 1, the
|
|
539
|
+
contract of 0.2.0. It changes only in a minor release, so an app can check it is built for
|
|
540
|
+
the command serving it.
|
|
541
|
+
- The page's `GET file?rev=saved` serves the bytes the session's last save wrote (a copy
|
|
542
|
+
beside the input, or the input after an in-place save, whether the page or an AI client saved),
|
|
543
|
+
with the path in `X-Specify-Path`. It is 404 before a save, and 409 (or 404) if that file has
|
|
544
|
+
changed (or gone) on disk since: other bytes are never served.
|
|
545
|
+
|
|
546
|
+
### Fixed
|
|
547
|
+
|
|
548
|
+
- A face whose area and centroid cannot be computed (a cylinder bounded by one closed circle,
|
|
549
|
+
as some converters write a degenerate face) no longer refuses the whole part. Its entry in
|
|
550
|
+
`faces` keeps its place (position = `id`) with no `area` or `centroid` and
|
|
551
|
+
`unmeasured: true`; it is left out of every feature that uses it (and of a hole pattern with
|
|
552
|
+
such a member, whatever quiddity reports for it), so of the questions, anchors, diff face
|
|
553
|
+
changes and written PMI. The analysis reports it: an additive `unmeasured_faces` list of
|
|
554
|
+
`{face, reason, detail}`, a `warning` problem with `code: "unmeasured_face"` in the review,
|
|
555
|
+
and a warning in the CLI, serve and MCP. The rest of the part opens, is specified and written.
|
|
556
|
+
Such a part has no planner frame (quiddity needs the solid's volume), so its rule-made
|
|
557
|
+
intent is written without planned dimensions, and a `dimensions_not_planned` problem and a
|
|
558
|
+
warning in the analysis and the write report say so; only that frame failure is tolerated.
|
|
559
|
+
`Face.area` and `Face.centroid` are `Option` in the Rust API. A face whose surface did not
|
|
560
|
+
resolve keeps its refusal, and the mesh lists the face as not triangulated.
|
|
561
|
+
For pzfreo/quiddity#303.
|
|
562
|
+
- Reopening can resume a no-PMI face answer when each file item on its target faces has
|
|
563
|
+
an exact match in the stored answers' plan or the available plan with remaining
|
|
564
|
+
defaults accepted. Datum questions check both versions of the same datum. Part settings
|
|
565
|
+
compare every file entry, including each note, regardless of authorship. Withheld
|
|
566
|
+
answers follow ordinary file-PMI handling and stay in the file for reevaluation.
|
|
567
|
+
That release’s batch approval stored the defaults it took that wrote no PMI.
|
|
568
|
+
- Saves preserve edited printed general-tolerance notes and marked tolerances hidden by
|
|
569
|
+
imported tolerances. If comparison fails, reopening withholds the saved answers while
|
|
570
|
+
protecting the file's readable PMI (with an analysis warning from the CLI, serve, MCP and
|
|
571
|
+
Python; not yet from WASM or the page's session).
|
|
572
|
+
- Reopening a STEP file detects manufacturing-process edits and removals against saved
|
|
573
|
+
answers even after the STEP provenance markers have been stripped. CLI and editor
|
|
574
|
+
rewrites preserve unmarked foreign process attributes, including text outside Specify's
|
|
575
|
+
options. A Keep of Specify's process permits later replacement of the UDA with the
|
|
576
|
+
recorded property-set name and items.
|
|
577
|
+
- A fresh answer no longer replaces another tool's requirement. After a save kept another
|
|
578
|
+
tool's hole position over a contradicted stored answer, reopening read it as the file's
|
|
579
|
+
answer together with Specify's own location dimensions, and answering the question again
|
|
580
|
+
replaced it (CLI, editor `writePmi` and MCP; also in 0.2.0). Such a question is now
|
|
581
|
+
`resume.foreign`, not asked, and its answer is neither written nor stored. A Keep of a
|
|
582
|
+
foreign conflict is no longer stored as permission to replace it. `not_written` names the
|
|
583
|
+
cause: "another tool's requirement holds this question; keep it, or change it in that tool".
|
|
584
|
+
Known limit: a file saved by 0.2.0 after such a Keep still records it, and an answer can
|
|
585
|
+
still replace that requirement.
|
|
586
|
+
|
|
587
|
+
### WASM API
|
|
588
|
+
|
|
589
|
+
- `AnalysisFace.area` and `AnalysisFace.centroid` are optional, and `AnalysisFace.unmeasured?: boolean` is added: a face whose area and centroid cannot be computed keeps its place in `analysis.faces` with `unmeasured: true` and no area or centroid. Other faces are unchanged. For pzfreo/quiddity#303.
|
|
590
|
+
- `IntentEngine.review` can withhold no-PMI answers where the file states PMI with no
|
|
591
|
+
exact match in either comparison plan.
|
|
592
|
+
`IntentEngine.writePmi` retains those file requirements on save.
|
|
593
|
+
|
|
594
|
+
### Known limits
|
|
595
|
+
|
|
596
|
+
- When another tool strips all of Specify's markers from a replace-written STEP file and
|
|
597
|
+
leaves no process evidence, rewrites restore saved answers and drop edited items, as in 0.2.0.
|
|
598
|
+
|
|
599
|
+
## 0.2.0 (2026-11-19)
|
|
600
|
+
|
|
601
|
+
Read first:
|
|
602
|
+
|
|
603
|
+
- **Fixed: rewriting a file Specify wrote no longer drops PMI** (ADR P9; details under Fixed).
|
|
604
|
+
Before, a rewrite from the editor, `write` or a session dropped PMI another tool had added,
|
|
605
|
+
and defaults written but never stored as answers. Two cases are still dropped, as before: a
|
|
606
|
+
default whose faces another tool moved, and Specify-marked PMI written from a raw intent where
|
|
607
|
+
no default exists.
|
|
608
|
+
- **Preview:** the Specify page (`specify-core open`, `open --diff`) and MCP `show` need the
|
|
609
|
+
built app until it is bundled: `--app DIR` or `SPECIFY_APP_DIR` (and `--wasm DIR` or
|
|
610
|
+
`SPECIFY_WASM_DIR` when the engine is not in the app's `wasm/`). For MCP `show`, only the
|
|
611
|
+
environment variables.
|
|
612
|
+
- **Conflicts with another tool's PMI:** when a requirement another tool wrote contradicts a
|
|
613
|
+
stored answer, Specify offers only to keep the file's requirement; it never replaces it. A
|
|
614
|
+
"use my answer" choice comes in the next release.
|
|
615
|
+
- **Asked again on reopening:** defaults taken that write no PMI (no coating, a general hole,
|
|
616
|
+
no flatness on a datum) leave nothing in the file to read back, so a reopened file asks them
|
|
617
|
+
again. Answers given and stored are resumed.
|
|
618
|
+
- **Exports take only approved defaults** (`questions --resolve-defaults`, serve, Python, WASM
|
|
619
|
+
`exportAnswers`): pass the approvals to keep an export complete. The editor's Answers (JSON)
|
|
620
|
+
export is unchanged until the editor sends approvals.
|
|
621
|
+
- **Upgrading from 0.1.18** (details below): `specify-core open` no longer takes `--site` or
|
|
622
|
+
`--editor` and no longer hands the file to draftwright.io; MCP `write_pmi` refuses a boolean
|
|
623
|
+
`accept_defaults` (pass the approved defaults with their values); Rust `api::export_answers`
|
|
624
|
+
takes approvals and returns `Exported {answers, missing}`; `analyse`'s `resume` gains
|
|
625
|
+
conflicts and `present`, and a reopened file's `existing` and `part` are no longer empty; the
|
|
626
|
+
page's Save sends `{rev, acceptDefaults}`, not the STEP's bytes.
|
|
627
|
+
|
|
628
|
+
### Added
|
|
629
|
+
|
|
630
|
+
- docs/rule-sources.md: where each of Specify's defaults and tables comes from (standard,
|
|
631
|
+
edition where recorded, convention, vendor figure or assumption) and where it is in the code,
|
|
632
|
+
with the review still open (for #196).
|
|
633
|
+
- Every default carries a structured `source` beside its `basis`: `{rule, kind, refs}`, the
|
|
634
|
+
rule's stable id, `standard`/`convention`/`vendor`/`assumption`, and the standards it cites
|
|
635
|
+
(edition and clause where recorded). In `api::review` and WASM `review`, the MCP `questions`
|
|
636
|
+
tool, Python `Question.source`, and CLI `questions --sources` / serve `questions` with
|
|
637
|
+
`"sources": true` (without them the Python-compatible document is unchanged); `review` and MCP
|
|
638
|
+
`characteristics` give `sources` beside the preview intent, and answer exports `_specify.sources`.
|
|
639
|
+
Additive: `Question::to_dict`, intents written and the STEP are unchanged. Rule ids are
|
|
640
|
+
listed in docs/rule-sources.md (for #196).
|
|
641
|
+
- Agent-first Specify sessions (docs/session.md): `specify-core mcp` holds each opened file's
|
|
642
|
+
answers as a session with a `rev` and its last 256 changes, and its new `show` tool serves the
|
|
643
|
+
Specify page (docs/open.md) for that session on 127.0.0.1 and opens the browser, so the agent
|
|
644
|
+
and the person edit one set of answers. New MCP tools `changes` (what changed since a `rev`),
|
|
645
|
+
`show` and `save` (the specified STEP written beside the file, or over it when opened
|
|
646
|
+
`in_place`; `accept_defaults` required, the defaults the person approved with the values they saw). `open` takes `old`, `old_answers` and `in_place`,
|
|
647
|
+
and with `old` compares the revisions as `diff` does and starts from the carried answers;
|
|
648
|
+
every tool that reads the answers returns `rev`. `answer` takes `partial: true` (every valid
|
|
649
|
+
answer applied in one rev, each id's outcome or refusal given) and `questions` `compact: true`
|
|
650
|
+
(the open questions as `{id, prompt, choices or hint, suggested?, rule?}`); the server's
|
|
651
|
+
instructions give the two agent patterns (intent known: answer in one call, ask the gaps;
|
|
652
|
+
no context: `show`) and ADR P9 (never a default as intent). Set up with
|
|
653
|
+
`claude mcp add specify -- specify-core mcp`.
|
|
654
|
+
- `specify-core open --diff OLD NEW [--answers FILE]`: the page shows what changed (`GET diff`,
|
|
655
|
+
what WASM `diff()` returns, `{report, markdown, view}` or for an assembly
|
|
656
|
+
`{report, markdown, parts}`, built by the same code, now `revision::part_diff` and
|
|
657
|
+
`revision::assembly_diff`; `GET file?rev=old`) and starts from the answers `specify-core diff`
|
|
658
|
+
carries to NEW; Save writes NEW.
|
|
659
|
+
- The page server holds the session: `GET`/`PUT answers` (a stale `rev` is refused with the
|
|
660
|
+
current answers) and `GET events` (server-sent events: the state, then every change and save,
|
|
661
|
+
at most 4 streams); `config` gains `mode`, `path`, `part`, `oldName` and `oldPath`.
|
|
662
|
+
|
|
663
|
+
### Changed
|
|
664
|
+
|
|
665
|
+
- Answer exports no longer take every default (ADR P9: a default becomes intent only when the
|
|
666
|
+
person approves it). `api::export_answers`, CLI `questions --resolve-defaults`, serve
|
|
667
|
+
`export_answers`, WASM `exportAnswers` and Python `api.export_answers` export the answers given
|
|
668
|
+
plus exactly the defaults approved by part, `{"<part>": {"<id>": value}}` with the value the
|
|
669
|
+
person saw (the former CLI approval-file option, serve and Python `accept_defaults`, WASM's second
|
|
670
|
+
argument); without approvals, no defaults. An approval that is not an open question's
|
|
671
|
+
default, or whose default has changed, is refused naming the part and question (serve adds
|
|
672
|
+
`expected` and `current`). Another part's approvals do not apply. Open questions and carry
|
|
673
|
+
blocks no longer refuse an export: it is written incomplete, blocks kept in
|
|
674
|
+
`_specify.unresolved`; serve's result adds `complete` and `missing`, and the CLI lists the
|
|
675
|
+
open questions on stderr. `api::export_answers` now returns `Exported {answers, missing}`;
|
|
676
|
+
`api::with_approved` is the one approval check, shared with the page's Save and MCP.
|
|
677
|
+
`exportAnswers` now needs approvals for defaults; the editor's Answers (JSON) export, which
|
|
678
|
+
uses `acceptDefaults`, still includes every default until the editor moves to
|
|
679
|
+
`exportAnswers` with approvals.
|
|
680
|
+
- On reopening a file Specify wrote, the PMI is the truth (ADR P9 §3): `analyse` reads the
|
|
681
|
+
file's PMI and part settings first and compares them item by item with what the stored
|
|
682
|
+
answers would write (the revision diff's PMI item matching, every face its own). Answers
|
|
683
|
+
the file agrees with resume (`resume.answers`) and their items are not repeated; defaults
|
|
684
|
+
the file states as written but never stored as answers are `resume.present` (answered by
|
|
685
|
+
the file, still answerable); Specify's PMI no stored answer states, stated otherwise than
|
|
686
|
+
its default, answers its question (`resume.file`, kept on writing, not a conflict); the
|
|
687
|
+
file's other PMI is `existing` and `part` (before, a resumed file gave `existing: []` and
|
|
688
|
+
`part: {}`). A stored answer the file
|
|
689
|
+
changed or removed is a conflict, `resume.conflicts: [{id, stored, file}]` with an analysis
|
|
690
|
+
warning each: the file's items stay in `existing` tagged `question`, the answer is not
|
|
691
|
+
resumed and its question is not asked until decided, by answering it (restore; the file's
|
|
692
|
+
items give way on writing) or listing it in `_specify.keep` (keep the file's). `review`,
|
|
693
|
+
WASM `review` and MCP `open`/`questions` present undecided conflicts as `conflicts`
|
|
694
|
+
(`kind: "conflict"`, choices keep/restore); MCP `answer` takes `keep: [id]`, and the tool
|
|
695
|
+
descriptions tell an agent to put conflicts to the person, never decide them. Rewriting a
|
|
696
|
+
reopened part keeps PMI another tool added and undecided conflicts' items: a
|
|
697
|
+
replace-written part with unmarked PMI is rewritten as a scoped Add, replacing only
|
|
698
|
+
Specify's marked requirements (before, a rewrite dropped the added PMI, and the editor's
|
|
699
|
+
preview write dropped defaults written but not stored). Files from before #22, with no
|
|
700
|
+
marked requirements, open and rewrite as before. See docs/answers.md.
|
|
701
|
+
- `specify-core open STEP` serves the Specify app itself on 127.0.0.1 instead of handing the
|
|
702
|
+
file to draftwright.io: the app, the engine, the file and its settings are served under a
|
|
703
|
+
random one-off path, and Specify's Save writes the specified STEP next to the input
|
|
704
|
+
(`<name>.specified.step`, then `-2`, `-3`, …; never overwriting), or over it with
|
|
705
|
+
`--in-place` (the original kept once per run as `.bak`; a link's target is replaced and the
|
|
706
|
+
link kept). Saves go beside the path as given, even when it is a link. `--read-only` refuses
|
|
707
|
+
saves, `--port N` picks the port. Nothing depends on draftwright.io and Chrome no longer asks
|
|
708
|
+
about local-network access. An open page sends a heartbeat (`GET config`) every 30 s; the
|
|
709
|
+
command stops 90 s after the last page is closed, or after 30 minutes without a request.
|
|
710
|
+
Until the app is bundled, `--app DIR` (or `SPECIFY_APP_DIR`) names the built app and
|
|
711
|
+
`--wasm DIR` (or `SPECIFY_WASM_DIR`) the engine's wasm-pack `pkg/`. The contract for the
|
|
712
|
+
app's authors is docs/open.md.
|
|
713
|
+
- Save from the page sends `{rev, acceptDefaults}` (JSON; `acceptDefaults` required, by part
|
|
714
|
+
`{"<part>": {"<id>": <value>}}`, exactly the defaults the person approved with the values
|
|
715
|
+
they saw, checked against the current defaults and applied together on that part only, ADR P9), not the STEP bytes. A save writes only parts with answers, and a part
|
|
716
|
+
joining the session is a change (`joined`): the command writes the session's answers with `specify-core write`'s writer, so a
|
|
717
|
+
save from the page and one from the agent write the same file. An incomplete save is written
|
|
718
|
+
(what is answered, the answers stored so reopening resumes them) and answers `complete` and
|
|
719
|
+
`missing`; an in-place save always writes from the file as opened, and refuses (409) a file
|
|
720
|
+
changed on disk by another program. `--read-only` also refuses answer changes.
|
|
721
|
+
- MCP `write_pmi` and `export_answers` no longer take every default (ADR P9): they write or
|
|
722
|
+
export what is answered plus exactly the `accept_defaults` given (`{"<id>": <value>}`, the
|
|
723
|
+
values the person saw, checked against the current defaults), incomplete allowed, with
|
|
724
|
+
`complete` and `missing`; `write_pmi`'s boolean `accept_defaults` is refused.
|
|
725
|
+
- `specify-core diff`, MCP's `diff` and the sessions compare through one function
|
|
726
|
+
(`revision::compare`).
|
|
727
|
+
|
|
728
|
+
### Removed
|
|
729
|
+
|
|
730
|
+
- `specify-core open`'s `--site` and `--editor`, and its handoff to
|
|
731
|
+
draftwright.io/specify?open=….
|
|
732
|
+
|
|
733
|
+
### Fixed
|
|
734
|
+
|
|
735
|
+
- Reopening and writing again a file Specify wrote no longer drops PMI (ADR P9): requirements
|
|
736
|
+
another tool added (unmarked), defaults written but never stored as answers, a stored answer
|
|
737
|
+
the file contradicts (until the person decides), and a conflict kept are all kept, through
|
|
738
|
+
the CLI's `write`, WASM `writePmi`, a session save and MCP; another tool's requirement in
|
|
739
|
+
conflict stands against any answer, saved answers included. Known limits, both also lost
|
|
740
|
+
before this change: a default whose faces another tool moved, and Specify-marked PMI
|
|
741
|
+
written from a raw intent where no default exists, are still dropped on rewrite.
|
|
742
|
+
- `diff` on a symmetric part, where the old part fits the new one turned (180° say) as well as
|
|
743
|
+
it lies, broke the tie by the file's frame without saying so. It still matches in the file's
|
|
744
|
+
frame, now a stated rule in docs/diff.md, and says so: report.md's "Matched in the file's
|
|
745
|
+
frame; a 180° turn about Z fits equally." and report.json's `frame_tie`. The verdict and
|
|
746
|
+
carried answers are unchanged.
|
|
747
|
+
- `diff`'s PMI change list paired a removed hole's requirement with the one on the hole that
|
|
748
|
+
took its face numbers ("80 → 30") through their shared face-numbered id. A same-id pair now
|
|
749
|
+
must agree with the face correspondence, so the removed hole's requirements are removed and
|
|
750
|
+
the surviving holes' unchanged. A removal is `retired` only from a carried number history:
|
|
751
|
+
with fresh numbers it is `removed`, so a number is no longer listed as retired and given to
|
|
752
|
+
another item. Carried answers and written PMI are unchanged.
|
|
753
|
+
- `diff` reported a body or a hole pattern as moved when a hole was cut into it or its holes
|
|
754
|
+
were resized ("thin wall body: moved X −0.1", "1 hole pattern moved"): its centroid moved,
|
|
755
|
+
its faces did not. A feature now moves only when its faces do. A pocket or slot moved on a
|
|
756
|
+
part too sparse to align (only face lines before) is now reported moved.
|
|
757
|
+
- `diff` named a thin wall body a "thin wall bodie"; families ending in `-ies` now read `-y`.
|
|
758
|
+
- `diff`'s requirements to check repeated a feature's change for each of its requirements and
|
|
759
|
+
named a position tolerance by its planned locations ("70; 50; 50; 35; ⌖ ⌀0.2Ⓜ A B C"). One
|
|
760
|
+
line now names the change once, with each requirement as the PMI list names it.
|
|
761
|
+
- `diff` counted a requirement that was only numbered differently as a change to the PMI. It is
|
|
762
|
+
counted apart in the summary ("N characteristic numbers changed (requirements unchanged)"),
|
|
763
|
+
and Markdown lists it after the changes as unchanged.
|
|
764
|
+
- The release's npm job failed for 0.1.18: `npm pack` read the relative `release/pkg` as a
|
|
765
|
+
GitHub repository. `tools/npm_package.py` passes an absolute path; a test packs a relative
|
|
766
|
+
directory with npm.
|
|
767
|
+
|
|
768
|
+
### WASM API
|
|
769
|
+
|
|
770
|
+
- `engine.exportAnswers(answersJson, approvalsJson?)`: exports the answers given plus exactly the
|
|
771
|
+
defaults in `approvalsJson` (`{"<part>": {"<id>": value}}`; none when absent), never every
|
|
772
|
+
default (ADR P9). Open questions and carry blocks no longer throw; an approval whose default
|
|
773
|
+
has changed does.
|
|
774
|
+
- WASM `writePmi`'s report says whether the answers were complete: `complete` and `missing` (the
|
|
775
|
+
required questions still open). An incomplete set is still written, as before.
|
|
776
|
+
- `diff()`'s PMI items gain an optional `detail`: the explanation that used to be appended to a
|
|
777
|
+
retired item's `reason`, which is now always the plain code.
|
|
778
|
+
- `engine.review` / `review` add `conflicts` (only when there are some): a reopened file's
|
|
779
|
+
stored answers its PMI contradicts, `{id, kind: "conflict", text, stored, file, choices}`;
|
|
780
|
+
`snapshot().analysis.resume` adds `conflicts` and `present`, and `existing`/`part`
|
|
781
|
+
now hold the file's PMI its answers do not explain (ADR P9). Answers accept `_specify.keep: [id]`. The
|
|
782
|
+
generated declarations are unchanged.
|
|
783
|
+
|
|
784
|
+
## 0.1.18 (2026-11-17)
|
|
785
|
+
|
|
786
|
+
### Added
|
|
787
|
+
|
|
788
|
+
- `specify-core mcp`: a Model Context Protocol server, so an LLM client (Claude Code, Claude
|
|
789
|
+
Desktop) can specify a part. It speaks revision 2026-07-28 (`server/discover`, per-request
|
|
790
|
+
`_meta`) and the legacy 2025-11-25 (`initialize`), over stdio or, with `--http`, Streamable
|
|
791
|
+
HTTP on 127.0.0.1 with a random bearer token and `Host` and `Origin` checks. Its tools are
|
|
792
|
+
`list_parts`, `open`, `questions`, `answer` (free text interpreted), `review`,
|
|
793
|
+
`characteristics`, `read_pmi`, `write_pmi`, `export_answers` and `diff`, each with an output
|
|
794
|
+
schema. Each open document's analysis and mesh are resources. Documents and answers are held
|
|
795
|
+
in memory by a document handle; an `answers_file` keeps the answers on disk. Paths are
|
|
796
|
+
limited to `--allow` directories, and nothing is overwritten without `overwrite: true`. See
|
|
797
|
+
docs/mcp.md.
|
|
798
|
+
- The WASM package is published to npm as `@draftwright/specify-core-wasm`, from 0.1.17: the
|
|
799
|
+
release archive's files, with `package.json` scoped (`tools/npm_package.py`). A published
|
|
800
|
+
release publishes it through npm trusted publishing (`release.yml`, environment `npm`); a
|
|
801
|
+
manual run publishes an existing release. The `specify-core-wasm-<version>.tgz` release
|
|
802
|
+
assets are unchanged.
|
|
803
|
+
|
|
804
|
+
### Fixed
|
|
805
|
+
|
|
806
|
+
- The WASM package's README (shown on npm) said AGPL-3.0; the package, haecceity and quiddity
|
|
807
|
+
are Apache-2.0. Its documentation links are absolute, so they work on npm.
|
|
808
|
+
- The WASM release archive and npm package carry NOTICE beside LICENSE (Apache-2.0 4(d)), from
|
|
809
|
+
0.1.18. CI and the npm job refuse a packed tarball without both. The `.wasm` and `.js` are
|
|
810
|
+
unchanged.
|
|
811
|
+
- The npm job passes no `NPM_TOKEN`: it publishes through npm trusted publishing (OIDC) only.
|
|
812
|
+
|
|
813
|
+
## 0.1.17 (2026-11-16)
|
|
814
|
+
|
|
815
|
+
### Added
|
|
816
|
+
|
|
817
|
+
- specify-core is published to crates.io (`cargo add specify-core`, `cargo install
|
|
818
|
+
specify-core`). A published GitHub release publishes it through crates.io trusted publishing
|
|
819
|
+
(crates.yml), as python.yml publishes the wheel. The crate holds the library and the command
|
|
820
|
+
line; the kernel pins name the crates.io version beside the git tag. The WASM crate stays
|
|
821
|
+
unpublished there.
|
|
822
|
+
- An analysed hole's `cbore`, `spotface`, `outer_steps` items and `csink` list their own sorted
|
|
823
|
+
`faces`, a part of the hole's `faces`, so a B-rep editor can tell the counterbore or seat
|
|
824
|
+
from the bore (#180). Omitted when quiddity does not know them.
|
|
825
|
+
|
|
826
|
+
### Changed
|
|
827
|
+
|
|
828
|
+
- quiddity and haecceity 0.5.4 (release tag `v0.5.4`, also on crates.io). Hole faces and
|
|
829
|
+
every other recognition output are unchanged apart from the sub-record `faces` above.
|
|
830
|
+
|
|
831
|
+
## 0.1.16 (2026-11-15)
|
|
832
|
+
|
|
833
|
+
### Added
|
|
834
|
+
|
|
835
|
+
- The Python wheel supports CPython 3.11 and later (abi3-py311; was 3.12). Nothing in the
|
|
836
|
+
package needs 3.12; the wheel smoke suite now also runs on 3.11 (#183).
|
|
837
|
+
- A loaded part recognises its features once: a `LoadedPart` keeps quiddity's recognition, so
|
|
838
|
+
`analyse(old)` followed by several `diff(old, new_i)` recognises `old` once (#180).
|
|
839
|
+
- Python `load` takes the STEP file's `bytes` (with an optional `name`) as well as a path, and
|
|
840
|
+
`part=` selects a part of an assembly from bytes (#180).
|
|
841
|
+
- The diff report lists `other_faces`, the changed, removed, new or ambiguous faces that no
|
|
842
|
+
feature explains (a plane's offset along its normal, a cylinder's radius and axis move, area),
|
|
843
|
+
with `unchanged_faces` and `context_faces`, and a Markdown section "Other faces" (#180).
|
|
844
|
+
- Python `diff(..., image_width=N)` also returns the change picture as PNG bytes under
|
|
845
|
+
`"image"`, from the same comparison (#180).
|
|
846
|
+
- `mesh` accepts CLI `--max-deviation-mm` and `max_deviation_mm` in serve, Python
|
|
847
|
+
and WASM snapshots, from 0.001 mm (#162). It measures the emitted triangles and boundary
|
|
848
|
+
chords against the exact surfaces and trim curves, refines until the bound is met, and
|
|
849
|
+
reports both the requested and the achieved deviation; a face that cannot be verified
|
|
850
|
+
refuses the whole mesh, naming that face and why. The achieved value is exact (to the
|
|
851
|
+
0.0001 mm output rounding) on planes, spheres, and line and circle trims, and a sampled
|
|
852
|
+
maximum on other surfaces and trims. Omitting the option keeps mesh v2 bytes unchanged.
|
|
853
|
+
Faces are meshed independently, so the result is not guaranteed watertight. See
|
|
854
|
+
[mesh tolerance](docs/mesh-tolerance.md).
|
|
855
|
+
- Analyses whose shared dimension planner cannot build an input now include
|
|
856
|
+
`dimensioning: {applicable: false, reason}` rather than omitting it (#162).
|
|
857
|
+
- `analyse` and `mesh` take `-o -`: the JSON goes to stdout and the one-line summary to stderr,
|
|
858
|
+
so the output can be piped into another program. With a file, nothing changes.
|
|
859
|
+
|
|
860
|
+
### Changed
|
|
861
|
+
|
|
862
|
+
- quiddity and haecceity 0.5.3 (release tag `v0.5.3`). A top-filleted or domed boss's height
|
|
863
|
+
includes its end round however short the boss is, so shortening one reports its real
|
|
864
|
+
change (13 → 8, not 13 → 5; #181). Sloping-entry hole depths are planned from the
|
|
865
|
+
axis/entry-plane intersection, which the writer already wrote; it now writes the planned
|
|
866
|
+
nominal as is, and a plan that disagrees with the geometry is not written rather than
|
|
867
|
+
corrected.
|
|
868
|
+
- quiddity and haecceity 0.5.2 (release tag `v0.5.2`; recognition is that of 0.5.1, which
|
|
869
|
+
lays GD&T frames out CAD-like in written presentations).
|
|
870
|
+
- quiddity and haecceity 0.5.0 (release tag `v0.5.0`). Fingerprints are now version 4,
|
|
871
|
+
and quiddity refuses to correspond version 3. Saved answers still attach by face name
|
|
872
|
+
or by the unchanged faces; where neither holds and only version 3 geometry is saved
|
|
873
|
+
(answers kept outside the STEP for a changed part), unnamed faces are left for review.
|
|
874
|
+
- `same_as` now counts a stated manufacturing process, using the saved answer before the
|
|
875
|
+
file’s value, so congruent parts group as draftwright’s pack does. Guessed and defaulted
|
|
876
|
+
processes do not count; bought parts have no process.
|
|
877
|
+
- The reviewed WASM size ceiling is raised from 15,000,000 to **16,500,000** bytes (maintainer, 2026-11-09), after the deviation-checked mesher (#162) measured 15,002,152 bytes.
|
|
878
|
+
|
|
879
|
+
### Fixed
|
|
880
|
+
|
|
881
|
+
- BOM item numbers survive the fingerprint version change: a BOM history written before
|
|
882
|
+
quiddity 0.5.0 is re-fingerprinted from its own file, by each entry's item number or
|
|
883
|
+
unique part name, so its parts keep their numbers and answers instead of being renumbered.
|
|
884
|
+
- Planner dimensions on floor-bearing holes leave the planar floor out of their
|
|
885
|
+
depth and location dimension carriers; the bore (and any cone) carries them.
|
|
886
|
+
- Revision reports fold a pocket and its section recess into one change when their
|
|
887
|
+
supports differ only by the pocket’s adjacent planar floor.
|
|
888
|
+
- Answers without face evidence can follow a unique same-family feature whose ID
|
|
889
|
+
adds faces to the saved ID. Ambiguous matches stay unresolved for review.
|
|
890
|
+
- Reopening a STEP with verified schema-1/2 saved answers keeps current thread and
|
|
891
|
+
position editor IDs when a kernel upgrade adds a hole floor to its feature ID,
|
|
892
|
+
avoiding false removals and duplicate position changes in revision reports.
|
|
893
|
+
|
|
894
|
+
### WASM API
|
|
895
|
+
|
|
896
|
+
- `IntentEngine.snapshot(max_deviation_mm?)` accepts an optional mesh deviation in mm,
|
|
897
|
+
at least 0.001, and throws if the requested mesh cannot be verified (#162).
|
|
898
|
+
- docs/wasm.md links to pzfreo/draftwright, renamed from draftwright-rust; the API is unchanged.
|
|
899
|
+
- `IntentEngine.parts` `same_as` also requires the same stated process (docs/wasm.md); the API
|
|
900
|
+
is unchanged. The reviewed snapshot drops a doc comment (#162) that the API check strips.
|
|
901
|
+
|
|
902
|
+
## 0.1.15 (2026-11-07)
|
|
903
|
+
|
|
904
|
+
### Added
|
|
905
|
+
|
|
906
|
+
- `parts` (CLI, serve, Python, WASM `IntentEngine.parts`) gives each copy `faces_of_first`: for
|
|
907
|
+
each of its faces, in its own order, the face of its first part (`same_as`) it lands on, the
|
|
908
|
+
pairing quiddity's congruence check proves; `null` where `same_as` is (#150). A turned copy,
|
|
909
|
+
or one whose file lists its faces in another order, numbers its faces differently from the
|
|
910
|
+
first, so an answer given for faces (a datum, a feature question) carries over only through
|
|
911
|
+
it.
|
|
912
|
+
|
|
913
|
+
### Changed
|
|
914
|
+
|
|
915
|
+
- `same_as` compares only the saved `part.*` and `bom.*` answers. Answers given for faces
|
|
916
|
+
(datums, feature questions, `extra.*` requirements) may be shared through `faces_of_first` or
|
|
917
|
+
given per copy, so a copy whose datum or hole answers were given separately stays a copy of its
|
|
918
|
+
first part (#150).
|
|
919
|
+
|
|
920
|
+
## 0.1.14 (2026-11-07)
|
|
921
|
+
|
|
922
|
+
### Added
|
|
923
|
+
|
|
924
|
+
- `parts` (CLI, serve, Python, WASM `IntentEngine.parts`) gives each part `same_as`: the index
|
|
925
|
+
of the first part it is a copy of, or `null` (#150). A copy has the same geometry moved by a
|
|
926
|
+
proper rigid motion, proven face by face (quiddity's `congruent`, the check draftwright's pack
|
|
927
|
+
uses), and states the same BOM facts (part number other than a bare `PRODUCT.id`,
|
|
928
|
+
description, revision, make/buy, material, optional, stock) and the same saved answers.
|
|
929
|
+
Names and defaults never decide it. Every part keeps its own index (decision D1), so saved
|
|
930
|
+
answers are unaffected; a picker can show `M3×8 hex bolt ×4` from the first and its copies.
|
|
931
|
+
Only parts sharing a face count with another are built, so a file of distinct parts costs
|
|
932
|
+
the same as before.
|
|
933
|
+
|
|
934
|
+
### Changed
|
|
935
|
+
|
|
936
|
+
- Move native, WASM and Python builds from quiddity/haecceity v0.4.8 to v0.4.9 (`17a883aa`),
|
|
937
|
+
taking quiddity with `default-features = false, features = ["presentation"]` so its new
|
|
938
|
+
`cli` feature (clap) stays out of every build. Recognition `/6`, fingerprints `/3`, the PMI
|
|
939
|
+
reader string `/19` and both packaged schemas are unchanged. One corpus expectation changes:
|
|
940
|
+
`mfcadpp_holdout/363` gets quiddity #215's circular blind step on faces 20 and 24 in place of
|
|
941
|
+
`cylindrical_profiles:20`.
|
|
942
|
+
|
|
943
|
+
### WASM API
|
|
944
|
+
|
|
945
|
+
- A refusal to write a BOM into a file with no assembly structure (`writePmi` with `bom=true`,
|
|
946
|
+
or a stale `bom.*` answer) now carries the stable code `bom_no_assembly:` (`bom::NO_ASSEMBLY`)
|
|
947
|
+
before its message, so the editor can match the code instead of the prose. 0.1.13 changed
|
|
948
|
+
the `bom=true` message, which broke the editor's text match (its fallback for loose parts).
|
|
949
|
+
|
|
950
|
+
## 0.1.13 (2026-11-07)
|
|
951
|
+
|
|
952
|
+
### Changed
|
|
953
|
+
|
|
954
|
+
- Move native, WASM and Python builds from quiddity/haecceity v0.4.7 to v0.4.8
|
|
955
|
+
(`449ab51d`). Writes that carry general notes add a default AP242 Notes saved view
|
|
956
|
+
facing their annotation plane (quiddity #198); Add keeps foreign views and reuses its
|
|
957
|
+
own, edition-1 Add skips it, and Remove/Replace clean it up. New draughting models get
|
|
958
|
+
unique names, materials without a separate name repeat their id as description, and
|
|
959
|
+
presentation follows the CAx-IF PMI Recommended Practice 4.1 (#193). Recognition `/6`,
|
|
960
|
+
fingerprints `/3` and both packaged schemas are unchanged.
|
|
961
|
+
- Adopt reader `haecceity-pmi-read/19` in place of /17.
|
|
962
|
+
- Add optional `saved_view_findings` (`{kind, part, ids, entity, detail}` kernel findings
|
|
963
|
+
about the Notes saved view) to native/CLI, Python and WASM write reports.
|
|
964
|
+
- Written STEP bytes change for these 0.4.8 causes only: the Notes view, the material
|
|
965
|
+
description, RP 4.1's FILE_DESCRIPTION reference and curve-set names, and `PMI callouts (2)`
|
|
966
|
+
model names. As a result, all fourteen cross-engine byte goldens are regenerated and
|
|
967
|
+
recaptured, and the BOM opt-in, legacy settings-only and unnamed-revision hashes are
|
|
968
|
+
updated. An Add over Specify's own output now rewrites the kernel's own Notes view in place
|
|
969
|
+
and retires its private camera; every other original entity keeps its bytes.
|
|
970
|
+
- Known differences: the frozen Python reader no longer reads a material written without a
|
|
971
|
+
separate name (`material identification (no separate name)`) on single-part files; Rust
|
|
972
|
+
still reads it.
|
|
973
|
+
- The carried `specify-core original` record also stores the original `FILE_DESCRIPTION`
|
|
974
|
+
(`description`), because v0.4.8 writes add the PMI RP 4.1 reference to it (#193).
|
|
975
|
+
`original()` (native and WASM) restores it, so it again gives back the source exactly.
|
|
976
|
+
Without this, every new write returned `undefined`. A record without `description`, from an
|
|
977
|
+
earlier write, gains one when that file is rewritten. Readers that restore only
|
|
978
|
+
`FILE_SCHEMA` (the editor's `originalOf` fallback) now differ from the source in that
|
|
979
|
+
statement.
|
|
980
|
+
- The BOM questions are `routine`, not `required` (`reviewed()` no longer overrides them), with
|
|
981
|
+
short prompts (`Made or bought?`, `Description`, `Part number`, `Revision`, `Optional item?`),
|
|
982
|
+
`why` "Shown in the drawing's parts list." and the make/buy proposal as the `reason`
|
|
983
|
+
("From the file", "Your answer", or "Proposed: made/bought (…)"). The one `check` is a
|
|
984
|
+
standard-hardware name on a part recognised with pockets or keyways (proposed made; its reason asks which). Part number and revision
|
|
985
|
+
carry no suggestion. `bom.stock` is no longer asked: it follows make/buy, is still proposed
|
|
986
|
+
by that release's BOM opt-in and an explicit answer is still written. Suggestions stay
|
|
987
|
+
out of `default`. The old PMI default-approval option wrote no BOM field.
|
|
988
|
+
|
|
989
|
+
### Fixed
|
|
990
|
+
|
|
991
|
+
- The `bom.*` questions are asked only of a file the BOM can be written into: an assembly
|
|
992
|
+
product definition with a shape and an assembly occurrence of every part, the writer's own
|
|
993
|
+
condition (#149). A file of several products with no `NEXT_ASSEMBLY_USAGE_OCCURRENCE` is no
|
|
994
|
+
longer asked them, and writes without `--bom`; `--bom` on it is refused as on a single part
|
|
995
|
+
(now saying the file has no assembly structure, so there is no BOM to write),
|
|
996
|
+
and a stale `bom.*` answer is refused by the writer as before. `bom` still lists its rows.
|
|
997
|
+
|
|
998
|
+
### WASM API
|
|
999
|
+
|
|
1000
|
+
- `WriteReport` adds optional `saved_view_findings: SavedViewFinding[]`, absent when empty;
|
|
1001
|
+
new `SavedViewFinding` (`kind`, optional `part`, `ids`, `entity`, `detail`).
|
|
1002
|
+
|
|
1003
|
+
## 0.1.12 (2026-11-06)
|
|
1004
|
+
|
|
1005
|
+
### Added
|
|
1006
|
+
|
|
1007
|
+
- How a part is made: `part.process` (`machined`, `3D printed: FDM`, `resin`, `powder`,
|
|
1008
|
+
`metal`, `sheet metal`, `moulded`, `cast`), asked last of every made part, after all
|
|
1009
|
+
existing questions, and never blocking a write. With no answer and no file value a part is
|
|
1010
|
+
machined and every question, default and write is unchanged; the machined default is never
|
|
1011
|
+
added by accepted defaults. A printing-class material suggests its printed process
|
|
1012
|
+
(attention `check`). The process sets defaults only: printed parts default to a ± general
|
|
1013
|
+
tolerance from vendor figures (written as a part note, as the kernel's general tolerance is an
|
|
1014
|
+
ISO 2768 class), clearance holes without an H11 fit, with `heat-set insert` and
|
|
1015
|
+
`printed thread` offered (written as hole notes) and ± locations, and are not asked roughness, edges or coating;
|
|
1016
|
+
sheet metal, moulded and cast parts are not asked roughness. An answer such a process leaves
|
|
1017
|
+
unasked, or only another process offers, is an `unasked` row (#126). Stored as the CAx-IF UDA set `specify process`
|
|
1018
|
+
(`manufacturing_process`) on each product definition, with the BOM's
|
|
1019
|
+
`default.manufacturing_process` marker for an accepted suggestion; read back as answered,
|
|
1020
|
+
file (another tool's) or default, and a stated value is not asked. Bought parts are asked
|
|
1021
|
+
no process. Shared by native/CLI, serve, Python and WASM questions, apply and write; an older
|
|
1022
|
+
Specify refuses an answer file holding `part.process`. See `docs/process.md`.
|
|
1023
|
+
- `specify-core completions SHELL` prints a shell completion script (bash, zsh, fish,
|
|
1024
|
+
powershell or elvish) to stdout; the README gives the install one-liners.
|
|
1025
|
+
|
|
1026
|
+
### Changed
|
|
1027
|
+
|
|
1028
|
+
- The command line is parsed by clap instead of a hand-written argparse-style parser. Commands,
|
|
1029
|
+
arguments and defaults are unchanged, and so are exit codes for everything that worked before
|
|
1030
|
+
(usage errors still exit 2), but help and
|
|
1031
|
+
usage errors are clap's text rather than argparse's, and `-h` and `--help` both give a
|
|
1032
|
+
command's full help. The top-level help now lists `diff`, `open` and `bom`, which were left
|
|
1033
|
+
out to match Python's text, and a prefix of `--help` at the top level (`--he`, `--h`) prints
|
|
1034
|
+
the help (exit 0). The writer at that release accepted positional arguments after an option and wrote both
|
|
1035
|
+
pairs and `write S A -o OUT B` the pair `A B`, where argparse left `C D` and `B`
|
|
1036
|
+
unrecognised. The WASM build leaves the command line out (the root crate's default `cli`
|
|
1037
|
+
feature, off for `specify-core-wasm`).
|
|
1038
|
+
- `specify-core open`'s help and the README name the prompt Chrome shows the
|
|
1039
|
+
first time ("draftwright.io wants to access other apps and services on this device"): Allow
|
|
1040
|
+
lets the page fetch the file; if it did not open while the prompt was up, stop the command
|
|
1041
|
+
and run it again; a Block is undone in draftwright.io's site settings.
|
|
1042
|
+
|
|
1043
|
+
## 0.1.11 (2026-11-05)
|
|
1044
|
+
|
|
1045
|
+
### Fixed
|
|
1046
|
+
|
|
1047
|
+
- The BOM `stock` proposal follows make/buy: bought parts (such as the gramil grub screw,
|
|
1048
|
+
washers and pan-head screws) are proposed `from stock`, made parts `to be made`, and
|
|
1049
|
+
`not known` proposes nothing. Before, every part was proposed `to be made`, so accepted
|
|
1050
|
+
BOM suggestions marked bought hardware as made in-house. Applies to `bom` rows, the
|
|
1051
|
+
`bom.stock` suggestion and `accept_suggestions` (where an explicit `bom.make_buy` answer
|
|
1052
|
+
decides it); explicit and file stock values are unchanged. A stock suggestion accepted
|
|
1053
|
+
into a file before this fix is re-proposed from make/buy when the BOM is read.
|
|
1054
|
+
|
|
1055
|
+
## 0.1.10 (2026-11-04)
|
|
1056
|
+
|
|
1057
|
+
### Added
|
|
1058
|
+
|
|
1059
|
+
- Review `problems` state each sealed interior void (an `interior_voids` feature whose
|
|
1060
|
+
kernel record is a `closed_shell` measurement) as an `info` fact with
|
|
1061
|
+
`code: "interior_void"`, its `feature`, `faces`, the kernel's `estimated_volume` and,
|
|
1062
|
+
for a capped cylinder, `diameter` and `length`: "Closed internal cavity ⌀2.5 × 12
|
|
1063
|
+
long: no opening to the outside; can't be drilled, tapped or moulded as modelled."
|
|
1064
|
+
Grid-sampled chambers behind openings are not stated. Shared by native review, serve,
|
|
1065
|
+
Python `problems` and WASM `review`; no question is added or removed.
|
|
1066
|
+
- `specify-core open STEP` opens a STEP file in draftwright.io/specify (`--editor`: /editor)
|
|
1067
|
+
with nothing to click and nothing uploaded: the file is served once on 127.0.0.1 at a
|
|
1068
|
+
random one-off address, to the editor's origin only (with Chrome's Private Network Access
|
|
1069
|
+
preflight), and the command exits once it is fetched or after 10 minutes. `--site ORIGIN`
|
|
1070
|
+
points it at another deployment; `--no-browser` prints the address instead of opening it.
|
|
1071
|
+
|
|
1072
|
+
### Changed
|
|
1073
|
+
|
|
1074
|
+
- Move native, WASM and Python builds from quiddity/haecceity v0.4.6 to v0.4.7
|
|
1075
|
+
(`dcba9d38`). Sealed interior voids are reported only as `interior_voids` (each
|
|
1076
|
+
sealed shell gets an exact `closed_shell` record), no longer also as holes.
|
|
1077
|
+
Dimensions with no stated value are written through unchanged; a projected zone
|
|
1078
|
+
with no end geometry is read as a `fact` finding. An Add needing the new R3
|
|
1079
|
+
integer-literal repair is refused with its ids, as R1/R2 are. Recognition `/6`, fingerprints
|
|
1080
|
+
`/3` and both packaged schemas are unchanged.
|
|
1081
|
+
- Adopt reader `haecceity-pmi-read/17` in place of /15.
|
|
1082
|
+
- Add optional `retained_shared` (ids of auxiliary support Replace kept for PMI it
|
|
1083
|
+
cannot read) to native/CLI, Python and WASM write reports.
|
|
1084
|
+
- Known differences: NIST CTC-04's projected zone #18897 is a `fact` finding (formerly
|
|
1085
|
+
nonconformance); cgb217's void shell (faces 361-363, from `BREP_WITH_VOIDS`) is a
|
|
1086
|
+
Rust-only interior void, and its two former cylindrical-profile entries are kept as
|
|
1087
|
+
`resolved`. Cross-engine byte goldens, readbacks and no-BOM hashes are unchanged.
|
|
1088
|
+
|
|
1089
|
+
### WASM API
|
|
1090
|
+
|
|
1091
|
+
- `WriteReport` adds optional `retained_shared: number[]`, absent when empty.
|
|
1092
|
+
|
|
1093
|
+
## 0.1.9 (2026-11-04)
|
|
1094
|
+
|
|
1095
|
+
### Added
|
|
1096
|
+
|
|
1097
|
+
- Export the complete answer set before writing with `questions --resolve-defaults
|
|
1098
|
+
--step STEP`, serve `export_answers`, Python `api.export_answers` and WASM
|
|
1099
|
+
`engine.exportAnswers`. Accepted defaults are explicit, including dependent questions;
|
|
1100
|
+
sidecars carry verified `_specify.evidence`, sort keys recursively and refuse incomplete
|
|
1101
|
+
sets or unresolved carries. Existing partial-default operations keep their shape.
|
|
1102
|
+
WASM export and write check evidence before feature IDs, so a full old map with
|
|
1103
|
+
disappeared features reports stale geometry rather than an unknown feature.
|
|
1104
|
+
- Add Amy's cadgen PMI plate (gist, MIT) as a fixture with cadgen's own AP242 semantic
|
|
1105
|
+
PMI. Tests check that it reads once as foreign PMI: ISO 2768-mK general tolerance, basic
|
|
1106
|
+
30/50, and no extra Specify size or location requirement beside its dimensions.
|
|
1107
|
+
|
|
1108
|
+
### Changed
|
|
1109
|
+
|
|
1110
|
+
- Move native, WASM and Python builds from quiddity/haecceity v0.4.4 to v0.4.6
|
|
1111
|
+
(`1ebf8cb6`).
|
|
1112
|
+
Add preserves original entity bytes in the kernel; a datum on a kept carrier
|
|
1113
|
+
gets a separate `.T.` datum feature. Add upgrades requiring source repairs
|
|
1114
|
+
refuse with entity ids and repair details, without a Replace retry. PMI-less
|
|
1115
|
+
inputs continue selecting Replace before writing.
|
|
1116
|
+
- Share per-face geometry carriers and reference datum features directly (quiddity#181).
|
|
1117
|
+
Specify stamps new complex carriers and protects carriers and face support shared
|
|
1118
|
+
with foreign requirements during owned-item removal; characteristic numbers stay stable.
|
|
1119
|
+
- Adopt reader `haecceity-pmi-read/15` in place of /14, including authored standalone
|
|
1120
|
+
members named `haecceity.feature/1`. A datum whose feature reaches no face is an
|
|
1121
|
+
`Unresolved` finding, surfaced as a new `PMI unresolved datum …` analysis/CLI warning.
|
|
1122
|
+
- Refresh cross-engine STEP byte goldens and four no-BOM hashes for shared-carrier
|
|
1123
|
+
and direct-datum links and quiddity#184's notes placement clear of drawn ink. Per-case
|
|
1124
|
+
reasons are documented in the fixture README. All fourteen independent Python
|
|
1125
|
+
semantic readbacks remain identical; both part-index refusals stay fixed.
|
|
1126
|
+
- Add optional `geometry_carrier_exemptions` (`{part, condition, aspect, feature}`),
|
|
1127
|
+
`preserved_normalizations` (`{id, normalization}`) and `presentation_warnings` to
|
|
1128
|
+
native/CLI, Python and WASM write reports. Update the packaged presentation schema
|
|
1129
|
+
for optional model-space `Graphic.leader`; the semantic schema stays unchanged.
|
|
1130
|
+
- Source the v0.4.6 kernel from `pzfreo/quiddity`, renamed from `pzfreo/quiddity-rust`.
|
|
1131
|
+
The crates remain named `quiddity` and `haecceity`; GitHub redirects the former URL.
|
|
1132
|
+
|
|
1133
|
+
### Fixed
|
|
1134
|
+
|
|
1135
|
+
- An answer valid in form whose question is not asked given the other answers (e.g.
|
|
1136
|
+
`datum.A.flatness` or `hole.position:*` with `part.locating` `"± dimensions"`) is listed in
|
|
1137
|
+
every write report's `not_written` with the reason, instead of being dropped silently. It
|
|
1138
|
+
stays stored and exported; `apply` does not refuse it. Rust `api`, CLI, serve and Python now
|
|
1139
|
+
refuse an answer ID no question can have (`unknown answer ID`), as WASM already did.
|
|
1140
|
+
A carry block applies only while its question is asked; otherwise it is listed the same
|
|
1141
|
+
way, and it refuses again once later answers ask the question. A STEP keeps such a block
|
|
1142
|
+
in its stored-answers payload (`unresolved`, beside `answers`) and restores it on reopening;
|
|
1143
|
+
older builds ignore it. Unknown IDs stored by earlier versions are left out on reopening
|
|
1144
|
+
with a warning, not refused. `preview` no longer computes these rows; the editor's write
|
|
1145
|
+
adds them. For #126.
|
|
1146
|
+
- Preserve dropped revision-stable datum/part/BOM answers as `_specify.unresolved`
|
|
1147
|
+
carry blocks: CLI, serve, Python and WASM bulk defaults cannot silently replace them.
|
|
1148
|
+
Failed feature carries remain report-only: old face-based IDs may name a different
|
|
1149
|
+
feature in the destination. Explicit answers clear stable question blocks, which
|
|
1150
|
+
`questions` and review now show as required, with no default and the diff reason.
|
|
1151
|
+
Diff answer maps also carry the in-STEP face evidence; write refuses
|
|
1152
|
+
stale evidence before output, naming CLI answer files and directing callers to diff.
|
|
1153
|
+
Plain maps remain compatible and cannot detect changed in-range face identities.
|
|
1154
|
+
**Re-run `diff` to regenerate changes files from released v0.1.8 and earlier**: their
|
|
1155
|
+
metadata-free `changes/answers.json` cannot reveal dropped answers, so the literal
|
|
1156
|
+
the archived CLI’s old-file default-approval repro exited 0 on the updated tools.
|
|
1157
|
+
Older Specify/editor WASM builds reject new `_specify` maps as `unknown answer ID`;
|
|
1158
|
+
older CLI and Python installs may accept and ignore `_specify`, without its evidence and
|
|
1159
|
+
carry-block checks. Old plain files remain compatible with new tools.
|
|
1160
|
+
- For #123, #124, #125: diff maps an added requirement's (`extra.*`) `faces` and
|
|
1161
|
+
`reference` through the same face matching as datums, on unnamed parts as on named
|
|
1162
|
+
ones, instead of keeping old indices that could name another feature under an `ok`
|
|
1163
|
+
verdict. A face with no match leaves it `orphaned`, several `ambiguous`. A carried
|
|
1164
|
+
answer the new part refuses (a size whose two holes now differ) is listed as
|
|
1165
|
+
`unresolved` with the refusal instead of raising, so the rest of the report is
|
|
1166
|
+
returned. A refusal naming no answer is pinned only on one whose removal clears it;
|
|
1167
|
+
otherwise the answers stay carried and the report adds a `carry_refused` problem.
|
|
1168
|
+
Dropped `extra.*` answers are `_specify.unresolved` carry blocks: write
|
|
1169
|
+
and bulk defaults refuse until the requirement is answered again or its entry removed.
|
|
1170
|
+
- Diff refuses stale answer evidence with exit 2 and asks for the matching old part,
|
|
1171
|
+
instead of suggesting `diff` again while already comparing revisions.
|
|
1172
|
+
- Diff folds a thread's own `thread manufacturing` note into its thread item when
|
|
1173
|
+
owner id, faces and drawing wording agree. Added, removed and changed threads
|
|
1174
|
+
appear once; manufacturing-only edits still change the thread item with its
|
|
1175
|
+
drawing wording. Other manufacturing notes remain separate across native, CLI,
|
|
1176
|
+
WASM and Python diff.
|
|
1177
|
+
- Analysis `existing` records (and Python `ExistingPmi`) mark a basic dimension with
|
|
1178
|
+
`basic: true`, as does the scene's `specify[id]` metadata, and diff words add ` (basic)`.
|
|
1179
|
+
Basic dimensions such as cadgen's "theoretical" 30 and 50 on the PMI plate were read by
|
|
1180
|
+
haecceity as basic but reported as plain untoleranced dimensions.
|
|
1181
|
+
|
|
1182
|
+
### WASM API
|
|
1183
|
+
|
|
1184
|
+
- Add `IntentEngine.exportAnswers(answers: string): string` for complete, deterministic
|
|
1185
|
+
answer sidecars with geometry evidence; incomplete sets and carry blocks throw.
|
|
1186
|
+
- Add `AnswerFileMetadata` for optional `_specify.evidence` and `_specify.unresolved`
|
|
1187
|
+
in answer maps; default acceptance and writes enforce carry blocks and face evidence.
|
|
1188
|
+
- `PmiSceneMetadata` adds optional `basic: true` for a basic (theoretically exact) dimension.
|
|
1189
|
+
- Add `WriteReport`, `GeometryCarrierExemption` and `PreservedNormalization`
|
|
1190
|
+
interfaces, with optional `geometry_carrier_exemptions`, `presentation_warnings`
|
|
1191
|
+
and `preserved_normalizations` report keys. Expose optional `PmiSceneGraphic.leader`
|
|
1192
|
+
in millimetres.
|
|
1193
|
+
|
|
1194
|
+
## 0.1.8 (2026-11-02)
|
|
1195
|
+
|
|
1196
|
+
### Added
|
|
1197
|
+
|
|
1198
|
+
- Preserve answered and imported limit dimensions through STEP, resume, scene labels and
|
|
1199
|
+
diff reports; size and distance answers accept lower/upper slash bounds. Analysis and
|
|
1200
|
+
Python existing-PMI records expose optional absolute limits alongside derived deviations.
|
|
1201
|
+
Size write reports now show explicit ± and signed deviation bands as well as fits and limits.
|
|
1202
|
+
- Offer ISO 2768 f/m/c/v × H/K/L combined general-tolerance classes and round-trip their
|
|
1203
|
+
geometric class, retaining the ISO 2768-m default and existing linear tables.
|
|
1204
|
+
- Add the shared text-to-cad PMI plate from pinned cadgen 0.8.3 exports, with
|
|
1205
|
+
regeneration source and MIT attribution. Tests cover Specify-authored PMI,
|
|
1206
|
+
schema-3 face names, all 16 answers surviving thickness/bore edits, and the
|
|
1207
|
+
current added-hole result: 12 attached, four explicitly unresolved after
|
|
1208
|
+
cadgen renames supports. Verify written face names and AP242 PMI anchors.
|
|
1209
|
+
|
|
1210
|
+
### Changed
|
|
1211
|
+
|
|
1212
|
+
- The Python package's links and the step-diff README point at draftwright.io; the step-diff
|
|
1213
|
+
handoff accepts `/diff` from both draftwright.io and editor.draftwright.io (#108, #112).
|
|
1214
|
+
- Store supplied answers in Add mode beside foreign PMI. Resume keeps unmarked PMI in
|
|
1215
|
+
`existing`; mixed rewrites replace only Specify's provenance-marked requirements and
|
|
1216
|
+
preserve their characteristic numbers while retaining foreign entity bytes. Scoped saves
|
|
1217
|
+
supersede stale legacy answer frames without removing their unmarked records.
|
|
1218
|
+
|
|
1219
|
+
### Fixed
|
|
1220
|
+
|
|
1221
|
+
- An intent no longer lists the file's own stated dimensions as requirements. The shared
|
|
1222
|
+
planner still uses them, so General guesses stay off those features, but the file's PMI
|
|
1223
|
+
stays the characteristic: on NIST CTC-01 the editor showed every toleranced hole twice,
|
|
1224
|
+
once with Specify's bare nominal. Written STEP bytes are unchanged.
|
|
1225
|
+
- Answered diff scenes remove replaced file identities together with their PMI
|
|
1226
|
+
rows before merging retained CAD requirements, keeping semantic links and old
|
|
1227
|
+
callouts consistent with each scene's own document.
|
|
1228
|
+
- Every diff pairing pass checks requirement kinds and known measurement roles,
|
|
1229
|
+
including number and id matches. Thread callouts cannot pair with location
|
|
1230
|
+
dimensions; location roles follow the part's rotation during comparison.
|
|
1231
|
+
|
|
1232
|
+
## 0.1.7 (2026-11-02)
|
|
1233
|
+
|
|
1234
|
+
- Diff retains uniquely matched planned dimensions when their target/reference
|
|
1235
|
+
supports grow, after exact-face matches and before kind fallback. Measurement
|
|
1236
|
+
roles distinguish existing bore/pitch/location requirements from new counterbores.
|
|
1237
|
+
|
|
1238
|
+
- Diff pairs fresh-numbered plans by requirement/geometry identity; only continued
|
|
1239
|
+
characteristic-number histories give numbers priority. Thread manufacturing notes
|
|
1240
|
+
show drawing wording, and semantic-only attribute notes, knurls and finishes show
|
|
1241
|
+
their values.
|
|
1242
|
+
WASM assembly diff accepts per-part `acceptDefaults` maps and names the part and
|
|
1243
|
+
question id when a nested answer is invalid.
|
|
1244
|
+
|
|
1245
|
+
- Prefer an exact tap-drill match over an ambiguous smaller clearance screw when suggesting a hole function; accepted tapped holes carry thread semantics without a tap-drill fit. Document and type additive haecceity polyline roles and text cell boxes (pass-through from v0.4.4).
|
|
1246
|
+
|
|
1247
|
+
### Fixed
|
|
1248
|
+
|
|
1249
|
+
- `presentation.semantic_ids` lists only the PMI document's own ids again. The
|
|
1250
|
+
`part.material` alias stays in `items` and `specify`, but no longer appears in
|
|
1251
|
+
`semantic_ids`, where consumers that cross-check it against the PMI refused the
|
|
1252
|
+
whole drawn PMI whenever a material was answered.
|
|
1253
|
+
|
|
1254
|
+
### Added
|
|
1255
|
+
|
|
1256
|
+
- Diff reports optionally include the exact compared `pmi.scenes` through Rust,
|
|
1257
|
+
CLI `--pmi-scenes`, WASM and Python. Requirement items add differing `old_id`
|
|
1258
|
+
and per-side mesh face anchors, including semantic-only requirements. Revision
|
|
1259
|
+
PNGs draw changed/added presentation callouts and translucent removed ghosts,
|
|
1260
|
+
framing their supplied geometry alongside existing geometry change colours.
|
|
1261
|
+
|
|
1262
|
+
- For #79: opt-in assembly BOM writes via explicit `bom.*` answers or `--bom` / API
|
|
1263
|
+
acceptance. Optional questions expose suggestions, never ordinary defaults. Assembly
|
|
1264
|
+
analysis adds a sourced `bom` row using its existing parse. Separate occurrence UDAs
|
|
1265
|
+
preserve older-engine resume; explicit answers override current export data, accepted
|
|
1266
|
+
suggestions do not. Geometric item history tolerates fingerprint drift, small parts
|
|
1267
|
+
and stable duplicate ordering; removed numbers are retired. Read through Rust, CLI,
|
|
1268
|
+
Python and WASM. See [BOM storage and numbering](docs/bom.md).
|
|
1269
|
+
|
|
1270
|
+
- Regression coverage for #89 using FreeCAD's attributed CC-BY-3.0 hex standoff:
|
|
1271
|
+
AP214 `PRODUCT_TYPE` upgrades to `PRODUCT_RELATED_PRODUCT_CATEGORY`, preserving
|
|
1272
|
+
every other original entity byte, and written PMI/answers read back. Add the
|
|
1273
|
+
attributed LM10UU fixture to cover independent size supports and unchanged resaves.
|
|
1274
|
+
|
|
1275
|
+
### Changed
|
|
1276
|
+
|
|
1277
|
+
- Diff reports describe requirements in Markdown and JSON summary text, naming the
|
|
1278
|
+
changed feature and its requirement notation when review is needed. STEP diff
|
|
1279
|
+
comments omit the JSON payload and flag differing committed sidecars in one
|
|
1280
|
+
line, with a 3D review link for public repositories. `answers.json`, JSON keys
|
|
1281
|
+
and verdict meanings remain unchanged.
|
|
1282
|
+
|
|
1283
|
+
- Refresh the numbered M2 presentation fixture and four distinct no-BOM write
|
|
1284
|
+
hashes for v0.4.4's added thread ink and neighbouring callout placement.
|
|
1285
|
+
Legacy semantic/part-setting comparisons and all six exact API/CLI byte
|
|
1286
|
+
comparisons remain enforced; neither the old semantic inputs nor recognition
|
|
1287
|
+
expectations change.
|
|
1288
|
+
|
|
1289
|
+
- Keep exact tap-drill defaults and their exact-value guards after the main merge:
|
|
1290
|
+
five frozen rule cases (CGB202, CGB217, CGB243, NIST CTC-04 part 0 and FTC-10)
|
|
1291
|
+
gain thread/depth answers and dependent ordering; thirteen CLI envelope entries
|
|
1292
|
+
carry the same reason without wildcard cases or paths. Explicit-clearance fit
|
|
1293
|
+
tests still choose clearance. Fresh-number order checks replace only the
|
|
1294
|
+
former tap-drill size with its thread; CGB243's obsolete General-size conflict
|
|
1295
|
+
disappears while its written count is unchanged.
|
|
1296
|
+
|
|
1297
|
+
- Move quiddity/haecceity (native, WASM and the Python binding) to v0.4.4
|
|
1298
|
+
(`53cf3604`), including thread callouts, polyline roles and text cell boxes. The pin checker requires the same release. Reader binding advances
|
|
1299
|
+
to `haecceity-pmi-read/14` for datum-constituent identity (#173); the packaged
|
|
1300
|
+
`haecceity.pmi/1` schema is byte-identical to upstream and remains unchanged.
|
|
1301
|
+
Upstream #171 improves callout/frame placement and label packing; #172 bounds
|
|
1302
|
+
generated STEP string literals and chunks long descriptive values. Recognition /6
|
|
1303
|
+
and fingerprints /3 are unchanged.
|
|
1304
|
+
- Read haecceity #172's marked ordered text chunks when recovering saved answers
|
|
1305
|
+
and carried application payloads. Previously a long saved answer failed write
|
|
1306
|
+
verification after the kernel bounded its strings; legacy single strings remain
|
|
1307
|
+
readable. Regression coverage checks long-answer resume/resave and rejects
|
|
1308
|
+
unmarked, unordered or cyclic compounds.
|
|
1309
|
+
|
|
1310
|
+
- For #163: live PMI scenes combine accepted part settings, imported semantic notes and
|
|
1311
|
+
material in one GENERAL NOTES block, replacing the file block in the scene while
|
|
1312
|
+
lossless writes keep its records. Reopened appended files also draw one block.
|
|
1313
|
+
Part-level edge-break prose answers `part.edges`
|
|
1314
|
+
as written. Feature notes retain their owner; haecceity generates their fallback ink
|
|
1315
|
+
together with the combined block and owns all placement. Rotated-part regression
|
|
1316
|
+
checks use the notes plane. File callouts
|
|
1317
|
+
report file source and material DMIAs link through `part.material`.
|
|
1318
|
+
|
|
1319
|
+
- For #75, written hole sizes, pattern
|
|
1320
|
+
origins/pitches and prismatic plane levels/extents follow the shared planner.
|
|
1321
|
+
Inspection plans contain fewer rows: the default cross-engine plate changes from
|
|
1322
|
+
21 dimensions / 28 characteristics to 12 / 19. The raw all-General planner has
|
|
1323
|
+
11 quantities; Specify adds two offsets with distinct Basic/General contracts
|
|
1324
|
+
and omits the drill already carried by the thread.
|
|
1325
|
+
Existing numbers win; removed rows retire permanently and the write report
|
|
1326
|
+
lists their numbers. On the frozen pre-planner
|
|
1327
|
+
plate, numbers **6–11 and 21–26** retire. New requirements allocate above the
|
|
1328
|
+
previous high-water mark. Deferred feature owners retain their existing path.
|
|
1329
|
+
Locations require real face supports; thread drills and duplicate legacy spans
|
|
1330
|
+
are stated once. Answered fits and Basic locations retain their contracts, including the radial
|
|
1331
|
+
bolt-circle diameter belonging to a position frame.
|
|
1332
|
+
Determined enlargement depths are reference dimensions. Unknown-bottom depths
|
|
1333
|
+
and bounded shoulder stations that lack unambiguous semantic supports are
|
|
1334
|
+
reported instead of adding inspection constraints; physical-plane witnesses
|
|
1335
|
+
keep their legacy path.
|
|
1336
|
+
General-tolerance range selection uses the same six-decimal nominal as the
|
|
1337
|
+
written dimension, keeping boundary values stable under rigid moves. Source
|
|
1338
|
+
metadata for newly shared dimensions names their complete measured target.
|
|
1339
|
+
|
|
1340
|
+
- For #79: record the additive assembly `analysis.bom` field in the per-part oracle
|
|
1341
|
+
ledger, preserving all legacy layout/value assertions and opt-in write behavior.
|
|
1342
|
+
Review the three `--bom` CLI usage/help departures with exact text assertions;
|
|
1343
|
+
retain the datum-origin snapshot and revalidate ordinary write bytes against main.
|
|
1344
|
+
|
|
1345
|
+
- For #79: preserve opt-in BOM alongside shared planner dimensions; ordinary writes
|
|
1346
|
+
are checked byte for byte against main 8d5a040 through the CLI and API.
|
|
1347
|
+
|
|
1348
|
+
- Earlier v0.4.2 upgrade (`d7112fd`), retained as recognition evidence:
|
|
1349
|
+
Recognition /6 and fingerprints /3 stay unchanged; turned steps with spanner
|
|
1350
|
+
flats, grouped interrupted torus fillets and unproved corners follow upstream #167.
|
|
1351
|
+
PMI now repairs reversed bounds and datum-feature child aspects (#168), and
|
|
1352
|
+
duplicate source identifiers and incomplete non-runout zones (#170).
|
|
1353
|
+
- Refresh the packaged PMI schema for optional per-item `identifier` values.
|
|
1354
|
+
The documented reader binding moves from `haecceity-pmi-read/11` to `/13`
|
|
1355
|
+
because #168/#170 change readings and findings; Specify always rereads STEP.
|
|
1356
|
+
- Rejudge the frozen-Python recognition ledger for v0.4.2's grouped interrupted
|
|
1357
|
+
fillets and omitted unproved bevel corners. Retain 192 retired paths as resolved
|
|
1358
|
+
assertions and add 266 exact case/path judgments, with a native torus audit of
|
|
1359
|
+
all 44 changed groups (220 patches); do not regenerate the Python captures.
|
|
1360
|
+
Inventory tests count torus patches, retaining their original coverage thresholds.
|
|
1361
|
+
- Revalidate v0.4.2 after merging #91's planner dimensions and #94's opt-in BOM.
|
|
1362
|
+
Regenerated cross-engine byte goldens and independently recaptured Python readings
|
|
1363
|
+
remain unchanged from main, including both refusals. The pin checker now requires
|
|
1364
|
+
v0.4.2 as well as matching native/WASM manifests.
|
|
1365
|
+
|
|
1366
|
+
### Fixed
|
|
1367
|
+
|
|
1368
|
+
- For #96: give characteristic-history schema 2 an explicit text vocabulary, independent
|
|
1369
|
+
of Rust Debug and generated planner IDs. Keep fit classes, modifiers and values out of
|
|
1370
|
+
identity; compare temporary matching hints as typed values. Pin readable keys and
|
|
1371
|
+
preserve all six numbers when upgrading a file written by the v0.1.6 engine.
|
|
1372
|
+
|
|
1373
|
+
- For #95: keep characteristic numbers through tolerance value and material-modifier edits,
|
|
1374
|
+
so diff reports one changed requirement without a spurious renumbering. History schema 2
|
|
1375
|
+
uses structural requirement identity; schema-1 files retain their numbers and high-water
|
|
1376
|
+
marks on migration. Removed numbers stay retired.
|
|
1377
|
+
|
|
1378
|
+
- The step-diff Action's "answers carried" block hides Specify's own `_specify*`
|
|
1379
|
+
records (such as `_specify_characteristic_numbers`) at any depth. They stay in the
|
|
1380
|
+
committed answers file.
|
|
1381
|
+
|
|
1382
|
+
- Remove the temporary LM10UU writer adjustment: haecceity #173 now preserves
|
|
1383
|
+
separately sized datum constituents itself. Replace the retirement guard with a
|
|
1384
|
+
direct upstream write/read regression for the three Ø19 lands and the whole
|
|
1385
|
+
datum A. A structural v0.4.2 workaround baseline checks all dimensions, tolerances,
|
|
1386
|
+
datums and the characteristic count, independently of STEP IDs and presentation.
|
|
1387
|
+
|
|
1388
|
+
### WASM API
|
|
1389
|
+
|
|
1390
|
+
- Add optional `polyline_roles` and text-placement `cell_box` declarations for host-font presentation rendering; pass through when supplied by haecceity.
|
|
1391
|
+
- `diff` accepts an optional seventh `scenes` boolean. `DiffPmi.scenes` contains
|
|
1392
|
+
`{old: PmiScene, new: PmiScene}` when requested; `PmiItemChange` adds optional
|
|
1393
|
+
`old_id` and `faces: {old: {face: number}[], new: {face: number}[]}`.
|
|
1394
|
+
|
|
1395
|
+
- `pmiScene` exposes the scalar material through the `part.material` companion alias
|
|
1396
|
+
in `presentation.items`, `semantic_ids` and `specify`; the upstream semantic material
|
|
1397
|
+
field is unchanged. Reviewed scenes alias every part note to one shared graphic.
|
|
1398
|
+
|
|
1399
|
+
- For #75: live analysis snapshots carry optional shared-planner input and stored
|
|
1400
|
+
dimension contracts. Planned scene dimension IDs include stable face-derived
|
|
1401
|
+
roles; pitch callouts use interval counts and datum members leave group counts.
|
|
1402
|
+
|
|
1403
|
+
- For #79: add static `IntentEngine.bom(bytes)` returning sourced assembly BOM JSON;
|
|
1404
|
+
optional fourth `writePmi` argument explicitly accepts BOM suggestions. Omitted/false
|
|
1405
|
+
preserves the ordinary PMI write. BOM analysis questions are optional suggestions.
|
|
1406
|
+
|
|
1407
|
+
- Add optional `PmiSceneItem.identifier` for the source characteristic number;
|
|
1408
|
+
references continue to use the unique `id`, including when identifiers repeat.
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
## 0.1.6 (2026-11-01)
|
|
1412
|
+
|
|
1413
|
+
On quiddity/haecceity 0.4.1. Adds answers keyed by authored STEP face names (#87, cadgen's `f:` names), adopts 0.4.1's presentation (callouts by their features, one numbered GENERAL NOTES block, plane views, `stroked` text), adds `PmiScene` TypeScript types, and builds the Linux command line against glibc 2.28 so it runs on Amazon Linux 2023 and other older distributions. Feature-on scenes and written STEP layouts change with the new presentation. Named parts store answers schema 3; unnamed parts are unchanged.
|
|
1414
|
+
|
|
1415
|
+
### Changed
|
|
1416
|
+
|
|
1417
|
+
- Compare and label each part note by its semantic wording, so a change
|
|
1418
|
+
within the shared GENERAL NOTES graphic leaves other note requirements unchanged.
|
|
1419
|
+
- Pin quiddity and haecceity to v0.4.1. Recognition `/6` and fingerprints `/3`
|
|
1420
|
+
stay unchanged. Adopt regenerated ladders/callouts, one numbered GENERAL NOTES
|
|
1421
|
+
block, generated plane views, AP214 PRODUCT_TYPE upgrades, panic isolation and
|
|
1422
|
+
graphical callout reading; feature-on scenes and written STEP layouts change.
|
|
1423
|
+
- Build the Linux CLI against glibc 2.28 using pinned Zig/cargo-zigbuild tools;
|
|
1424
|
+
check its symbols and revision smoke on Amazon Linux 2023 and AlmaLinux 8.
|
|
1425
|
+
Release asset names and archive layout stay the same.
|
|
1426
|
+
- Preserve optional text-placement `stroked` flags in PMI scenes; prune saved-view
|
|
1427
|
+
references when graphics are filtered or replaced, removing empty views.
|
|
1428
|
+
- For #87: only unique names in the authored `f:` namespace become
|
|
1429
|
+
face identities. Shared names and generic/class labels (including singletons)
|
|
1430
|
+
retain geometric evidence and schema 2 when no usable identities remain. Omit
|
|
1431
|
+
unusable labels from analysis; retain the full oracle comparison unchanged.
|
|
1432
|
+
|
|
1433
|
+
### Added
|
|
1434
|
+
|
|
1435
|
+
- For #87: carry authored STEP face names in analysis and stored-answer schema 3.
|
|
1436
|
+
Resume and diff match names exactly before unnamed geometric supports; missing or
|
|
1437
|
+
duplicate names leave answers unresolved. Unnamed parts retain schema 2 and their
|
|
1438
|
+
existing bytes. See [face-name compatibility](docs/face-names.md).
|
|
1439
|
+
|
|
1440
|
+
### WASM API
|
|
1441
|
+
|
|
1442
|
+
- Add optional `PmiSceneMetadata.notation` for individual semantic note labels;
|
|
1443
|
+
shared presentation graphics retain their render-once identity and geometry.
|
|
1444
|
+
- Add `PmiScene` JSON result interfaces for both `pmiScene` entry points, including
|
|
1445
|
+
semantic rows/ids, graphics, optional `stroked` text placements, planes, views and
|
|
1446
|
+
Specify statuses. Document parsing and rendering; the wire return remains a string.
|
|
1447
|
+
- For #87: snapshot faces add optional `name`; evidence adds schema 3 `face_names`
|
|
1448
|
+
and optional mixed-part `geometry`. Add descriptive `AnalysisFace` and
|
|
1449
|
+
`AnswerEvidence` JSON types; existing methods and answer shapes are retained.
|
|
1450
|
+
|
|
1451
|
+
## 0.1.5 (2026-10-31)
|
|
1452
|
+
|
|
1453
|
+
On quiddity/haecceity 0.2.8. Adds `pmiScene` (one PMI scene for the editor's Specify, diff and viewer), rebuilds `diff`'s PMI section on haecceity PMI with characteristic numbers, records dimension origins (#77), and adds `pmi_scene` and `api.diff` to the `specify-core` Python package. `diff`'s `pmi.stored`/`pmi.existing` are deprecated in favour of `pmi.items`. The WASM ceiling is now 15,000,000 bytes.
|
|
1454
|
+
|
|
1455
|
+
### Changed
|
|
1456
|
+
|
|
1457
|
+
- Revision PMI reports compare haecceity semantic requirements and full notation,
|
|
1458
|
+
with `pmiScene` ids/statuses and inspection numbers, geometry-derived dimensions,
|
|
1459
|
+
foreign PMI in resumed files, and support matching across face splits. Add
|
|
1460
|
+
`pmi.items`; retain deprecated `stored`/`existing` for one release. Numbered
|
|
1461
|
+
removals read “retired”; Markdown lists changes in inspection order.
|
|
1462
|
+
- The reviewed WASM size ceiling is raised from 12,980,000 to **15,000,000** bytes (maintainer, 2026-10-31), after `pmiScene` measured 12,903,620 bytes.
|
|
1463
|
+
|
|
1464
|
+
### Added
|
|
1465
|
+
|
|
1466
|
+
- For #142: native `pmi_scene::Scene` and raw-byte `pmi_scene`, Python `pmi_scene`
|
|
1467
|
+
and bundled `specify_core/schema/` JSON Schemas. Scenes contain haecceity's
|
|
1468
|
+
semantic/presentation documents plus Specify status, question, number, origin/source.
|
|
1469
|
+
Requirement-based Specify ids survive reviews; face anchors match mesh indices.
|
|
1470
|
+
- The Python package `specify-core` on this engine (`crates/specify-core-py`): specify-core's
|
|
1471
|
+
Python API and the `specify-core` command line, with no Python dependency; abi3 wheels for
|
|
1472
|
+
CPython 3.12 and later, built and published by `.github/workflows/python.yml`. See
|
|
1473
|
+
[docs/python.md](docs/python.md#the-python-package).
|
|
1474
|
+
- Its PyPI page (0.1.4.post1, packaging only): a README for users, with examples checked
|
|
1475
|
+
against the published package, plus project links, keywords and classifiers.
|
|
1476
|
+
- For #77: each written size/location dimension records its origin and stable geometric
|
|
1477
|
+
source as a CAx-IF UDA on the dimension itself. Native PMI/analysis and WASM snapshots
|
|
1478
|
+
expose stored metadata; accepted defaults count as requirements and kept foreign PMI
|
|
1479
|
+
remains byte-identical. Edition-1 writes upgrade the header to AP242 edition 4.
|
|
1480
|
+
See [dimension origin and source](docs/pmi-origin.md).
|
|
1481
|
+
|
|
1482
|
+
### WASM API
|
|
1483
|
+
|
|
1484
|
+
- `diff` reports add `pmi.items` with ids/numbers matching `pmiScene`; export
|
|
1485
|
+
`PmiItemChange` and `DiffPmi` TypeScript interfaces. Python adds `api.diff`
|
|
1486
|
+
returning the same selected-part report plus Markdown.
|
|
1487
|
+
- Add `IntentEngine.pmiScene(answers)` on the open part session (including `openPart`)
|
|
1488
|
+
and `pmiScene(stepBytes, part?)` for view-only As Drawn PMI without an interview.
|
|
1489
|
+
|
|
1490
|
+
### Fixed
|
|
1491
|
+
|
|
1492
|
+
- PMI scenes resolve part-setting questions from the rules table and writer's kind
|
|
1493
|
+
mapping, including `part.coating`. Feature-owned thread/knurl attributes inherit
|
|
1494
|
+
their requirement's question/status; supporting rows have no interview overlay.
|
|
1495
|
+
Pattern counts apply only to sizes, locations and tolerances, never datums.
|
|
1496
|
+
Foreign numeric ids become characteristic numbers only with Specify history.
|
|
1497
|
+
Python scene answers use the same input validation as WASM.
|
|
1498
|
+
General locations without a feature id use their face supports for stable identity.
|
|
1499
|
+
Locations shared by a datum member and its pattern keep their question identity;
|
|
1500
|
+
repeated measurements retain distinct characteristic numbers through STEP readback.
|
|
1501
|
+
- Scene metadata/history ids follow the requirement owner and property name across
|
|
1502
|
+
answer changes. Foreign datum identities and file callouts are reused during a live
|
|
1503
|
+
review, including when adding a control; saved views and planes survive the merge.
|
|
1504
|
+
Part-default surface finishes retain their #65 characteristic number in live and stored scenes;
|
|
1505
|
+
their question and the edge-condition question use `part.surface_finish` and `part.edges`.
|
|
1506
|
+
|
|
1507
|
+
### Changed
|
|
1508
|
+
|
|
1509
|
+
- Upgrade quiddity/haecceity to **v0.2.8** (`840b2ad`). Scene export uses only the
|
|
1510
|
+
serialise-only `json` feature in native, WASM and Python; no JSON import API is exposed.
|
|
1511
|
+
Presentation retains text placement, plane/graphic ids, saved views and datum links.
|
|
1512
|
+
Package schemas match v0.2.8. Written mass units use conversion-based gram per
|
|
1513
|
+
CAx-IF Annex C.1. Existing Specify STEP goldens remain byte-identical: its material
|
|
1514
|
+
writer supplies no density and foreign density records are preserved. Recognition stays unchanged.
|
|
1515
|
+
- Upgrade quiddity/haecceity to **v0.2.7** (`eaa7762`); recognition stays unchanged.
|
|
1516
|
+
Writer expectations change for slash-separated deviations and notes/frame placement.
|
|
1517
|
+
Remove the blank-note drawing workaround: literal blank rows now write valid STEP directly.
|
|
1518
|
+
|
|
1519
|
+
- Upgrade quiddity and haecceity to **v0.2.6** (`b9addd9`, quiddity-rust#137/#135),
|
|
1520
|
+
including native, WASM and Python. Written STEP now carries dimension and tolerance
|
|
1521
|
+
callouts, ISO 1302 face surface symbols and a `General notes` block for part settings.
|
|
1522
|
+
Multi-face aspects are composite, locations reference their own aspects, and a datum
|
|
1523
|
+
feature that also has a size uses separate datum-feature and dimensional-size entities.
|
|
1524
|
+
Presentation stays enabled; optional F3D import stays off. Recognition schema 6 and
|
|
1525
|
+
fingerprint format 3 are unchanged.
|
|
1526
|
+
|
|
1527
|
+
## 0.1.4 (2026-10-30)
|
|
1528
|
+
|
|
1529
|
+
### Added
|
|
1530
|
+
|
|
1531
|
+
- For #65: stable per-part characteristic numbers in standard AP242 `ID_ATTRIBUTE`s,
|
|
1532
|
+
with a persistent high-water mark that retires removed numbers. PMI/analysis and WASM
|
|
1533
|
+
snapshots expose file numbers; answer revision carry preserves them through quiddity's
|
|
1534
|
+
correspondence. General dimensions written as PMI are numbered; rows without an entity remain unnumbered.
|
|
1535
|
+
A part's first numbering follows inspection order: datum letters, then front/top/right view
|
|
1536
|
+
and row-major face position, with size/location/control ties; face finishes, threads and
|
|
1537
|
+
knurls share that walk and unpositioned defaults go last. Later additions append above the
|
|
1538
|
+
high-water mark. See
|
|
1539
|
+
[characteristic number storage and allocation](docs/characteristic-numbers.md).
|
|
1540
|
+
- The STEP states every dimension a drawing would (#63): the writer writes the dimensions the
|
|
1541
|
+
general tolerance covers (plain sizes, plane levels and hole locations, `general.rs`) with
|
|
1542
|
+
their nominal alone, under the general tolerance written for the part. A part located by ±
|
|
1543
|
+
dimensions now carries its hole locations. They are counted in one report line,
|
|
1544
|
+
`N dimensions under the general tolerance`. A part with PMI from elsewhere gets none (its
|
|
1545
|
+
own dimensions stand), and a datum's own faces get no size (its datum stays a plain datum
|
|
1546
|
+
feature). Read back, Specify's own nominal-only dimensions settle no question.
|
|
1547
|
+
|
|
1548
|
+
### Fixed
|
|
1549
|
+
|
|
1550
|
+
- For #67, revision reports describe an added turned end chamfer with its size and
|
|
1551
|
+
boss context. Retained supporting surfaces and boundary edges distinguish trimmed
|
|
1552
|
+
flat centroids from real moving or removal. Raw recognition, correspondence and answer migration are unchanged.
|
|
1553
|
+
|
|
1554
|
+
### Changed
|
|
1555
|
+
|
|
1556
|
+
- Relicensed from AGPL-3.0-or-later to **Apache-2.0** (`LICENSE`, `NOTICE`, both crates'
|
|
1557
|
+
`license` fields), matching quiddity and haecceity.
|
|
1558
|
+
|
|
1559
|
+
- Upgrade quiddity and haecceity (native and WASM) to **v0.2.5** (`6110b4c`,
|
|
1560
|
+
quiddity-rust#134). Boss heights and free ends include their own convex end chamfers
|
|
1561
|
+
and rounds; edge-treated plates stay plates, and inside turned fillets are described
|
|
1562
|
+
as concave. Saved boss answers retain their face targets; revision migration still
|
|
1563
|
+
reviews changed dimensions. Recognition schema 6 and fingerprint format 3 stay unchanged;
|
|
1564
|
+
optional F3D import stays off. Plate centre coordinates use the same six-decimal mm
|
|
1565
|
+
publication as face centroids, keeping native and WASM snapshots consistent after
|
|
1566
|
+
projected edge strips are restored.
|
|
1567
|
+
|
|
1568
|
+
- Upgrade quiddity and haecceity (native and WASM) to **v0.2.4** (`2f6b3a6`): haecceity's Add
|
|
1569
|
+
shares the face usages a file's location dimensions hold, so PMI added beside them no longer
|
|
1570
|
+
breaks `item_identified_representation_usage.UR1` (quiddity-rust#132).
|
|
1571
|
+
|
|
1572
|
+
- Upgrade quiddity and haecceity (native and WASM) to **v0.2.3** (`ced75a5`).
|
|
1573
|
+
Analyses and revision reports describe turned bodies, annular face grooves (rim
|
|
1574
|
+
diameters, depth and wall angles), cylindrical profile surfaces and concave fillets,
|
|
1575
|
+
including spherical inside corner caps. These families follow the existing body,
|
|
1576
|
+
groove and surface rules without additional interview questions or duplicate PMI.
|
|
1577
|
+
Full-length turned ODs are no longer bosses; their external cylinders retain the
|
|
1578
|
+
existing OD datum defaults. Saved answers on a removed boss remain
|
|
1579
|
+
visibly unresolved for review and cannot migrate to another family. Recognition
|
|
1580
|
+
schema 6 and fingerprint format 3 are unchanged; optional F3D import stays off.
|
|
1581
|
+
|
|
1582
|
+
## 0.1.3 (2026-10-29)
|
|
1583
|
+
|
|
1584
|
+
### Added
|
|
1585
|
+
|
|
1586
|
+
- `specify-core diff` compares two revisions of an assembly with no `--part`: its parts paired
|
|
1587
|
+
by name, a parts table of those changed, added, removed, placed a different number of times or
|
|
1588
|
+
moved, each changed part's own report, and a picture of the whole assembly coloured by part.
|
|
1589
|
+
Answers are by part name; a single part's answers are taken as its part's when its file
|
|
1590
|
+
becomes an assembly. `--viewer URL` links each changed part to the /diff page with
|
|
1591
|
+
`&part=NAME`. A single part's report is unchanged (`docs/diff.md`, "Assemblies").
|
|
1592
|
+
- The STEP diff action compares assemblies: one comment with the parts table, a section for each
|
|
1593
|
+
changed part, the assembly's picture and a /diff link for each changed part.
|
|
1594
|
+
|
|
1595
|
+
### WASM API
|
|
1596
|
+
|
|
1597
|
+
- `diff` compares two revisions of an assembly part by part: `{report, markdown, parts}`, each
|
|
1598
|
+
changed part with its own `markdown` and `view`. Its signature is unchanged.
|
|
1599
|
+
|
|
1600
|
+
## 0.1.2 (2026-10-29)
|
|
1601
|
+
|
|
1602
|
+
### Changed
|
|
1603
|
+
|
|
1604
|
+
- Upgrade quiddity and haecceity (native and WASM) to **v0.2.2** (`e58d174`). Deep
|
|
1605
|
+
hole-entry steps are counterbores; multi-step holes retain their outer counterbores and
|
|
1606
|
+
holes with different outer steps get separate questions. Tangent convex rounds are
|
|
1607
|
+
fillets at any wall angle (up to a 135° sweep), while bend skins and false rounds are
|
|
1608
|
+
no longer fillets. Failed recognition proofs stay refusals, never question targets.
|
|
1609
|
+
Recognition schema 6 and fingerprint format 3 are unchanged; optional F3D import stays off.
|
|
1610
|
+
|
|
1611
|
+
- The reviewed WASM size ceiling is raised by 10%, from 11,800,000 to 12,980,000 raw bytes,
|
|
1612
|
+
after the revision-report work measured 11,807,493 in CI.
|
|
1613
|
+
- The revision report says complex changes plainly (#56):
|
|
1614
|
+
- a hole pattern laid out again (another count, circle or spacing) is one line, the old
|
|
1615
|
+
pattern become the new (`pattern of 4 × Ø6 … → pattern of 5 × Ø6 … on a Ø48 circle`),
|
|
1616
|
+
its holes' own pairings folded into it; same-place folding uses 10% of the smaller
|
|
1617
|
+
feature's radius (pattern circle radius or member spread), with a 0.1 mm floor, so a
|
|
1618
|
+
large part does not make distant small holes into replacements;
|
|
1619
|
+
- a hole that became another kind of hole in its place reads as that (`Ø6 × 10 through
|
|
1620
|
+
holes → Ø6 through holes, counterbored Ø12 × 3 deep`), not as removed and added;
|
|
1621
|
+
counterbores, countersinks, spotfaces and outer steps include their sizes in hole and
|
|
1622
|
+
pattern descriptions;
|
|
1623
|
+
- what a feature borders is not a change to it, and neighbourhood signatures are never
|
|
1624
|
+
shown; when unchanged bevels continue tangentially round new fillets, anchored to carried
|
|
1625
|
+
old chamfer faces, the report says `2× chamfers now run round the new fillets`, rather than
|
|
1626
|
+
counting the extra faces as chamfers added; separate or resized chamfers remain changes;
|
|
1627
|
+
- a feature recognised twice (a pocket by its depth and by its section) is one line, in plain
|
|
1628
|
+
sizes, not `section.sides.2`;
|
|
1629
|
+
- when the whole part moved, the report says so: `The whole part moved between the revisions
|
|
1630
|
+
(turned 90° about Z, moved X +8, Y +15, Z +3)`; half-turns recover their axis from
|
|
1631
|
+
the symmetric part of the rotation, where the skew part vanishes;
|
|
1632
|
+
- a slot is named by its size (`16 × 6 × 10 slot added`).
|
|
1633
|
+
- A report feature's `class` can be `replaced`, with `became`: the new feature in words; or
|
|
1634
|
+
`continued`, with the chamfer's extension records in `candidates` and their faces in the view.
|
|
1635
|
+
|
|
1636
|
+
## 0.1.1 (2026-10-27)
|
|
1637
|
+
|
|
1638
|
+
### Added
|
|
1639
|
+
|
|
1640
|
+
- The STEP diff action's picture links, in a public repository, to draftwright.io/diff, which
|
|
1641
|
+
compares the two revisions live in the browser and shows the part in 3D.
|
|
1642
|
+
- The WebAssembly `diff`'s `view` has `changes`: the report's "What changed" lines in order,
|
|
1643
|
+
each with its features and their faces on the new part and the old, so a viewer can link the
|
|
1644
|
+
lines and the faces.
|
|
1645
|
+
|
|
1646
|
+
## 0.1.0 (2026-10-27)
|
|
1647
|
+
|
|
1648
|
+
### Added
|
|
1649
|
+
|
|
1650
|
+
- The STEP diff action (`step-diff/`): one workflow step, `uses:
|
|
1651
|
+
pzfreo/specify-core-rust/step-diff@main`, that runs `specify-core diff` on each STEP file a pull
|
|
1652
|
+
request changes and keeps one comment up to date with the report, its picture and the answers
|
|
1653
|
+
carried.
|
|
1654
|
+
|
|
1655
|
+
### Changed
|
|
1656
|
+
|
|
1657
|
+
- The README describes Specify as it is now, with install steps for the release binaries;
|
|
1658
|
+
`docs/diff.md` explains how revisions are compared and answers carried, and
|
|
1659
|
+
`step-diff/README.md` is a guide to the action. The library API moved to `docs/library.md`
|
|
1660
|
+
and the Python engine's history and differences to `docs/python.md`.
|
|
1661
|
+
- quiddity and haecceity are pinned to quiddity-rust's `v0.2.1` release (`37df6a0`), from
|
|
1662
|
+
`v0.2.1-alpha.1`. The release changes no library code, so recognition (schema 6), fingerprints
|
|
1663
|
+
and answer IDs are unchanged.
|
|
1664
|
+
|
|
1665
|
+
### WASM API
|
|
1666
|
+
|
|
1667
|
+
- `diff(oldName, oldBytes, newName, newBytes, answersJson, title)`: `specify-core diff` in the
|
|
1668
|
+
browser, returning the report, its Markdown and `view`, the meshes and face classes a viewer
|
|
1669
|
+
draws the change with (`revision::view`, `session::diff`). For draftwright.io's STEP diff page.
|
|
1670
|
+
|
|
1671
|
+
## 0.1.0-alpha.9 (2026-10-26)
|
|
1672
|
+
|
|
1673
|
+
### Added
|
|
1674
|
+
|
|
1675
|
+
- The `specify-core` command line for Linux (x86_64), macOS (Apple Silicon) and Windows
|
|
1676
|
+
(x86_64), attached to each release (`.github/workflows/cli.yml`), each built, tried on a
|
|
1677
|
+
revision and checksummed.
|
|
1678
|
+
- `specify-core diff OLD NEW --answers A -o DIR` (`revision::diff`, `revision::picture`):
|
|
1679
|
+
answers carried to a new revision of the part through quiddity's correspondence, where
|
|
1680
|
+
`resume::rematch_answers` leaves every feature and datum answer unresolved once the face
|
|
1681
|
+
evidence differs. Each answer's faces are mapped and the answer moved to the feature of its
|
|
1682
|
+
family holding them; orphaned, ambiguous, unmatched and stale answers are left unresolved
|
|
1683
|
+
with their value and reason, never guessed. The report lists changed features, answers to
|
|
1684
|
+
check (carried to a feature quiddity reports changed), new questions and new review problems,
|
|
1685
|
+
as JSON and as Markdown for a pull request comment, and `model.png` draws the new part
|
|
1686
|
+
coloured by what changed. A Rust-only command, left out of the Python-parity top-level help.
|
|
1687
|
+
- For #2, `api::parts_of(file)` lists a `part::File`'s parts as `api::parts` lists a path's
|
|
1688
|
+
(`api::parts` now goes through it), and `carried::part_payload(bytes, part, name)` reads a
|
|
1689
|
+
payload written on one part of an assembly.
|
|
1690
|
+
|
|
1691
|
+
### Changed
|
|
1692
|
+
|
|
1693
|
+
- CI: cache Rust builds and check CLI/library composition on named wrapper cases; use
|
|
1694
|
+
a shared named corpus subset (`SPECIFY_CORPUS_ALL=1` opts into the full sweep locally).
|
|
1695
|
+
macOS PRs build all tests and run floating-point checks;
|
|
1696
|
+
main, manual runs and `release*` PRs keep the full suite, as Linux does on every run.
|
|
1697
|
+
- Upgrade quiddity and haecceity (native and WASM) to **v0.2.1-alpha.1** (`7291435`),
|
|
1698
|
+
retaining recognition schema 6 and fingerprint format 3. The feature picker gains
|
|
1699
|
+
annular grooves, semicircular blind slots, sharp/rounded V-channels (`trough_radius`)
|
|
1700
|
+
and rectangular through-notches. Drill-point holes include their tip cones, rectangular
|
|
1701
|
+
slots their end walls, pockets more of their proved boundaries, and polygonal bosses
|
|
1702
|
+
their free-end caps. Slot end planes use the actual claimed walls so questions, datum
|
|
1703
|
+
defaults and written PMI remain correct under rigid motion.
|
|
1704
|
+
- Adopt quiddity #91's outline-based roll: `golden_oriented_slots` and its captures and the
|
|
1705
|
+
17-degree slotted assembly return to the plate's file axes and four-wall slots; cgb241
|
|
1706
|
+
returns to file axes with face 47 an R23 blend; cgb217 uses a 13.07-degree frame with
|
|
1707
|
+
all sixteen R1 rounds classified as blends. Saved answers on verified unchanged geometry
|
|
1708
|
+
follow unique same-family supports as cones/walls are added; ambiguous or missing supports
|
|
1709
|
+
stay unresolved with their values. Without face evidence, changed IDs remain unresolved,
|
|
1710
|
+
and automatic/manual provenance follows each answer. Malformed assembly cycles and
|
|
1711
|
+
nesting deeper than 64 are refused as a whole by haecceity.
|
|
1712
|
+
- `revise` is now `specify-core diff` (`revision::diff`): it says what changed between two
|
|
1713
|
+
revisions as well as carrying the answers.
|
|
1714
|
+
- `diff` compares PMI (`Revised.pmi`). Without `--answers` it reads the answers Specify wrote
|
|
1715
|
+
as PMI in the old file (`pmi.answers_from`: `given`, `stored` or `none`); where the new file
|
|
1716
|
+
holds Specify's PMI too, each answer it differs on from those carried is listed
|
|
1717
|
+
(`pmi.stored`); a new file without it is said to need writing. The files' own PMI (from CAD) is
|
|
1718
|
+
matched through the faces and each dimension, tolerance, datum or note added, removed or
|
|
1719
|
+
changed is listed by the feature it is on (`pmi.existing`: `Ø7 × 10 through hole: flatness
|
|
1720
|
+
0.2 → 0.1`). The summary counts the changes to the PMI.
|
|
1721
|
+
- `diff`'s report on a real part: the summary names features first and counts the rounds and
|
|
1722
|
+
surfaces that follow them (`2 holes changed, 8 rounds and surfaces with them`); a freeform
|
|
1723
|
+
surface is `reshaped`, not its control points; a move is the component a person sees (a
|
|
1724
|
+
round riding a drafted face moves `Z +2`, not `X +0.1, Y +0.1, Z +2`); and an answer on a
|
|
1725
|
+
pattern is listed to check when its holes change.
|
|
1726
|
+
- `diff`'s report reads as a person would describe the change. The summary leads with what
|
|
1727
|
+
changed (`2 holes removed.`). A table gives the part's volume, area, bounding box and face
|
|
1728
|
+
count before and after. Each feature is named as a drawing names it (`Ø5 × 30 through
|
|
1729
|
+
hole`) and placed by the side of the part it is on, the boss it sits in and its offset from
|
|
1730
|
+
an axis or corner (`FeatureChange.what` and `.place`); alike features changed alike read as
|
|
1731
|
+
one line. Answers are listed by their question, and an answer on a removed feature says
|
|
1732
|
+
which feature went (`Revised.measures`, `Unresolved.question`, `Check.question` are new).
|
|
1733
|
+
- For #2, `writer::write_bytes` and `write_bytes_with` take a part of an assembly (from
|
|
1734
|
+
`part::File::load`), as `write_parts_bytes` does: the other parts, their placements, PMI and
|
|
1735
|
+
stored answers are kept. They no longer refuse a `LoadedPart` whose `part_count` is not 1.
|
|
1736
|
+
- For #2, extra attributes (`write_bytes_with`, `write_with`, `write_parts_with`,
|
|
1737
|
+
`write_parts_bytes_with`) are written on one part of an assembly, on its product definition,
|
|
1738
|
+
and verified like the rest. Several parts written together with extras are refused
|
|
1739
|
+
(`extra attributes are written on one part: write one part of an assembly at a time`), no
|
|
1740
|
+
longer every assembly.
|
|
1741
|
+
|
|
1742
|
+
### WASM API
|
|
1743
|
+
|
|
1744
|
+
- For #2, add static `IntentEngine.parts(name: string, bytes: Uint8Array): string` and
|
|
1745
|
+
`IntentEngine.openPart(name: string, bytes: Uint8Array, part: number): IntentEngine` (Rust:
|
|
1746
|
+
`session::Session::{parts, open_part}`). An assembly's part, or a part placed more than
|
|
1747
|
+
once, opens; its `writePmi` writes that part into the original file, keeping every other part
|
|
1748
|
+
and placement byte for byte, and `payload` reads the payload on that part. The constructor
|
|
1749
|
+
is unchanged for a file of one part used once and still refuses other files, its messages
|
|
1750
|
+
now naming `openPart`. `snapshot().provenance.part` is the part opened (0, as before, from
|
|
1751
|
+
the constructor). Existing calls are unchanged.
|
|
1752
|
+
|
|
1753
|
+
## 0.1.0-alpha.8 (2026-10-25)
|
|
1754
|
+
|
|
1755
|
+
### Added
|
|
1756
|
+
|
|
1757
|
+
- For #3, retain the existing turned-diameter ISO 261 thread choices (coarse and fine)
|
|
1758
|
+
alongside fits and knurls, and include both 0.05 mm match boundaries despite floating
|
|
1759
|
+
point subtraction noise. Otherwise no thread choice is offered. Verify typed/selected
|
|
1760
|
+
STEP equivalence and native/WASM exposure.
|
|
1761
|
+
- For #21, expose blind tapped holes' minimum full-thread depth as an editable text
|
|
1762
|
+
question in mm, with the computed default visible. An answered tap retains its inline
|
|
1763
|
+
or computed manufacturing depth; optional edits override it, remain unrounded, reach STEP PMI and
|
|
1764
|
+
resume from saved answers. Through holes and unknown drill depths have no depth question.
|
|
1765
|
+
- For #35, `resume::rematch_answers(loaded, features, answers, evidence, automatic)` matches
|
|
1766
|
+
answers held outside the STEP (a saved project's) to the part as now recognised, with the
|
|
1767
|
+
same face-support rule as answers stored in a STEP. Callers keep `resume::evidence(loaded)`
|
|
1768
|
+
(`{schema: 2, face_count, faces}`) with their answers. Legacy projects without saved face
|
|
1769
|
+
evidence (and schema 1 exports whose fingerprint can't be reproduced) resume with their
|
|
1770
|
+
answers matched by feature ID (a datum kept when its faces exist), the rest `unresolved` with their values, and `unverified` says so. Evidence that
|
|
1771
|
+
contradicts the part still leaves every answer on a feature or a datum (including
|
|
1772
|
+
`datum.X.flatness`/`.control`) `unresolved` with its value; only `part.*` answers are kept
|
|
1773
|
+
then. `automatic` marks answers the default path gave and returns their IDs renamed.
|
|
1774
|
+
New public
|
|
1775
|
+
fields `UnresolvedAnswer.automatic`, `Resumed.unverified` and `Resumed.automatic` break Rust
|
|
1776
|
+
struct-literal callers. See `docs/design.md`, "Saved answers across kernel upgrades".
|
|
1777
|
+
- For #35, `carried::attributes(source, name, value)` stores an application's named JSON
|
|
1778
|
+
payload in the STEP for `writer::write_bytes_with`, with a `specify-core original` record.
|
|
1779
|
+
`carried::payload(bytes, name)` reads it back, and `carried::original(bytes)` gives back the
|
|
1780
|
+
part first written from, verified by its sha256. The payload's encoding is the editor
|
|
1781
|
+
project's, so files written either way are read either way. Only an item in a user defined
|
|
1782
|
+
attribute is read as a payload. The core sets no payload size limit; callers set their own.
|
|
1783
|
+
|
|
1784
|
+
### Changed
|
|
1785
|
+
|
|
1786
|
+
- Pin quiddity and haecceity, including WASM, to tagged **v0.2.0-alpha.2**.
|
|
1787
|
+
- Adopt recognition schema 6 (#92): publish file-coordinate records, accept measuring
|
|
1788
|
+
axes as letters or vectors, and derive slot/channel end planes from the record's own
|
|
1789
|
+
origin and distances. Merge oriented slots/chamfers/patterns into the ordinary families;
|
|
1790
|
+
vector axes and exact converted extents replace the old direction fields. Remove the
|
|
1791
|
+
typed view and `_local`/`_frame`; recognition provenance is never geometry.
|
|
1792
|
+
All three golden 30° slots and their six end planes retain questions, defaults and
|
|
1793
|
+
written PMI through a 30° Z rotation/translation and a generic rigid rotation; end-wall
|
|
1794
|
+
agreement is within 0.000003 mm. Golden's slot-pattern direction is exactly −X.
|
|
1795
|
+
The formerly oriented mfcadpp/10252 chamfer remains one feature on face 2, with its
|
|
1796
|
+
18.694-mm overlapping run, 0.54-mm legs and 45° angle.
|
|
1797
|
+
- Kernel frame-vote corrections (#81) recover fillets: cgb217 **6 → 14**, CTC-02 AP242
|
|
1798
|
+
**3 → 20**. With the concavity correction (#89), cgb202 is **272 → 279** (16 recovered
|
|
1799
|
+
convex fillets, nine previously reported concave fillets removed). CTC-02 AP242 gains
|
|
1800
|
+
**4 pockets** and step levels **2 → 13**; its four former risers disappear. Ambiguous 49.5-mm hole rows
|
|
1801
|
+
are no longer patterns (#82). Symmetric countersink seats stay linked (#83), and plate
|
|
1802
|
+
boundaries retain their original planes (#84/#85). Fingerprints remain version 3.
|
|
1803
|
+
- Preserve old-kernel saved-answer fixtures with **13 / 37 / 34 answers** for oriented
|
|
1804
|
+
slots, cgb217 and CTC-02 AP242. Resume checks require each value to reattach by geometric
|
|
1805
|
+
support or remain open with its original ID and reason, never disappear. Golden's 13
|
|
1806
|
+
answers are part/datum settings and resume unchanged; none is keyed to an oriented slot.
|
|
1807
|
+
|
|
1808
|
+
### Fixed
|
|
1809
|
+
|
|
1810
|
+
- For #35, schema 1 answers saved by the pre-alpha browser writer resume again under
|
|
1811
|
+
quiddity v0.1.1. That kernel gives some zero centroid components the other sign, so their
|
|
1812
|
+
schema 1 hash cannot be reproduced. Such payloads in this port's attribute form now resume
|
|
1813
|
+
without face evidence, with their answers matched by feature ID, an
|
|
1814
|
+
`analysis.resume.unverified` reason, a warning and a `saved_answers_unverified` review
|
|
1815
|
+
problem. Rewriting stores schema 2.
|
|
1816
|
+
Python-written schema 1 files still open as foreign files (Q14).
|
|
1817
|
+
|
|
1818
|
+
### WASM API
|
|
1819
|
+
|
|
1820
|
+
- For the kernel upgrade (#92), `snapshot().analysis.features[*].record` uses schema-6
|
|
1821
|
+
file-coordinate measurements. Axis fields accept letters or unit vectors. Converted
|
|
1822
|
+
records carry a shared `origin`, including when their axes mix letters and vectors;
|
|
1823
|
+
`_local` and `_frame` are removed. Oriented families merge into `slots`, `chamfers`
|
|
1824
|
+
and `slot_patterns`; formerly oriented IDs change to those families, and optional
|
|
1825
|
+
plain-record fields can be null. Method signatures do not change.
|
|
1826
|
+
|
|
1827
|
+
- For #3 and #21, editors use the existing question/choice/default structures and unchanged
|
|
1828
|
+
JS/TypeScript signatures. Render `hole.full_thread:<feature>` as a text question; its
|
|
1829
|
+
string default is drill depth minus three pitches, rounded down to 0.5 mm (at least one
|
|
1830
|
+
pitch), or the inline depth. Submit a positive mm value that leaves three pitches, or
|
|
1831
|
+
use `acceptDefaults`. The depth is an optional `refine` question, excluded from `open`:
|
|
1832
|
+
an answered tap keeps its inline or computed depth in preview and written PMI even
|
|
1833
|
+
without a depth answer. Merely showing the depth question adds no accepted answer.
|
|
1834
|
+
- For #35, add `IntentEngine.rematchAnswers(answers: string, evidence?: string | null,
|
|
1835
|
+
automatic?: string | null): string` and `IntentEngine.evidence(): string`. Editors keep
|
|
1836
|
+
`evidence()` with saved answers and use `rematchAnswers` instead of setting aside answers
|
|
1837
|
+
by a list of answer kinds. Without evidence answers are matched by feature ID; with
|
|
1838
|
+
evidence that does not match every answer on a feature or a datum is returned in
|
|
1839
|
+
`unresolved` with its value, not in `answers`. See docs/wasm.md, "Answers
|
|
1840
|
+
saved outside the STEP".
|
|
1841
|
+
- For #35, `IntentEngine.writePmi(answers, project?, payload?)` takes an optional third
|
|
1842
|
+
argument, `{name, value}` JSON, carried in the STEP as base64 JSON under `name`. Give the
|
|
1843
|
+
project or the payload, not both. Either now also records the original part. Add
|
|
1844
|
+
`IntentEngine.payload(name: string): string | undefined` and
|
|
1845
|
+
`IntentEngine.original(): Uint8Array | undefined`. Existing calls are unchanged; a
|
|
1846
|
+
`writePmi` without a project or payload writes none, dropping any the opened file carried,
|
|
1847
|
+
and no original record. Written bytes with a project gain the `specify-core original` attribute. Analysis can report
|
|
1848
|
+
`resume.unverified`; review can report `code: "saved_answers_unverified"`. The Rust
|
|
1849
|
+
`session::Session::write_pmi` gains the `payload` argument (pass `None`).
|
|
1850
|
+
|
|
1851
|
+
## 0.1.0-alpha.7 (2026-10-23)
|
|
1852
|
+
|
|
1853
|
+
### Added
|
|
1854
|
+
|
|
1855
|
+
- For #22, STEP-only provenance on every Specify-written semantic PMI requirement, using
|
|
1856
|
+
the stable `specify-core:written:v1` token in AP242 fields and representation descriptions.
|
|
1857
|
+
Imported PMI remains unmarked; existing-PMI results expose the token independently of
|
|
1858
|
+
stored answers. `existing::part_settings_provenance` also exposes settings authorship.
|
|
1859
|
+
The new public `ExistingPmi.provenance` field breaks Rust struct-literal callers; add
|
|
1860
|
+
`provenance: None` when constructing an unmarked row. See `docs/pmi-provenance.md`.
|
|
1861
|
+
|
|
1862
|
+
### Changed
|
|
1863
|
+
|
|
1864
|
+
- Pin quiddity/haecceity to **v0.1.1** (a27b7064), including the WASM crate. Specify's
|
|
1865
|
+
version is unchanged. Draftwright's released kernel pin temporarily differs; the
|
|
1866
|
+
advisory pin checker continues to warn.
|
|
1867
|
+
- Adopt the kernel's file-grid/near-axis publication and support-plane plate boundaries
|
|
1868
|
+
(#79), and remove CTC-04's false quarter-cone countersink features (#80). Hidden-line
|
|
1869
|
+
drawing corrections are upstream; Specify does not consume that drawing API.
|
|
1870
|
+
- Read framed recognition correctly: file-space vectors/positions stay in file space,
|
|
1871
|
+
local slot/channel end planes are projected through the inferred frame, and remaining
|
|
1872
|
+
local record coordinates carry explicit frame metadata. Equal-area datum proposals
|
|
1873
|
+
keep face order across rigid motion within max(1e-6 mm², 1e-6 times the larger area).
|
|
1874
|
+
Aligned and framed slot/channel end-plane checks use the same published precision.
|
|
1875
|
+
- Migrate saved feature answers by unique same-family geometric face support after
|
|
1876
|
+
validating the legacy ordered face fingerprint. Unmatched, ambiguous or colliding
|
|
1877
|
+
answers retain their old ID/value/reason in `analysis.resume.unresolved` and appear in
|
|
1878
|
+
the existing review warnings; affected questions stay open. **Editor upgrading note:**
|
|
1879
|
+
review these warnings and answer the open questions before saving; recover old values
|
|
1880
|
+
from the resume report: unresolved old values are not persisted when saving again.
|
|
1881
|
+
Files whose geometry no longer matches open as foreign files, retaining existing PMI
|
|
1882
|
+
and part settings. Alpha.6 STEP files and unchanged schema-2 payload bytes remain
|
|
1883
|
+
supported. See `docs/design.md`, "Saved answers across kernel upgrades".
|
|
1884
|
+
- **Fewer features on four parts.** Under quiddity v0.1.x, 44 features that alpha.6 recognised are not
|
|
1885
|
+
recognised and their faces are unexplained in quiddity's face accounting (no named refusal): 24 fillets
|
|
1886
|
+
on cgb202, 18 on the NIST CTC-02 AP242 file, one on cgb207 and an oriented chamfer on mfcadpp/10252.
|
|
1887
|
+
Their questions no longer appear. They are recorded as `undetermined` in the known differences
|
|
1888
|
+
pending a quiddity fix.
|
|
1889
|
+
- Adapt PMI to the v0.1.x model and step-io 0.3 decoded strings; keep stored answers,
|
|
1890
|
+
literal note text and the STEP-only provenance token round-tripping.
|
|
1891
|
+
|
|
1892
|
+
- CI: run the full workspace tests on Ubuntu and macOS with Quiddity's pinned STEP corpus;
|
|
1893
|
+
require the corpus and its captured inputs instead of silently skipping them.
|
|
1894
|
+
- **Native Rust helper:** `pyfmt::fmt_rules` now returns `Result<String, FormatError>`;
|
|
1895
|
+
callers must handle non-finite dimension refusals instead of relying on a panic (#26).
|
|
1896
|
+
|
|
1897
|
+
### Fixed
|
|
1898
|
+
|
|
1899
|
+
- Refuse invalid browser answers, state, non-finite dimensions and oversized inputs with
|
|
1900
|
+
thrown string errors; preserve the session after refusals. Audit the WASM-reachable panic
|
|
1901
|
+
and indexing sites and exercise hostile inputs in the WASM CI job (#26).
|
|
1902
|
+
- Preserve Python-compatible text answers (including `null`, empty and non-string values)
|
|
1903
|
+
and saved state with stale or repeated automatic-answer IDs at the WASM boundary (#26).
|
|
1904
|
+
Reuse core choice validation and the settled review to avoid redundant rule passes.
|
|
1905
|
+
|
|
1906
|
+
### WASM API
|
|
1907
|
+
|
|
1908
|
+
- No JS/TypeScript signatures change for the kernel pin. Session analysis can additionally
|
|
1909
|
+
report `resume.migrated` and `resume.unresolved`; review problems expose unresolved
|
|
1910
|
+
saved-answer warnings using `code: "saved_answer_unresolved"`.
|
|
1911
|
+
|
|
1912
|
+
- No JavaScript/TypeScript signature changes (#26). Invalid answer IDs, contradictory choices,
|
|
1913
|
+
invalid choice/note types and malformed state now refuse explicitly. Inputs are
|
|
1914
|
+
bounded to 64 MiB STEP, 8 MiB per JSON/project argument and 64 KiB names/interpretation/mode.
|
|
1915
|
+
|
|
1916
|
+
## 0.1.0-alpha.6 (2026-10-20)
|
|
1917
|
+
|
|
1918
|
+
### WASM API
|
|
1919
|
+
|
|
1920
|
+
- Behaviour change for the editor (issue #20, #28): without a call to `acceptDefaults`, unanswered
|
|
1921
|
+
default datums, positions and the general tolerance are no longer drawn or written. Review
|
|
1922
|
+
intent and `writePmi` include only answered specifications and the file's own datums. The
|
|
1923
|
+
defaults stay on their questions as suggestions with their reasons, and their ids stay in
|
|
1924
|
+
`open`; an unanswered general tolerance is absent from `intent.part`. Intent items keep
|
|
1925
|
+
their `default` field, which is now always `false`. No signatures change.
|
|
1926
|
+
- Add `IntentEngine.acceptDefaults(answers: string): string` and
|
|
1927
|
+
`acceptDefaults(analysis: string, answers: string): string` (#28). Both return ordinary
|
|
1928
|
+
editable answers with every unanswered default accepted to the same fixed point as CLI/serve
|
|
1929
|
+
`accept_defaults`. Supplied answers are preserved, questions without defaults stay open, and
|
|
1930
|
+
the session is not changed. The existing `review`, `settle` and `writePmi` take the returned
|
|
1931
|
+
answers. Existing signatures are unchanged.
|
|
1932
|
+
|
|
1933
|
+
### Added
|
|
1934
|
+
|
|
1935
|
+
- Free-text part notes as semantic PMI (#25). A new `part.notes` question (kind `text_list`,
|
|
1936
|
+
default `[]`) takes an ordered list of literal strings for notes about making the part;
|
|
1937
|
+
drawing-only notes stay in the drawing Spec and no existing text is migrated. Each note is
|
|
1938
|
+
written as a part-owned `semantic text` attribute set with a `general note` text item and a
|
|
1939
|
+
one-based integer `note index`. Answers that are not a list of strings are refused by the
|
|
1940
|
+
rules and by the writer. `existing::part_settings` reads the notes back as `notes` in index
|
|
1941
|
+
order, also from files without stored answers and for each part of an assembly. Writing an
|
|
1942
|
+
identical list over notes another tool wrote adds no duplicates; writing a different one is
|
|
1943
|
+
refused. Rules version 3. See `docs/part-notes.md`.
|
|
1944
|
+
|
|
1945
|
+
### Changed
|
|
1946
|
+
|
|
1947
|
+
- Datums A/B/C are now proposed as measurement origins on every part, not only when a hole
|
|
1948
|
+
position or runout needs a frame: also in ± locating mode, when every hole uses the general
|
|
1949
|
+
tolerance, and on parts without holes (#24; rules version 2). The same A/B/C defaults apply, including a
|
|
1950
|
+
turned part's axis A and shoulder B, and the ± datum prompts ask where the part is measured
|
|
1951
|
+
from. Explicit ± hole locations are dimensioned from the selected datum planes instead of
|
|
1952
|
+
the default edge faces, so changing or removing a datum changes or removes those
|
|
1953
|
+
dimensions. ± mode asks for and adds no position tolerances, datum controls or runout, and does not
|
|
1954
|
+
report unused datums. Accepted datums are written as AP242 datum features without
|
|
1955
|
+
geometric tolerances. Like other defaults, these datums are written only once answered or
|
|
1956
|
+
accepted (#28).
|
|
1957
|
+
- Rewriting a resumed file whose PMI and stored answers are unchanged returns the original
|
|
1958
|
+
bytes, after the replacement has been written and verified (#25).
|
|
1959
|
+
- Pin quiddity and haecceity (native and WASM) to quiddity-rust `v0.1.0-alpha.8`,
|
|
1960
|
+
matching draftwright-rust alpha.9 (#27). This brings derived PMI geometry, measured
|
|
1961
|
+
modelled threads and graphic-only PMI presentation accounting. Modelled thread
|
|
1962
|
+
faces are excluded from plain datum seats; existing thread interviews and verified
|
|
1963
|
+
writing remain available. New departures from the frozen Python captures are
|
|
1964
|
+
recorded with independent OpenCascade evidence in the known differences.
|
|
1965
|
+
|
|
1966
|
+
### Fixed
|
|
1967
|
+
|
|
1968
|
+
- Answering a question no longer accepts every unanswered default (issue #20, #28). Review,
|
|
1969
|
+
preview and WASM PMI writing include only answered specifications and existing datums;
|
|
1970
|
+
datum, hole-position and general-tolerance defaults remain open suggestions with their
|
|
1971
|
+
reasons. CLI/serve writing with explicit `accept_defaults` is unchanged. The editor's
|
|
1972
|
+
automatic ±/plain-hole path does not accept the remaining suggestions. Answered controls
|
|
1973
|
+
waiting for unaccepted datum frames now report `awaits_datum_frame` in review/serve
|
|
1974
|
+
problems instead of disappearing silently; strict apply still refuses an unavailable
|
|
1975
|
+
datum control.
|
|
1976
|
+
- Turned parts with a common principal axis now default to A on the plain recognised cylinder
|
|
1977
|
+
with the greatest total cylindrical area (diameter breaks ties) (#23). Threads and knurls from
|
|
1978
|
+
answers, recognition or PMI are excluded. Interrupted single-diameter shafts recognised as
|
|
1979
|
+
dominant bosses also use their axis. B is a perpendicular locating shoulder (assembly
|
|
1980
|
+
contact first, otherwise largest area), excluding recess walls unless the only perpendicular
|
|
1981
|
+
face. Explicit datum answers and file datums retain precedence; prismatic parts keep plane
|
|
1982
|
+
datums. Coaxial holes use diametral position to A and are recognised as located by that axis;
|
|
1983
|
+
offset and cross holes still need location. Runout follows the primary axis. See
|
|
1984
|
+
`docs/turned-defaults.md` for detection, ISO 1101 zone interpretation and before/after
|
|
1985
|
+
corpus verification.
|
|
1986
|
+
- Blind tapped-hole help now gives a valid full-thread-depth example (such as
|
|
1987
|
+
`M2 tapped, 2.5 mm full thread`) and explains the computed default (#23). Choice and
|
|
1988
|
+
typed-answer summaries show that depth, including native serve and WASM interpretation;
|
|
1989
|
+
canonical answers, explicit depths, through holes and unknown depths retain their behaviour.
|
|
1990
|
+
|
|
1991
|
+
## 0.1.0-alpha.5 (2026-10-18)
|
|
1992
|
+
|
|
1993
|
+
### WASM API
|
|
1994
|
+
|
|
1995
|
+
- `IntentEngine.settle(state)` returns `{review, state}`: the review settled to the default path
|
|
1996
|
+
with label anchors. `answerEdit`, `tolerancingEdit` and `openedTolerancing` change a project's
|
|
1997
|
+
`{answers, auto, gdt}` as the editor's tolerancing controls, All specs answers and project
|
|
1998
|
+
opening do.
|
|
1999
|
+
- Add a reviewed TypeScript API snapshot and CI acknowledgement gate: declaration or snapshot
|
|
2000
|
+
changes require a new Unreleased WASM API bullet; refresh with `python3 tools/check_wasm_api.py --update`.
|
|
2001
|
+
|
|
2002
|
+
### Added
|
|
2003
|
+
|
|
2004
|
+
- `tolerancing`: a drawing by default, GD&T on request. The editor's rules for the default path
|
|
2005
|
+
(± locating, plain holes except proposed taps, plain diameters except threads and knurls,
|
|
2006
|
+
recorded in `auto`) and for GD&T mode changes, moved from draftwright-editor so the editor and
|
|
2007
|
+
the MCP server make the same changes.
|
|
2008
|
+
- Enforce a reviewed optimized WASM size ceiling, with raw, gzip and Brotli measurements and
|
|
2009
|
+
headroom on every build. Compare both quiddity kernel pins with Draftwright's latest release
|
|
2010
|
+
on main and before uploading releases; mismatches warn and add a Kernel note to release notes.
|
|
2011
|
+
|
|
2012
|
+
## 0.1.0-alpha.4 (2026-10-16)
|
|
2013
|
+
|
|
2014
|
+
### Added
|
|
2015
|
+
|
|
2016
|
+
- Browser package `specify-core-wasm` in a Cargo workspace (issue #11, PR #13), preserving the
|
|
2017
|
+
editor's `IntentEngine`, JSON review/interpretation and verified PMI writing API, including
|
|
2018
|
+
face-order checks, geometry anchors and the optional `draftwright editor project` attribute
|
|
2019
|
+
via the upstream writer. Shared `api::review` composes presented questions, open ids, preview
|
|
2020
|
+
intent and problems for any front end. Filesystem APIs and the line service are cfg-gated
|
|
2021
|
+
out of WASM; native entry points and default Cargo commands retain their behaviour.
|
|
2022
|
+
- `wasm-release` profile (LTO, one codegen unit, optimization level 3), wasm-pack builds and
|
|
2023
|
+
Node/native parity on PRs and main; published `v*` releases attach a web `pkg/` tarball and
|
|
2024
|
+
SHA-256 checksum after parity verification. Actions are SHA-pinned, release write access is
|
|
2025
|
+
job-scoped, and nothing is published to npm. See `docs/wasm.md` for use and editor migration.
|
|
2026
|
+
|
|
2027
|
+
- `writer::{write_bytes_with, write_parts_bytes_with}` accepts caller-provided
|
|
2028
|
+
`&[haecceity::pmi::AttributeSet]`, written and verified in the same edit as the PMI and stored
|
|
2029
|
+
answers (issue #10, PR #12). `writer::{write_with, write_parts_with}` also supports atomic file
|
|
2030
|
+
output, including `.gz` destinations. Existing APIs delegate with an empty slice and keep
|
|
2031
|
+
their signatures and bytes. Nonempty extras require a single-part file; both set and item
|
|
2032
|
+
names reserve `pmi-assist answers` to protect resume. Extras follow the existing replace/add
|
|
2033
|
+
behaviour: replace removes old attributes, so callers resupply those wanted; add preserves
|
|
2034
|
+
existing attributes. Tests mirror the editor's base64 `draftwright editor project`, including
|
|
2035
|
+
readback through haecceity, resumed answers, name clashes, empty-slice parity, rewrites,
|
|
2036
|
+
foreign PMI and gzip output.
|
|
2037
|
+
|
|
2038
|
+
## 0.1.0-alpha.3 (2026-10-16)
|
|
2039
|
+
|
|
2040
|
+
Pinned by rev to quiddity-rust's 0.1.0-alpha.4 release commit `f5ddb72` (from `v0.1.0-alpha.3`,
|
|
2041
|
+
by way of rev `0d601d2`); no tag exists yet.
|
|
2042
|
+
|
|
2043
|
+
### Added
|
|
2044
|
+
|
|
2045
|
+
- Gzipped STEP input (maintainer decision 2026-10-15): every command, serve request and library
|
|
2046
|
+
load (`part::File::read`/`of_bytes`, `part::load_bytes`, `api`) reads a gzipped STEP file or
|
|
2047
|
+
bytes, told by its magic bytes, not its name, and decompressed in memory. The binding's
|
|
2048
|
+
`source_sha256` and the stored-answers fingerprint are of the decompressed bytes, so a `.step`
|
|
2049
|
+
and its `.step.gz` bind and resume identically. `write` to a destination named `.gz` writes it
|
|
2050
|
+
gzipped (a write in place to a `.gz` input stays gzipped); other destinations are STEP text. A
|
|
2051
|
+
gzip that does not decompress is refused, saying so. `part::gunzip`.
|
|
2052
|
+
|
|
2053
|
+
- A turned diameter's question ("a fit, a thread or knurled?") offers every ISO 261 metric
|
|
2054
|
+
thread at its size as a choice beside the fits and knurls: the coarse thread as before
|
|
2055
|
+
(`thread:M10`, called up M10×1.5-6g), then the fine pitches (`thread:M10x1.25`, code
|
|
2056
|
+
`M10×1.25 thread`, callout M10×1.25-6g), from M1.6 to M64 (`standards::ISO_261`,
|
|
2057
|
+
`external_threads`, `external_thread`). A size ISO 261 gives in fine pitches only, such as
|
|
2058
|
+
Ø15, offers those (M15×1.5, M15×1); a diameter at no ISO 261 size offers no thread. Typing
|
|
2059
|
+
the same thread in the free-text box reads as the same choice and writes the same AP242
|
|
2060
|
+
thread; a fine pitch typed for a turned diameter is no longer refused. Existing answers
|
|
2061
|
+
(`thread:M6`) are unchanged. The oracle sweeps set aside exactly these threads and still compare everything else with Python.
|
|
2062
|
+
- `part::File`: one haecceity `StepFile::read` per file, from which every part, its
|
|
2063
|
+
definitions and the file's hash are taken (`read`, `of_bytes`, `of_shared`, `load`,
|
|
2064
|
+
`load_all`, `parts`, `definitions`, `sha256`, `path`, `bytes`).
|
|
2065
|
+
- `api::write_bytes(bytes, jobs)`, `api::IN_MEMORY` and `writer::write_parts_bytes`: write
|
|
2066
|
+
several parts of a file held in memory; the other parts are loaded from the same bytes.
|
|
2067
|
+
- `PartSummary.product_id`, listed after `name` in the library, `api::parts`, the CLI and serve
|
|
2068
|
+
(Python's listing has no such key: recorded as `rust-correct` in `docs/known-differences.md`).
|
|
2069
|
+
|
|
2070
|
+
### Changed
|
|
2071
|
+
|
|
2072
|
+
- quiddity-rust 0.1.0-alpha.4 takes Python's local-degradation retry, so on corpus parts 13975
|
|
2073
|
+
and 14052 the features match Python's: the four entries for features only Rust reported there
|
|
2074
|
+
(`holes:0` and `pockets:*` on 13975, `holes:8` and `plates:5.6` on 14052) are removed as stale,
|
|
2075
|
+
and the section-recess entry no longer cites 14052 (`docs/known-differences.md`). No question
|
|
2076
|
+
changes.
|
|
2077
|
+
|
|
2078
|
+
- A gzipped STEP file is no longer refused ("the file is gzip-compressed; decompress it first");
|
|
2079
|
+
see Added.
|
|
2080
|
+
|
|
2081
|
+
- Writing an assembly mixed in kind, one part resuming specify-core's stored answers and another
|
|
2082
|
+
carrying PMI from elsewhere, writes each part by its own mode: replace for the resuming part
|
|
2083
|
+
(its PMI is the intent's, once, and its answers are stored), add for the other (nothing it had
|
|
2084
|
+
is lost). It was one add for both, which wrote the resumed part's PMI a second time and was
|
|
2085
|
+
refused by haecceity (`item_identified_representation_usage.UR1`).
|
|
2086
|
+
- The analysis of a part held in a `part::File` (`api::analyse_reporting_in`: `analyse --part
|
|
2087
|
+
N`, serve) takes the file's part definitions from it and parses the file as Part 21 once, for
|
|
2088
|
+
the stored answers and the PMI together, instead of reading the definitions again and parsing
|
|
2089
|
+
up to three more times. Output is unchanged; on `nist_ctc_01_asme1_rd.stp` the analysis runs
|
|
2090
|
+
in 6% fewer instructions (9.10e9 to 8.55e9), 7% on `parts/plate.step`. New:
|
|
2091
|
+
`existing::read_parsed`, `resume::stored_in`, `resume::answers_for_parsed`.
|
|
2092
|
+
- `docs/upstream-needs.md`: U1 and U9 cite quiddity-rust PR #10 (rev 0d601d20).
|
|
2093
|
+
- Every part is haecceity's own `Part` (`StepFile::part`); specify-core's stand-ins for part
|
|
2094
|
+
extraction, part names, the placed-back read and face matching are gone (upstream needs U1
|
|
2095
|
+
and U9 met). `LoadedPart` keeps all its fields; `rebuilt` is now always false.
|
|
2096
|
+
- Analysis of an assembly part (`api::analyse_file`, CLI and serve `analyse`) loads the part
|
|
2097
|
+
and the other parts its mates need from one read; `api::analyse` loads them from
|
|
2098
|
+
`loaded.bytes`, never from the path.
|
|
2099
|
+
- A part of an assembly can be written alone: the refusal when other parts had stored answers
|
|
2100
|
+
is gone, and the write mode is decided over the parts being written. An assembly with no
|
|
2101
|
+
part chosen still refuses, naming its parts.
|
|
2102
|
+
- The plate read from the assembly lists 6 of its 26 mesh edge polylines in a different order
|
|
2103
|
+
(haecceity numbers edges its own way); the edge set is unchanged.
|
|
2104
|
+
|
|
2105
|
+
## 0.1.0-alpha.2 (2026-10-14)
|
|
2106
|
+
|
|
2107
|
+
Pinned to quiddity-rust `v0.1.0-alpha.3` (from `v0.1.0-alpha.1`).
|
|
2108
|
+
|
|
2109
|
+
### Added
|
|
2110
|
+
|
|
2111
|
+
- `part::load_bytes` and `writer::write_bytes`: one part loaded from bytes and written to
|
|
2112
|
+
verified AP242 bytes, with no filesystem (for the editor's browser build); byte for byte
|
|
2113
|
+
the file API's output (`tests/bytes_api.rs`).
|
|
2114
|
+
- `Question::to_presented_dict()`: an opt-in presentation record with a feature row's `title`
|
|
2115
|
+
and a typed `characteristic` (flatness, perpendicularity, parallelism, position, runout) for
|
|
2116
|
+
datum, hole and turned questions; `to_dict()` is unchanged.
|
|
2117
|
+
|
|
2118
|
+
### Changed
|
|
2119
|
+
|
|
2120
|
+
- quiddity-rust `v0.1.0-alpha.3` publishes `section_recesses` in `Features`, so the analysis
|
|
2121
|
+
lists section recesses. Against Python, 154 of them differ only by Python's added plane faces
|
|
2122
|
+
(constituent, not defining: upstream need U2, as for holes and bosses), and the regions Python
|
|
2123
|
+
lists but quiddity-rust refuses or does not recover are still listed as missing
|
|
2124
|
+
(`docs/known-differences.md`). No question changes: the rules read only holes, hole patterns
|
|
2125
|
+
and turned steps.
|
|
2126
|
+
- Writing PMI into the NIST AP203 files (CTC-01, CTC-02, CTC-03, CTC-05, FTC-06, FTC-09) now
|
|
2127
|
+
succeeds: haecceity's upgrade repairs their two classes of instance that are invalid in AP242
|
|
2128
|
+
(and in AP203) and reports each repair, where the write was refused before. These writes now
|
|
2129
|
+
match the Python oracle.
|
|
2130
|
+
|
|
2131
|
+
## 0.1.0-alpha.1 (2026-10-10)
|
|
2132
|
+
|
|
2133
|
+
The first alpha: a pure-Rust port of [specify-core](https://github.com/pzfreo/specify-core),
|
|
2134
|
+
interview-driven AP242 PMI authoring for STEP parts, with no OpenCascade and no Python. Features
|
|
2135
|
+
come from quiddity-rust's recognisers; STEP reading, meshing and PMI reading and writing from its
|
|
2136
|
+
haecceity kernel (pinned to quiddity-rust `v0.1.0-alpha.1`).
|
|
2137
|
+
|
|
2138
|
+
### Added
|
|
2139
|
+
|
|
2140
|
+
- Every module of specify-core ported: part loading, features, existing PMI, the rules and
|
|
2141
|
+
their defaults with reasons, mates in assemblies, meshing for a face picker, anchors, the
|
|
2142
|
+
writer with resume and assemblies, the API, the command line (`analyse`, `mesh`, `questions`,
|
|
2143
|
+
`write`, `parts`, `serve`) and the JSON-lines service, with specify-core's JSON formats and
|
|
2144
|
+
exit codes, so Draftwright Specify can drive either engine.
|
|
2145
|
+
- Every output checked against captures from the Python implementation; every difference from
|
|
2146
|
+
Python carries a verdict and its evidence (`docs/known-differences.md`).
|
|
2147
|
+
- Written files open in OpenCascade, and so in specify-core's Python: datums, sizes and
|
|
2148
|
+
tolerances on one face or several (one usage per face), notes and surface texture in AP242's
|
|
2149
|
+
standard forms.
|
|
2150
|
+
- Stored answers in schema 2 (fingerprints with unsigned zeros), which resume across engines
|
|
2151
|
+
with specify-core's `fingerprint-v2` branch.
|
|
2152
|
+
- ISO 286 fits up to 3150 mm, agreeing with specify-core's `iso286-3150` branch on every class
|
|
2153
|
+
and size.
|
|
2154
|
+
- Knurls written as AP242 turned knurls, their parameters derived from the knurling standard
|
|
2155
|
+
(whole tooth count at the nominal pitch; 30° helix and no hand for a diamond knurl).
|
|
2156
|
+
- Built on quiddity-rust v0.1.0-alpha.1's kernel API (the maintainer's PR #1: AP242
|
|
2157
|
+
attribute sets' description and general property); risers and step levels from its
|
|
2158
|
+
recognition, with the differences from specify-core's quiddity 0.3.9 oracle verdicted.
|
|
2159
|
+
- A write whose requirement names no faces writes the rest and lists that item as not written.
|
|
2160
|
+
- About three times faster than the Python engine on the one part timed (cadgenbench
|
|
2161
|
+
flanged_spool_132: analyse 0.8 s against 2.4 s, write 0.5 s against 1.5 s).
|
|
2162
|
+
|
|
2163
|
+
### Known limitations
|
|
2164
|
+
|
|
2165
|
+
- Answers the older specify-core stored (schema 1) do not resume in Rust; specify-core's
|
|
2166
|
+
`fingerprint-v2` and `iso286-3150` branches are not yet merged into its main.
|
|
2167
|
+
- specify-core's Python reads a Rust-written fit without its limits, and no thread or surface
|
|
2168
|
+
finish (it reads only its own forms of those).
|
|
2169
|
+
- A knurl's tooth depth (half the pitch) is assumed, as no table available gives it
|
|
2170
|
+
(docs/questions.md).
|
|
2171
|
+
- Open maintainer questions are in docs/questions.md; the needs from quiddity-rust in
|
|
2172
|
+
docs/upstream-needs.md.
|