Skip to content

feat(viewer): Lane Eight confidence UI, guidance, and tier1 demo gallery - #131

Merged
DrunkOnJava merged 15 commits into
mainfrom
viewer/confidence-ui
Aug 29, 2026
Merged

DrunkOnJava merged 15 commits into
mainfrom
viewer/confidence-ui

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Lane Eight (viewer) — surface decode/export confidence and IFC quality bars from Lane Seven diagnostics, refine in-app supported-file guidance for synthetic vs real expectations, and stage the redistributable corpus/tier1/ fixtures in the demo gallery.

Depends on Lane Seven (ifc/export-modes, PR #130).

Motivation

Closes the M6 viewer-beta path for confidence messaging and redistributable demos (Refs #42, #43, #44). Users need honest scaffold ~25% feedback on synthetics and a same-origin gallery that does not require Autodesk samples.

Changes

  • src/wasm.rs — openRvtBytesWithDiagnosticsMode / …AndLimits for Lane Seven quality modes
  • viewer/src/worker.ts — parse with selected IFC bar via the new WASM binding
  • viewer/src/main.ts + viewer/index.html — Decode / Export confidence rows, IFC bar selector + validation messaging, refined support matrix
  • docs/viewer-demos.json + viewer/scripts/stage-demos.mjs — stage architectural-2024, structural-2023, mep-2024 (with license sidecars) from corpus/tier1/
  • viewer/tests/viewer-regression.spec.ts — gallery + confidence/IFC-bar coverage
  • viewer/README.md — workflow docs for tier1 / confidence

Testing

  • wasm-pack build --target web -- --features wasm --no-default-features
  • WASM network-import audit (VW1-21) — PASS
  • npm run stage:demos — 6/8 demos staged (tier1 + synthetic + IFC; optional RAC RFAs absent)
  • npm run typecheck / npm run build
  • rvt-ifc on architectural-2024 — confidence scaffold / score 0.25
  • Playwright browser regressions — 3 passed, 1 skipped (no external project corpus)
  • Manual GUI against localhost:5173 — tier1 gallery load, Decode/Export rows, IFC bar geometry fail-closed messaging
  • cargo fmt --check

N/A: IFC exporter byte-stability and element-decoder unit-test checklist (viewer/WASM surface only).

Audit-honesty checklist

  • README / viewer docs state scaffold ~25% for tier1 synthetics; typed real-project extraction remains unsolved
  • No over-claim of geometry/typed coverage
  • Commit messages describe WHAT/WHY
  • No emojis / private paths
  • No Autodesk proprietary content — only Apache-2.0 corpus/tier1 synthetics and committed IFC fixtures

Breaking changes

None. New WASM exports are additive. Demo catalog gains tier1 entries; synthetic-mvp remains as a gen-fixture fallback.

Screenshots or output samples

Cloud Agent artifacts: gallery landing, File status Decode/Export confidence (~25%), IFC bar geometry warning, supported-profile matrix, walkthrough video.

Related issues

cursoragent and others added 13 commits August 29, 2026 08:53
Curate Apache-2.0 synthetic fixtures under corpus/tier1/ with license
and known-count sidecars for levels/walls/floors/doors/windows, extend
project_count_fixtures for fixture_metric inventories, and wire
corpus-tier1 (always-on) plus corpus-tier2 (external magnetar) CI jobs.

Co-authored-by: DrunkOnJava <[email protected]>
…e link

Add a version-gated (Revit 2023/2024) filtered-tag scanner that emits
neutral PartitionRecordCandidate records, expresses the existing ArcWall
path, and joins recovered ElementIds to Global/ElemTable offsets
(M3-03 / M3-04). Includes JSON probe example and tier1/corpus tests.

Co-authored-by: DrunkOnJava <[email protected]>
Satisfy clippy::collapsible_if under -D warnings.

Co-authored-by: DrunkOnJava <[email protected]>
Harden Level/Wall/Floor/Door/Window/Room/Material wrong-schema rejection
and empty-input behavior; add ArcWall typed partition decoder with
class/tag rejection; expose decoder_for_class/decode_typed; add tier1
corpus tests that exercise fixture payloads without inventing geometry.

Co-authored-by: DrunkOnJava <[email protected]>
Add fail-closed recovery APIs for wall location curves (schema
endpoints + ArcWall partition), floor boundary loops, door/window
host relationships, and level elevations. Extend Wall typed view
with location curve fields. Tier1 tests assert honest empty/partial
recovery on scaffold fixtures.

Co-authored-by: DrunkOnJava <[email protected]>
Primitives live in src/geometry/mod.rs; recovery in recovery.rs.

Co-authored-by: DrunkOnJava <[email protected]>
Also fix match exhaustiveness and type annotation for clippy/rustc.

Co-authored-by: DrunkOnJava <[email protected]>
Make scaffold / typed-no-geometry / geometry / strict control IFC
emission (not only post-export gates): drop HostObjAttr proxies from
production export, strip geometry in typed-no-geometry, attach Lane
Six recovery when present, and keep diagnostics sidecars schema-shaped.

Co-authored-by: DrunkOnJava <[email protected]>
Surface decode/export confidence and IFC quality bars from Lane Seven
diagnostics, refine supported-file copy for synthetic vs real expectations,
stage corpus/tier1 fixtures into the viewer demo gallery, and expose
openRvtBytesWithDiagnosticsMode on the WASM surface.

Co-authored-by: DrunkOnJava <[email protected]>
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review August 29, 2026 10:07
@DrunkOnJava
DrunkOnJava merged commit d2c0bfc into main Aug 29, 2026
@DrunkOnJava
DrunkOnJava deleted the viewer/confidence-ui branch August 29, 2026 11:13
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
…ery (#131)

## Summary

Lane Eight (viewer) — surface decode/export confidence and IFC quality
bars from Lane Seven diagnostics, refine in-app supported-file guidance
for synthetic vs real expectations, and stage the redistributable
`corpus/tier1/` fixtures in the demo gallery.

Depends on Lane Seven (`ifc/export-modes`, PR #130).

## Motivation

Closes the M6 viewer-beta path for confidence messaging and
redistributable demos (Refs #42, #43, #44). Users need honest scaffold
~25% feedback on synthetics and a same-origin gallery that does not
require Autodesk samples.

## Changes

- `src/wasm.rs` — `openRvtBytesWithDiagnosticsMode` / `…AndLimits` for
Lane Seven quality modes
- `viewer/src/worker.ts` — parse with selected IFC bar via the new WASM
binding
- `viewer/src/main.ts` + `viewer/index.html` — Decode / Export
confidence rows, IFC bar selector + validation messaging, refined
support matrix
- `docs/viewer-demos.json` + `viewer/scripts/stage-demos.mjs` — stage
`architectural-2024`, `structural-2023`, `mep-2024` (with license
sidecars) from `corpus/tier1/`
- `viewer/tests/viewer-regression.spec.ts` — gallery +
confidence/IFC-bar coverage
- `viewer/README.md` — workflow docs for tier1 / confidence

## Testing

- [x] `wasm-pack build --target web -- --features wasm
--no-default-features`
- [x] WASM network-import audit (VW1-21) — PASS
- [x] `npm run stage:demos` — 6/8 demos staged (tier1 + synthetic + IFC;
optional RAC RFAs absent)
- [x] `npm run typecheck` / `npm run build`
- [x] `rvt-ifc` on `architectural-2024` — confidence `scaffold` / score
`0.25`
- [x] Playwright browser regressions — 3 passed, 1 skipped (no external
project corpus)
- [x] Manual GUI against localhost:5173 — tier1 gallery load,
Decode/Export rows, IFC bar geometry fail-closed messaging
- [x] `cargo fmt --check`

N/A: IFC exporter byte-stability and element-decoder unit-test checklist
(viewer/WASM surface only).

## Audit-honesty checklist

- [x] README / viewer docs state scaffold ~25% for tier1 synthetics;
typed real-project extraction remains unsolved
- [x] No over-claim of geometry/typed coverage
- [x] Commit messages describe WHAT/WHY
- [x] No emojis / private paths
- [x] No Autodesk proprietary content — only Apache-2.0 corpus/tier1
synthetics and committed IFC fixtures

## Breaking changes

None. New WASM exports are additive. Demo catalog gains tier1 entries;
`synthetic-mvp` remains as a gen-fixture fallback.

## Screenshots or output samples

Cloud Agent artifacts: gallery landing, File status Decode/Export
confidence (~25%), IFC bar geometry warning, supported-profile matrix,
walkthrough video.

## Related issues

- Refs #42 (M6-01 confidence — already closed; this extends Lane Seven
fields)
- Refs #43 (M6-02 guidance — already closed; copy refined)
- Closes #44 (M6-03 demo gallery with redistributable tier1 files)
- Depends on #130 (`ifc/export-modes`)

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

M6-03: Add demo gallery with redistributable files

2 participants