Skip to content

Commit 7abb289

Browse files
author
DavidQ
committed
BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE: apply conservative roadmap bracket-state updates and generate reference-safe cleanup evidence reports without deleting, moving, renaming, or touching templates/.
1 parent 8e770dc commit 7abb289

9 files changed

+381
-26
lines changed

docs/dev/CODEX_COMMANDS.md

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

4-
COMMAND:
5-
Create PLAN_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE as a docs-only package.
4+
PRIMARY COMMAND:
5+
Create BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE exactly as specified in `docs/pr/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE.md`.
66

7-
Scope:
8-
- commit updated master roadmap with conservative status rebaseline
9-
- add tracked cleanup item for templates/ with explicit deferment
10-
- document cleanup targets and sequencing
11-
- do not delete or move templates/
12-
- do not implement cleanup in this PR
13-
- keep this bundle docs-only
7+
Required actions:
8+
1. Update `docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md` using bracket-only state changes where exact roadmap text matches planned deltas.
9+
2. Create cleanup evidence reports:
10+
- `docs/dev/reports/cleanup_live_reference_inventory.txt`
11+
- `docs/dev/reports/cleanup_keep_move_future_delete_matrix.md`
12+
- `docs/dev/reports/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE_report.md`
13+
- `docs/dev/reports/validation_checklist.txt`
14+
3. Optionally refresh only if needed for accuracy:
15+
- `docs/dev/reports/repo_cleanup_targets.txt`
16+
- `docs/dev/reports/roadmap_status_delta.txt`
17+
4. Do not delete, move, rename, or modify `templates/`.
18+
5. Do not touch `docs/dev/start_of_day/chatGPT/` or `docs/dev/start_of_day/codex/`.
19+
6. Package the resulting repo-structured ZIP to:
20+
- `<project folder>/tmp/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE.zip`
1421

15-
Output:
16-
<project folder>/tmp/PLAN_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE.zip
22+
Validation requirements:
23+
- prove roadmap edits were bracket-only
24+
- prove no protected start_of_day files changed
25+
- prove no delete/move/rename happened
26+
- prove `templates/` remained untouched
27+
- record unmatched roadmap deltas in the BUILD report instead of rewriting wording

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docs: rebaseline roadmap and stage later repo cleanup targets including templates/ deferment
1+
BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE: apply conservative roadmap bracket-state updates and generate reference-safe cleanup evidence reports without deleting, moving, renaming, or touching templates/.

docs/dev/NEXT_COMMAND.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
After Codex completes, produce APPLY_PR_SAMPLES_INDEX_FIXES_AND_TARGETED_PREVIEW_RETRY with acceptance docs only. Verify: samples/index.html header/dropdown text changes, Sample 1303 local-only fix with no engine edits, retry-only preview SVG replacements for the approved list, and explicit confirmation that 1316/1317/1318 were untouched.
1+
After Codex completes and validation is clean, the next recommended lane is:
2+
APPLY_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE
3+
4+
Only do that if this BUILD reports:
5+
- bracket-only roadmap changes
6+
- no protected directory edits
7+
- no deletion/move/rename
8+
- templates/ untouched
9+
- cleanup evidence reports complete
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE Report
2+
3+
## Bundle Type
4+
- Execution-ready BUILD docs (non-destructive cleanup-evidence lane).
5+
6+
## Exact Files Changed
7+
- `docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md`
8+
- `docs/dev/reports/validation_checklist.txt`
9+
10+
## Exact Files Created
11+
- `docs/dev/reports/cleanup_live_reference_inventory.txt`
12+
- `docs/dev/reports/cleanup_keep_move_future_delete_matrix.md`
13+
- `docs/dev/reports/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE_report.md`
14+
15+
## Optional Alignment Files
16+
- `docs/dev/reports/repo_cleanup_targets.txt`: unchanged (already aligned)
17+
- `docs/dev/reports/roadmap_status_delta.txt`: unchanged (already aligned)
18+
19+
## Roadmap Bracket Changes Applied
20+
Applied bracket-only state changes where exact text matched planned deltas:
21+
- `- [.] smoke validation aligned to samples/tools/games`
22+
- `+ [x] smoke validation aligned to samples/tools/games`
23+
24+
Other planned in-progress deltas were already in `[.]` state and required no additional bracket edits.
25+
26+
## Unapplied Planned Delta (No Wording Rewrite Per Rule)
27+
The following planned deltas were not force-applied because exact text match was not clean without rewriting wording:
28+
- `SpriteEditor_old_keep policy defined`
29+
- Roadmap wording currently uses backticks: `` `SpriteEditor_old_keep` policy defined ``
30+
- `templates/ folder evaluated for keep vs move vs future-delete during cleanup phase`
31+
- Roadmap wording currently includes backticks and an explicit deferment suffix.
32+
33+
Per BUILD constraints, wording was left intact and no forced rewrite was performed.
34+
35+
## Cleanup Inventory Findings Summary
36+
- `templates/`: exists; live references in active tooling/tests/docs; classification requires manual review in later cleanup lane.
37+
- `tools/SpriteEditor_old_keep/`: exists; live references in registry/spec/report docs; remains keep-only legacy candidate for later policy PR.
38+
- `classes_old_keep`: path does not exist; docs-only planning references present.
39+
- `docs/archive/` archived notes area: exists and actively referenced in documentation structure/policy docs.
40+
- Legacy import path scan (`/engine/`, `../engine/`, `./engine/` in tools/src/games/samples): no direct matches.
41+
- Legacy-retirement candidates are present and tracked in roadmap + cleanup planning docs.
42+
43+
## Non-Destructive Assertions
44+
- No deletion, move, or rename occurred in this BUILD.
45+
- `templates/` was not modified.
46+
- Protected directories were untouched:
47+
- `docs/dev/start_of_day/chatGPT/`
48+
- `docs/dev/start_of_day/codex/`
49+
50+
## Validation Results
51+
- Roadmap wording preserved: PASS
52+
- Roadmap changes bracket-only: PASS
53+
- Protected start_of_day directories untouched: PASS
54+
- No delete/move/rename executed: PASS
55+
- `templates/` untouched: PASS
56+
- Evidence reports created: PASS
57+
- No unrelated repo files changed (bundle-scoped): PASS
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Cleanup Keep/Move/Future-Delete Matrix
2+
3+
| Target | Exists? | Live References? | Proposed Classification | Evidence Summary | Action Now | Recommended Future PR Scope |
4+
| --- | --- | --- | --- | --- | --- | --- |
5+
| `templates/` | yes | yes | `needs-manual-review` | Active refs in `tools/shared/vectorNativeTemplate.js`, `tools/shared/vectorTemplateSampleGame.js`, `tests/tools/VectorNativeTemplate.test.mjs`, and docs/planning surfaces. | none in this PR | Dedicated cleanup/build lane to classify keep vs migrate-later with dependency verification. |
6+
| `tools/SpriteEditor_old_keep/` policy | yes | yes | `keep` | Legacy-hidden runtime registry entry in `tools/toolRegistry.js`; referenced in specs, roadmap, and reports. | none in this PR | Separate legacy policy PR to define exact retirement criteria and transition gates. |
7+
| `classes_old_keep` policy target | no | yes (docs-only) | `needs-manual-review` | Path not present on disk; only planning references found in roadmap/targets/build spec docs. | none in this PR | Clarify whether this is a historical placeholder, rename candidate, or retired concept before any cleanup execution. |
8+
| `docs/archive/` archived-notes policy | yes | yes | `keep` | Archive destination is actively documented across docs structure/readme/paths files; policy item still planned in roadmap. | none in this PR | Policy-definition PR to formalize retention + move criteria for archived notes. |
9+
| Legacy path imports (`/engine/`, `../engine/`, `./engine/`) | pattern check | no (active code) | `future-delete-candidate` | No matches for inspected old-engine import patterns in tools/src/games/samples. | none in this PR | Add guard/reporting checks in future cleanup PR to prevent regressions and retire stale legacy-import guidance. |
10+
| Eventual legacy-retirement candidates list | yes | yes (planning) | `migrate-later` | Explicitly tracked in roadmap + cleanup target docs and referenced by this BUILD spec. | none in this PR | Convert candidates into exact, dependency-ordered cleanup BUILDs after reference-safe verification. |
11+
12+
## Notes
13+
- This matrix is decision-prep only.
14+
- No deletion, move, rename, or migration is executed in this PR.
15+
- `templates/` remains explicitly deferred.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE
2+
Cleanup Live Reference Inventory
3+
Generated: 2026-04-12
4+
5+
Target 1: templates/
6+
- Exact path: templates/
7+
- Exists: yes
8+
- Inbound references:
9+
- import/file refs (active code/tests):
10+
- tools/shared/vectorNativeTemplate.js
11+
- tools/shared/vectorTemplateSampleGame.js
12+
- tests/tools/VectorNativeTemplate.test.mjs
13+
- games/vector-arcade-sample/README.md
14+
- docs refs (active docs):
15+
- docs/pr/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE.md
16+
- docs/dev/reports/repo_cleanup_targets.txt
17+
- docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md
18+
- Reference count snapshot (non-archive scan): 63 matches
19+
- Assessment: live-reference
20+
- Notes: path is active for template-backed tooling and tests; cleanup decision must be deferred and reference-safe.
21+
22+
Target 2: SpriteEditor_old_keep policy locations/references
23+
- Exact path: tools/SpriteEditor_old_keep/
24+
- Exists: yes
25+
- Inbound references:
26+
- runtime/config refs:
27+
- tools/toolRegistry.js (legacy hidden entry)
28+
- docs/dev/reports/launch_smoke_report.md (tool launch coverage)
29+
- docs refs:
30+
- docs/specs/project_manifest_contract.md
31+
- docs/specs/asset_usage_contract.md
32+
- docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md
33+
- docs/dev/reports/repo_cleanup_targets.txt
34+
- Reference count snapshot (non-archive scan): 44 matches
35+
- Assessment: live-reference
36+
- Notes: preserved-legacy lane is still explicitly tracked and surfaced in validation/tooling metadata.
37+
38+
Target 3: classes_old_keep policy locations/references
39+
- Exact path: classes_old_keep/
40+
- Exists: no
41+
- Inbound references:
42+
- docs planning refs:
43+
- docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md
44+
- docs/dev/reports/repo_cleanup_targets.txt
45+
- docs/pr/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE.md
46+
- Reference count snapshot: 3 matches
47+
- Assessment: docs-reference-only
48+
- Notes: no runtime path currently exists; remains a planning placeholder requiring manual review before any action.
49+
50+
Target 4: archived notes policy locations/references
51+
- Exact path: docs/archive/
52+
- Exists: yes
53+
- Inbound references:
54+
- docs policy/location refs:
55+
- docs/README.md
56+
- docs/repo-directory-structure.md
57+
- docs/dev/README.md
58+
- docs/dev/paths.md
59+
- docs/review-checklist.md
60+
- docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md (policy item still planned)
61+
- Reference count snapshot (non-archive docs scan): 34 matches
62+
- Assessment: live-reference
63+
- Notes: archive location is active and documented, but explicit legacy 'archived notes policy' checklist item remains incomplete.
64+
65+
Target 5: imports/references pointing to legacy paths
66+
- Exact paths/patterns inspected:
67+
- from '/engine/'
68+
- from '../engine/'
69+
- from './engine/'
70+
- require('/engine/')
71+
- require('../engine/')
72+
- require('./engine/')
73+
- imports from SpriteEditor_old_keep/classes_old_keep paths
74+
- Exists: pattern-based check
75+
- Inbound references:
76+
- old engine import patterns above: no matches in tools/src/games/samples
77+
- legacy path docs references exist for tools/SpriteEditor_old_keep and templates/ (planning + archival context)
78+
- Assessment: mixed (code imports: zero-reference; docs/file refs: live-reference)
79+
- Notes: no direct legacy-engine import usage was found in active code for inspected patterns; legacy references persist in docs/planning surfaces.
80+
81+
Target 6: eventual legacy-retirement candidates already called out in cleanup planning
82+
- Exact planning paths:
83+
- docs/dev/reports/repo_cleanup_targets.txt
84+
- docs/dev/reports/roadmap_status_delta.txt
85+
- docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md
86+
- docs/pr/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE.md
87+
- Exists: yes
88+
- Inbound references:
89+
- roadmap item: "roadmap for eventual legacy retirement defined"
90+
- cleanup targets list: "eventual legacy retirement roadmap"
91+
- Assessment: live-reference (planning)
92+
- Notes: candidate list exists and is referenced; execution remains deferred to dedicated cleanup PRs.
Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,32 @@
1-
SESSION VALIDATION CHECK
2-
3-
- Bundle type: BUILD
4-
- Single PR purpose only: YES
5-
- BUILD explicit and executable: YES
6-
- Exact target files/scope named: YES
7-
- Non-goals named: YES
8-
- Validation steps named: YES
9-
- Retry narrowed from prior attempt: YES
10-
- Protected start_of_day directories untouched: YES
11-
- No fake code-completion claims: YES
12-
- Repo-structured ZIP prepared: YES
1+
BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE
2+
Validation Checklist
3+
Generated: 2026-04-12
4+
5+
[PASS] roadmap wording preserved
6+
- Evidence: roadmap diff shows only one checkbox marker transition line and no non-bracket content edits.
7+
8+
[PASS] roadmap changes bracket-only
9+
- Evidence:
10+
- changed: "- [.] smoke validation aligned to samples/tools/games"
11+
- to: "- [x] smoke validation aligned to samples/tools/games"
12+
- non-bracket changed lines: none
13+
14+
[PASS] no protected start_of_day directories touched
15+
- Evidence: `git status --short -- docs/dev/start_of_day/chatGPT docs/dev/start_of_day/codex` returned no entries.
16+
17+
[PASS] no deletion/move/rename executed
18+
- Evidence: `git diff --name-status -- <PR target files>` returned only `M` statuses for tracked files and no `D`/`R` entries.
19+
20+
[PASS] templates/ untouched
21+
- Evidence: `git status --short -- templates` returned no entries.
22+
23+
[PASS] evidence reports created
24+
- Evidence:
25+
- docs/dev/reports/cleanup_live_reference_inventory.txt
26+
- docs/dev/reports/cleanup_keep_move_future_delete_matrix.md
27+
- docs/dev/reports/BUILD_PR_REPO_CLEANUP_AND_ROADMAP_UPDATE_report.md
28+
- docs/dev/reports/validation_checklist.txt
29+
30+
[PASS] no unrelated repo files changed (bundle-scoped)
31+
- Evidence: this BUILD bundle modifies/creates only roadmap + cleanup evidence report files listed in the BUILD report.
32+
- Note: unrelated pre-existing workspace changes outside this bundle were preserved and not altered by this BUILD.

docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@
549549
- [.] `tests/` structure normalized
550550
- [.] unit coverage aligned to engine/shared/games
551551
- [.] integration coverage aligned to state/replay/rendering/tools
552-
- [.] smoke validation aligned to samples/tools/games
552+
- [x] smoke validation aligned to samples/tools/games
553553
- [ ] fixtures/helpers organization normalized
554554
- [.] move/refactor validation strategy documented
555555
- [ ] post-PR acceptance criteria consistently enforced

0 commit comments

Comments
 (0)