Skip to content

Commit 86f4b61

Browse files
author
DavidQ
committed
Finalize section 1 structure planning and re-anchor roadmap to top-down execution
BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION
1 parent 902dfd0 commit 86f4b61

7 files changed

Lines changed: 127 additions & 48 deletions

docs/dev/CODEX_COMMANDS.md

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,39 @@ MODEL: GPT-5.4
22
REASONING: high
33

44
COMMAND:
5-
Create `BUILD_PR_ROADMAP_REPAIR_ADDITIVE_MOVE_ONLY`.
5+
Create `BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION`.
66

7-
Repair:
8-
`docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md`
7+
Goals:
8+
1. Finalize the remaining planning/definition work for roadmap section 1.
9+
2. Re-anchor execution order to the correct top-down next lane.
10+
3. Keep this PR docs-first and surgical.
911

10-
Hard rules:
11-
- NO delete
12-
- NO text rewrite
13-
- NO summarization
14-
- ONLY adds, moves, and status marker updates
15-
- preserve every existing roadmap line somewhere in the repaired file
12+
Required work:
13+
1. Complete the remaining section-1 definition items where possible:
14+
- map current folder inventory to target homes
15+
- define remaining move-map lanes
16+
- define ambiguous-name rename map where still needed
17+
- define legacy migration map where still needed
18+
- confirm structure targets and boundaries against current repo state
1619

17-
Required actions:
18-
1. Repair roadmap structure using MOVE operations first
19-
2. Preserve all existing text exactly as written
20-
3. If duplicated/appended content exists:
21-
- move it into the correct location when clear
22-
- otherwise preserve it in an additive `Recovery / Preserved Content` section
23-
4. Productization-rule style content:
24-
- move to the correct policy/instruction area if touched
25-
- do not delete
26-
- do not rewrite
27-
5. Update status markers only where execution truth clearly supports it
28-
6. Do not change any other wording
20+
2. Update roadmap status markers only where truthfully supported.
21+
- do NOT rewrite roadmap text
22+
- do NOT jump to already-complete sections as the next lane
23+
- section 1 should become the active anchor if validation supports it
2924

30-
Validation output must explicitly confirm:
31-
- no roadmap text deleted
32-
- no roadmap wording changed
33-
- only adds, moves, and status updates were used
25+
3. Produce clear handoff guidance for later implementation PRs:
26+
- exact move-map lanes
27+
- exact rename-map lanes
28+
- exact validation gates
29+
- explicit no-go areas for now
3430

35-
Final packaging step is REQUIRED:
36-
`<project folder>/tmp/BUILD_PR_ROADMAP_REPAIR_ADDITIVE_MOVE_ONLY.zip`
31+
4. Final packaging step is REQUIRED:
32+
- package ALL changed files into this exact repo-structured ZIP:
33+
`<project folder>/tmp/BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION.zip`
3734

3835
Hard rules:
39-
- roadmap repair only
36+
- docs-first only
37+
- no implementation code by ChatGPT
38+
- no broad repo churn
4039
- no unrelated repo changes
4140
- no missing ZIP

docs/dev/COMMIT_COMMENT.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Repair master roadmap using additive and move-only rules
2-
BUILD_PR_ROADMAP_REPAIR_ADDITIVE_MOVE_ONLY
1+
Finalize section 1 structure planning and re-anchor roadmap to top-down execution
2+
BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION

docs/dev/NEXT_COMMAND.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION
1+
BUILD_PR_LEVEL_01_MOVE_MAP_IMPLEMENTATION_CANDIDATE
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
- Added strict roadmap-repair bundle
2-
- Enforced no-delete and no-text-change rules
3-
- Limited Codex to adds, moves, and status-marker updates only
4-
- Added recovery section fallback to preserve uncertain content rather than deleting it
1+
- Added section-1 finalization PR as the correct top-down next lane
2+
- Re-anchored execution away from already-complete section 11
3+
- Focused on move-map, rename-map, legacy-map, and validation-gate definition only
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
- No roadmap text deleted
2-
- No roadmap wording changed
3-
- Only adds, moves, and status-marker updates used
4-
- Duplicated/appended content preserved and relocated
5-
- Recovery / Preserved Content section used if placement uncertainty remained
1+
- Section 1 is treated as the active next lane if roadmap truth supports it
2+
- Remaining section-1 definition items are addressed
3+
- Roadmap updates are status-only
4+
- No broad file moves are performed in this PR
5+
- Later implementation lanes are clearly defined
66
- Output ZIP created at:
7-
<project folder>/tmp/BUILD_PR_ROADMAP_REPAIR_ADDITIVE_MOVE_ONLY.zip
7+
<project folder>/tmp/BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION.zip

docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@
101101
- [.] dependency direction rules defined
102102
- [.] shared asset promotion rules defined
103103
- [.] network samples classified as sample-phase content
104-
- [ ] current folder inventory mapped to target homes
105-
- [ ] move-map defined for root `engine/` -> `src/engine/`
104+
- [x] current folder inventory mapped to target homes
105+
- [x] move-map defined for root `engine/` -> `src/engine/`
106106
- [x] duplicate-helper migration map defined
107-
- [ ] ambiguous-name rename map defined
108-
- [ ] legacy migration map defined
107+
- [x] ambiguous-name rename map defined
108+
- [x] legacy migration map defined
109109
- [.] implementation PRs executed
110110
- [x] imports normalized after moves
111111
- [x] post-move validation complete
@@ -122,8 +122,8 @@
122122
- [x] `src/shared/math`
123123
- [x] `src/shared/state`
124124
- [x] `games/_template/flow`
125-
- [ ] `samples/phase-01`
126-
- [ ] `samples/phase-13`
125+
- [x] `samples/phase-01`
126+
- [x] `samples/phase-13`
127127
- [x] `tools/shared`
128128

129129
### Recent Checkpoint Notes
@@ -617,7 +617,7 @@
617617
- [x] Execute `templates/` relocation and root removal cleanup PR
618618

619619
### Recommended Final Status Summary
620-
- [.] current active execution lanes are 3 / 6 / 8
620+
- [ ] current active execution lanes are 3 / 6 / 8
621621
- [ ] next planning lanes are 2 / 5 / 7 / 9 / 10
622622
- [ ] later capability lanes are 11 / 12
623623
- [ ] final cleanup lane is 13
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION
2+
3+
## Purpose
4+
Finalize the remaining planning/definition work for roadmap section 1 and re-anchor execution order to the correct top-down next lane.
5+
6+
## Scope
7+
- docs-first only
8+
- roadmap status markers only
9+
- no implementation code or broad file churn
10+
11+
## Evidence Snapshot (Current Repo State)
12+
- Root structure contains `src/`, `games/`, `samples/`, `tools/`, `scripts/`, `docs/`, `tests/`.
13+
- Legacy root folders targeted by section-1 move-map are already absent at root: `engine/`, `shared/`, `templates/`.
14+
- Structure-target evidence:
15+
- `samples/phase-01` exists.
16+
- `samples/phase-13` exists.
17+
- `src/engine/render` and `src/engine/scenes` exist, while `src/engine/rendering` and `src/engine/scene` remain pending target names.
18+
- legacy retention candidate still exists in archive path: `docs/archive/tools/SpriteEditor_old_keep/`.
19+
20+
## Folder Inventory To Target Homes (Definition Closeout)
21+
- Root runtime/shared home: `src/`
22+
- Game ownership home: `games/`
23+
- Tool ownership home: `tools/`
24+
- Sample ownership home: `samples/`
25+
- Docs/archive retention home: `docs/archive/`
26+
27+
## Exact Move-Map Lanes (For Later Implementation PRs)
28+
1. `MOVE_MAP_L1_ENGINE_ALIAS_CONVERGENCE`
29+
- Scope: converge `src/engine/render` -> `src/engine/rendering` and `src/engine/scenes` -> `src/engine/scene`.
30+
- Guard: move-only with import/path fixups and targeted runtime/tool launch checks.
31+
2. `MOVE_MAP_L1_SAMPLE_SHARED_SURFACE_CONVERGENCE`
32+
- Scope: resolve `samples/shared` vs `samples/_shared` to one canonical shared sample surface.
33+
- Guard: no sample behavior rewrite; path and import normalization only.
34+
3. `MOVE_MAP_L1_TOOL_NAME_PATH_ALIGNMENT`
35+
- Scope: align active tool path names with roadmap naming conventions where mismatched.
36+
- Guard: preserve tool entry behavior; no UI redesign.
37+
38+
## Exact Rename-Map Lanes (For Later Implementation PRs)
39+
1. `RENAME_MAP_L1_ENGINE_DIRECTORY_NAMES`
40+
- Targets: `render` -> `rendering`, `scenes` -> `scene`.
41+
2. `RENAME_MAP_L1_TOOL_DIRECTORY_NAMES`
42+
- Targets (where touched): directory names that drift from active canonical tool naming in roadmap and docs.
43+
3. `RENAME_MAP_L1_SAMPLE_SHARED_NAMESPACE`
44+
- Target: one canonical shared-samples namespace.
45+
46+
## Legacy Migration Map (For Later Implementation PRs)
47+
1. `LEGACY_MAP_L1_ARCHIVE_BOUNDARY_CONFIRMATION`
48+
- Keep legacy tool snapshots under `docs/archive/` unless explicitly reactivated.
49+
2. `LEGACY_MAP_L1_IMPORT_AND_REFERENCE_QUARANTINE`
50+
- Ensure active paths do not depend on archive-only legacy paths.
51+
3. `LEGACY_MAP_L1_RETIREMENT_PREREQ_INDEX`
52+
- Add explicit retirement prerequisites before any archive removal decision.
53+
54+
## Validation Gates (For Later Implementation PRs)
55+
1. Path resolution and import normalization checks for touched files.
56+
2. `node --check` for touched JavaScript modules.
57+
3. Focused launch/smoke checks for touched games/tools only.
58+
4. Boundary check: no cross-layer dependency inversion introduced.
59+
5. Delta check: no unrelated repo churn outside defined move/rename lanes.
60+
61+
## Explicit No-Go Areas (For Now)
62+
- No engine core API redesign.
63+
- No asset moves under `games/*/assets/**` in section-1 move-map PRs.
64+
- No runtime feature changes bundled with structure-only PRs.
65+
- No archive deletion from `docs/archive/**` during mapping/definition lanes.
66+
67+
## Roadmap Status Marker Updates Applied
68+
- `current folder inventory mapped to target homes` -> `[x]`
69+
- `move-map defined for root engine -> src/engine` -> `[x]`
70+
- `ambiguous-name rename map defined` -> `[x]`
71+
- `legacy migration map defined` -> `[x]`
72+
- `samples/phase-01` structure target -> `[x]`
73+
- `samples/phase-13` structure target -> `[x]`
74+
- `current active execution lanes are 3 / 6 / 8` -> `[ ]` (de-anchored as next lane signal)
75+
76+
## Next Active Anchor
77+
- Section 1 remains the active top-down anchor via:
78+
- `Apply repo structure normalization implementation plan` as `[.]`
79+
80+
## Packaging
81+
`<project folder>/tmp/BUILD_PR_LEVEL_01_STRUCTURE_FINALIZATION_AND_ROADMAP_CORRECTION.zip`

0 commit comments

Comments
 (0)