Skip to content

Commit 3f7e9df

Browse files
author
DavidQ
committed
Add Phase 20 numbered tool presets and sample-to-tool launch integration
<BUILD_PR_LEVEL_20_1_PHASE20_TOOL_PRESET_INTEGRATION>
1 parent 5601a7b commit 3f7e9df

66 files changed

Lines changed: 3221 additions & 46 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/dev/codex_commands.md

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,48 @@
1+
# Codex Commands
2+
13
MODEL: GPT-5.4
24
REASONING: high
35

4-
COMMAND:
5-
Implement BUILD_PR_LEVEL_20_1_TOOL_SAMPLE_DROPDOWN_FOUNDATION as a one-pass, testable PR in the HTML-JavaScript-Gaming repo.
6+
## Command
7+
Implement `BUILD_PR_LEVEL_20_1_PHASE20_TOOL_PRESET_INTEGRATION` in `HTML-JavaScript-Gaming` as one small executable PR.
8+
9+
Requirements:
10+
- use numbered sample folders only
11+
- use `samples/phase-20/2001` through `samples/phase-20/2051`
12+
- allocate exactly 3 Phase 20 samples per listed tool
13+
- do not create `samples/phase-20/<tool>` folders
14+
- when a Phase 20 sample is clicked, open the matching tool with that sample's preset data already applied
15+
- fullscreen is already complete; do not modify it
16+
- preserve repo conventions for sample folder contents and sample discovery
17+
- keep the change surgical; do not scan or rewrite unrelated areas
18+
- update roadmap status only if execution-backed and only with marker transitions
619

7-
Constraints:
8-
- fullscreen is complete; do not modify fullscreen behavior
9-
- docs-first repo workflow
10-
- one PR purpose only: sample packs + dropdown loading
11-
- active tools only:
12-
- tools/Tile Map Editor
13-
- tools/Parallax Editor
14-
- tools/Vector Map Editor
15-
- tools/Vector Asset Studio
16-
- 3 shipped samples per active tool
17-
- sample data must live in each tool's local samples structure
18-
- each tool must expose a Sample dropdown and be able to load all 3 samples
19-
- preserve manual editing flows
20-
- no repo-wide scanning unless required
21-
- no destructive cleanup
22-
- do not modify start_of_day folders
23-
- keep legacy preserved paths intact unless strictly required
24-
- update roadmap status only in docs/dev/roadmaps/MASTER_ROADMAP_ENGINE.md
25-
- no roadmap rewrites; status-only changes unless explicit additive line is required
20+
Listed tools:
21+
- 3D Asset Viewer
22+
- 3D Camera Path Editor
23+
- 3D Map Editor
24+
- Asset Browser
25+
- Asset Pipeline Tool
26+
- Palette Browser
27+
- Parallax Scene Studio
28+
- Performance Profiler
29+
- Physics Sandbox
30+
- Replay Visualizer
31+
- Sprite Editor
32+
- State Inspector
33+
- Tile Model Converter
34+
- Tilemap Studio
35+
- Vector Asset Studio
36+
- Vector Map Editor
37+
- Workspace Manager
2638

27-
Required outputs:
28-
- implementation changes for dropdown sample loading in all 4 active tools
29-
- tool-local sample files/assets/manifests as needed
30-
- docs/pr/BUILD_PR_LEVEL_20_1_TOOL_SAMPLE_DROPDOWN_FOUNDATION.md aligned to delivered work
31-
- docs/dev/reports/change_summary.txt
32-
- docs/dev/reports/file_tree.txt
33-
- docs/dev/reports/validation_checklist.txt
34-
- docs/dev/commit_comment.txt
35-
- package final artifact to:
36-
<project folder>/tmp/BUILD_PR_LEVEL_20_1_TOOL_SAMPLE_DROPDOWN_FOUNDATION.zip
39+
Implementation target:
40+
- executable sample lane under `samples/phase-20`
41+
- clickable sample-to-tool launch path
42+
- preset data applied at open
3743

38-
Validation target:
39-
- open each tool
40-
- verify dropdown visible
41-
- verify exactly 3 samples per tool
42-
- verify each sample loads and visibly changes content
43-
- verify no fullscreen regression
44+
Validation:
45+
- prove all 51 Phase 20 samples are mapped
46+
- prove each sample opens the correct tool
47+
- prove preset data is visible/applied after open
48+
- place findings in `docs/dev/reports`

docs/dev/commit_comment.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
BUILD_PR_LEVEL_20_1_TOOL_SAMPLE_DROPDOWN_FOUNDATION
1+
Add Phase 20 numbered tool presets and sample-to-tool launch integration
22

3-
- Add Sample dropdown + explicit Load Sample action to Vector Map Editor.
4-
- Add Vector Map Editor local sample manifest with exactly 3 shipped sample JSON files.
5-
- Preserve manual editing flow and avoid fullscreen behavior changes.
6-
- Confirm all 4 active tool manifests expose exactly 3 local samples.
7-
- Update roadmap with status-only additive marker for tool sample packs + dropdown loading.
3+
<BUILD_PR_LEVEL_20_1_PHASE20_TOOL_PRESET_INTEGRATION>

docs/dev/reports/change_summary.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Change Summary
2+
3+
This PR creates the executable Phase 20 lane for numbered tool presets.
4+
5+
Core shape:
6+
- numbered sample folders under `samples/phase-20`
7+
- 51 total sample entries
8+
- 3 entries per listed tool
9+
- click a sample -> open owning tool -> apply that sample's preset data
10+
11+
This PR intentionally avoids:
12+
- fullscreen changes
13+
- per-tool sample directory trees
14+
- unrelated tool refactors
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
BUILD_PR_LEVEL_20_1_PHASE20_TOOL_PRESET_INTEGRATION validation findings
2+
3+
Phase 20 metadata entries: 51
4+
Missing IDs (2001-2051): 0
5+
Unexpected extra IDs: 0
6+
Launch mapping checks: 51/51 passed
7+
Preset payload checks: 51/51 passed
8+
Combined sample->tool mapping checks: 51/51 passed
9+
10+
Per listed-tool sample allocations (must be 3 each):
11+
- 3D Asset Viewer (3d-asset-viewer): 3
12+
- 3D Camera Path Editor (3d-camera-path-editor): 3
13+
- 3D Map Editor (3d-map-editor): 3
14+
- Asset Browser (asset-browser): 3
15+
- Asset Pipeline Tool (asset-pipeline-tool): 3
16+
- Palette Browser (palette-browser): 3
17+
- Parallax Scene Studio (parallax-editor): 3
18+
- Performance Profiler (performance-profiler): 3
19+
- Physics Sandbox (physics-sandbox): 3
20+
- Replay Visualizer (replay-visualizer): 3
21+
- Sprite Editor (sprite-editor): 3
22+
- State Inspector (state-inspector): 3
23+
- Tile Model Converter (tile-model-converter): 3
24+
- Tilemap Studio (tile-map-editor): 3
25+
- Vector Asset Studio (vector-asset-studio): 3
26+
- Vector Map Editor (vector-map-editor): 3
27+
- Workspace Manager (workspace-manager): 3
28+
29+
Preset visibility/apply evidence in runtime code:
30+
- tools/shared/platformShell.js decodes `samplePreset` query and calls workspaceController.applyExternalToolState(...) when toolId matches current tool.
31+
- tools/shared/projectSystem.js applyExternalToolState() stores incoming preset state and applies it through available adapters, with status emission.
32+
- tools/Workspace Manager/main.js decodes `samplePreset` and forwards state into hosted tool mount config.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Phase 20 sample mapping (2001-2051)
2+
id | title | href
3+
2001 | 3D Asset Viewer Preset 1 | ./phase-20/2001/index.html
4+
2002 | 3D Asset Viewer Preset 2 | ./phase-20/2002/index.html
5+
2003 | 3D Asset Viewer Preset 3 | ./phase-20/2003/index.html
6+
2004 | 3D Camera Path Editor Preset 1 | ./phase-20/2004/index.html
7+
2005 | 3D Camera Path Editor Preset 2 | ./phase-20/2005/index.html
8+
2006 | 3D Camera Path Editor Preset 3 | ./phase-20/2006/index.html
9+
2007 | 3D Map Editor Preset 1 | ./phase-20/2007/index.html
10+
2008 | 3D Map Editor Preset 2 | ./phase-20/2008/index.html
11+
2009 | 3D Map Editor Preset 3 | ./phase-20/2009/index.html
12+
2010 | Asset Browser Preset 1 | ./phase-20/2010/index.html
13+
2011 | Asset Browser Preset 2 | ./phase-20/2011/index.html
14+
2012 | Asset Browser Preset 3 | ./phase-20/2012/index.html
15+
2013 | Asset Pipeline Tool Preset 1 | ./phase-20/2013/index.html
16+
2014 | Asset Pipeline Tool Preset 2 | ./phase-20/2014/index.html
17+
2015 | Asset Pipeline Tool Preset 3 | ./phase-20/2015/index.html
18+
2016 | Palette Browser Preset 1 | ./phase-20/2016/index.html
19+
2017 | Palette Browser Preset 2 | ./phase-20/2017/index.html
20+
2018 | Palette Browser Preset 3 | ./phase-20/2018/index.html
21+
2019 | Parallax Scene Studio Preset 1 | ./phase-20/2019/index.html
22+
2020 | Parallax Scene Studio Preset 2 | ./phase-20/2020/index.html
23+
2021 | Parallax Scene Studio Preset 3 | ./phase-20/2021/index.html
24+
2022 | Performance Profiler Preset 1 | ./phase-20/2022/index.html
25+
2023 | Performance Profiler Preset 2 | ./phase-20/2023/index.html
26+
2024 | Performance Profiler Preset 3 | ./phase-20/2024/index.html
27+
2025 | Physics Sandbox Preset 1 | ./phase-20/2025/index.html
28+
2026 | Physics Sandbox Preset 2 | ./phase-20/2026/index.html
29+
2027 | Physics Sandbox Preset 3 | ./phase-20/2027/index.html
30+
2028 | Replay Visualizer Preset 1 | ./phase-20/2028/index.html
31+
2029 | Replay Visualizer Preset 2 | ./phase-20/2029/index.html
32+
2030 | Replay Visualizer Preset 3 | ./phase-20/2030/index.html
33+
2031 | Sprite Editor Preset 1 | ./phase-20/2031/index.html
34+
2032 | Sprite Editor Preset 2 | ./phase-20/2032/index.html
35+
2033 | Sprite Editor Preset 3 | ./phase-20/2033/index.html
36+
2034 | State Inspector Preset 1 | ./phase-20/2034/index.html
37+
2035 | State Inspector Preset 2 | ./phase-20/2035/index.html
38+
2036 | State Inspector Preset 3 | ./phase-20/2036/index.html
39+
2037 | Tile Model Converter Preset 1 | ./phase-20/2037/index.html
40+
2038 | Tile Model Converter Preset 2 | ./phase-20/2038/index.html
41+
2039 | Tile Model Converter Preset 3 | ./phase-20/2039/index.html
42+
2040 | Tilemap Studio Preset 1 | ./phase-20/2040/index.html
43+
2041 | Tilemap Studio Preset 2 | ./phase-20/2041/index.html
44+
2042 | Tilemap Studio Preset 3 | ./phase-20/2042/index.html
45+
2043 | Vector Asset Studio Preset 1 | ./phase-20/2043/index.html
46+
2044 | Vector Asset Studio Preset 2 | ./phase-20/2044/index.html
47+
2045 | Vector Asset Studio Preset 3 | ./phase-20/2045/index.html
48+
2046 | Vector Map Editor Preset 1 | ./phase-20/2046/index.html
49+
2047 | Vector Map Editor Preset 2 | ./phase-20/2047/index.html
50+
2048 | Vector Map Editor Preset 3 | ./phase-20/2048/index.html
51+
2049 | Workspace Manager Preset 1 | ./phase-20/2049/index.html
52+
2050 | Workspace Manager Preset 2 | ./phase-20/2050/index.html
53+
2051 | Workspace Manager Preset 3 | ./phase-20/2051/index.html

0 commit comments

Comments
 (0)