Skip to content

fix(deps): clear shared CI advisories blocking finish-line PRs - #118

Merged
DrunkOnJava merged 1 commit into
mainfrom
cursor/deps-advisory-bump-44c9
Aug 28, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
cursor/deps-advisory-bump-44c9

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

Clears the shared cargo-audit / cargo-deny / viewer npm-audit failures that have been failing unrelated finish-line PRs (#114–#117) on the same advisories.

After this merges, #115 / #116 / #117 (and related finish-line branches) should rebase onto main so they pick up the lockfile fixes without each re-fighting the same CI jobs.

Rust (Cargo.lock / Cargo.toml / rvt-py)

Crate From → To Advisory
anyhow 1.0.102 → 1.0.104 RUSTSEC-2026-0190
crossbeam-epoch 0.9.18 → 0.9.20 RUSTSEC-2026-0204
quick-xml 0.36.2 → 0.41.0 RUSTSEC-2026-0194 / 0195
pyo3 0.24.2 → 0.29.2 RUSTSEC-2026-0176 / 0177

PartAtom parsing adapted for quick-xml ≥0.38 (Event::GeneralRef entity streaming; no ignore/pin).

Viewer npm

npm audit fix in viewer/ (stayed on Vite 8.x):

  • vite 8.0.9 → 8.2.2
  • postcss → 8.5.26
  • nanoid → 3.3.18

Test plan

  • cargo check --workspace
  • cargo audit clean
  • cargo deny check advisories ok
  • cargo test --lib part_atom (8 passed)
  • cd viewer && npm audit --audit-level=high → 0 vulnerabilities
  • CI green on this PR

No product / ArcWall / viewer feature work included.


Note

Medium Risk
PartAtom parsing behavior changed to match a new XML event model; incorrect entity/whitespace handling could misread family metadata, while pyo3 upgrades affect the Python wheel ABI surface.

Overview
Bumps Rust and viewer dependencies to clear cargo-audit, cargo-deny, and npm audit failures that were blocking unrelated PRs, with a targeted parser fix for the quick-xml major-line upgrade.

Rust: quick-xml 0.36 → 0.41, pyo3 0.24 → 0.29 (rvt-py), plus transitive fixes (anyhow, crossbeam-epoch). PartAtom::from_bytes in part_atom.rs is updated for quick-xml ≥0.38: entities stream as Event::GeneralRef instead of inline expansion, text is accumulated in pending and flushed on end tags (replacing trim_text + BytesText::unescape), and category scheme attributes use normalized_value.

Viewer: viewer/package-lock.json from npm audit fix (e.g. vite 8.0.9 → 8.2.2, rolldown 1.2.6, postcss / nanoid bumps)—dev tooling only, no app feature changes.

Reviewed by Cursor Bugbot for commit e312d79. Configure here.

Bump anyhow (≥1.0.103), crossbeam-epoch (≥0.9.20), quick-xml 0.41,
and pyo3 0.29 to clear RUSTSEC advisories that were failing cargo
audit/deny across finish-line PRs. Adapt PartAtom parsing for
quick-xml 0.38+ GeneralRef entity streaming. Run npm audit fix in
viewer/ (nanoid, postcss, vite 8.x patch) so high-severity npm audit
passes without a Vite major bump.

Co-authored-by: DrunkOnJava <[email protected]>
cursor Bot pushed a commit that referenced this pull request Aug 28, 2026
Bring shared Rust cargo audit/deny fixes and aligned viewer npm lockfile
bumps onto the M11 workflow branch so PR #115 clears advisory CI.

Co-authored-by: DrunkOnJava <[email protected]>
cursor Bot pushed a commit that referenced this pull request Aug 28, 2026
…ry-probes-44c9

Pull in shared Rust/npm advisory bumps from #118 so RE-15 PR #117 clears
deny/audit/npm CI noise without expanding decoder scope.

Co-authored-by: DrunkOnJava <[email protected]>
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review August 28, 2026 10:35
cursor Bot pushed a commit that referenced this pull request Aug 28, 2026
The ArcWall branch rewrite appended Text/GeneralRef chunks into title
across sibling <title> elements, so sample PartAtom titles became
"racbasicsamplefamily0610 x 0915mm" and broke Python wheel CI.

Restore the quick-xml 0.41 pending-buffer flush from
cursor/deps-advisory-bump-44c9 (green Python wheels) and add unit
tests that sibling titles replace and entity chunks still concatenate.

Co-authored-by: DrunkOnJava <[email protected]>
cursor Bot pushed a commit that referenced this pull request Aug 28, 2026
…n-main-44c9

Bring shared Rust/npm advisory fixes (#118) onto the cloud env PR (#114).

Co-authored-by: DrunkOnJava <[email protected]>
@DrunkOnJava
DrunkOnJava merged commit 57eb63e into main Aug 28, 2026
20 checks passed
@DrunkOnJava
DrunkOnJava deleted the cursor/deps-advisory-bump-44c9 branch August 28, 2026 11:07
DrunkOnJava added a commit that referenced this pull request Aug 28, 2026
## Summary

Unblocks Cloud Agent `setupStatus: INSTALL_FAILED` on `main`, which
currently lacks `.cursor/install.sh` while agents expect `bash
.cursor/environment.json` → `bash .cursor/install.sh`.

This PR brings the **environment-only** files from draft
[#113](#113)
(`cursor/setup-dev-environment-1703`) onto a clean branch based on
latest `main`, plus shared advisory lockfile fixes from
[#118](#118) so cargo
deny/audit and viewer npm audit pass.

## What's included

- `.cursor/environment.json` — install script, port `5173`,
`viewer-dev-server` terminal
- `.cursor/install.sh` — idempotent Rust (≥1.85) + Python (`maturin`) +
WASM viewer bootstrap + smoke checks
- `AGENTS.md` — Cursor Cloud specific instructions
- CI `env config lint` job (shellcheck + schema validate)
- `.gitignore` — ignore `*.so` from `maturin develop`
- Merge of `#118` deps advisory bump
(`quick-xml`/`pyo3`/`anyhow`/`crossbeam-epoch` + viewer `npm audit fix`)

## Why a separate PR

#113 already has the same env content and passed fresh-pod builds, but
`main` still fails install for new agents. Landing this slim branch
unblocks Cloud Agents without waiting on any other work on #113.

**Once #114 is green and merges, #113 can be closed as superseded.**

## Verification

- Local: `cargo deny check advisories` ok; `cargo audit` clean; `cd
viewer && npm audit --audit-level=high` → 0 vulnerabilities
- Env setup files retained alongside deps bumps (merge commit `e207d39`)

Do not merge until CI is green on the post-merge head.

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 28, 2026
## Summary

Deepens the only working real-project typed export path (Revit 2023
ArcWall → IFCWALL) with RE-15 trailer recovery: validated ElementIds,
type-id candidates, base elevations, elevation-derived storeys with
confident partition Level names, a shared partition scan API, and
ElemTable linkage — without inventing wall height or thickness.

## Motivation

Gate B / 0.3.0 / M11 needs the ArcWall path to stop being an IFC-only
side scan with hardcoded thickness/height defaults. Refs #30, #33, #25,
#28. Incorporates low-risk findings from sibling RE-15 PR #117.

## Changes

- `src/arc_wall_record.rs` — singleton trailer decode (`ElementId`,
`TypeId`, base elevation); `height_feet()` from core Z delta
- `src/partition_arc_walls.rs` — shared scan API; storey recovery;
ElementId→partition index; Level-name application
- `src/partition_name_candidates.rs` — adapted from PR #117 (#86); plus
`is_building_storey_name` / `building_storey_name_candidates`
- `src/elem_table.rs` — `index_by_element_id` +
`link_arcwall_element_ids`
- `src/ifc/mod.rs` — shared path; named storeys when confident; property
set; no invented 10 ft height; thickness placeholder + #88-aware
diagnostics
- `reports/element-framing/RE-15-arcwall-trailer-synthesis.md` — trailer
evidence + #117 cross-links
- Corpus / walker integration tests; docs/status honesty pass

## CI follow-ups

- **IfcOpenShell real IFC:** validator accepts one
`IfcRelContainedInSpatialStructure` per non-empty storey (Einhoven: 4
rels / 4 storeys / 24 walls); related-element total must cover
`building_elements`.
- **Viewer Playwright:** drop `unsupported_geometry_missing_level`;
assert `Partial decode`, `/unit|thickness|storey/i`, `storey_count: 4`,
thickness warning.
- **Deps:** `anyhow` 1.0.104, `crossbeam-epoch` 0.9.20, `quick-xml` 0.41
(+ PartAtom parse adapt), `pyo3` 0.29; viewer `npm audit fix`.
- **PartAtom (wheel CI):** sibling `<title>` elements were concatenating
(`racbasicsamplefamily0610 x 0915mm`) after the ArcWall-branch quick-xml
0.41 rewrite. Synced `src/part_atom.rs` pending-buffer + End flush from
#118 (green Python wheels) and added
`later_title_element_replaces_earlier` / entity-chunk unit tests so only
the Atom title text is returned.

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 28, 2026
## Summary

Reverse-engineering progress toward real geometry for open RE-15 P0/P1
issues, kept off the ArcWall finish-line product path. Adds reproducible
probes, a dated synthesis report, corpus invariant tests, and two small
ArcWall-safe helpers (2024 opening-index decoder + partition
name-candidate classifier).

## Motivation

Advance falsifiable RE on #87 (slab profiles), #88 (compound layers),
#89 (door dims + openings), #86 (real names), with optional recall
baselines for #81–#84.

Sibling branch `cursor/arcwall-finish-line-44c9` owns `src/ifc/mod.rs`
ArcWall emission — this PR does not rewrite that path.

## Changes

-
`examples/probe_re15_{names,rect_opening,opening_stride60,compound_layers,slab_profiles,recall_tags}.rs`
— corpus probes
- `reports/element-framing/RE-15-synthesis.md` — confidence-scored
findings + next decoder steps
- `src/rect_opening_index.rs` — Revit 2024-only decoder for the dominant
60 B `ArcWallRectOpening` **index** envelope (not width/height geometry)
- `src/partition_name_candidates.rs` — Material/Level/Space-like string
classification helpers
- `tests/re15_geometry_invariants.rs` — locks confirmed tag drift,
opening-index, and name invariants
- `src/lib.rs` — module exports only

## CI follow-up

- `cargo fmt --all` + clippy `-D warnings` fixes in probe/test code only
(unused `sample` / `thickness_plausible`, `manual_contains`, `eq_op`)
- **Merged #118** (`cursor/deps-advisory-bump-44c9`) via merge commit
`a17b3eb` (no rebase/force-push) to clear shared deny/audit/npm
advisories — Cargo.toml/`Cargo.lock`/`rvt-py`, PartAtom GeneralRef,
viewer `package-lock.json`

## Key findings

| Finding | Confidence |
|---|---|
| Real Material/Level names in partition UTF-16LE strings (`Concrete`,
`Level 1`, …) | 0.90 |
| 2024 `ArcWallRectOpening` (0x01a7) 60 B fixed index with marker
`0x40088204` (~72%) | 0.92 |
| That index does **not** carry door W×H | 0.88 |
| Einhoven has 0 filtered `ArcWallRectOpening` hits | 0.85 |
| Standard ArcWall trailers have no exact 4/6/8/10/12″ thickness f64
(H88-1 falsified) | 0.80 |
| Naïve slab polylines collide with ArcWall coords on Einhoven; 2024 has
~998 unbound candidates | 0.45–0.75 |

## Testing

- [x] `cargo fmt --all -- --check`
- [x] `cargo clippy --workspace --all-targets --all-features -- -D
warnings`
- [x] `cargo deny check` / `cargo audit` (post-#118 merge)
- [x] `cargo test --release --test re15_geometry_invariants` (5 passed)
- [x] `cargo test --release --lib rect_opening_index` / `partition_name`
- [x] N/A IFC exporter byte-stability — no ArcWall emission changes in
`src/ifc/mod.rs`

## Breaking changes

None.

## Related issues

Refs #87 #88 #89 #86 #81 #82 #83 #84

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 28, 2026
## Summary

Advances [#66](#66) (M11-02)
and remaining viewer-beta gaps that are clearly unfinished on the viewer
side, without touching the Rust decoder/IFC core.

- Wires the demo gallery from `docs/viewer-demos.json` into the viewer
dropzone (license/provenance + expected quality labels).
- Stages redistributable demos at build time
(`viewer/scripts/stage-demos.mjs`), including a license-free
`gen-fixture` synthetic MVP `.rvt` so Playwright can exercise the
workflow without LFS.
- Strengthens Playwright coverage for the supported MVP shell: open →
status/confidence → inspect → export quality / diagnostics.
- Keeps the no-network privacy posture (same-origin `/demos/` catalog +
optional demo fetch only).
- Aligns viewer/README/user-guide copy with honest partial-decode
messaging from `docs/status.md` / `docs/supported-profile.md`.
- **Viewer npm audit:** lockfile clears nanoid/postcss/vite highs (vite
8.2.2, nanoid 3.3.18, postcss 8.5.26).
- **Shared Rust advisories:** merge commit integrates
[#118](#118)
(`cursor/deps-advisory-bump-44c9`) so `cargo deny` / `cargo audit` clear
on this PR as well.

## Motivation

Refs #66. `docs/viewer-demos.json` existed but was not referenced from
`viewer/src/`. M11-02 still needs a documented MVP workflow shell and
fixture-backed Playwright coverage while real typed levels/doors/windows
remain decoder-blocked.

## Changes

- `viewer/src/main.ts` + `viewer/index.html` — demo gallery UI, MVP
workflow copy, partial-decode messaging, scaffold inspect fallback
- `viewer/scripts/stage-demos.mjs` — build-time staging from
`docs/viewer-demos.json`
- `docs/viewer-demos.json` —
loadable/expected_quality/license/provenance fields + synthetic MVP
entry
- `viewer/tests/viewer-regression.spec.ts` — gallery + MVP workflow via
synthetic demo
- `viewer/tests/no-network.spec.ts` — allow same-origin `/demos/` static
assets; fall back to staged synthetic sample
- `.github/workflows/deploy-viewer.yml` — stage demos (incl.
`gen-fixture`) before Playwright
- `viewer/package-lock.json` — advisory bump via `npm audit fix`
- Merge from #118: `Cargo.lock` / `Cargo.toml` / `rvt-py/Cargo.toml` /
`src/part_atom.rs` advisory fixes
- README / user-guide / viewer README / privacy posture docs

## Still depends on decoder work

- Reliable typed levels, doors, windows, floors, and geometry from
arbitrary real `.rvt` projects
- CLI/Python decoded-count parity for real project models (acceptance
item on #66)
- Gallery RAC Basic RFAs appear when the phi-ag corpus is present in
CI/deploy; without corpus they show as unavailable

## Testing

- [x] `npm run typecheck` in `viewer/`
- [x] `npm run build` in `viewer/` (includes `stage:demos`)
- [x] `npm run test:browser` — gallery + MVP workflow + no-network
(project sample when corpus present)
- [x] `npm audit` in `viewer/` — **0 vulnerabilities**
- [x] `cargo deny check` — advisories/bans/licenses/sources ok (after
merge with #118)
- [x] `cargo audit` — clean (after merge with #118)
- [ ] `cargo test --all` — not re-run for this merge; deps PR owns Rust
advisory surface

## CI note

Merged `origin/cursor/deps-advisory-bump-44c9` (#118) into this branch
via merge commit `94965ec` (no force-push). Viewer M11 feature work
retained; shared Cargo advisory bumps now included so cargo deny/audit
should go green with the viewer npm audit already fixed.

## Audit-honesty checklist

- [x] README / docs reflect partial decode; no claim of full RVT→IFC for
arbitrary projects
- [x] Demo gallery labels expected quality as Scaffold for loadable RVT
demos
- [x] No emojis; no private paths
- [x] Synthetic fixture is generated (Apache-2.0); RFAs only staged from
redistributable corpus

## Breaking changes

None.

## Related issues

Refs #66 (M11-02). Also covers M6-03 gallery wiring / M6-04 demo-path
Playwright items from `TODO.md`. Depends on / includes #118 advisory
bumps.

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary

Unblocks Cloud Agent `setupStatus: INSTALL_FAILED` on `main`, which
currently lacks `.cursor/install.sh` while agents expect `bash
.cursor/environment.json` → `bash .cursor/install.sh`.

This PR brings the **environment-only** files from draft
[#113](#113)
(`cursor/setup-dev-environment-1703`) onto a clean branch based on
latest `main`, plus shared advisory lockfile fixes from
[#118](#118) so cargo
deny/audit and viewer npm audit pass.

## What's included

- `.cursor/environment.json` — install script, port `5173`,
`viewer-dev-server` terminal
- `.cursor/install.sh` — idempotent Rust (≥1.85) + Python (`maturin`) +
WASM viewer bootstrap + smoke checks
- `AGENTS.md` — Cursor Cloud specific instructions
- CI `env config lint` job (shellcheck + schema validate)
- `.gitignore` — ignore `*.so` from `maturin develop`
- Merge of `#118` deps advisory bump
(`quick-xml`/`pyo3`/`anyhow`/`crossbeam-epoch` + viewer `npm audit fix`)

## Why a separate PR

#113 already has the same env content and passed fresh-pod builds, but
`main` still fails install for new agents. Landing this slim branch
unblocks Cloud Agents without waiting on any other work on #113.

**Once #114 is green and merges, #113 can be closed as superseded.**

## Verification

- Local: `cargo deny check advisories` ok; `cargo audit` clean; `cd
viewer && npm audit --audit-level=high` → 0 vulnerabilities
- Env setup files retained alongside deps bumps (merge commit `e12badc`)

Do not merge until CI is green on the post-merge head.

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary

Deepens the only working real-project typed export path (Revit 2023
ArcWall → IFCWALL) with RE-15 trailer recovery: validated ElementIds,
type-id candidates, base elevations, elevation-derived storeys with
confident partition Level names, a shared partition scan API, and
ElemTable linkage — without inventing wall height or thickness.

## Motivation

Gate B / 0.3.0 / M11 needs the ArcWall path to stop being an IFC-only
side scan with hardcoded thickness/height defaults. Refs #30, #33, #25,
#28. Incorporates low-risk findings from sibling RE-15 PR #117.

## Changes

- `src/arc_wall_record.rs` — singleton trailer decode (`ElementId`,
`TypeId`, base elevation); `height_feet()` from core Z delta
- `src/partition_arc_walls.rs` — shared scan API; storey recovery;
ElementId→partition index; Level-name application
- `src/partition_name_candidates.rs` — adapted from PR #117 (#86); plus
`is_building_storey_name` / `building_storey_name_candidates`
- `src/elem_table.rs` — `index_by_element_id` +
`link_arcwall_element_ids`
- `src/ifc/mod.rs` — shared path; named storeys when confident; property
set; no invented 10 ft height; thickness placeholder + #88-aware
diagnostics
- `reports/element-framing/RE-15-arcwall-trailer-synthesis.md` — trailer
evidence + #117 cross-links
- Corpus / walker integration tests; docs/status honesty pass

## CI follow-ups

- **IfcOpenShell real IFC:** validator accepts one
`IfcRelContainedInSpatialStructure` per non-empty storey (Einhoven: 4
rels / 4 storeys / 24 walls); related-element total must cover
`building_elements`.
- **Viewer Playwright:** drop `unsupported_geometry_missing_level`;
assert `Partial decode`, `/unit|thickness|storey/i`, `storey_count: 4`,
thickness warning.
- **Deps:** `anyhow` 1.0.104, `crossbeam-epoch` 0.9.20, `quick-xml` 0.41
(+ PartAtom parse adapt), `pyo3` 0.29; viewer `npm audit fix`.
- **PartAtom (wheel CI):** sibling `<title>` elements were concatenating
(`racbasicsamplefamily0610 x 0915mm`) after the ArcWall-branch quick-xml
0.41 rewrite. Synced `src/part_atom.rs` pending-buffer + End flush from
#118 (green Python wheels) and added
`later_title_element_replaces_earlier` / entity-chunk unit tests so only
the Atom title text is returned.

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary

Reverse-engineering progress toward real geometry for open RE-15 P0/P1
issues, kept off the ArcWall finish-line product path. Adds reproducible
probes, a dated synthesis report, corpus invariant tests, and two small
ArcWall-safe helpers (2024 opening-index decoder + partition
name-candidate classifier).

## Motivation

Advance falsifiable RE on #87 (slab profiles), #88 (compound layers),
#89 (door dims + openings), #86 (real names), with optional recall
baselines for #81–#84.

Sibling branch `cursor/arcwall-finish-line-44c9` owns `src/ifc/mod.rs`
ArcWall emission — this PR does not rewrite that path.

## Changes

-
`examples/probe_re15_{names,rect_opening,opening_stride60,compound_layers,slab_profiles,recall_tags}.rs`
— corpus probes
- `reports/element-framing/RE-15-synthesis.md` — confidence-scored
findings + next decoder steps
- `src/rect_opening_index.rs` — Revit 2024-only decoder for the dominant
60 B `ArcWallRectOpening` **index** envelope (not width/height geometry)
- `src/partition_name_candidates.rs` — Material/Level/Space-like string
classification helpers
- `tests/re15_geometry_invariants.rs` — locks confirmed tag drift,
opening-index, and name invariants
- `src/lib.rs` — module exports only

## CI follow-up

- `cargo fmt --all` + clippy `-D warnings` fixes in probe/test code only
(unused `sample` / `thickness_plausible`, `manual_contains`, `eq_op`)
- **Merged #118** (`cursor/deps-advisory-bump-44c9`) via merge commit
`70ef34c` (no rebase/force-push) to clear shared deny/audit/npm
advisories — Cargo.toml/`Cargo.lock`/`rvt-py`, PartAtom GeneralRef,
viewer `package-lock.json`

## Key findings

| Finding | Confidence |
|---|---|
| Real Material/Level names in partition UTF-16LE strings (`Concrete`,
`Level 1`, …) | 0.90 |
| 2024 `ArcWallRectOpening` (0x01a7) 60 B fixed index with marker
`0x40088204` (~72%) | 0.92 |
| That index does **not** carry door W×H | 0.88 |
| Einhoven has 0 filtered `ArcWallRectOpening` hits | 0.85 |
| Standard ArcWall trailers have no exact 4/6/8/10/12″ thickness f64
(H88-1 falsified) | 0.80 |
| Naïve slab polylines collide with ArcWall coords on Einhoven; 2024 has
~998 unbound candidates | 0.45–0.75 |

## Testing

- [x] `cargo fmt --all -- --check`
- [x] `cargo clippy --workspace --all-targets --all-features -- -D
warnings`
- [x] `cargo deny check` / `cargo audit` (post-#118 merge)
- [x] `cargo test --release --test re15_geometry_invariants` (5 passed)
- [x] `cargo test --release --lib rect_opening_index` / `partition_name`
- [x] N/A IFC exporter byte-stability — no ArcWall emission changes in
`src/ifc/mod.rs`

## Breaking changes

None.

## Related issues

Refs #87 #88 #89 #86 #81 #82 #83 #84

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary

Advances [#66](#66) (M11-02)
and remaining viewer-beta gaps that are clearly unfinished on the viewer
side, without touching the Rust decoder/IFC core.

- Wires the demo gallery from `docs/viewer-demos.json` into the viewer
dropzone (license/provenance + expected quality labels).
- Stages redistributable demos at build time
(`viewer/scripts/stage-demos.mjs`), including a license-free
`gen-fixture` synthetic MVP `.rvt` so Playwright can exercise the
workflow without LFS.
- Strengthens Playwright coverage for the supported MVP shell: open →
status/confidence → inspect → export quality / diagnostics.
- Keeps the no-network privacy posture (same-origin `/demos/` catalog +
optional demo fetch only).
- Aligns viewer/README/user-guide copy with honest partial-decode
messaging from `docs/status.md` / `docs/supported-profile.md`.
- **Viewer npm audit:** lockfile clears nanoid/postcss/vite highs (vite
8.2.2, nanoid 3.3.18, postcss 8.5.26).
- **Shared Rust advisories:** merge commit integrates
[#118](#118)
(`cursor/deps-advisory-bump-44c9`) so `cargo deny` / `cargo audit` clear
on this PR as well.

## Motivation

Refs #66. `docs/viewer-demos.json` existed but was not referenced from
`viewer/src/`. M11-02 still needs a documented MVP workflow shell and
fixture-backed Playwright coverage while real typed levels/doors/windows
remain decoder-blocked.

## Changes

- `viewer/src/main.ts` + `viewer/index.html` — demo gallery UI, MVP
workflow copy, partial-decode messaging, scaffold inspect fallback
- `viewer/scripts/stage-demos.mjs` — build-time staging from
`docs/viewer-demos.json`
- `docs/viewer-demos.json` —
loadable/expected_quality/license/provenance fields + synthetic MVP
entry
- `viewer/tests/viewer-regression.spec.ts` — gallery + MVP workflow via
synthetic demo
- `viewer/tests/no-network.spec.ts` — allow same-origin `/demos/` static
assets; fall back to staged synthetic sample
- `.github/workflows/deploy-viewer.yml` — stage demos (incl.
`gen-fixture`) before Playwright
- `viewer/package-lock.json` — advisory bump via `npm audit fix`
- Merge from #118: `Cargo.lock` / `Cargo.toml` / `rvt-py/Cargo.toml` /
`src/part_atom.rs` advisory fixes
- README / user-guide / viewer README / privacy posture docs

## Still depends on decoder work

- Reliable typed levels, doors, windows, floors, and geometry from
arbitrary real `.rvt` projects
- CLI/Python decoded-count parity for real project models (acceptance
item on #66)
- Gallery RAC Basic RFAs appear when the phi-ag corpus is present in
CI/deploy; without corpus they show as unavailable

## Testing

- [x] `npm run typecheck` in `viewer/`
- [x] `npm run build` in `viewer/` (includes `stage:demos`)
- [x] `npm run test:browser` — gallery + MVP workflow + no-network
(project sample when corpus present)
- [x] `npm audit` in `viewer/` — **0 vulnerabilities**
- [x] `cargo deny check` — advisories/bans/licenses/sources ok (after
merge with #118)
- [x] `cargo audit` — clean (after merge with #118)
- [ ] `cargo test --all` — not re-run for this merge; deps PR owns Rust
advisory surface

## CI note

Merged `origin/cursor/deps-advisory-bump-44c9` (#118) into this branch
via merge commit `f12bc90` (no force-push). Viewer M11 feature work
retained; shared Cargo advisory bumps now included so cargo deny/audit
should go green with the viewer npm audit already fixed.

## Audit-honesty checklist

- [x] README / docs reflect partial decode; no claim of full RVT→IFC for
arbitrary projects
- [x] Demo gallery labels expected quality as Scaffold for loadable RVT
demos
- [x] No emojis; no private paths
- [x] Synthetic fixture is generated (Apache-2.0); RFAs only staged from
redistributable corpus

## Breaking changes

None.

## Related issues

Refs #66 (M11-02). Also covers M6-03 gallery wiring / M6-04 demo-path
Playwright items from `TODO.md`. Depends on / includes #118 advisory
bumps.

---------

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.

2 participants