Skip to content

Commit 9f5b348

Browse files
author
DavidQ
committed
BUILD_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST
- Consolidated Asteroids JSON into game.manifest.json - Removed all legacy Asteroids JSON files - Updated Asteroids references to manifest-owned data - Verified direct launch PR Details: - Hard cutover to true single-manifest Asteroids model - No validators - No start_of_day changes
1 parent 4d11c42 commit 9f5b348

42 files changed

Lines changed: 862 additions & 1314 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1-
# Expected Codex Output
1+
# Expected Codex Return / Delta Template
22

3-
- legacy_catalogs_checked = ALL
4-
- legacy_catalogs_deleted = <count>
5-
- legacy_catalogs_retained = <count>
6-
- runtime_breakage = 0
3+
## Expected Changed Files
4+
- `games/Asteroids/game.manifest.json`
5+
- Asteroids loader/runtime files only where needed to read manifest-owned data
6+
- `docs/dev/reports/level_9_6_asteroids_hard_cutover_report.md`
7+
- `docs/dev/roadmaps/MASTER_ROADMAP_ENGINE.md` if status update needed
8+
9+
## Expected Deleted Files
10+
All Asteroids JSON except `game.manifest.json`.
11+
12+
## Expected Validation Summary
13+
- `asteroids_json_before=22`
14+
- `asteroids_json_after=1`
15+
- `only_remaining_json=games/Asteroids/game.manifest.json`
16+
- `deleted_json_files=21`
17+
- `old_json_references_remaining=0`
18+
- `json_404s=0`
19+
- `asteroids_direct_launch=true`
20+
- `validators_added=0`
21+
- `start_of_day_changes=0`
22+
23+
## Expected Delta ZIP
24+
Codex must create:
25+
26+
`tmp/BUILD_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST_delta.zip`
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Level 9.6 Asteroids Hard Cutover Report
2+
3+
## To Be Completed By Codex
4+
- Before JSON inventory.
5+
- Inline mapping for every deleted JSON file.
6+
- Runtime references updated.
7+
- Deleted file list.
8+
- After JSON inventory.
9+
- Direct launch result.
10+
- 404 check result.
11+
- No start_of_day change confirmation.
Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,41 @@
11
MODEL: GPT-5.3-codex
2+
REASONING: high
23

34
TASK:
4-
- verify all games fully manifest-driven
5-
- confirm no hidden JSON dependencies
6-
- produce final verification report
5+
Apply BUILD_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST.
76

8-
OUTPUT:
9-
tmp/BUILD_PR_LEVEL_9_5_FINAL_REVIEW_AND_NEXT_PHASE_PREP_delta.zip
7+
THIS IS A HARD CUTOVER.
8+
Final Asteroids state must have only:
9+
- games/Asteroids/game.manifest.json
10+
11+
STEPS:
12+
1. Read docs/pr/PLAN_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST.md.
13+
2. Read docs/pr/BUILD_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST.md.
14+
3. Inventory all `games/Asteroids/**/*.json`.
15+
4. For each JSON except `game.manifest.json`:
16+
- load contents
17+
- inline actual JSON data into `game.manifest.json`
18+
- map data to the owning tool section
19+
5. Search Asteroids code/config for deleted JSON references.
20+
6. Update Asteroids-scoped loaders/references to read from `game.manifest.json`.
21+
7. Delete all old Asteroids JSON files except `game.manifest.json`.
22+
8. Verify:
23+
- JSON count under games/Asteroids is 1
24+
- no old JSON path references remain
25+
- Asteroids launches directly
26+
- no 404s for deleted JSON
27+
9. Update docs/dev/reports/level_9_6_asteroids_hard_cutover_report.md.
28+
10. Update docs/dev/roadmaps/MASTER_ROADMAP_ENGINE.md status only if needed:
29+
- [ ] -> [.]
30+
- [.] -> [x]
31+
- no prose rewrite/delete
32+
11. Do not add validators.
33+
12. Do not modify start_of_day.
34+
13. Create Codex delta ZIP:
35+
tmp/BUILD_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST_delta.zip
36+
37+
ACCEPTANCE:
38+
- asteroids_json_after=1
39+
- only remaining JSON is games/Asteroids/game.manifest.json
40+
- Asteroids launches directly
41+
- delta ZIP exists
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
PR 9.5: final review and next phase prep
1+
BUILD_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST
2+
3+
- Consolidated Asteroids JSON into game.manifest.json
4+
- Removed all legacy Asteroids JSON files
5+
- Updated Asteroids references to manifest-owned data
6+
- Verified direct launch
7+
8+
PR Details:
9+
- Hard cutover to true single-manifest Asteroids model
10+
- No validators
11+
- No start_of_day changes
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# BUILD_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST
2+
3+
## Objective
4+
Complete Asteroids hard cutover to a single JSON manifest.
5+
6+
## Current Failure
7+
Asteroids still has 22 JSON files:
8+
9+
```text
10+
games/Asteroids/assets/images/bezel.stretch.override.json
11+
games/Asteroids/assets/palettes/asteroids-classic.palette.json
12+
games/Asteroids/assets/palettes/asteroids-hud.palette.json
13+
games/Asteroids/assets/palettes/hud.json
14+
games/Asteroids/assets/parallax/data/overlay.data.json
15+
games/Asteroids/assets/parallax/data/title.data.json
16+
games/Asteroids/assets/parallax/overlay.json
17+
games/Asteroids/assets/parallax/title.json
18+
games/Asteroids/assets/sprites/data/demo.data.json
19+
games/Asteroids/assets/sprites/demo.json
20+
games/Asteroids/assets/tilemaps/data/stage.data.json
21+
games/Asteroids/assets/tilemaps/stage.json
22+
games/Asteroids/assets/tilesets/ui.json
23+
games/Asteroids/assets/tools.manifest.json
24+
games/Asteroids/assets/vectors/asteroid-large.json
25+
games/Asteroids/assets/vectors/asteroid-medium.json
26+
games/Asteroids/assets/vectors/asteroid-small.json
27+
games/Asteroids/assets/vectors/data/library.data.json
28+
games/Asteroids/assets/vectors/ship.json
29+
games/Asteroids/assets/vectors/title.json
30+
games/Asteroids/assets/workspace.asset-catalog.json
31+
games/Asteroids/game.manifest.json
32+
```
33+
34+
## Required Final State
35+
36+
```text
37+
games/Asteroids/game.manifest.json
38+
```
39+
40+
Only this JSON file may remain under `games/Asteroids`.
41+
42+
## Hard Cutover Steps
43+
44+
### 1. Read and Inline
45+
For every Asteroids JSON file except `game.manifest.json`:
46+
- read JSON
47+
- place actual JSON object content into the correct owning tool section in `game.manifest.json`
48+
- do not place references to deleted JSON files
49+
50+
### 2. Owning Tool Sections
51+
Use these ownership rules:
52+
53+
| Source Data | Manifest Tool Section |
54+
|---|---|
55+
| HUD/skin colors | `primitive-skin-editor` |
56+
| classic palette swatches | palette/palette-browser or primitive skin section, based on current usage |
57+
| vector files | `vector-asset-studio.vectors` |
58+
| vector library data | `vector-asset-studio.libraries` |
59+
| sprites | `sprite-editor.sprites` |
60+
| tilemaps | `tile-map-editor.maps` |
61+
| tilesets | `tile-map-editor.tilesets` |
62+
| parallax | `parallax-editor.parallaxLevels` |
63+
| bezel/stretch override | `asset-browser.assets.bezel` metadata, or explicit `bezel` manifest section if already present |
64+
| tools.manifest data | merge useful lineage/tool data, then delete |
65+
| workspace.asset-catalog data | merge useful asset catalog data, then delete |
66+
67+
### 3. Fix Runtime References
68+
Search Asteroids files for all deleted JSON paths and update them to use `game.manifest.json`.
69+
70+
Required search terms:
71+
- `.json`
72+
- `workspace.asset-catalog`
73+
- `tools.manifest`
74+
- `asteroids-classic.palette`
75+
- `asteroids-hud.palette`
76+
- `hud.json`
77+
- `bezel.stretch.override`
78+
- `overlay.data`
79+
- `title.data`
80+
- `demo.data`
81+
- `stage.data`
82+
- `library.data`
83+
84+
### 4. Delete Old JSON
85+
After data preservation and reference fixes, delete every Asteroids JSON except:
86+
87+
```text
88+
games/Asteroids/game.manifest.json
89+
```
90+
91+
### 5. Verify
92+
- Asteroids launches directly.
93+
- No network/file 404s for deleted JSON.
94+
- No old JSON path references remain.
95+
- JSON count under `games/Asteroids` is exactly 1.
96+
97+
## Forbidden
98+
- Do not add embedded game data to `workspace.schema.json`.
99+
- Do not create new generic schema buckets unless already supported.
100+
- Do not leave reference-to-reference JSON.
101+
- Do not keep legacy catalogs.
102+
- Do not modify `start_of_day`.
103+
104+
## Required Report
105+
Create:
106+
107+
```text
108+
docs/dev/reports/level_9_6_asteroids_hard_cutover_report.md
109+
```
110+
111+
Report:
112+
- before JSON count
113+
- after JSON count
114+
- files inlined
115+
- files deleted
116+
- runtime references fixed
117+
- direct launch result
118+
- any retained JSON and reason; expected retained count is 1
119+
120+
## Acceptance
121+
- `games/Asteroids/**/*.json` count = 1.
122+
- Only `games/Asteroids/game.manifest.json` remains.
123+
- Asteroids direct launch works.
124+
- No 404s for deleted JSON files.
125+
- No legacy catalog references remain.
126+
- No validators added.
127+
- No `start_of_day` changes.
128+
- Delta ZIP returned.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# PLAN_PR_LEVEL_9_6_ASTEROIDS_HARD_CUTOVER_SINGLE_MANIFEST
2+
3+
## Purpose
4+
Finish Asteroids single-manifest consolidation with a hard cutover.
5+
6+
## Target Final State
7+
Asteroids should have exactly one JSON file:
8+
9+
```text
10+
games/Asteroids/game.manifest.json
11+
```
12+
13+
All other Asteroids JSON files must be:
14+
- copied into the manifest as actual JSON data
15+
- loader references updated
16+
- deleted after verification
17+
18+
## Scope
19+
- Asteroids only.
20+
- Inline all Asteroids JSON data into `game.manifest.json`.
21+
- Update Asteroids loaders/runtime references to use manifest-owned data.
22+
- Delete all other `games/Asteroids/**/*.json`.
23+
- Verify direct launch.
24+
25+
## Non-Goals
26+
- No all-games rollout.
27+
- No tool schema redesign.
28+
- No validators.
29+
- No `start_of_day` changes.

games/Asteroids/assets/images/bezel.stretch.override.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

games/Asteroids/assets/palettes/asteroids-classic.palette.json

Lines changed: 0 additions & 54 deletions
This file was deleted.

games/Asteroids/assets/palettes/asteroids-hud.palette.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

games/Asteroids/assets/palettes/hud.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)