Skip to content

Commit 3f97cd6

Browse files
author
DavidQ
committed
Promote roadmap rules out of checklist
1 parent 8dbb853 commit 3f97cd6

8 files changed

Lines changed: 118 additions & 99 deletions

docs/dev/CODEX_COMMANDS.md

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

44
COMMAND:
5-
Create `BUILD_PR_LEVEL_01_ENGINE_VECTOR_RESIDUE_CLEANUP`.
5+
Create BUILD_PR_ROADMAP_RULES_PROMOTION_AND_NORMALIZATION
66

7-
Implement a surgical cleanup of the leftover `engine/vector/` residue.
7+
1. Locate the two items:
8+
- repo structure work is now constrained to exact move-map BUILDs only
9+
- remaining structure normalization should avoid broad folder churn until active shared extraction and promotion-gate work stabilize
810

9-
Required work:
10-
1. Audit the remaining contents of `engine/vector/`.
11-
2. For each remaining item, classify it as:
12-
- stale residue to remove
13-
- real content to move to the correct modern home
14-
- temporary compatibility surface that must remain
15-
3. Preferred outcome:
16-
- if the folder is only stale residue, remove it cleanly
17-
- if it contains real content, move that content first, then remove the stale shell if possible
18-
4. Respect current boundary decisions:
19-
- rendering-owned vector drawing stays with rendering
20-
- shared math/utility-owned vector math stays in shared math/utility
21-
5. Normalize lingering imports pointing at `engine/vector/`.
22-
6. Validate:
23-
- imports remain green
24-
- no misleading old vector boundary remains unless a temporary compatibility reason is explicitly documented
25-
- section-1 truth is improved
26-
7. Update roadmap status markers only if truthfully supported.
11+
2. Convert them:
12+
- remove checkbox markers
13+
- move to top of roadmap under rules section
2714

28-
Final packaging step is REQUIRED:
29-
`<project folder>/tmp/BUILD_PR_LEVEL_01_ENGINE_VECTOR_RESIDUE_CLEANUP.zip`
15+
3. Do NOT:
16+
- change wording
17+
- delete content
3018

31-
Hard rules:
32-
- implementation by Codex
33-
- surgical changes only
34-
- no unrelated repo changes
35-
- no missing ZIP
19+
4. Ensure:
20+
- checklist contains only tasks
21+
- rules are clearly separated
22+
23+
OUTPUT:
24+
<project folder>/tmp/BUILD_PR_ROADMAP_RULES_PROMOTION_AND_NORMALIZATION.zip

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Clean up leftover engine/vector residue after vector boundary moves
2-
BUILD_PR_LEVEL_01_ENGINE_VECTOR_RESIDUE_CLEANUP
1+
Promote roadmap rules out of checklist

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_SECTION_1_CLOSEOUT_RECHECK
1+
NEXT_PR_TBD
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
- Added residue-cleanup PR for the leftover engine/vector folder
2-
- Requires audit, move-or-remove classification, and import normalization
3-
- Aims to eliminate misleading legacy vector ownership during section-1 closeout
1+
Moved rules from checklist to top
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
- remaining engine/vector contents were audited
2-
- stale residue removed or real content moved
3-
- lingering imports normalized
4-
- old vector boundary no longer misleads structure truth
5-
- roadmap/status handling remains truth-safe
6-
- output ZIP created at:
7-
<project folder>/tmp/BUILD_PR_LEVEL_01_ENGINE_VECTOR_RESIDUE_CLEANUP.zip
1+
Rules no longer use [ ]

docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
- [.] in progress
66
- [ ] planned
77

8+
## Rules
9+
- repo structure work is now constrained to exact move-map BUILDs only
10+
- remaining structure normalization should avoid broad folder churn until active shared extraction and promotion-gate work stabilize
11+
812
## Conservative Rebaseline (2026-04-12)
913
- status updates in this revision are conservative and execution-backed
1014
- recent tool-host, asset-pipeline, debug-inspector, and launch-smoke lanes are reflected without broad scope expansion
@@ -130,8 +134,6 @@
130134
- [x] broad import-path correction from `engine/` to `src/engine/` applied across remaining games/samples
131135
- [x] partial retro smoke pass completed after path correction
132136
- [x] additional post-move validation complete
133-
- [.] repo structure work is now constrained to exact move-map BUILDs only
134-
- [ ] remaining structure normalization should avoid broad folder churn until active shared extraction and promotion-gate work stabilize
135137

136138
---
137139

docs/pr/BUILD_PR_LEVEL_01_ENGINE_VECTOR_RESIDUE_CLEANUP.md

Lines changed: 65 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,71 @@
11
# BUILD_PR_LEVEL_01_ENGINE_VECTOR_RESIDUE_CLEANUP
22

33
## Purpose
4-
Clean up the leftover `engine/vector/` residue now that the vector classes/content have already been moved elsewhere.
5-
6-
## Problem
7-
The old `engine/vector/` folder and remaining content still exist even though the intended classes were already moved.
8-
That creates:
9-
- stale ownership ambiguity
10-
- legacy import risk
11-
- false structure signals during section-1 closeout
12-
13-
## Scope
14-
15-
### A. Residue audit
16-
Codex must inspect the remaining `engine/vector/` folder and classify each remaining item as one of:
17-
- stale residue that should be removed
18-
- still-owned content that must be moved to its correct current home
19-
- compatibility surface that must remain temporarily but should be marked clearly
20-
21-
### B. Cleanup rule
22-
Preferred outcome:
23-
- if the folder is only stale residue, remove it cleanly
24-
- if it still contains real content, move that content to the correct modern home first
25-
- do not leave `engine/vector/` as an ambiguous half-alive legacy boundary
26-
27-
### C. Boundary truth
28-
Use current boundary decisions already established or in-flight:
29-
- rendering-owned vector drawing stays with rendering
30-
- shared math/utility-owned vector math stays in shared math/utility
31-
- engine should not keep a misleading old vector home if the real ownership moved
32-
33-
### D. Import safety
34-
- normalize any lingering imports that still point at `engine/vector/`
35-
- keep validation green
36-
- avoid broad churn outside this residue cleanup
37-
38-
### E. Roadmap handling
39-
- update roadmap status markers only if truthfully supported
40-
- no roadmap text rewrite
41-
42-
## Desired outcome
43-
After this PR:
44-
- `engine/vector/` is no longer a misleading leftover boundary
45-
- any real remaining content is in the correct modern home
46-
- legacy import risk is reduced
47-
- section-1 residue is reduced further
48-
49-
## Validation requirements
50-
Codex must report:
51-
- what remained inside `engine/vector/`
52-
- what was removed vs moved
53-
- any imports updated
54-
- whether the old folder still exists after cleanup and why
55-
- whether this helps close section 1 truthfully
4+
Remove the leftover `src/engine/vector/` boundary residue now that vector ownership is already normalized to:
5+
- rendering-owned vector drawing in `src/engine/rendering/`
6+
- shared math-owned vector math in `src/shared/math/`
7+
8+
## Residue Audit
9+
Remaining items found in `src/engine/vector/` before cleanup:
10+
1. `src/engine/vector/index.js`
11+
- Classification: temporary compatibility surface (re-export only)
12+
- Reason: re-exported `transformPoints` and `drawVectorShape` from rendering and `vectorFromAngle` from shared math
13+
14+
2. `src/engine/vector/VectorDrawing.js`
15+
- Classification: stale residue (re-export only)
16+
- Reason: no owned logic, only re-export to rendering
17+
18+
3. `src/engine/vector/VectorMath.js`
19+
- Classification: stale residue (re-export only)
20+
- Reason: no owned logic, only re-export to shared math
21+
22+
## Implementation
23+
1. Removed stale boundary folder:
24+
- deleted `src/engine/vector/index.js`
25+
- deleted `src/engine/vector/VectorDrawing.js`
26+
- deleted `src/engine/vector/VectorMath.js`
27+
- removed `src/engine/vector/`
28+
29+
2. Normalized runtime/sample imports away from `engine/vector`:
30+
- `games/Asteroids/entities/Asteroid.js`
31+
- `games/Asteroids/entities/Ship.js`
32+
- `games/Asteroids/entities/Ufo.js`
33+
- `samples/phase-09/0901/VectorRenderingSystemScene.js`
34+
- `samples/phase-09/0902/PolygonCollisionScene.js`
35+
- `samples/phase-09/0903/PointInPolygonScene.js`
36+
- `samples/phase-09/0906/HybridCollisionScene.js`
37+
38+
All moved from:
39+
- `'/src/engine/vector/index.js'`
40+
41+
To:
42+
- `'/src/engine/rendering/index.js'`
43+
44+
3. Normalized metadata/contract references to modern boundary:
45+
- updated `samples/metadata/samples.shared.boundaries.report.json`
46+
- updated `samples/metadata/samples.index.metadata.json`
47+
- updated `tools/shared/renderPipelineContract.js` (`vector-asset-studio` engine targets no longer include `engine/vector`)
48+
49+
## Validation
50+
Executed focused validation for this PR:
51+
1. Boundary residue check
52+
- `src/engine/vector/` no longer exists
53+
54+
2. Import/path ambiguity check
55+
- no remaining `engine/vector` references in `src`, `games`, `samples`, `tests`, `tools` JS/MJS/JSON surfaces
56+
57+
3. Syntax checks (`node --check`)
58+
- touched JS/MJS files parse cleanly
59+
60+
4. Focused runtime regression checks
61+
- `node tests/scenes/SceneManager.test.mjs`
62+
- `node tests/scenes/TransitionScene.test.mjs`
63+
- `node tests/scenes/AttractModeController.test.mjs`
64+
- `node tests/core/EngineSceneLifecycle.test.mjs`
65+
- `node tests/final/PlatformUxSystems.test.mjs`
66+
67+
## Roadmap
68+
No roadmap status marker changes were required for this surgical residue cleanup.
5669

5770
## Packaging
5871
`<project folder>/tmp/BUILD_PR_LEVEL_01_ENGINE_VECTOR_RESIDUE_CLEANUP.zip`
59-
60-
## Scope guard
61-
- docs-first PR bundle
62-
- Codex writes implementation
63-
- no unrelated repo changes
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# BUILD_PR_ROADMAP_RULES_PROMOTION_AND_NORMALIZATION
2+
3+
## Purpose
4+
Promote roadmap operational rules out of checklist items and normalize them as top-level guidance.
5+
6+
## Decision
7+
These are NOT tasks. They are rules:
8+
9+
- repo structure work is now constrained to exact move-map BUILDs only
10+
- remaining structure normalization should avoid broad folder churn until active shared extraction and promotion-gate work stabilize
11+
12+
## Required change
13+
14+
### A. Convert to rules
15+
- remove checkbox format
16+
- move to top of roadmap under a rules/guidelines section
17+
18+
### B. Preserve content
19+
- no wording changes
20+
- no deletions
21+
- only move + format change
22+
23+
### C. Roadmap cleanup
24+
- ensure no rules remain as `[ ]` or `[.]` items
25+
- checklist should contain only actionable tasks
26+
27+
## Outcome
28+
- roadmap becomes cleaner
29+
- rules vs tasks clearly separated

0 commit comments

Comments
 (0)