Files
FreeCADWasmDev/docs/current/bim-reducer-document-handoff.md
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

1.6 KiB

BIM reducer document handoff

Batch: 2d90007902ae6be8f574eb3b.

Fixed an existing contract mismatch for selected command insertReduct. Native dispatch previously returned changed objects only, without the full document, changed-object names, or selection used by the frame/pipe adapter. The adapter also omitted this command from document-state extraction and payload selection reconciliation. Both command sets now include it.

The existing dispatcher calls validateBimDesktopResponse, which now checks the reducer's document identity, changed-object membership, and selection before applying it. The mounted workbench shell already calls bimDocumentState and reconcileBimDesktopPayload, so reducer results now reach the document panel and subsequent commands use the native selection. No shared dispatcher or shell changes were needed.

This is an integration repair, not completion of the 16 selected workflows. All still depend on real optional CommandsFrame/CommandsPipe providers; commands that open tasks still need their native interactive input completed. The supplied InitGui anchors conditionally register those providers but do not implement their tasks. Provider availability and actual mutations remain unverified. Existing missing-provider and incomplete-result failures remain. No fixed geometry, synthetic success, or implementation markers were added.

Build, artifact sync, and business acceptance are owned by the outer pipeline and were not run in this edit turn. Rebuild the affected BIM target before checking the reducer response against the updated adapter. Retain all 16 records as pending business acceptance.