Skip to content

Commit 15ff350

Browse files
author
DavidQ
committed
Relocate active vector-native template surface to tools/templates and update known blocker references
1 parent d47a294 commit 15ff350

23 files changed

Lines changed: 137 additions & 67 deletions

2.txt

14 Bytes
Binary file not shown.

docs/dev/CODEX_COMMANDS.md

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,42 @@
1-
MODEL: GPT-5.3-codex
2-
REASONING: high
1+
MODEL: GPT-5.3-codex
2+
REASONING: medium
33

44
COMMAND:
5-
Execute BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES.
5+
Execute BUILD_PR_TEMPLATES_VECTOR_NATIVE_ACTIVE_RELOCATION.
66

7-
Inputs:
8-
- Decision = REMOVE (from PASS_7)
9-
- References exist only in docs/planning files
7+
Do the work in this PR. Do not ask for clarification.
108

11-
Steps:
12-
1) Find all occurrences of "legacy class-retention policy marker" in docs (*.md, *.txt)
13-
2) For each occurrence:
14-
- Remove the reference OR
15-
- Rewrite to a neutral phrase (no placeholder mention)
16-
3) Ensure no semantic break in docs
17-
4) Generate:
18-
- docs/dev/reports/legacy class-retention policy marker_removal_change_log.md
19-
- docs/dev/reports/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES_report.md
20-
- docs/dev/reports/validation_checklist.txt
9+
Required actions:
10+
1. Move:
11+
templates/vector-native-arcade/
12+
->
13+
tools/templates/vector-native-arcade/
14+
2. Update only these files:
15+
- tools/shared/vectorNativeTemplate.js
16+
- tools/shared/vectorTemplateSampleGame.js
17+
- tests/tools/VectorNativeTemplate.test.mjs
18+
- games/vector-arcade-sample/README.md
19+
3. Change path references from:
20+
templates/vector-native-arcade/
21+
to:
22+
tools/templates/vector-native-arcade/
23+
4. Do NOT touch:
24+
- templates/starter-project-template/
25+
- docs/dev/start_of_day/chatGPT/
26+
- docs/dev/start_of_day/codex/
27+
- docs/archive/
2128

22-
Constraints:
23-
- Do NOT create/delete/move any directories
24-
- Do NOT modify templates/ or docs/archive/ or start_of_day/*
25-
- Do NOT touch runtime code
29+
Create:
30+
- docs/dev/reports/templates_vector_native_active_relocation_report.md
31+
- docs/dev/reports/validation_checklist.txt
2632

27-
Package to:
28-
<project folder>/tmp/BUILD_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES.zip
33+
Validation required:
34+
- old vector-native template path no longer referenced in the four target files
35+
- new tools/templates path is referenced in the four target files
36+
- templates/starter-project-template remains untouched
37+
- tools/templates/vector-native-arcade exists
38+
- templates/vector-native-arcade no longer exists
39+
- protected start_of_day directories untouched
2940

41+
Package output to:
42+
<project folder>/tmp/BUILD_PR_TEMPLATES_VECTOR_NATIVE_ACTIVE_RELOCATION.zip

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Update roadmap: mark templates evaluation complete and append deferred tools/templates relocation note
1+
Relocate active vector-native template surface to tools/templates and update known blocker references

docs/dev/NEXT_COMMAND.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Next: APPLY_PR_TARGETED_REPO_CLEANUP_PASS_8_REMOVE_CLASSES_OLD_KEEP_REFERENCES
1+
After Codex completes and validation passes:
2+
APPLY_PR_TEMPLATES_VECTOR_NATIVE_ACTIVE_RELOCATION
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
- updated roadmap item: `templates/` folder evaluated for keep vs move vs future-delete -> complete
2-
- appended deferred future roadmap note for relocating `templates/vector-native-arcade` to `tools/templates/`
3-
- no code/runtime changes
1+
- codex-only execution lane
2+
- move active vector-native template surface to tools/templates
3+
- update the four exact blocker files
4+
- leave starter-project-template untouched
5+
- no archive move
Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,43 @@
11
# Templates Vector-Native Active Relocation Report
22

3-
Generated: 2026-04-12
4-
Lane: narrow decouple-only
3+
Generated: 2026-04-12
4+
Lane: BUILD_PR_TEMPLATES_VECTOR_NATIVE_ACTIVE_RELOCATION
55

6-
## Purpose
7-
Decouple active vector-native template references from `templates/vector-native-arcade/` and standardize on the canonical active path:
6+
## Scope Executed
7+
1. Moved template directory:
8+
- `templates/vector-native-arcade/`
9+
- -> `tools/templates/vector-native-arcade/`
10+
2. Updated only the required four files:
11+
- `tools/shared/vectorNativeTemplate.js`
12+
- `tools/shared/vectorTemplateSampleGame.js`
13+
- `tests/tools/VectorNativeTemplate.test.mjs`
14+
- `games/vector-arcade-sample/README.md`
15+
3. Wrote required validation artifacts:
16+
- `docs/dev/reports/templates_vector_native_active_relocation_report.md`
17+
- `docs/dev/reports/validation_checklist.txt`
818

19+
## Path Normalization Applied
20+
All required path references were normalized from:
21+
- `templates/vector-native-arcade/`
22+
to:
923
- `tools/templates/vector-native-arcade/`
1024

11-
## Scope Applied
12-
Modified only:
13-
- `tools/shared/vectorNativeTemplate.js`
14-
- `tools/shared/vectorTemplateSampleGame.js`
15-
- `tests/tools/VectorNativeTemplate.test.mjs`
16-
- `games/vector-arcade-sample/README.md`
25+
## Move Result
26+
- Destination exists: `tools/templates/vector-native-arcade/`
27+
- Source removed: `templates/vector-native-arcade/`
28+
- Files moved under destination: `15`
1729

18-
## Changes Made
19-
1. Updated vector-native template asset/config/docs/runtime path strings to use `tools/templates/vector-native-arcade/`.
20-
2. Updated sample-game remap logic to map from `tools/templates/vector-native-arcade/` to `games/vector-arcade-sample/`.
21-
3. Updated test assertion for `definition.templatePath` to the canonical active path.
22-
4. Updated sample-game README template source path to the canonical active path.
23-
24-
## Move Decision
25-
- No physical move performed in this lane.
26-
- `templates/vector-native-arcade/` remains in place.
27-
- Rationale: this lane is decouple-only and path normalization was completed in the four blocker files without requiring filesystem relocation for correctness in this PR.
28-
29-
## Validation Notes
30-
- No bare legacy path references remain in the four target files (`templates/vector-native-arcade/` not preceded by `tools/`).
30+
## Guard Results
31+
- `templates/starter-project-template/` untouched.
3132
- No changes under:
3233
- `docs/dev/start_of_day/chatGPT/`
3334
- `docs/dev/start_of_day/codex/`
34-
- `templates/starter-project-template/` untouched.
35+
- `docs/archive/`
36+
37+
## Validation Summary
38+
- Legacy path references in the four target files (bare, non-`tools/`): `0`
39+
- Canonical active path references in the four target files: `28`
40+
41+
## Notes
42+
- No archive actions were performed.
43+
- No additional non-required source files were edited.

docs/dev/reports/validation_checklist.txt

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,26 @@ BUILD_PR_TEMPLATES_VECTOR_NATIVE_ACTIVE_RELOCATION
22
Validation Checklist
33
Generated: 2026-04-12
44

5-
[PASS] no bare legacy path references remain in the four target files
5+
[PASS] old vector-native template path no longer referenced in four target files
66
Evidence:
7-
- `rg --pcre2 -n "(?<!tools/)templates/vector-native-arcade/|(?<!tools/)templates/vector-native-arcade\\b" tools/shared/vectorNativeTemplate.js tools/shared/vectorTemplateSampleGame.js tests/tools/VectorNativeTemplate.test.mjs games/vector-arcade-sample/README.md` -> no matches
7+
- `rg --pcre2 -n "(?<!tools/)templates/vector-native-arcade/|(?<!tools/)templates/vector-native-arcade\b" tools/shared/vectorNativeTemplate.js tools/shared/vectorTemplateSampleGame.js tests/tools/VectorNativeTemplate.test.mjs games/vector-arcade-sample/README.md` -> no matches
88

9-
[PASS] canonical active path is used in all four target files
9+
[PASS] new tools/templates path referenced in four target files
1010
Evidence:
11-
- `tools/templates/vector-native-arcade/` present in:
12-
- `tools/shared/vectorNativeTemplate.js`
13-
- `tools/shared/vectorTemplateSampleGame.js`
14-
- `tests/tools/VectorNativeTemplate.test.mjs`
15-
- `games/vector-arcade-sample/README.md`
11+
- `rg -n "tools/templates/vector-native-arcade/|tools/templates/vector-native-arcade" tools/shared/vectorNativeTemplate.js tools/shared/vectorTemplateSampleGame.js tests/tools/VectorNativeTemplate.test.mjs games/vector-arcade-sample/README.md` -> matches found
1612

17-
[PASS] no changes under protected start_of_day directories
13+
[PASS] templates/starter-project-template remains untouched
1814
Evidence:
19-
- `git diff --name-only -- docs/dev/start_of_day/chatGPT docs/dev/start_of_day/codex` -> no entries
15+
- `git diff --name-only -- templates/starter-project-template` -> no entries
2016

21-
[PASS] starter-project-template remains untouched
17+
[PASS] tools/templates/vector-native-arcade exists
2218
Evidence:
23-
- `git diff --name-only -- templates/starter-project-template` -> no entries
19+
- `Test-Path tools/templates/vector-native-arcade` -> `True`
2420

25-
[PASS] no directory move/archive executed in this lane
21+
[PASS] templates/vector-native-arcade no longer exists
2622
Evidence:
27-
- `git diff --name-status` filter for `D|R|C` -> no entries related to this lane
23+
- `Test-Path templates/vector-native-arcade` -> `False`
2824

29-
[INFO] targeted test execution note
25+
[PASS] protected start_of_day directories untouched
3026
Evidence:
31-
- direct isolated test invocation could not run in this local Node 20.8.1 environment because `node:module` `registerHooks` is unavailable; this repository's full test harness expects newer runtime hook support.
27+
- `git diff --name-only -- docs/dev/start_of_day/chatGPT docs/dev/start_of_day/codex` -> no entries
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# BUILD_PR_TEMPLATES_VECTOR_NATIVE_ACTIVE_RELOCATION
2+
3+
## PR Purpose
4+
Execute one narrow active-relocation lane for `vector-native-arcade` template references.
5+
6+
## Scope
7+
This PR is single-purpose:
8+
- relocate the active `vector-native-arcade` template surface from `templates/vector-native-arcade/`
9+
- to `tools/templates/vector-native-arcade/`
10+
- update only the exact known blocker files
11+
- do not archive anything
12+
- do not touch `starter-project-template`
13+
14+
## Exact Target Files
15+
### Must modify
16+
- `tools/shared/vectorNativeTemplate.js`
17+
- `tools/shared/vectorTemplateSampleGame.js`
18+
- `tests/tools/VectorNativeTemplate.test.mjs`
19+
- `games/vector-arcade-sample/README.md`
20+
21+
### Must move if source exists
22+
- `templates/vector-native-arcade/`
23+
- to `tools/templates/vector-native-arcade/`
24+
25+
### Must create or overwrite
26+
- `docs/dev/reports/templates_vector_native_active_relocation_report.md`
27+
- `docs/dev/reports/validation_checklist.txt`
28+
29+
## Required Work
30+
1. Move `templates/vector-native-arcade/` to `tools/templates/vector-native-arcade/`.
31+
2. Update the four exact blocker files to use `tools/templates/vector-native-arcade/`.
32+
3. Leave `templates/starter-project-template/` untouched.
33+
4. Do not move `templates/` to archive.
34+
5. Do not touch unrelated cleanup targets.
35+
6. Do not change anything under:
36+
- `docs/dev/start_of_day/chatGPT/`
37+
- `docs/dev/start_of_day/codex/`
38+
39+
## Validation
40+
- no references remain to `templates/vector-native-arcade/` in the four target files
41+
- references now point to `tools/templates/vector-native-arcade/`
42+
- `templates/starter-project-template/` still exists and is unchanged
43+
- `tools/templates/vector-native-arcade/` exists
44+
- `templates/vector-native-arcade/` no longer exists
45+
- protected start_of_day directories untouched
46+
47+
## Expected Output
48+
Package output to:
49+
- `<project folder>/tmp/BUILD_PR_TEMPLATES_VECTOR_NATIVE_ACTIVE_RELOCATION.zip`
File renamed without changes.

templates/vector-native-arcade/assets/palettes/vector-native-primary.palette.json renamed to tools/templates/vector-native-arcade/assets/palettes/vector-native-primary.palette.json

File renamed without changes.

0 commit comments

Comments
 (0)