Repository navigation
refactor: prune dead code, harden SSR/parity/preview bugs, and add agent guards - #99
Merged
Merged
Conversation
…artition core barrel
… shape parity bugs
…emver publish guard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
planeNormalize.ts,lightVisibility.ts,asyncRender.ts,seamRepairmutators, dead shadow/camera/parser exports) — net -2,569 lines across 4 commits without touching render strategies orpackages/domformat.previewBakedSolidLighting/commitBakedSolidLighting/clearBakedSolidLightingPreviewonPolySceneHandle, fix preview state-machine teardown across auto-rebake, dynamic switch, and manualsetOptionscalls, and partitionpackages/core/src/index.tsinto Part 1 (Public User & Headless API) and Part 2 (Renderer & Morph Contract).rgba(NaN, ...)shading, React SSR<PolyTransformControls>getServerSnapshot+useIsomorphicLayoutEffect, Vue SSR asyncsrcfetch guard, multi-action animation highest-weight metadata, standalone<PolyMesh>seamBleed,PolyThreeOrthographicCamerainlineperspective: 1000000px, custom-element observed attributes (distance,target,cast-shadow,receive-shadow,exclude-from-auto-center), VuePolyShapesfullSHAPE_MESH_PROPS/SlotsType/exposeparity, sharedshadowOptionKey, and missing React/Vue barrel exports (PolyPointLight,PolySeamBleed*,spherePolygons,ringQuadPolygons).AGENTS.md,.github/architecture/rendering-and-shadows.md, andpackages/skills/skill/(synced towebsite/public/skill/), add.github/scripts/check-elements-observed-attrs.test.mjs, expandbench/lifecycle-gate.mjsNode SSR checks (fetchCalls=0), and add a fail-closed breaking-export semver guard to.github/scripts/bump-versions.mjs.Release Note
v0.2.11, the next npm publish must usebump=minor(0.3.0);bump-versions.mjsnow enforces this automatically..github/mirror-waivers.jsonback to{}in a clean 1-file follow-up.Local Verification
pnpm verify(166 script tests, all package & website tests, builds, typechecks, IR, packs, examples)pnpm test:coverage(8/8 packages)pnpm --filter @layoutit/polycss-website build(23 pages)pnpm bench:gate:lifecycle(13/13 Node SSR + Chromium)pnpm bench:gate:perf -- --base-ref main(9/9 Chromium A/B, 0 per-frame DOM mutations)--software-backend) + Firefox visual gate vsmain(55/55, 0 px strict mismatch)