Skip to content

Commit 252019e

Browse files
committed
Remove final theme engine remnants and validate active versus deprecated structure ownership - PR_26154_016-final-theme-engine-removal-and-active-structure-cleanup
1 parent 5cd5d02 commit 252019e

30 files changed

Lines changed: 221 additions & 1595 deletions

assets/theme/v1/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
File renamed without changes.

docs_build/dev/codex_commands.md

Lines changed: 40 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Task:
44

5-
- `PR_26154_015-theme-v1-removal-fontawesome-v2`
5+
- `PR_26154_016-final-theme-engine-removal-and-active-structure-cleanup`
66

77
Commands run:
88

@@ -11,48 +11,55 @@ Commands run:
1111
- `git status --short --untracked-files=all`
1212
- Targeted `Get-ChildItem` and `Get-Content` inspection for:
1313
- `assets/theme/v1/`
14-
- `assets/theme/v2/fonts/`
14+
- `assets/theme/v2/images/`
15+
- `assets/theme/v2/css/theme/v2/`
1516
- `src/engine/theme/`
1617
- `src/engine/ui/toolboxaid-header.html`
17-
- `src/engine/theme/toolboxaid-header.html`
18-
- Targeted `rg` reference checks for:
19-
- `assets/theme/v1`
20-
- `assets/theme/v1/fontawesome`
21-
- `fontawesome`
22-
- `assets/theme/v2/fonts/fontawesome`
23-
- `CapturePreviewRuntime`
24-
- `src/engine/theme`
25-
- Node verified move of `assets/theme/v1/fontawesome/` to `assets/theme/v2/fonts/fontawesome/`.
26-
- Updated `src/engine/theme/main.css`.
27-
- Updated `assets/theme/v1/README.md`.
28-
- Updated `src/engine/theme/README.md`.
29-
- Node targeted validator for:
30-
- old Font Awesome V1 source removal
31-
- moved Font Awesome destination file existence
32-
- absence of active old Font Awesome path refs
33-
- remaining active V1 references
34-
- active V2 Font Awesome import resolution
35-
- `src/engine/theme/CapturePreviewRuntime.js` absence
36-
- `src/engine/theme/` non-empty status
18+
- `tools/shared/tooling/CapturePreviewRuntime.js`
19+
- `tools/dev/checkStyleSystemGuard.mjs`
20+
- `tools/dev/checkSharedExtractionGuard.baseline.json`
21+
- Targeted ownership inventory for:
22+
- `tools/`
23+
- `old-tools/`
24+
- `games/`
25+
- `old_games/`
26+
- `old_samples/`
27+
- `docs/`
28+
- `docs_build/`
29+
- Targeted active stale-reference checks for:
30+
- `GameFoundryStudio/`
31+
- `src/engine/theme/`
32+
- `assets/theme/v1/`
33+
- `favicon.ico`
34+
- Moved `assets/theme/v1/images/toolboxaid-header.png` to `assets/theme/v2/images/toolboxaid-header.png`.
35+
- Updated `src/engine/ui/toolboxaid-header.html`.
36+
- Updated `tools/shared/tooling/CapturePreviewRuntime.js`.
37+
- Updated `tools/dev/checkStyleSystemGuard.mjs`.
38+
- Updated `tools/dev/checkSharedExtractionGuard.baseline.json`.
39+
- Deleted `assets/theme/v1/`.
40+
- Deleted `src/engine/theme/`.
41+
- `node tools/dev/checkStyleSystemGuard.mjs`
42+
- `node --check tools/shared/tooling/CapturePreviewRuntime.js`
43+
- `node --check tools/dev/checkStyleSystemGuard.mjs`
3744
- Node static validation for changed HTML, JS, CSS, JSON, and Markdown files.
3845
- `git diff --check`
39-
- `git status --short -- start_of_day old_games old_samples old-tools`
46+
- `git status --short -- start_of_day old-tools old_games old_samples`
4047
- `npm run codex:review-artifacts`
41-
- ZIP packaging for `tmp/PR_26154_015-theme-v1-removal-fontawesome-v2_delta.zip`
48+
- ZIP packaging for `tmp/PR_26154_016-final-theme-engine-removal-and-active-structure-cleanup_delta.zip`
4249

4350
Validation summary:
4451

45-
- PASS `assets/theme/v1/fontawesome/` moved out of Theme V1.
46-
- PASS Font Awesome CSS and font files exist under `assets/theme/v2/fonts/fontawesome/`.
47-
- PASS `src/engine/theme/main.css` imports the V2 Font Awesome path.
48-
- PASS no active old Font Awesome V1-path references remain.
49-
- PASS remaining active `assets/theme/v1` refs are limited to runtime header image consumers.
50-
- PASS `src/engine/theme/CapturePreviewRuntime.js` was already absent and has no active exact-path refs.
51-
- PASS `src/engine/theme/` remains non-empty and was not deleted.
52+
- PASS `assets/theme/v1/` removed.
53+
- PASS `src/engine/theme/` removed.
54+
- PASS active header image now resolves from `assets/theme/v2/images/toolboxaid-header.png`.
55+
- PASS no active stale references remain for `GameFoundryStudio/`, `src/engine/theme/`, `assets/theme/v1/`, or `favicon.ico`.
56+
- PASS active structure inventory completed for active and deprecated ownership areas.
57+
- PASS `node tools/dev/checkStyleSystemGuard.mjs`.
58+
- PASS syntax checks for changed JS files.
5259
- PASS static validation for changed HTML, JS, CSS, JSON, and Markdown files.
5360
- PASS `git diff --check`.
54-
- PASS no `start_of_day/`, `old_games/`, `old_samples/`, or `old-tools/` changes.
61+
- PASS no `start_of_day/`, `old-tools/`, `old_games/`, or `old_samples/` changes.
5562
- PASS review artifact generation.
5663
- PASS repo-structured delta ZIP packaging.
5764
- SKIPPED `npm run test:workspace-v2`; active Workspace V2 launch/navigation behavior was not changed.
58-
- SKIPPED old games, old samples, old tools, and full samples smoke validation per request.
65+
- SKIPPED old tools, old games, old samples, and full samples smoke validation per request.

docs_build/dev/commit_comment.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Theme V1 removal and Font Awesome V2 migration
1+
Final theme engine removal and active structure cleanup
22

3-
PR: PR_26154_015-theme-v1-removal-fontawesome-v2
3+
PR: PR_26154_016-final-theme-engine-removal-and-active-structure-cleanup
44

5-
- Move `assets/theme/v1/fontawesome/` to `assets/theme/v2/fonts/fontawesome/`.
6-
- Update `src/engine/theme/main.css` to import Font Awesome from the V2 fonts path.
7-
- Keep `assets/theme/v1/` because two active runtime header templates still consume `images/toolboxaid-header.png`.
8-
- Confirm `src/engine/theme/CapturePreviewRuntime.js` is already absent and `src/engine/theme/` remains non-empty/runtime-owned.
9-
- Validate targeted references, changed static files, diff whitespace, review artifacts, and repo-structured delta ZIP packaging.
5+
- Move the final V1 header image to `assets/theme/v2/images/toolboxaid-header.png`.
6+
- Delete `assets/theme/v1/` and `src/engine/theme/` after active reference removal.
7+
- Remove active `src/engine/theme` dependencies from capture tooling and dev guards.
8+
- Produce final active-vs-deprecated ownership inventory and cleanup candidate report.
9+
- Validate targeted active references, changed static files, diff whitespace, review artifacts, and repo-structured delta ZIP packaging.
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# PR_26154_016 Active vs Deprecated Inventory Report
2+
3+
Task: `PR_26154_016-final-theme-engine-removal-and-active-structure-cleanup`
4+
5+
## Active Ownership
6+
7+
| Area | Ownership | Verification |
8+
| --- | --- | --- |
9+
| `assets/` | Public/static assets, including Theme V2 CSS, JS, partials, fonts, and images. | `assets/theme/v1/` removed; active header image now lives at `assets/theme/v2/images/toolboxaid-header.png`. |
10+
| `tools/` | Active tool surfaces and active tool support code. | Active tool folders use `tools/[toolname]/index.html`; support folders and support files remain under `tools/`. |
11+
| `games/` | Active game category surfaces and active game assets. | Game category folders with `index.html`: `action`, `adventure`, `arcade`, `puzzle`, `racing`, `retro`, `strategy`. `games/assets/` is support content. |
12+
| `docs/` | User-facing documentation only. | Contains `index.html`, `faq.html`, `reference.html`, `support.html`, and `README.md`. |
13+
| `docs_build/` | Governance, PR, reports, schemas docs, workflow, and build/development documentation. | Contains build/governance folders such as `dev/`, `pr/`, `reports/`, `schemas/`, `tools/`, and related workflow areas. |
14+
| `src/` | Active engine/source code excluding removed theme shell. | `src/engine/theme/` removed after active dependencies were removed. |
15+
16+
## Active Tools
17+
18+
Active tool folders with `index.html`:
19+
20+
- `tools/ai-assistant/index.html`
21+
- `tools/animation/index.html`
22+
- `tools/assets/index.html`
23+
- `tools/builder/index.html`
24+
- `tools/cloud/index.html`
25+
- `tools/code/index.html`
26+
- `tools/configuration-admin/index.html`
27+
- `tools/creator/index.html`
28+
- `tools/game-builder/index.html`
29+
- `tools/game-design/index.html`
30+
- `tools/input/index.html`
31+
- `tools/localization/index.html`
32+
- `tools/midi/index.html`
33+
- `tools/object-vector/index.html`
34+
- `tools/palette/index.html`
35+
- `tools/particles/index.html`
36+
- `tools/publish/index.html`
37+
- `tools/sound/index.html`
38+
- `tools/storage/index.html`
39+
- `tools/world-vector/index.html`
40+
41+
Active tool support areas/files:
42+
43+
- `tools/dev/`
44+
- `tools/schemas/`
45+
- `tools/shared/`
46+
- `tools/index.html`
47+
- `tools/renderToolsIndex.js`
48+
- `tools/toolRegistry.js`
49+
- `tools/tools-page-accordions.js`
50+
51+
## Deprecated Ownership
52+
53+
| Area | Ownership | Verification |
54+
| --- | --- | --- |
55+
| `old-tools/` | Deprecated tool references. | Contains deprecated `old_*` tools plus deprecated/common support folders. |
56+
| `old_games/` | Deprecated playable games. | Contains legacy playable game folders and support/metadata files. |
57+
| `old_samples/` | Deprecated samples. | Contains legacy phase sample folders and support/metadata files. |
58+
59+
## Remaining Cleanup Candidates
60+
61+
These were identified but not moved in this PR:
62+
63+
- `tools/_templates-v2/` still exists under `tools/` with an `index.html`; confirm whether it is an active template surface or should join deprecated template content under `old-tools/`.
64+
- `tools/dev/`, `tools/schemas/`, and `tools/shared/` are support folders under `tools/`, not user-facing tool surfaces. Future structure cleanup could document this exception or move support code if a new owner is approved.
65+
- `tools/renderToolsIndex.js` and `tools/toolRegistry.js` remain root-level tool support files; future cleanup could consolidate them only if active imports are mapped first.
66+
- `games/assets/` is a support folder under `games/`, not a game category page.
67+
- `docs_build/account/`, `docs_build/archive/`, `docs_build/operations/`, and related docs_build folders are build/governance documentation; keep out of public `/docs/`.
68+
69+
## Validation
70+
71+
- PASS: Active stale-reference validation for `GameFoundryStudio/`, `src/engine/theme/`, `assets/theme/v1/`, and `favicon.ico`.
72+
- PASS: Active structure inventory completed for `tools/`, `old-tools/`, `games/`, `old_games/`, `old_samples/`, `docs/`, and `docs_build/`.
73+
- PASS: Deprecated areas were not modified.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# PR_26154_016 Final Theme Engine Removal Report
2+
3+
Task: `PR_26154_016-final-theme-engine-removal-and-active-structure-cleanup`
4+
5+
## Scope
6+
7+
- Read `docs_build/dev/PROJECT_INSTRUCTIONS.md`.
8+
- Audited active references excluding docs, tests, reports, `old-tools/`, `old_games/`, `old_samples/`, and `start_of_day/`.
9+
- Removed remaining `assets/theme/v1/` content after moving the last active image to Theme V2.
10+
- Removed remaining `src/engine/theme/` content after removing active dependencies.
11+
- Did not modify `start_of_day/`, `old-tools/`, `old_games/`, or `old_samples/`.
12+
13+
## Theme Cleanup
14+
15+
| Item | Result |
16+
| --- | --- |
17+
| `assets/theme/v1/images/toolboxaid-header.png` | Moved to `assets/theme/v2/images/toolboxaid-header.png`. |
18+
| `assets/theme/v1/` | Deleted after active references were removed. |
19+
| `src/engine/theme/` | Deleted after active references were removed. |
20+
| `src/engine/ui/toolboxaid-header.html` | Updated to use `/assets/theme/v2/images/toolboxaid-header.png`. |
21+
| `tools/shared/tooling/CapturePreviewRuntime.js` | Removed imports from `src/engine/theme/Theme.js` and `ThemeTokens.js`; preserved the small document-theme setup locally. |
22+
| `tools/dev/checkStyleSystemGuard.mjs` | Retargeted required theme files to `assets/theme/v2/css/theme/v2/` and removed deprecated old sample/game/template pages from the active guard list. |
23+
| `tools/dev/checkSharedExtractionGuard.baseline.json` | Removed the deleted `src/engine/theme/mount-shared-header.js` baseline entry. |
24+
25+
## Path Normalization
26+
27+
Active reference validation found zero remaining active references to:
28+
29+
- `GameFoundryStudio/`
30+
- `src/engine/theme/`
31+
- `assets/theme/v1/`
32+
- `favicon.ico`
33+
34+
Historical references may remain in docs, reports, tests, or deprecated folders by exclusion.
35+
36+
## Validation
37+
38+
- PASS: `assets/theme/v1/` does not exist.
39+
- PASS: `src/engine/theme/` does not exist.
40+
- PASS: `assets/theme/v2/images/toolboxaid-header.png` exists.
41+
- PASS: `assets/theme/v2/fonts/fontawesome/css/font-awesome.min.css` exists.
42+
- PASS: Targeted active stale-reference validator found no active `GameFoundryStudio/`, `src/engine/theme/`, `assets/theme/v1/`, or `favicon.ico` references.
43+
- PASS: `node tools/dev/checkStyleSystemGuard.mjs`.
44+
- PASS: `node --check tools/shared/tooling/CapturePreviewRuntime.js`.
45+
- PASS: `node --check tools/dev/checkStyleSystemGuard.mjs`.
46+
- PASS: Static validation for 7 changed HTML/JS/CSS/JSON/Markdown files, including `.mjs`.
47+
- PASS: `git diff --check`.
48+
- PASS: `git status --short -- start_of_day old-tools old_games old_samples` returned no output.
49+
- SKIPPED: `npm run test:workspace-v2`; active Workspace V2 launch/navigation behavior was not changed.
50+
- SKIPPED: old tools, old games, old samples, and full samples smoke tests per request.
51+
52+
## Notes
53+
54+
- `tools/shared/tooling/CapturePreviewRuntime.js` remains active tooling and was kept in place.
55+
- `assets/theme/v2/fonts/fontawesome/` remains the Font Awesome location created in PR_26154_015.

src/engine/theme/README.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/engine/theme/Theme.js

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/engine/theme/ThemeTokens.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)