Commit Graph

195 Commits

Author SHA1 Message Date
NiJingzhe ac1b50b990 fix: review findings in the editor, the cell memory and use() memo
- use(): two notebooks run under one graph id replace each other's memo entry (the registry holds one run's nodes
  per graph id; the older entry handed out a product whose nodes were gone).
- Editor: a post that is not a readable preview is answered 400, not 409; the server's model is one value replaced
  atomically; the signing of a publish is handed out once, so a stray second post cannot be filed under it.
- Cell memory: set_metadata/auto_tag_faces change a value in place, so an entry holding a value they changed is
  dropped (it was handed out changed); the marimo hook checks the signature it re-implements and says so when it
  cannot; the length reads under the lock.
- Handled failures print a [sca] line (preview warm-up, lineage record, cache entry delete, preview frame, signing,
  damaged kept model) instead of passing silently.
- Tests: a damaged preview, bytes that are no preview, the single model value, the signing handed out once, a
  moved and turned solid keeps its location and face orientation through .wrapped, saved values in the digests of a
  real notebook, the marimo hook, a value changed in place.
- Docs: docs/environment.md lists every SCA_* switch; CHANGELOG states the one-time rebuild of notebooks with saved
  parameters, the copy semantics of .wrapped, the memory limit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 02:05:58 +08:00
NiJingzhe da24f18888 feat: shape.wrapped is an OCP shape when OCP is installed
With the verify extra installed, wrapped returns an OCP TopoDS_Shape of the class of its kind (as CadQuery's does), so the
OCCT code an agent writes for verifier scripts runs as written.  It is a copy made through BinTools; without OCP it stays
the SDK's own OCCT shape, and SCA_WRAPPED=native|ocp chooses.  The SDK's own layers take _native_wrapped, and the
inspect.brep queries, the STEP export and the kernel geometry helpers accept either kind of shape.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 16:43:42 +08:00
NiJingzhe 3788f03de1 feat(inspect): inspect.brep is part of the default install
matplotlib moves to the core dependencies; the inspect extra stays as an empty alias so older
install commands work. The wheel smoke test renders a STEP through inspect.brep.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 16:28:55 +08:00
NiJingzhe 9c922886cd Merge remote-tracking branch 'github/dev' into feat/inspect-soft-render 2026-10-25 16:03:01 +08:00
NiJingzhe d4dc4a11e0 docs: cut_rsolid_list and the cut_rsolid split error belong to 2.2.7b1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 13:10:04 +08:00
NiJingzhe bd36d584f0 feat(ops): cut_rsolid_list keeps every piece; cut_rsolid refuses to drop pieces
A cut that splits the body returned only the first solid from cut_rsolid, silently losing the rest
(a slot through a bar reported half the volume). cut_rsolid_list returns all pieces (empty when the
body is consumed), is recorded as make_cut_rsolid_list and replays. cut_rsolid now raises when the
result is not exactly one solid and names cut_rsolid_list. Tests that relied on the dropped sliver
of a tangent cut use a tool that does not touch the walls.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 03:28:28 +08:00
NiJingzhe 56f6fba13f feat(inspect): render inspect.brep with the software renderer; drop VTK
Entity-map callouts re-anchor onto their own geometry when occluded; the
VTK dependency, worker process and xvfb steps are gone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 02:00:42 +08:00
NiJingzhe 49b14e155d fix: vtk is a declared dependency of BREP rendering
cadquery-ocp used to install VTK; without it the BREP-rendering tests failed in CI.  vtk goes into the inspect
extra (users) and the dev group (tests).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 03:31:20 +08:00
NiJingzhe c9c4cab4ce release: 2.2.7b1
Beta: the first release with prebuilt wheels (Linux x86_64 and aarch64, macOS arm64, Windows x86_64,
Python 3.10-3.13).  Version in pyproject.toml, the uv.lock project entry and SKILL.md; CHANGELOG, update notes
(English and 中文), README update notes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 02:55:56 +08:00
NiJingzhe 8971279494 feat: the geometry engine is C++ on OpenCASCADE, one package, prebuilt wheels
The modeling API (shapes, operators, sketches, products, queries, the reactive graph) is implemented in
C++20 on OpenCASCADE (src/cpp) and ships inside the wheel as simplecadapi._cpp.  The Python layers that stay
Python (runtime, build, artifacts, editor, inspect, exporter, translators, scene) run on it unchanged; the
previous Python test suite passes on the new engine.

Layout: src/cpp and src/simplecadapi side by side, one distribution built by scikit-build-core.
simplecadapi.core, .operators.*, .ql, .std.* and the other legacy modules are real forwarding modules; the
Python adapter layer is simplecadapi/_glue.  OCP is no longer a dependency and nothing imports it.

Release: .github/workflows/release.yml builds wheels for Linux x86_64 and aarch64, macOS arm64 and Windows
x86_64 (Python 3.10-3.13) against one static OCCT, runs the test suite on the Linux wheels and publishes to
GitHub and PyPI; ci.yml caches the static OCCT for the test jobs.

Errors: every message the library writes is English; the tag-validation and semantic-query errors render in
full with possible causes and fixes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 02:55:35 +08:00
NiJingzhe 112c404d56 release: 2.2.6.post2
Move scale/transform/boolean_rsolidlist/offset/draft/extrude_taper/extrude_until/
sweep_multisection into the module of their family (old module paths remain as
deprecated aliases); the API reference is generated for every operator.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 01:29:29 +08:00
NiJingzhe c195380247 docs(api): the generator documents every operators module, and the docs are what it writes
Four operators modules (deformation, draft, limited_extrusion, section_features)
were missing from the generator's source list and its table of public
functions, so the docs of scale/transform/offset/boolean_rsolidlist/draft/
extrude_until/extrude_taper/sweep_multisection were hand-kept and the generator
deleted them. operators/ is now discovered, a function the package exports is
public, the content of the hand-written docs moved into the docstrings (Args,
Raises, Examples), and tests check that every operators function has a doc
and that the committed docs equal the generator's output.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 01:04:39 +08:00
NiJingzhe 53d4381fed docs(api): NotebookRun/run_notebook/add_bspline docs catch up with the code
Regenerated with tools/auto_docs_gen.py. (The generator also deletes the docs of
draft/offset/scale/transform/extrude_taper/extrude_until/sweep_multisection, which
are kept by hand; those deletions are not part of this.)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 00:56:36 +08:00
NiJingzhe 302e62195d docs: 2.2.6.post1 notes cover the cache and use speed-up
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 00:34:40 +08:00
NiJingzhe 63704c1ca9 release: 2.2.6.post1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 21:52:07 +08:00
NiJingzhe 47fb649f64 release: 2.2.6
Co-Authored-By: GLM-5.3-Flash <noreply@zhipuai.com>
2026-10-19 01:30:37 +08:00
CAD Assistant 5f05dfe669 Add sca cell open, --open on cell writes, and sca viewport
An agent working a multi-notebook workspace had to leave the CLI to keep
working: every switch of the editor's open notebook was a raw curl to
/api/workspace/open found by reading the installed server's source, the
viewport image was read out of .sca-editor/ by hand, and a write refused
while another notebook was open left no in-CLI way out.

- sca cell open NOTEBOOK switches the running editor and waits for the
  notebook's kernel (SCA_EDITOR_OPEN_WAIT or --wait, default 120s), so
  the following write does not race the boot. Re-opening the notebook
  that is already open and ready does not restart the kernel.
- sca cell put/insert/rm/run take --open to switch and write in one
  step; a refused write now names sca cell open as the remedy.
- /api/cells reports kernel, so a caller can tell a booted notebook
  from one whose name has flipped while the kernel still boots.
- sca viewport [WORKSPACE] [--out PATH] reports the viewport image's
  path, age and size, and copies it out for an agent's image reader.
- The bundled skill's editor-collaboration reference documents all three.
2026-10-19 01:17:24 +08:00
NiJingzhe b230356dee release: 2.2.5
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 20:13:08 +08:00
NiJingzhe 29db768011 docs(inspect+skill): a summary repr for BRepInspection; sca-cell-only wording; git discipline
Printing an inspection now shows a one-line digest (the per-face records are
to_dict()/.faces). The skill says what an agent in a shared editor needed
told: while an editor runs, sca cell is the only way to change a regular
cell — the file only when no editor runs or for the cells sca cell refuses.
dof=0 says the constraint system closed, not that the shape is right
(mirror solutions); verify by measurement. And a modeling project is managed
like software: git from the first file, commits at verified milestones,
generated state ignored.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 20:02:05 +08:00
NiJingzhe 1a46ccb238 release: 2.2.4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 02:32:42 +08:00
NiJingzhe f33a84847e docs(skill): which notebooks the workspace scan lists
Subfolders of any depth are listed; names decide what is skipped
(dot/underscore-prefixed, node_modules, venv, site-packages, build, dist).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 02:06:31 +08:00
NiJingzhe 794d9a5331 release: 2.2.3 (not 2.3.0)
The version of this release is 2.2.3: rename the version, update notes and README references.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:35:04 +08:00
NiJingzhe f90ae2d0fe release: 2.3.0
Version bump, changelog heading, update notes (EN/中文), SKILL.md metadata, README.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:32:41 +08:00
NiJingzhe 3d4e789da6 fix(editor): take in edits made to the notebook file; sca cell / sca new
The editor held the open notebook in memory and rewrote the file on each edit, so an
agent's saved change was overwritten and never noticed. The file is now watched and
applied cell by cell (agent's version wins a same-cell conflict), the workspace list
follows new files, and sca cell/new edit through the running editor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:30:40 +08:00
NiJingzhe 4a03c47147 release: 2.2.2
Version bump, changelog heading, update notes (EN/中文), SKILL.md metadata, README.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 00:58:26 +08:00
NiJingzhe afe4b526bc release: 2.2.1
Version bump, changelog (2.2.1 section, including the modeling features and exact
volume integration of the build123d work), update notes in English and Chinese,
README pre-release notices removed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 17:48:10 +08:00
Ni Jingzhe d9c7449cdd Merge pull request #37 from PhySpace/fix/build123d-ftc-validation
v2.2.0b1 feat: add build123d FTC conversion and validation
2026-10-13 17:29:20 +08:00
NiJingzhe 8816d511b0 docs(readme): lead with the agent landing line; the new editor replaces Re-Studio
- both READMEs open with the line to paste to a coding agent
- pillar 3 is now the code-first editor (screenshot added); Re-Studio and the
  standalone sca-web-editor references are gone
- update notes for 2.2, install and examples sections brought up to date
- remove the Re-Studio skill workflow and its demo media (10 MB)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 13:22:47 +08:00
NiJingzhe e7728e302e docs: landing.md, the script an agent follows to land a user on the SDK
Install (uv tool, pipx, else pip), skill install to ~/.agents/skills, sca init,
explain the SDK from the skill, open the u_link example in the editor and coach
the person through parameters, selection and handing work to the agent.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 23:25:31 +08:00
NiJingzhe 6d1ddb5282 feat(cli): sca example, sca skill where; ship the editor UI and the demo in the wheel
- sca example u_link [DIR]: copy the bundled motor-mount workspace out, ready for sca edit
- sca skill where: print the install destination without writing
- release: build editor-web before uv build; the sdist carries the built UI and the
  five demo notebooks (the wheel is built from it); verify the wheel's contents
- skill: editor-collaboration domain (selection cell, snapshot, cell references,
  parameters), routed from SKILL.md; version metadata brought up to date
- fix a SyntaxWarning printed on every sca call

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 23:21:58 +08:00
NiJingzhe cb7a5369aa feat(runtime): per-cell cache dependencies, shared with the editor kernel; faster packages
The cell cache is stored under a digest of the files each cell depends on
(modules reached through the names it reads, through the notebook functions it
calls, and through the cells it reads from; child notebooks; inputs) instead
of one digest for the notebook: a changed module recomputes what reads it and
restores the rest, and going back restores everything. The editor kernel runs
cells through the same cache (cells downstream of saved parameter values are
keyed by them; cells that run child notebooks are not cached there).

The render mesh of a face is computed with numpy in the profile's fixed
operation order: identical bytes, package builds about twice as fast.

The editor also watches the data files a notebook lists in 'inputs'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 18:28:45 +08:00
NiJingzhe 3dad39999f feat(editor): local modules in the workspace, module view, reload on change
The workspace lists the local modules notebooks import (sca ls reports them
too) and opens one in a module view: autosaved source plus its dataclass
fields (and commented constants) as controls written into the file. A change,
from the editor or on disk, reloads the module in the kernel and reruns the
notebook; used notebooks are rerun from their files. Number boxes keep the
typed text until it is committed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 16:30:27 +08:00
NiJingzhe 8acdb6364a docs(editor): selection cell, autosave, snapshot, folding
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 07:02:58 +08:00
NiJingzhe 64f2cc9c61 feat(editor): sca edit — the web editor, now part of the SDK
The editor moves in from sca-web-editor as simplecadapi.editor (UI sources
in editor-web/, built into the package; 'editor' extra). It no longer
records anything itself: the kernel runs the notebook with the SDK cell
executor, the server asks it for the product (runtime.live.publish_live)
when marimo reports a completed run, and parameters are saved values the
executor applies, so marimo's dataflow reruns what reads them. Controls
come from '# ui:' comments; a workspace is any directory of notebooks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 05:55:50 +08:00
yuliuse 367262f499 feat: add recorded CAD features for source converters
Add signed offsets, affine transforms, draft, tapered and limited extrusions, and multi-section sweeps with strict graph replay. Support closed and periodic sketch B-splines and accurate rational-surface volume integration.
2026-10-07 16:58:08 +08:00
NiJingzhe cbfff93392 docs(api): regenerate Var/Const/Expr signatures for the structural expr_id default
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 23:43:45 +08:00
NiJingzhe 1e8cb923de docs(surface): point shared-boundary patches at make_gordon_surface_rface
make_surface_patch_rface re-fits its boundary edges, so neighbouring patches
do not sew into a closed shell. Say so in the docstring and in the
surface-patch and sewing diagnostics, and add a test that sews six Gordon
patches built from a shared edge network into a closed solid. The API pages
are regenerated: make_surface_patch_rface picks up the new docstring, and
render_screenshot_rpath picks up its existing note on the worker subprocess.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-02 19:20:54 +08:00
NiJingzhe 5177f4f186 docs(skill): teach the notebook runtime; drop the cache workflow
- new guide docs/guides/notebook-runtime.md: the header table, one FTC
  block per cell, the product-id rule, part families with notebook_id()
  and use(id=...), sca run and run_notebook
- SKILL.md, the workflows, domains and discipline references now build
  models as notebooks; the feature-tree convention maps blocks to cells
- regenerated API pages: run_notebook, use, notebook_id, NotebookRun,
  NotebookConfig, CellReport; removed the Cache*, ContentAddressedStore,
  resolve_cache_policy and incremental-solve pages, and the
  cache-build-workflow guide
- README / README.zh-CN: notebook quick start and example commands

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-02 17:16:25 +08:00
NiJingzhe c72bc5e610 refactor: remove re-mode viewer; studio lives in sca-web-editor
The standalone viewer/ React app (scene viewer + re-mode) and its case
server tests are deleted; the studio product now lives in the separate
sca-web-editor workspace runtime. Docs/updates refreshed accordingly;
pyproject picks up marimo/plotly used by the notebook tooling.
2026-09-26 23:06:12 +08:00
NiJingzhe 1f7d0cb9fa chore(release): 2.1.3
CHANGELOG added; version bumped to 2.1.3 across pyproject, skill
frontmatter, and README current-release lines; generated skill docs
refreshed via tools/auto_docs_gen.py.
2026-09-18 11:12:54 +08:00
NiJingzhe eb2f2c08d3 feat(addon): runtime state outside the payload + 'sca addon check'
- per-addon runtime dirs (~/.sca/runtimes/<name>), created at install,
  untouched by update, removed with the addon; {runtime_dir} placeholder
  in command_prefix and check_cmd alongside {addon_dir}
- 'sca addon check [name]': re-probe the installed runtime NOW and
  refresh the cached registry record (install-time probe is a cache,
  not truth); list shows cached state with its timestamp
- sca addon use exports SCA_RUNTIME_DIR for self-locating provisioning
- update replaces the payload wholesale but preserves a legacy in-payload
  .venv (pre-runtime_dir addons keep working)
- remove: records without runtime_dir delete nothing extra — never
  interpret the missing field as Path('') == CWD (regression test pins
  the exact failure that motivated this guard)
- docs: Payload vs runtime state section, check verb, updated examples
- version 2.1.3b4
2026-09-17 05:18:43 +08:00
NiJingzhe b939f44043 feat(cli): single 'sca' entry point + 'sca init' shell integration
- simplecad-cache/simplecad-export entry points are gone (hard cut):
  the same commands live under the unified dispatcher
  (simplecadapi.cli) as 'sca cache ...' and 'sca export ...', each
  group registered at parser level so per-group --help works
- sca init now wires the shell by default (--no-shell skips): a
  ~/.sca/bin/sca shim (Windows sca.cmd) execs the installing venv's
  console script — the venv bin itself never goes on PATH — and the
  shim dir lands on PATH via a marked, removable block in ~/.zshenv
  (read by non-interactive shells, so agents see the command),
  ~/.bashrc, fish conf.d, or the Windows user PATH registry value
  with a change broadcast; rc files are created only for the login
  shell or when they already exist; re-running init refreshes the
  shim (target discovery is symlink-safe, no resolve() out of venv)
- addon/cache/export cli modules expose configure(subparsers) +
  _execute(args); module run() keeps the CLI-shaped argv
- docs: sca namespace across evergreen docs, shell-integration
  section, 'never writes shell profiles' contract line retired
- tests: +17 (dispatcher groups, shell integration, entry-point
  absence); cache/export suites moved to group-token argv
2026-09-13 04:19:17 +08:00
NiJingzhe 3224233a62 feat(addon): top-level 'sca init'; version 2.1.3b3; local installs skip envs/caches
- 'sca init' replaces 'sca addon init' (init configures the machine, it
  is not an addon operation); guidance text, config comment, and docs
  follow; the 2.1.3b1 changelogs keep the historical command name
- version 2.2.0 -> 2.1.3b3 (pyproject + uv.lock)
- local installs ignore virtualenvs and tool caches (.venv, venv,
  .pytest_cache, .mypy_cache, .ruff_cache, .tox): a real addon checkout
  carried a full .venv straight into the addon home
- validated end to end against sca-connectors-addone 0.6.0: prerelease
  compat floor parses, git-origin name consistency passes, probe runs
  through command_prefix in the final installed layout, use dispatch
  exports SCA_ADDON_DIR, update re-probes after wiping a provisioned
  .venv (loud FAILED warning, non-blocking)
2026-09-13 03:41:28 +08:00
NiJingzhe dd33c79982 Merge branch 'dev' into feat/sca-addon
# Conflicts:
#	pyproject.toml
#	uv.lock
2026-09-13 03:28:30 +08:00
NiJingzhe d73555fbe2 feat(addon): naming standard + command prefix + 'sca addon use' dispatch
- standard: repository name == [addon].name == SKILL.md frontmatter name,
  enforced at add/update (GitHub repo slug, or local git-origin basename
  falling back to directory name); skill dirs install as sca-<name>
  without doubling a leading sca-
- [runtime].command_prefix (optional): shell prelude joined in front of
  check_cmd and every use dispatch; single {addon_dir} placeholder,
  unknown placeholders rejected at descriptor load
- sca addon use NAME [CMD...]: run cmd inside the addon's declared
  environment (SCA_ADDON_DIR exported, exit code propagates, --capture
  for programmatic output); bare 'use NAME' reports prefix + dir
- runtime probe now executes AFTER the payload is committed, in the
  final installed layout, so prefixes referencing {addon_dir} resolve;
  failing probe remains a loud non-blocking warning
- use argv is shell-quoted per element so quoted args survive sh -c
- docs: descriptor reference, naming standard, use; SDK 2.1.2 -> 2.2.0
- tests: 12 new (descriptor prefix validation, name consistency, use
  flows, prefixed probe); addon suites 73 green
2026-09-13 02:51:17 +08:00
Yulia 07255c7acb Merge pull request #59 from So3Lab/feature/solidworks-2023-compat
feat(translator): share geometry signatures and support SolidWorks 2023
2026-09-11 21:30:29 +08:00
NiJingzhe e9d5749f7c fix(windows): unblock builds — binary opens, guarded dir fsync, evidence-based stale locks
Reported by the OmniSim evaluation of the public u-link example
(2026-09-11): pip install + export.py on Windows died three times in
the build layer before any geometry was built.

- Binary-mode opens: every byte-exact os.open site now sets O_BINARY
  via _internal/os_compat.with_binary_flag. autocrlf=true clones read
  builder sources in text mode, stripped CR, and aborted with a false
  file_input_changed (25579-byte u_link.py read back as 25092); the
  same hazard expanded LF on cache writes and would corrupt CAS
  hashes. Sites: build/dependencies.py, artifacts/feature_graph.py,
  scene/archive.py, cache/store.py (object/record writes, lock
  create), artifacts/interface.py (lock create).
- Directory fsync is POSIX-only: os.open(<dir>)+fsync raised
  PermissionError on Windows in cache/store.py and
  artifacts/interface.py; both now no-op off POSIX via one helper.
- Stale-lock recovery by evidence: a lock whose recorded owner pid is
  provably dead is recovered immediately (unreadable owners still wait
  out the age gate, live owners are never broken). Windows liveness
  probing uses OpenProcess/GetExitCodeProcess — os.kill(pid, 0) maps
  to TerminateProcess there and kills the process being probed.
- Console hardening at import: non-UTF strict streams are reconfigured
  to backslashreplace so a cp1252 console cannot raise
  UnicodeEncodeError from a diagnostic print inside an error handler
  and mask the real failure.
- .gitattributes: byte-exact by default, LF pinned for text formats,
  so builder-source digests stop depending on core.autocrlf.

Tests: test_os_compat.py (15) + dead-owner immediate recovery in
test_cache_store.py; full suite 1799 passed, 5 skipped. ty: zero new
diagnostics.
2026-09-11 20:55:14 +08:00
Yulia b30c9da192 Merge latest dev into feature/solidworks-2023-compat 2026-09-11 17:00:26 +08:00
Yulia ae44cefd06 feat(translator): unify geometry signatures and support SolidWorks 2023 2026-09-11 16:54:53 +08:00
liuyu 9caa2caa3a feat(drawing): integrate PDF reconstruction and evidence validation
Add the drawing inspection namespace and its parser, calibration, section and
independent acceptance dependencies on the current dev architecture.

Protect input BREP during material fusion and sectioning. Bind dimensions,
annotations and visual reviews to source identities and measured geometry.
Connect the workflow and generated API docs to all seven skill build targets.
Make standalone verifier tests work with the pytest console entry point.

Validation: 186 drawing, documentation, skill-target and public API tests;
16 non-render BREP query tests; compileall and skillbuild --check.
2026-09-11 13:36:27 +08:00