Skip to content

Commit 138fab5

Browse files
author
DavidQ
committed
APPLY_PR_GAMES_SPACE_INVADERS_REMOVE_NEXT
Accepted removal of SpaceInvaders_next scaffold. - canonical SpaceInvaders preserved - migration pipeline completed - repo cleaned
1 parent 6003bf3 commit 138fab5

46 files changed

Lines changed: 98 additions & 3220 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: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ MODEL: GPT-5.4
22
REASONING: high
33

44
COMMAND:
5-
Execute BUILD_PR_GAMES_SPACE_INVADERS_COPY_FROM_NEXT exactly as written.
5+
Execute BUILD_PR_GAMES_SPACE_INVADERS_REMOVE_NEXT exactly as written.
66

77
Rules:
8-
- Copy from `games/SpaceInvaders_next/**`
9-
- Write to `games/SpaceInvaders/**`
10-
- Preserve structure exactly
11-
- Do NOT modify `_next`
12-
- Do NOT invent missing files
13-
- Validate capture-preview.html rule strictly
8+
- Delete ONLY `games/SpaceInvaders_next/**`
9+
- Remove `games/SpaceInvaders_next/` after contents are deleted
10+
- Do NOT touch `games/SpaceInvaders/**`
11+
- Do NOT add or restore preview files
12+
- Do NOT modify engine/shared code
1413
- Fail fast on ambiguity
1514

1615
Package output to:
17-
<project folder>/tmp/BUILD_PR_GAMES_SPACE_INVADERS_COPY_FROM_NEXT_delta.zip
16+
<project folder>/tmp/BUILD_PR_GAMES_SPACE_INVADERS_REMOVE_NEXT_delta.zip

docs/dev/COMMIT_COMMENT.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
BUILD_PR_GAMES_SPACE_INVADERS_COPY_FROM_NEXT
1+
APPLY_PR_GAMES_SPACE_INVADERS_REMOVE_NEXT
22

3-
Copied SpaceInvaders_next into canonical SpaceInvaders.
3+
Accepted removal of SpaceInvaders_next scaffold.
44

5-
- clean destination
6-
- structure preserved
7-
- runtime validated
8-
- no file guessing
5+
- canonical SpaceInvaders preserved
6+
- migration pipeline completed
7+
- repo cleaned

docs/dev/NEXT_COMMAND.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
Create APPLY_PR_GAMES_SPACE_INVADERS_COPY_FROM_NEXT
1+
Create PLAN_PR_NEXT_GAME_MIGRATION
22

33
Scope:
4-
- accept canonical replacement
5-
- validate runtime and structure
6-
- prepare for _next cleanup
4+
- select next game (e.g., Puckman)
5+
- repeat template → _next → migration → promotion pipeline
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
Validation Checklist — Games Space Invaders Copy From Next
1+
Validation Checklist — APPLY Games Space Invaders Remove Next
22

3-
[ ] games/SpaceInvaders matches _next
4-
[ ] Gameplay boots from canonical path
5-
[ ] No console errors
6-
[ ] capture-preview.html rule respected
7-
[ ] _next unchanged
3+
[x] games/SpaceInvaders_next removed
4+
[x] games/SpaceInvaders unchanged
5+
[x] No preview restoration
6+
[x] No unrelated changes
87

9-
Status: PENDING
8+
Status: PASS
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# APPLY PR — Games Space Invaders Remove Next
2+
3+
## Purpose
4+
Accept removal of temporary migration scaffold `games/SpaceInvaders_next/**`.
5+
6+
## Summary
7+
The `_next` directory has been removed after successful canonical promotion.
8+
9+
## Accepted State
10+
- `games/SpaceInvaders/**` is the canonical, running version
11+
- `games/SpaceInvaders_next/**` no longer exists
12+
- no preview restoration was performed (by design)
13+
14+
## Acceptance Criteria (Met)
15+
- `_next` directory removed
16+
- canonical SpaceInvaders unchanged and functional
17+
- no unrelated changes
18+
19+
## Non-Goals
20+
- no gameplay changes
21+
- no preview restoration
22+
- no engine/shared changes
23+
24+
## Result
25+
Migration pipeline for Space Invaders is complete and cleaned.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# BUILD PR — Games Space Invaders Remove Next
2+
3+
## Purpose
4+
Remove the temporary migration scaffold `games/SpaceInvaders_next/**` now that canonical `games/SpaceInvaders/**` is in place and validated.
5+
6+
## Context
7+
- `games/SpaceInvaders/**` is the canonical running version
8+
- `games/SpaceInvaders_next/**` is now redundant migration scaffolding
9+
- preview restoration is NOT part of this PR
10+
11+
## Single PR Purpose
12+
Delete `games/SpaceInvaders_next/**` and nothing else.
13+
14+
## Scope (STRICT)
15+
- Delete all files and subfolders under:
16+
`games/SpaceInvaders_next/**`
17+
- Remove the `games/SpaceInvaders_next/` folder when empty
18+
19+
## Target Path (EXACT)
20+
- `games/SpaceInvaders_next/**`
21+
22+
## Allowed Operations
23+
- delete files under `games/SpaceInvaders_next/**`
24+
- delete subfolders under `games/SpaceInvaders_next/**`
25+
- delete the top-level `games/SpaceInvaders_next/` folder after contents are removed
26+
27+
## Explicit Non-Goals
28+
- DO NOT modify `games/SpaceInvaders/**`
29+
- DO NOT add or restore preview files
30+
- DO NOT modify engine/shared code
31+
- DO NOT change unrelated games
32+
- DO NOT perform any runtime fixes in this PR
33+
34+
## Fail-Fast Conditions
35+
STOP with no changes if any of the following are true:
36+
- `games/SpaceInvaders_next/` does not exist
37+
- deletion would affect any path outside `games/SpaceInvaders_next/**`
38+
- any change to canonical `games/SpaceInvaders/**` is required
39+
40+
## Acceptance Criteria
41+
- `games/SpaceInvaders_next/` is removed
42+
- `games/SpaceInvaders/**` remains unchanged
43+
- no unrelated paths are changed
44+
45+
## Validation Steps
46+
1. Confirm `games/SpaceInvaders_next/` no longer exists
47+
2. Confirm `games/SpaceInvaders/**` still runs unchanged
48+
3. Confirm no unrelated files were modified
49+
50+
## Output Requirement
51+
Codex must package:
52+
`<project folder>/tmp/BUILD_PR_GAMES_SPACE_INVADERS_REMOVE_NEXT_delta.zip`

games/SpaceInvaders_next/assets/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.
-8.57 KB
Binary file not shown.
-1 KB
Binary file not shown.
-1.06 KB
Binary file not shown.

0 commit comments

Comments
 (0)