You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Rebuilt Collision Inspector V2 shell/body styling around First-Class Tool Starter V2 class patterns.
5
+
- Added Tool Starter panel, accordion, field, and output classes to the Collision Inspector V2 markup.
6
+
- Kept the shared engine collision path and manifest-only Object Vector Studio V2 geometry usage unchanged.
7
+
- Kept the existing A/B rotation wiring and made the controls first-class, visible Tool Starter fields.
8
+
- Formatted Origins output as fixed three-decimal, separate-line text.
9
+
10
+
## Scale Normalization Rule
11
+
- Collision Inspector V2 uses the loaded manifest `screen.width` and `screen.height` as the canvas intrinsic size and CSS size at zoom `1x`.
12
+
- At Collision Inspector zoom `1x`, one manifest/world unit equals one canvas CSS pixel. Diagnostic zoom is applied only as a canvas transform for inspection and does not mutate object geometry.
13
+
- Asteroids runtime uses the same manifest screen dimensions and the shared Object Vector runtime renderer defaults object `scale` to `1` unless a runtime instance intentionally supplies a scale.
14
+
- Object Vector Studio V2 keeps its authoring grid/view scale separate from runtime geometry: its work surface uses `OBJECT_PREVIEW_DRAWING_SCALE = GRID_STEP` for editing, then maps pointer positions back by dividing by that drawing scale. Export/runtime object geometry remains manifest-unit `objects[].shapes[]` data.
15
+
16
+
## Layout Decisions
17
+
- Removed the conflicting custom app-shell sizing rules and replaced them with Tool Starter V2 shell, panel, accordion, field, menu, and output patterns.
18
+
- Left panel open accordions use `flex: 1 1 0`, so Manifest and Collision Pair share available vertical space evenly.
19
+
- Right panel open accordions use the same rule, so Live Result, Collision Summary, and Collision Logs share available vertical space evenly.
20
+
- Collision Summary and Live Result remain vertically scrollable within their accordion bodies.
21
+
- The manifest-size canvas is hosted in a scrollable viewport instead of being scaled down by CSS.
- Validates Object Vector Studio V2 authoring scale remains separate from runtime manifest-unit scale.
34
+
- PASS: `npm run build:manifest`
35
+
- This repo does not define a plain `npm run build`; `build:manifest` is the available build script.
36
+
- Removed generated `docs/build` output after validation.
37
+
- PASS: `git diff --check`
38
+
- Only CRLF working-copy warnings were reported.
39
+
- FAIL: `npm run test:workspace-v2`
40
+
- 54 passed, 2 failed.
41
+
- Failure 1: `validates optional Text to Speech V2 schema contract through Workspace Manager V2 schema` expected `activeContext.tools` to contain `text2speech-V2`.
42
+
- Failure 2: `tracks Object Vector Studio V2 dirty state through persisted edits and save outcomes` expected a Workspace Manager schema-failure save log, but the save path succeeded.
43
+
- No tracked files were changed by this validation run.
44
+
45
+
## Full Samples Smoke Test
46
+
- Skipped. This PR is limited to Collision Inspector V2 template/layout, rotate controls, and diagnostic scale display. It does not broadly change shared runtime sample loading.
0 commit comments