|
| 1 | +# Workspace Cleanup Normalization Report |
| 2 | + |
| 3 | +PR: `PR_26140_058-normalize-uat-fixture-and-sample-tool-map` |
| 4 | + |
| 5 | +## Summary |
| 6 | +- Renamed the sample link registry from `samples/sample.to.workspace.json` to `samples/samples.to.tools.json`. |
| 7 | +- Preserved the tool-focused schema name `html-js-gaming.sample-tool-links/1`. |
| 8 | +- Converted the Workspace V2 UAT fixture to the current game manifest direction used by `games/_template/game.manifest.json`. |
| 9 | +- Kept UAT fixture data in `tests/fixtures/workspace-v2/`. |
| 10 | +- Preserved Workspace Manager V2 launch/save behavior. |
| 11 | + |
| 12 | +## Sample Tool Map |
| 13 | +- `samples/samples.to.tools.json` is the active sample/tool registry. |
| 14 | +- The registry uses a tool-first structure: |
| 15 | + - `tools.<toolName>[]` |
| 16 | + - each entry includes `sampleId` and `phase` |
| 17 | + - related sample metadata remains on each link, including `sampleType`, `primaryTool`, and `palettePath` |
| 18 | +- Validation confirmed 35 sample/tool links and existing palette paths. |
| 19 | +- No unrelated sample JSON files were modified. |
| 20 | + |
| 21 | +## UAT Fixture |
| 22 | +- `tests/fixtures/workspace-v2/uat.manifest.json` now uses: |
| 23 | + - `$schema: "tools/schemas/game.manifest.schema.json"` |
| 24 | + - `schema: "html-js-gaming.game-manifest"` |
| 25 | +- Temporary UAT loading now requires a game-manifest-shaped fixture. |
| 26 | +- The Workspace Manager V2 runtime still generates the session/toolState context from the UAT game manifest at launch time. |
| 27 | +- Playwright coverage now validates the UAT fixture through `validateGameManifest()` and confirms the generated UAT session context loads. |
| 28 | + |
| 29 | +## Active Dependency Audit |
| 30 | +- PASS: no active dependency remains on `workspace.manifest.json` in: |
| 31 | + - `tools` |
| 32 | + - `scripts` |
| 33 | + - `tests` |
| 34 | + - `games` |
| 35 | + - `samples` |
| 36 | +- PASS: no active dependency remains on `sample.to.workspace.json` in: |
| 37 | + - `tools` |
| 38 | + - `scripts` |
| 39 | + - `tests` |
| 40 | + - `games` |
| 41 | + - `samples` |
| 42 | +- PASS: no active dependency remains on `html-js-gaming.workspace-manifest.palette-links/1`. |
| 43 | +- Historical docs/roadmaps still contain older terminology and were left untouched. |
| 44 | + |
| 45 | +## Validation |
| 46 | +- PASS: targeted JSON parse validation for: |
| 47 | + - `samples/samples.to.tools.json` |
| 48 | + - `tests/fixtures/workspace-v2/uat.manifest.json` |
| 49 | +- PASS: targeted syntax/import validation for changed files. |
| 50 | +- PASS: sample/tool mapping validation. |
| 51 | +- PASS: UAT game manifest validation and temporary UAT load validation. |
| 52 | +- PASS: `npm run test:workspace-v2` with 58 passed. |
| 53 | +- PASS: active dependency searches for removed schema/path references. |
| 54 | +- PASS: `git diff --check`. |
| 55 | + |
| 56 | +## Out Of Scope |
| 57 | +- Full samples smoke test was skipped as requested. |
| 58 | +- No compatibility shims were added. |
| 59 | +- No unrelated sample JSON files were touched. |
0 commit comments