Repository navigation
editor: integrate local plugins, surface stairs and deck railings - #1001
sudhir9297 wants to merge 20 commits into
Conversation
What this PR doesThis wires five Pascal cluster plugins (Bath Space, Landscape, Pool, Streetscape, WebXR) into the standalone editor and adds two building features on top of the core/editor packages: straight stairs that attach to registered top surfaces, and fences drawn as deck railings that snap inside a deck's perimeter and track the active floor. Supporting work in core covers support references (remapping on clone, clearing on host delete), port connectivity, and a new stair-surface snap service with tests. The author marks this a local development draft: the five plugin dependencies in Changed files
Where to startStart with |
3761c31 to
94c1dad
Compare
25f199d to
1c453b0
Compare
Architectural Review: PR #1001Thank you for the ambitious contribution connecting deck railings, landscape snapping, and stair surface workflows! While the surface attachment mechanics and landscape transition math are valuable additions, this pull request introduces critical architectural boundary regressions, violates our unified modifier and snapping invariants, and breaks CI compilation for the host editor. Review SummaryVerdict: REQUEST_CHANGES
FindingsBlocker 1: Broken Typecheck and CI from External Git Packages
Blocker 2: Legacy File Location & Registry Dispatch Regression
Blocker 3: Alt-Key Misused as Snap and Alignment Bypass in Fence Drafting
Blocker 4: Alt-Key Misused as Snap/Alignment Bypass in Stair Floorplan Move & 3D Placement
Suggestion 1: Schema Redundancy —
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
There are 3 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 61f3148. Configure here.
61f3148 to
a64250f
Compare

What does this PR do?
The companion Landscape/WebXR fixes are published in
sudhir9297/pascal-clusteronfix/editor-ci-1001, with immutable package snapshots referenced by this PR. Local plugin development is opt-in throughPASCAL_LOCAL_PLUGINS_ROOTin the ignored.env.local; Clean CI and portable installs use the pinned packages; SETUP.md explains restoring them before a portable build from a locally linked checkout. SeeSETUP.mdfor the local workflow.How to test
bun install --frozen-lockfilein a clean checkout. No sibling repository is required. For local plugin development, configurePASCAL_LOCAL_PLUGINS_ROOTin.env.localas documented inSETUP.mdand runbun install.Checks run: a clean checkout passed frozen dependency installation and
CI=1 bun run ciwith Bun 1.3.14 (lint, skill validation, typechecks, existing test suites and production builds). MCP Node smoke and the packed CLI/runtime smoke passed, including installation, digest verification and a scene round-trip. Lint reports warnings but no errors. The integrated plugin model/texture catalogs make the runtime archive 182.9 MB; its size budget is now 220 MB. The local editor on port 3004 loads with all plugin menu entries. Steps 3–5 remain reviewer checks.Screenshots / screen recording
Not added yet.
Checklist
bun devbun checkto verify)mainbranchNote
Medium Risk
Large dependency and bootstrap surface area plus new spatial snapping, reference remapping, and move/commit paths that affect scene graph integrity and undo behavior.
Overview
Integrates Landscape, Bath Space, Pool, and Streetscape Lab into the standalone editor via pinned GitHub packages, dynamic
bootstrapdiscovery, Tailwind@sourcepaths, and a raised portable runtime archive budget (~220 MB).Straight stairs magnetically attach to plugin walking surfaces (
landscapeSurfaceId, boundary-based snap in 2D/3D), with flight preview/commit and inspector hooks; fences can draw as deck railings with edge/corner snap andsupportSurfaceNodeIdlift. Core adds surface-support clone/delete handling, optionalmetadata.roomBoundaryexclusions,connectedMovefor port graphs, and inspectorprimaryWhenextensions.The home/scene editors use a
viewerBanner(Saved scenes + lazy pool section bar), global thin scrollbars, and fence draft behavior respects Alt for angle lock. Stair placement moves to the nodes package (def.tool); legacyStairToolis removed from the tool manager. Move/placement polish includes level-preserved drags, wall grab tracking, and screen-sized floorplan handles.Reviewed by Cursor Bugbot for commit a64250f. Bugbot is set up for automated code reviews on this repo. Configure here.