diff --git a/apps/control-station/package-lock.json b/apps/control-station/package-lock.json index 65cb6ced..c6fe2bd0 100644 --- a/apps/control-station/package-lock.json +++ b/apps/control-station/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "dependencies": { "@noble/hashes": "^2.2.0", - "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.12.tgz", + "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.16.tgz", "@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react", "@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns", "@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens", @@ -884,9 +884,9 @@ } }, "node_modules/@nodedc/bim-viewer": { - "version": "0.2.12", - "resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.12.tgz", - "integrity": "sha512-xS7I/Q6LSS2zS4fP48mjxNsM3WFTqhCLPV8t64eh4jWT9irbdZ7Mcyjs2uHzWPFT83WrLoQUFaOFkkLntrd2eg==", + "version": "0.2.16", + "resolved": "file:../../vendor/bim/nodedc-bim-viewer-0.2.16.tgz", + "integrity": "sha512-YU5JCI5ZYzWckOkDPxWnwRE0JSo7t+XObU4yZdQsIk+bTh4eMQKK1dnJQnUDC67FzpNl01rcr3NSAPV9VWINog==", "peerDependencies": { "@nodedc/ui-react": "0.7.0", "react": ">=19 <20", diff --git a/apps/control-station/package.json b/apps/control-station/package.json index 61f1ff89..aea9aeab 100644 --- a/apps/control-station/package.json +++ b/apps/control-station/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@noble/hashes": "^2.2.0", - "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.12.tgz", + "@nodedc/bim-viewer": "file:../../vendor/bim/nodedc-bim-viewer-0.2.16.tgz", "@nodedc/map-cesium-react": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/map-cesium-react", "@nodedc/page-patterns": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/page-patterns", "@nodedc/tokens": "file:../../../NODEDC_DESIGN_GUIDELINE/packages/tokens", diff --git a/docs/BIM_MODULE.md b/docs/BIM_MODULE.md index d93a25ed..0d6e657a 100644 --- a/docs/BIM_MODULE.md +++ b/docs/BIM_MODULE.md @@ -3,14 +3,39 @@ ## Current cloud slice · 15 November 2026 -Host package 0.2.4 / Worker 0.2.3, portable viewer 0.2.12. PTS/LAS/LAZ are converted on the single isolated BIM Worker into immutable Potree 2 products. The actual Bridge_2 1.pts was uploaded through the LivingBIM Dataset UI: 85,515,903 points, 3,323,939,155 source bytes, 897,877,195 ready bytes. Only the verified ready set enters Core; source/CAS remain on Worker and owned staging/scratch are empty. +Host package 0.2.4 / Worker 0.2.3, portable viewer 0.2.16. PTS/LAS/LAZ are converted on the single isolated BIM Worker into immutable Potree 2 products. The actual Bridge_2 1.pts was uploaded through the LivingBIM Dataset UI: 85,515,903 points, 3,323,939,155 source bytes, 897,877,195 ready bytes. Only the verified ready set enters Core; source/CAS remain on Worker and owned staging/scratch are empty. Colored cloud and L3 IFC open as independent layers after full reload with BIM Worker service stopped. Original export correctly reports the unavailable server. IFC/FRAG native exports matched SHA-256; cloud format chooser offers PTS/Potree 2 ZIP. No guessed registration transform was saved: the scan and IFC have unmatched local frames, so exact geometric overlay remains unqualified. Eight unrelated running Worker containers were preserved; ndc-bim-worker was stopped for that offline probe and is now running again for intake/source exports. Canonical Core 8000 remains running. -118 module Python (unchanged backend qualification) / 72 module client tests passed; the unchanged adapter retains its earlier 2-test qualification. Core 1,604 frontend tests, architecture, typography, typecheck and build passed in the shared canonical checkout; unrelated edits are excluded from this delivery. Source-byte dedup ignores file names. Duplicate preflight creates no upload row or host intent. Orphan intake reconciliation after other queue refusals, full multiuser ACL/personalization and power-loss qualification remain open. Exact release identities/hashes are in vendor/bim manifests. [Current detailed evidence and limits](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/point-clouds.md). Older sections below are dated acceptance history. +118 module Python (unchanged backend qualification) / 79 module client tests passed; the unchanged adapter retains its earlier 2-test qualification. Core 1,604 frontend tests, architecture, typography, typecheck and build passed in the shared canonical checkout; unrelated edits are excluded from this delivery. Source-byte dedup ignores file names. Preflight immediately creates a local reviewable row, but creates no host intent, server upload or job until Add and a successful check. Orphan intake reconciliation after other queue refusals, full multiuser ACL/personalization and power-loss qualification remain open. Exact release identities/hashes are in vendor/bim manifests. [Current detailed evidence and limits](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/point-clouds.md). Older sections below are dated acceptance history. Qualified on 2026-11-14: **Данные → Архитектурные проекты** at the canonical `http://127.0.0.1:8000/`. The operator can create a project, upload IFC, wait for Worker conversion, download the prepared product and view it in 3D or through the navigation cube. MapLibre, project tree, model versions and visibility share the same catalog. Map markers, project eyes and version rows enter the same project viewer. +## Background preflight and visible attempts · client 0.2.16 + +File checking and retained draft metadata live in the portable UploadQueue. +Closing the form or navigating away does not abort hashing. The existing row +under its project root and in Layers shows check progress, then pending Add or +a concrete error with X. Add during checking records intent and closes the form; +transfer starts only after success. X cancels only that local preparation, not +an existing source/product. Hierarchy retains its tree and has no duplicate +progress/actions above it. Worker and the active Core process are unchanged. + +Real UI: selected GLT_L1_CR102.pts (2,069,143,240 bytes), closed its form while +hashing, observed progress in Layers/catalog, navigated Park → Data and reopened +the retained file/metadata. It reached pending Add without an upload. A repeated +CR102_IFC.ifc showed the exact duplicate reason and X in both surfaces; dismiss +preserved all six ready products. These two local QA attempts were dismissed. +Layers exposes nonempty BIM / Point Cloud / 3DGS groups: arrows fold children, +eyes affect local children independently without implicit downloads. Canonical +EditorDockLayout uses scene Glass V4 on detach and restores tiled context on +docking. Two actual React DOM scenarios cover these groups and the intake flow; +the shared dock has nine passing geometry/interaction checks. +79 module client tests, real React DOM queue/form/row checks, Core architecture, +1604 frontend tests, types/typography/build pass. No new Worker conversion was +needed. Full browser reload still destroys File handles; beforeunload warns. +[Evidence](https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD/src/branch/feat/portable-bim-ifc/docs/evidence/preflight-qualification-20261115.json). + ## Visible surface pivot and stable hierarchy · 15 November 2026 Client 0.2.12 picks the depth of the rendered cloud/mesh materials, excluding diff --git a/vendor/bim/client-release.json b/vendor/bim/client-release.json index 2d60a4b1..584203a1 100644 --- a/vendor/bim/client-release.json +++ b/vendor/bim/client-release.json @@ -1,15 +1,15 @@ { "schema_version": "missioncore.bim-client-release/v1", "repository": "https://git.dcserve.ru/dctouch/NODEDC_BIM_MOD", - "source_commit": "e90a033bd903f7578695332834dfe56b28f43338", - "package": "nodedc-bim-viewer-0.2.12.tgz", - "sha256": "bf68caa3da1d9991ad38e203b38a473f1f5a8909404619ca20168a4eab50496d", + "source_commit": "f57636bc8509f82415aad017e79aabbd12452e9c", + "package": "nodedc-bim-viewer-0.2.16.tgz", + "sha256": "a44b50dd1a3e6dc3f3dc74e8c10e31778c9248ee801989e9346f4b0bdb211d22", "types": "pass", - "contract_tests": 72, - "visual_acceptance": "LivingBIM: visible bridge/indoor upper surface/BIM slab pivot; perspective/axonometry; eye preserves disclosure; expand/collapse preserves scroll; deselect does not reveal stale branch; console errors 0", + "contract_tests": 79, + "visual_acceptance": "Real 1.97 GiB PTS preflight survives form close and workspace navigation, awaiting explicit Add; duplicate IFC retains reason/X in catalog and Layers. Final 0.2.16: BIM/Point Cloud roots, independent fold/unfold, no duplicate Hierarchy queue controls; detached settings use scene Glass V4 and return to docked material on attachment. No test source or server job created.", "evidence": "docs/BIM_MODULE.md", "qualification_date": "2026-11-15", - "design_guideline_commit": "fea966a3f0006c7b7d506d79a50d557649a0bd91", + "design_guideline_commit": "4390d1350d696c16b74c137272ef32632d0ce47a", "core_frontend_tests": 1604, "core_frontend_failures": 0, "validation_context": "shared canonical working checkout; unrelated concurrent edits preserved", @@ -17,6 +17,7 @@ "Native RMB drag not independently automated; actual OrbitControls pan regression passed", "Native OS layout switch not exercised; physical code fixtures cover Cyrillic/IME labels", "Full geometric scan-to-BIM registration and full multiuser/crash recovery remain unqualified", - "Pivot samples currently rendered depth/LOD with a two-CSS-pixel neighbour fallback; not exhaustive GPU/material qualification" + "Pivot samples currently rendered depth/LOD with a two-CSS-pixel neighbour fallback; not exhaustive GPU/material qualification", + "Preflight File handles remain browser-session resources; full reload/browser shutdown does not resume local checks or unsubmitted drafts." ] } diff --git a/vendor/bim/nodedc-bim-viewer-0.2.16.tgz b/vendor/bim/nodedc-bim-viewer-0.2.16.tgz new file mode 100644 index 00000000..b6f7c5a7 Binary files /dev/null and b/vendor/bim/nodedc-bim-viewer-0.2.16.tgz differ