Commit Graph

37 Commits

Author SHA1 Message Date
dd7a940c37 Derive workbench audit coverage from modules x viewports
The workbench surface audit scrapes module names out of the web module
registry and iterates two viewports, so its record count is a product,
never a constant. Removing OpenSCAD dropped the registry from 32 to 31
modules and moved the expected count from 64 to 62, while 65 places in
the tooling still asserted 64 - re-running the audit would have failed
every gate with no actual regression behind it.

Add tools/audit64.mjs as the single owner of the coverage rule:
auditCoverage(), auditCoverageComplete() and audit64Satisfied(). The
success test requires records === expectedRecords only when the snapshot
carries an expectation, so freshly produced evidence (62 records plus
expectedRecords 62) and historical evidence captured before the removal
(64 records, no expectation) are both judged against their own coverage.
The 111 archived CAM snapshots stay valid instead of being reclassified
as regressions, and a real 62-vs-64 shortfall still fails.

Converted callers: 56 build_cam_*_profile.mjs, 5 tools/mcp/replay-*.mjs,
close-official-case.mjs, run_partdesign_official_suite.mjs,
run_p6_assembly_testcore_chrome.mjs, run_p6_bim_arch_component_chrome.mjs
and run-official-native-shape-profile.mjs. The producer in
run_p6_cam_chrome.mjs now writes the derived expectedRecords so downstream
gates compare against an authoritative expectation.

Also fix artifacts that would have revived the removed module:
sync-assets.mjs unconditionally re-copied the OpenSCAD runtime probe into
public/kernel on every sync-kernel run, and its sources still exist in the
build tree. Drop that loop, the dead displayOwners entry in
audit-geometry-boundary.mjs, and the 14 MB vendored openscad-wasm.

Keep the parity matrix self-consistent: module_count follows rows (31),
and the business completion audit derives its expected module count from
the matrix instead of hardcoding 32, which would otherwise make completion
unreachable.

Rebuilt dist and re-ran the audit against an ephemeral isolated static
host: 31 modules, 2 viewports, 62 records, 0 failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 09:11:21 +08:00
65f59aba25 Remove OpenSCAD from the web port
Web FreeCAD does not implement OpenSCAD. Drop the module end to end
instead of keeping a blocked or placeholder shell:

- delete the parity-matrix row and regenerate the module registry
  (31 modules, OpenSCAD absent)
- remove the OpenSCAD-only frontend modules (worker, facades, slice,
  mesh backend, desktop/preferences tasks) and strip the OpenSCAD
  branches from the dispatchers, shells, storage and router
- neutralise the two shared owners that outlived the module:
  openscad-desktop-view -> scene-viewport (SceneViewport) and
  openscad-desktop-adapter -> scene-document (SceneDocument), so Part,
  Mesh and the other consumers keep working
- drop the FreeCADWebOpenSCADRuntimeProbe target and
  FREECAD_WEB_ENABLE_OPENSCAD option from the kernel CMake;
  BUILD_OPENSCAD stays in the forced-off list
- delete web/openscad.html, its Vite input, the kernel artifacts and
  the 17 OpenSCAD tool entry points

AGENTS.md records the removal rule. tsc --noEmit is clean and
grep -ri openscad web/src is empty.

Also carry the Boost pthread guard: under Emscripten a plain -lpthread
implies -sUSE_PTHREADS=1 and therewith --shared-memory, which the
non-atomics VTK archives cannot link against.

Validation NOT_RUN / PARTIAL_FAILED, Acceptance NOT_CLAIMED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 06:53:03 +08:00
acf222bb03 Save desktop GUI build fixes patch
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:11:01 +08:00
00e0097969 Pause parity work: handoff, parameter sync, Python console scaffold
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:10:38 +08:00
f3e4365530 Bridge standard commands to native React tasks
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:50:07 +08:00
fa420201e6 Record 29-workbench GUI parity baseline
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:37:22 +08:00
1feee94eac Align GUI audit with workbench selection and sync dist manifest
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:26:50 +08:00
87faaf0796 Fix C++ GUI menu extraction for PartDesign, Sketcher and Fem
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:23:39 +08:00
b451b51457 Route Assembly, Draft and Surface to workbench frames
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:19:20 +08:00
fcc3a15f53 Add command palette for all matrix commands
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:15:34 +08:00
1454e259be Embed external workbench workspaces in project shell stage
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:11:34 +08:00
7a3989eb99 Dispatch standard view commands through desktop router
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:01:24 +08:00
e214e61ca6 Persist shortcuts to OPFS parameters
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:57:13 +08:00
a13b1f221d Apply unit preference to property display
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:53:15 +08:00
26c0963363 Add selection and report bottom dock
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:47:59 +08:00
1c7d85b3a2 Persist web preferences to OPFS parameters
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:41:34 +08:00
e87a455e21 Add React shortcut manager and editor
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 17:29:08 +08:00
cbd2690993 Add Tools/Help menus and preferences dialog
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 17:00:08 +08:00
4efeadbee3 Render manifest toolbars for non-Part workbenches
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:50:18 +08:00
4a45ffaf47 Add React task frame bridge for manifest commands
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:46:09 +08:00
452f0b976f Dispatch manifest workbench commands through desktop router
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:39:39 +08:00
26c8a104cd Wire manifest workbench menus into project shell
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:15:31 +08:00
70a6c17165 Improve Python GUI extraction and audit all workbenches
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 15:01:14 +08:00
330221bd5d Add manifest-driven desktop shell preview
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 14:28:46 +08:00
aff9b6464a Add desktop GUI manifest, parity matrix and Web baseline audit
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 14:08:35 +08:00
579d6d20c8 Finalize manual verified status and gap ledger
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 13:09:50 +08:00
158e9ddfdc Complete all manual chapters with screenshots and command index
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 12:45:40 +08:00
15a365022f Add PartDesign chapter with Body, sketch and Pad captures
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:58:57 +08:00
3d3afc129f Add Sketcher chapter with coordinate-driven rectangle capture
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:49:49 +08:00
6a7efb5432 Add Part chapter with verified boolean and geometry captures
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:23:18 +08:00
bc40c77153 Add Web FreeCAD manual matrix, capture harness and chapter 1 pilot
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:13:29 +08:00
a10493723b Complete 18/18 production-line course media and final audit
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 08:59:47 +08:00
cf4a3ea984 Close out line-course at 7/18 media, product complete
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 05:20:04 +08:00
249f40a69b Add E06-E07 media evidence and course inventory
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 05:16:35 +08:00
3ac496c3c2 Update line-course progress and E05 verification
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 04:30:32 +08:00
4eff6110e7 Add 27-model production-line Web FreeCAD course tooling and pages
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 04:16:04 +08:00
789e18ca3e Continue FreeCAD Web UI parity repairs
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
CodeQL Advanced (c-cpp) / Analyze (c-cpp) (push) Has been cancelled
Push Crowdin Translations / update-crowdin (push) Has been cancelled
Fetch Crowdin Translations / update-crowdin (push) Has been cancelled
Build Release / upload_src (push) Has been cancelled
Build Release / build (10.13, macos-15-intel, osx-64) (push) Has been cancelled
Build Release / build (11.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (15.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (ubuntu-22.04, linux-64) (push) Has been cancelled
Build Release / build (ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Build Release / build (windows-latest, win-64) (push) Has been cancelled
Monthly issue metrics / issue metrics (push) Has been cancelled
2026-09-23 14:03:56 +08:00