Skip to content

Commit eb2ee4c

Browse files
committed
Run the full no-manual sequence: consolidate tool folders into canonical paths, repair broken references caused by rename drift, ignore legacy SpriteEditor, and produce the vector asset contract planning bundle.
1 parent 2eba6ed commit eb2ee4c

17 files changed

Lines changed: 347 additions & 3021 deletions

docs/dev/CODEX_COMMANDS.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,13 @@ MODEL: GPT-5.4
22
REASONING: high
33

44
TASK:
5-
Create BUILD_PR_TOOLS_FOLDER_CONSOLIDATION under the HTML-JavaScript-Gaming repo.
5+
Execute all three tasks in one continuous Codex pass with no manual intervention.
66

7-
GOAL:
8-
Consolidate duplicate active tool folders into the approved canonical studio paths under `tools/`, repair active references, and remove duplicate folder drift.
7+
SEQUENCE:
8+
1. Execute BUILD_PR_TOOLS_FOLDER_CONSOLIDATION
9+
2. Validate and repair any broken paths/imports/references caused by the consolidation
10+
3. Create PLAN_PR_VECTOR_ASSET_CONTRACT as a docs-only planning bundle
911

10-
DELIVERABLES:
11-
- `docs/pr/BUILD_PR_TOOLS_FOLDER_CONSOLIDATION.md`
12-
- `docs/dev/CODEX_COMMANDS.md`
13-
- `docs/dev/COMMIT_COMMENT.txt`
14-
- `docs/dev/reports/file_tree.txt`
15-
- `docs/dev/reports/change_summary.txt`
16-
- `docs/dev/reports/validation_checklist.txt`
12+
ZIP TARGETS:
1713
- `tmp/BUILD_PR_TOOLS_FOLDER_CONSOLIDATION.zip`
18-
19-
NEXT COMMAND:
20-
MODEL: GPT-5.4
21-
REASONING: high
22-
23-
TASK:
24-
Create PLAN_PR_TOOLS_CANONICAL_NAMING_AUDIT
25-
26-
GOAL:
27-
Document and lock the final approved canonical naming/path convention for active tool folders and related internal references after consolidation.
28-
29-
ZIP:
30-
`tmp/PLAN_PR_TOOLS_CANONICAL_NAMING_AUDIT.zip`
14+
- `tmp/PLAN_PR_VECTOR_ASSET_CONTRACT.zip`

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
build(tools): consolidate duplicate tool folders into canonical studio paths
1+
build(tools): finalize tool consolidation and plan vector asset contract
Lines changed: 20 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
11
Change Summary
22
==============
33

4-
Canonical folders kept
5-
----------------------
6-
- `tools/Sprite Editor V3/`
7-
- `tools/Tilemap Studio/`
8-
- `tools/Parallax Scene Studio/`
9-
- `tools/Vector Asset Studio/`
4+
Phase 1 and 2
5+
-------------
6+
- finalized the active sprite tool at `tools/Sprite Editor V3/`
7+
- removed duplicate `tools/Pixel Asset Studio/`
8+
- kept `tools/SpriteEditor_old_keep/` parked as legacy and out of the active platform
9+
- retained `tools/Tilemap Studio/`, `tools/Parallax Scene Studio/`, and `tools/Vector Asset Studio/` as canonical active tool folders
10+
- renamed `tools/VectorMapEditor/` to `tools/Vector Map Editor/`
11+
- updated the tools launcher to point at the final canonical folders and added a `Vector Map Editor` card
12+
- repaired docs/report/path references caused by the consolidation and rename pass
1013

11-
Duplicate folders removed
12-
-------------------------
13-
- `tools/Sprite Editor/`
14-
- `tools/Tile Map Editor/`
15-
- `tools/Parallax Editor/`
16-
- `tools/SVG Background Editor/`
14+
Validation and repair highlights
15+
--------------------------------
16+
- canonical launcher links verified
17+
- canonical sample-manifest paths verified
18+
- canonical sprite/vector/tilemap/parallax entry files syntax-checked with `node --check`
19+
- active-surface scans confirm no required refs remain to deprecated duplicate folders
20+
- active-surface scans confirm no required platform refs remain to legacy `tools/SpriteEditor_old_keep/`
1721

18-
Files moved or merged
19-
---------------------
20-
- Pixel tool implementation files moved into `tools/Sprite Editor V3/`
21-
- Tilemap tool implementation files and samples moved into `tools/Tilemap Studio/`
22-
- Parallax tool implementation files and samples moved into `tools/Parallax Scene Studio/`
23-
- Vector tool implementation files and samples moved into `tools/Vector Asset Studio/`
24-
- Canonical `index.html` and `README.md` files rewritten to remove transition text
25-
26-
References updated
27-
------------------
28-
- `tools/index.html`
29-
- canonical tool entrypoints
30-
- canonical tool READMEs
31-
- docs and validation reports referencing deprecated duplicate active tool folders
32-
33-
Explicit exclusion
34-
------------------
35-
- `tools/SpriteEditor_old_keep/` was intentionally ignored as legacy and out of scope
36-
- `tools/Sprite Editor V3/` was not part of the duplicate-folder consolidation set
22+
Phase 3
23+
-------
24+
- added `docs/pr/PLAN_PR_VECTOR_ASSET_CONTRACT.md`
25+
- updated the command, commit, file-tree, change-summary, and validation-checklist docs for the full three-phase run

docs/dev/reports/file_tree.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ tools/
2424
README.md
2525
samples/
2626
Vector Map Editor/
27+
index.html
28+
main.js
29+
vectorMapEditor.css
30+
README.md
31+
how_to_use.html
32+
assets/
33+
editor/
2734
shared/
28-
SpriteEditor/
29-
Sprite Editor V3/
35+
SpriteEditor_old_keep/
Lines changed: 29 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,34 @@
11
Validation Checklist
22
====================
33

4-
Inventory and selection
5-
-----------------------
6-
[x] Inventory all folders directly under `tools/`
7-
[x] Identify duplicate active tool folders created by rename drift
8-
[x] Select canonical current folders based on approved studio naming
9-
[x] Confirm legacy `tools/SpriteEditor_old_keep/` is intentionally out of scope
10-
11-
Consolidation
4+
Phase 1 and 2
125
-------------
13-
[x] Move active implementation files into canonical tool folders
14-
[x] Move sample folders into canonical tool folders where applicable
15-
[x] Replace wrapper `index.html` files with real canonical tool entrypoints
16-
[x] Replace wrapper `README.md` files with canonical tool documentation
17-
[x] Remove obsolete duplicate active tool folders
18-
19-
Reference cleanup
20-
-----------------
21-
[x] Update launcher/index links and descriptions to canonical tool folders
22-
[x] Update canonical tool READMEs to canonical paths
23-
[x] Update active docs and validation reports that referenced duplicate active tool folders
24-
[x] Remove remaining repo references to `tools/Sprite Editor/`
25-
[x] Remove remaining repo references to `tools/Tile Map Editor/`
26-
[x] Remove remaining repo references to `tools/Parallax Editor/`
27-
[x] Remove remaining repo references to `tools/SVG Background Editor/`
28-
[x] Confirm no required tool-loading paths depend on legacy `tools/SpriteEditor_old_keep/`
6+
[x] Inventory folders directly under `tools/`
7+
[x] Identify duplicate and rename-drift tool folders
8+
[x] Select canonical current tool folders
9+
[x] Remove obsolete duplicate tool folders
10+
[x] Keep legacy `tools/SpriteEditor_old_keep/` out of the active platform
11+
[x] Repair launcher/index links
12+
[x] Repair broken path/reference drift after renames
13+
[x] Confirm `tools/Tilemap Studio/samples/sample-manifest.json` exists
14+
[x] Confirm `tools/Parallax Scene Studio/samples/sample-manifest.json` exists
15+
[x] Confirm `tools/Vector Asset Studio/samples/sample-manifest.json` exists
16+
[x] Confirm vector/svg tool paths remain present where referenced
17+
[x] `node --check tools/Sprite Editor V3/main.js`
18+
[x] `node --check tools/Sprite Editor V3/modules/spriteEditorApp.js`
19+
[x] `node --check tools/Sprite Editor V3/modules/projectModel.js`
20+
[x] `node --check tools/Sprite Editor V3/modules/constants.js`
21+
[x] `node --check tools/Tilemap Studio/main.js`
22+
[x] `node --check tools/Parallax Scene Studio/main.js`
23+
[x] `node --check tools/Vector Asset Studio/main.js`
24+
[x] `node --check tools/Vector Map Editor/main.js`
25+
[x] `node --check tools/Vector Map Editor/editor/VectorMapEditorApp.js`
26+
[x] No required refs to deprecated duplicate folders in `tools/`, `games/`, `tests/`, or `scripts/`
27+
[x] No required refs to legacy `tools/SpriteEditor_old_keep/` in `tools/`, `games/`, `tests/`, or `scripts/`
2928

30-
Tool path validation
31-
--------------------
32-
[x] `tools/index.html` links target canonical tool folders
33-
[x] `tools/Sprite Editor V3/index.html` exists with matching JS and CSS
34-
[x] `tools/Tilemap Studio/index.html` exists with matching JS and CSS
35-
[x] `tools/Parallax Scene Studio/index.html` exists with matching JS and CSS
36-
[x] `tools/Vector Asset Studio/index.html` exists with matching JS and CSS
37-
[x] Tilemap sample manifest remains present
38-
[x] Parallax sample manifest remains present
39-
[x] Vector/SVG sample manifest remains present
29+
Phase 3
30+
-------
31+
[x] `docs/pr/PLAN_PR_VECTOR_ASSET_CONTRACT.md` created
32+
[x] `docs/dev/CODEX_COMMANDS.md` updated
33+
[x] `docs/dev/COMMIT_COMMENT.txt` updated
34+
[x] reports refreshed for the final canonical tool layout
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# BUILD_PR_CODEX_AUTORUN_TOOLS_AND_VECTOR_CONTRACT
2+
3+
## Purpose
4+
Execute the full sequence with **no manual intervention**:
5+
6+
1. Consolidate renamed/duplicate tool folders under `tools/`
7+
2. Validate the repo after consolidation and repair any broken paths/imports/references caused by that consolidation
8+
3. Produce the docs-first planning bundle for `PLAN_PR_VECTOR_ASSET_CONTRACT`
9+
10+
This PR bundle is intended for Codex execution only. The goal is to let Codex perform the implementation, validation, repair, and follow-on planning in one continuous pass.
11+
12+
## Scope
13+
### In scope
14+
- Tool-folder consolidation under `tools/`
15+
- Canonical path selection for current tool folders
16+
- File movement/merging into canonical tool folders
17+
- Reference/path/import updates caused by consolidation
18+
- Validation of launcher/index/tool/sample/asset/vector paths
19+
- Repair of any broken paths caused by consolidation
20+
- Creation of a docs-only `PLAN_PR_VECTOR_ASSET_CONTRACT` bundle
21+
- Repo-structured ZIP outputs
22+
23+
### Explicit exclusions
24+
- Legacy `old SpriteEditor` consolidation work
25+
- Unrelated engine refactors
26+
- Unrelated gameplay work
27+
- New feature work outside path repair required by consolidation
28+
29+
## Required execution order
30+
### Phase 1 — Consolidate tools folders
31+
Codex must:
32+
- inventory folders directly under `tools/`
33+
- identify duplicate/renamed folders created by rename drift
34+
- choose the canonical current folder for each tool based on newer approved naming
35+
- merge/move files into canonical folders
36+
- update repo references to canonical locations
37+
- remove obsolete duplicate folders after validation
38+
- ignore old SpriteEditor except for active path cleanup if absolutely necessary to keep the repo working
39+
40+
### Phase 2 — Validate and repair
41+
Codex must perform validation and fix issues without requiring manual follow-up.
42+
43+
Validation must cover:
44+
- launcher/index links
45+
- Tile Map Editor
46+
- Parallax Editor
47+
- SVG Editor
48+
- sample loading
49+
- asset loading
50+
- vector/SVG loading if referenced
51+
- tile-map and parallax config/json path resolution
52+
- no remaining required references to deprecated duplicate folders
53+
- no remaining required references to old SpriteEditor
54+
55+
If broken references are found, Codex must fix them in the same pass.
56+
57+
### Phase 3 — Create docs-only vector asset contract plan
58+
After Phase 1 and Phase 2 are complete, Codex must create:
59+
60+
- `docs/pr/PLAN_PR_VECTOR_ASSET_CONTRACT.md`
61+
- `docs/dev/codex_commands.md` (updated for the vector asset contract plan output)
62+
- `docs/dev/commit_comment.txt`
63+
- `docs/dev/reports/file_tree.txt`
64+
- `docs/dev/reports/change_summary.txt`
65+
- `docs/dev/reports/validation_checklist.txt`
66+
67+
The vector asset contract plan must define the future planning/documentation needed to lock:
68+
- vector asset file contract
69+
- coordinate system
70+
- origin rules
71+
- scaling rules
72+
- stroke/fill rules
73+
- palette/color binding rules
74+
- layering/z-order rules
75+
- metadata/extensibility rules
76+
- tool/runtime ownership boundaries
77+
- validation examples
78+
79+
## Deliverables for this combined Codex run
80+
### Build/consolidation docs
81+
- `docs/pr/BUILD_PR_TOOLS_FOLDER_CONSOLIDATION.md`
82+
- `docs/dev/reports/file_tree.txt`
83+
- `docs/dev/reports/change_summary.txt`
84+
- `docs/dev/reports/validation_checklist.txt`
85+
86+
### Follow-on plan docs
87+
- `docs/pr/PLAN_PR_VECTOR_ASSET_CONTRACT.md`
88+
- refreshed `docs/dev/codex_commands.md`
89+
- refreshed `docs/dev/commit_comment.txt`
90+
91+
## Success criteria
92+
- One canonical folder per active tool under `tools/`
93+
- Duplicate rename-created folders removed after consolidation
94+
- Old SpriteEditor ignored as legacy/out-of-scope except required path cleanup
95+
- Active tool paths work from canonical names
96+
- Samples/assets/configs load from canonical paths
97+
- No manual cleanup step remains
98+
- Vector asset contract planning bundle exists and is ready for the next Codex pass
99+
100+
## Output ZIP requirement
101+
Codex should package outputs as repo-structured ZIPs at:
102+
103+
- `<project folder>/tmp/BUILD_PR_TOOLS_FOLDER_CONSOLIDATION.zip`
104+
- `<project folder>/tmp/PLAN_PR_VECTOR_ASSET_CONTRACT.zip`
105+
106+
## Notes
107+
This is a **no-manual** execution request.
108+
Codex should complete all three parts in sequence:
109+
1. build/consolidate
110+
2. validate/repair
111+
3. generate vector asset contract plan

0 commit comments

Comments
 (0)