|
1 | 1 | # BUILD_PR_TOOLS_AND_VECTOR_CONTRACT_COMBINED |
2 | 2 |
|
3 | | -This PR performs: |
4 | | -1. Tools folder consolidation |
5 | | -2. Path validation and repair |
6 | | -3. Vector asset contract planning |
7 | | - |
8 | | -Scope: |
9 | | -- Merge duplicate tool folders |
10 | | -- Update all references |
11 | | -- Remove obsolete folders |
12 | | -- Ignore legacy SpriteEditor |
13 | | -- Produce vector asset contract spec |
14 | | - |
15 | | -No feature work included. |
| 3 | +## Goal |
| 4 | +In one pass: |
| 5 | +- consolidate duplicated and renamed tool folders under `tools/` |
| 6 | +- repair affected references and loading paths |
| 7 | +- validate tool, sample, and asset loading paths |
| 8 | +- produce the vector asset contract planning/spec outputs |
| 9 | + |
| 10 | +## Canonical Tool Folders Selected |
| 11 | +- `tools/Sprite Editor V3/` |
| 12 | +- `tools/Tilemap Studio/` |
| 13 | +- `tools/Parallax Scene Studio/` |
| 14 | +- `tools/Vector Asset Studio/` |
| 15 | +- `tools/Vector Map Editor/` |
| 16 | +- `tools/shared/` |
| 17 | + |
| 18 | +## Duplicate Folders Discovered |
| 19 | +- `tools/Sprite Editor/` |
| 20 | +- `tools/Tile Map Editor/` |
| 21 | +- `tools/Parallax Editor/` |
| 22 | +- `tools/SVG Background Editor/` |
| 23 | +- `tools/Pixel Asset Studio/` |
| 24 | +- `tools/SpriteEditorV3/` |
| 25 | +- `tools/VectorMapEditor/` |
| 26 | + |
| 27 | +## Files And Folders Moved Or Merged |
| 28 | +### Sprite Tool |
| 29 | +- active isolated sprite editor finalized at `tools/Sprite Editor V3/` |
| 30 | +- retained `index.html`, `main.js`, `spriteEditor.css`, `README.md`, and `modules/` |
| 31 | +- removed duplicate `tools/Pixel Asset Studio/` |
| 32 | +- renamed compact `tools/SpriteEditorV3/` path to `tools/Sprite Editor V3/` |
| 33 | + |
| 34 | +### Tilemap Tool |
| 35 | +- retained the canonical implementation in `tools/Tilemap Studio/` |
| 36 | +- kept `index.html`, `main.js`, `tileMapEditor.css`, `README.md`, and `samples/` |
| 37 | + |
| 38 | +### Parallax Tool |
| 39 | +- retained the canonical implementation in `tools/Parallax Scene Studio/` |
| 40 | +- kept `index.html`, `main.js`, `parallaxEditor.css`, `README.md`, and `samples/` |
| 41 | + |
| 42 | +### SVG And Vector Tooling |
| 43 | +- retained the canonical implementation in `tools/Vector Asset Studio/` |
| 44 | +- kept `index.html`, `main.js`, `svgBackgroundEditor.css`, `README.md`, and `samples/` |
| 45 | +- renamed `tools/VectorMapEditor/` to `tools/Vector Map Editor/` |
| 46 | +- kept `index.html`, `main.js`, `vectorMapEditor.css`, `README.md`, `how_to_use.html`, `assets/`, and `editor/` |
| 47 | + |
| 48 | +## References Updated |
| 49 | +- `tools/index.html` now points to: |
| 50 | + - `tools/Sprite Editor V3/` |
| 51 | + - `tools/Tilemap Studio/` |
| 52 | + - `tools/Parallax Scene Studio/` |
| 53 | + - `tools/Vector Asset Studio/` |
| 54 | + - `tools/Vector Map Editor/` |
| 55 | +- active docs and report paths now use: |
| 56 | + - `tools/Sprite Editor V3/` |
| 57 | + - `tools/Vector Map Editor/` |
| 58 | +- vector-map help/example references were updated to the spaced canonical folder name |
| 59 | +- active loading-surface scans show no required refs to deprecated duplicate folders |
| 60 | + |
| 61 | +## Obsolete Folders Removed |
| 62 | +- `tools/Sprite Editor/` |
| 63 | +- `tools/Tile Map Editor/` |
| 64 | +- `tools/Parallax Editor/` |
| 65 | +- `tools/SVG Background Editor/` |
| 66 | +- `tools/Pixel Asset Studio/` |
| 67 | +- `tools/SpriteEditorV3/` |
| 68 | +- `tools/VectorMapEditor/` |
| 69 | + |
| 70 | +## Explicit Legacy Exclusion |
| 71 | +Old `tools/SpriteEditor_old_keep/` was intentionally excluded except for active reference cleanup. |
| 72 | +- no merge work was performed from the legacy folder |
| 73 | +- no compatibility work was added for the legacy folder |
| 74 | +- active platform paths were redirected to `tools/Sprite Editor V3/` |
| 75 | + |
| 76 | +## Validation Summary |
| 77 | +- verified launcher/index links resolve through canonical tool folders |
| 78 | +- verified sprite, tilemap, parallax, vector asset studio, and vector map editor entry files exist |
| 79 | +- verified sample-manifest paths for: |
| 80 | + - `tools/Tilemap Studio/samples/sample-manifest.json` |
| 81 | + - `tools/Parallax Scene Studio/samples/sample-manifest.json` |
| 82 | + - `tools/Vector Asset Studio/samples/sample-manifest.json` |
| 83 | +- ran `node --check` on: |
| 84 | + - `tools/Sprite Editor V3/main.js` |
| 85 | + - `tools/Sprite Editor V3/modules/spriteEditorApp.js` |
| 86 | + - `tools/Sprite Editor V3/modules/projectModel.js` |
| 87 | + - `tools/Sprite Editor V3/modules/constants.js` |
| 88 | + - `tools/Tilemap Studio/main.js` |
| 89 | + - `tools/Parallax Scene Studio/main.js` |
| 90 | + - `tools/Vector Asset Studio/main.js` |
| 91 | + - `tools/Vector Map Editor/main.js` |
| 92 | + - `tools/Vector Map Editor/editor/VectorMapEditorApp.js` |
| 93 | +- confirmed no required refs remain to deprecated duplicate folders in `tools/`, `games/`, `tests/`, or `scripts/` |
| 94 | +- confirmed no required runtime refs remain to old `SpriteEditor` in `tools/`, `games/`, `tests/`, or `scripts/` |
| 95 | + |
| 96 | +## Vector Asset Contract Outputs |
| 97 | +- planning/build workflow documented through the combined repo docs bundle |
| 98 | +- canonical spec produced at `docs/specs/vector_asset_contract.md` |
| 99 | +- contract output covers: |
| 100 | + - purpose and scope |
| 101 | + - canonical vector asset file role |
| 102 | + - coordinate system |
| 103 | + - origin conventions |
| 104 | + - transform expectations |
| 105 | + - stroke behavior |
| 106 | + - fill and color rules |
| 107 | + - palette strategy |
| 108 | + - supported shape primitives |
| 109 | + - layering expectations |
| 110 | + - naming conventions |
| 111 | + - runtime expectations |
| 112 | + - future geometry runtime support expectations |
| 113 | + - explicit non-goals |
0 commit comments