workbench.html routes Sketcher desktop commands to the standalone sketcher
probe, which had no document, so Sketcher_EditSketch always failed with
"The selected live document does not exist in this runtime". The shell also
only exposed an object selection table for BIM, so no command could receive
a selected sketch.
- workbench shell: add a generic document object list (details
.workbench-object-picker) that writes both the shell selection and the
command payload selection for every module
- ch03: document the working session path (NewSketch creates
workbench_document/Sketch, then EditSketch on that selection) with two
stage screenshots, plus the measured layout (panel left 284 vs stage left
260, zero horizontal overflow)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Interface design document and manual now share one authoritative surface
inventory (333 surfaces across 9 categories, gap 0), and every chapter carries
real Playwright screenshots of the panels it documents.
- tools/fcweb: ui-surface-scan/ui-surface-inventory (deterministic --check),
build-ui-doc renders panel catalog, workbench matrix and mapping tables;
blank toolbar crops (<1 KB) are skipped and pruned instead of embedded
- web/tools/manual: generate-panel-index (ch16), audit-ui-gaps,
generate-final-status, generate-gaps-doc; pager is per-chapter so the manual
no longer overflows horizontally
- manual: 130 screenshot references / 128 PNGs, panel sections for ch02-ch13
- web/src: utility menus stop click propagation (menu reopened on item click);
workbench shell gains an OPFS document picker so workbench.html can bind a
real document instead of the fixed workbench-document id; Sketcher panel
moves from the command column to the main stage
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The matrix is scraped from upstream source, so it still carries modules
the port has removed. Counting its rows re-introduced OpenSCAD into the
manual data after the workbench was taken out. Parse the module list from
module-registry.generated.ts once and drop every record whose module is
not in it, which keeps 31 modules and reproduces the 1575 command rows
the manual now reports.
Regenerate the gaps document so it lists the 11 boundaries with the new
OpenSCAD-free set, and refresh the ch03 fixture captured alongside the
re-shot chapter.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The sketch drawing panel was mounted in the properties aside, about 300px
wide, so its dozen or so groups needed a long scroll. Render it under the
3D viewport in the stage instead and lay its commands out as a
width-driven grid: three columns at 1440px, one on narrow screens. The
panel keeps the same DOM, so every existing selector, the Escape
handling and the 4-geometries assertion still hold; tsc --noEmit passes
and ch03 was re-captured headed with no page or console errors.
Point final-status.json and the manual gaps document at the current
figures: 31 modules, 1575 command rows, 64 screenshots and 11 boundaries.
Fix the generator rather than the output, so the next run cannot regress:
drop b-openscad-recompile while the workbench is removed, add the five
boundaries measured in the last pass, and record the layout change and
the two-shell split in the notes.
Update continuationNotes.md to the pushed state: 7d9cf3a5 is on
web-desktop-parity-20261113 and matches local HEAD.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The manual claimed 32 modules and taught several workflows that do not
run in the web port. Rewrite the chapter bodies and drive every new
screenshot from a real interaction with a waitFor before each shot.
Screenshots go from 33 to 63. ch06-ch13 grow from one page snapshot each
to 3-7 shots taken in headed Chrome, all with empty pageErrors and
consoleErrors and every PNG well above the 5 KB bar.
Correct the text where the port differs from the desktop:
- ch08: Mesh_FromPartShape has no task panel, so the main line becomes
Mesh_BuildRegularSolid, which really returns typeId Mesh::Cube.
- ch09: no BIM creation command has a panel; only Library, Setup,
Material and Views are usable.
- ch10: CAM_Job offers only None in its Model select and fails with
cam_command_failed.
- ch11: the recorded error was Document does not exist; the real one is
invalid_request: Select source objects in the current document, and
PageDefault cannot create a page at all.
- ch12: FEM_Analysis has no panel, so the chain breaks at step one.
- ch13: drop every OpenSCAD scene action and screenshot; Robot jog
buttons, the Plot canvas and Draft viewport picking do not work, so
the chapter documents the panels instead of pretending they run.
Rebuild gives 15 chapters, 1575 command rows, 1721 search entries and
945197 bytes; check:manual passes both viewports with no errors, no
broken images and no horizontal overflow.
The gap ledger goes from 7 to 11 boundaries. Remove b-openscad-recompile,
which should not exist while the workbench is removed, and record the
five newly measured ones: BIM creation, Mesh_FromPartShape, Draft
viewport picking, Robot without a model and Plot without a canvas.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The previous commit landed the audit-coverage change together with the
scripts that enforce it, but several of those scripts import shared
modules that were never tracked: static-host.mjs (ephemeral isolated
static host used by every browser runner), wasm-probe-runtime.mjs,
official-fixture-resolver.mjs, artifact-assets.mjs and the four BIM GUI
acceptance modules. A checkout of that tree could not load the runners
that reference them.
Add the transitive closure of untracked local imports, computed by walking
the relative .mjs imports of the committed batch until no new files appear:
8 files, 27 KB, none of them covered by .gitignore.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>