Skip to content

Commit b123a20

Browse files
committed
Close toolbox template gaps, reconcile active tests, and polish final root structure - PR_26154_031-033-cleanup-stack
1 parent a9696a0 commit b123a20

73 files changed

Lines changed: 317 additions & 38362 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

admin/grouping-colors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ <h3><span class="brand-color-code"><span
256256
cues inside those categories, and tile colors can be corrected later.</div>
257257
<div class="callout"><strong>Shared grouping color layer:</strong> grouping colors are applied
258258
through shared group classes and per-group imports under
259-
<code>assets/css/tools/grouping/</code>. Tools can be rethemed by changing the grouping CSS
259+
<code>assets/theme-v2/css/tools/grouping/</code>. Tools can be rethemed by changing the grouping CSS
260260
import or token mapping, and pages should not define their own group colors. The current
261261
mapping follows the Color-Aligned Grouping Option: Build &amp; Create pink, Content &amp;
262262
Assets orange, Media &amp; Audio red, AI &amp; Learning purple, Platform &amp; Cloud blue,

docs_build/account/grouping-colors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2>Future Alignment Note</h2>
3939
<section>
4040
<h2>Shared Grouping Color Layer</h2>
4141
<p>Grouping colors are applied by shared grouping classes and per-group imports under
42-
<code>assets/css/tools/grouping/</code>. Tools can be rethemed by changing the grouping CSS import or token
42+
<code>assets/theme-v2/css/tools/grouping/</code>. Tools can be rethemed by changing the grouping CSS import or token
4343
mapping. Pages should not define their own group colors. The current mapping follows the Color-Aligned Grouping
4444
Option: Build &amp; Create pink, Content &amp; Assets orange, Media &amp; Audio red, AI &amp; Learning purple,
4545
Platform &amp; Cloud blue, and Development &amp; System gray.</p>

docs_build/dev/codex_commands.md

Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,63 @@
22

33
Task:
44

5-
- `PR_26154_030-toolbox-nav-character-closeout`
5+
- `PR_26154_031-toolbox-template-mismatch-closeout`
6+
- `PR_26154_032-active-test-suite-reconciliation`
7+
- `PR_26154_033-root-structure-final-polish`
68

79
Changes:
810

911
- Read `.codex/skills/repo-build/SKILL.md`.
1012
- Read `docs_build/dev/PROJECT_INSTRUCTIONS.md`.
11-
- Used `PR_26154_029-theme-v2-root-rename` as the current baseline.
12-
- Updated shared Theme V2/toolbox character styling in `assets/theme-v2/css/panels.css`.
13-
- Kept the character image on the left by preserving the existing ToolDisplayMode DOM order.
14-
- Confirmed 15px character-to-content spacing through the existing `--space-15` token.
15-
- Updated the stale aggregate Theme V2 selector in `assets/theme-v2/css/gamefoundrystudio.css`.
16-
- Updated `assets/theme-v2/partials/header-nav.html` so all active toolbox tool pages appear in the Toolbox navigation.
17-
- Added Toolbox nav submenus for multi-tool groups, including Audio with MIDI and Sound.
18-
- Added route-map entries for Tool Builder and Tool Creator in `assets/theme-v2/js/gamefoundry-partials.js`.
19-
- Removed Marketplace from the active toolbox index data in `toolbox/tools-page-accordions.js`.
20-
- Kept Marketplace in the header and footer as a product/capability destination outside Toolbox.
13+
- Used the latest applied PR state as the baseline.
14+
- Re-ran template consistency checks for active public/root pages and active toolbox pages.
15+
- Updated stale grouping CSS copy in `admin/grouping-colors.html` and `docs_build/account/grouping-colors.html`.
16+
- Removed deprecated-only tests for old games, old samples, removed V2 tool pages, removed integration surfaces, and old template/tool registries.
17+
- Rewired active test lane metadata to `tests/playwright/tools/RootToolsFutureState.spec.mjs`.
18+
- Updated Playwright structure ownership metadata and V8 coverage entry-point labels for `toolbox/` and `assets/theme-v2/`.
19+
- Confirmed Marketplace is absent from `toolbox/index.html` and `toolbox/tools-page-accordions.js`.
20+
- Confirmed shared header/footer still keep Marketplace as a product destination.
2121
- Did not modify `old-tools/`, `old_games/`, `old_samples/`, or `start_of_day/`.
2222

2323
Validation:
2424

25-
- Ran targeted reference checks for `toolbox/index.html`, `toolbox/tools-page-accordions.js`, shared header nav, Marketplace entries, `.tool-display-mode__character`, and `assets/theme-v2` paths.
26-
- Ran template consistency audit after the Toolbox nav update.
27-
- Ran static validation for changed HTML, JS, CSS, JSON, and Markdown files.
28-
- Ran changed JavaScript syntax checks.
25+
- Ran changed JavaScript syntax checks:
26+
- `node --check scripts/run-targeted-test-lanes.mjs`
27+
- `node --check scripts/audit-playwright-test-locations.mjs`
28+
- `node --check tests/run-tests.mjs`
29+
- `node --check tests/helpers/playwrightV8CoverageReporter.mjs`
30+
- Ran template consistency audit:
31+
- Public/root pages: `43/43`
32+
- Active toolbox pages: `20/20`
33+
- Ran targeted stale reference checks for `toolbox`, `assets/theme-v2`, footer/header links, `styles.css`, `favicon.ico`, `assets/theme/v2`, `GameFoundryStudio/`, `src/engine/theme`, removed `tools/` routes, and removed `samples/` routes.
34+
- Ran active toolbox index ordering and header coverage checks.
35+
- Ran direct removed-samples import/route scan in active tests.
36+
- Ran `npm run test:playwright:static`.
2937
- Ran `npm run test:workspace-v2`.
3038
- Ran `git diff --check`.
31-
- Ran `npm run codex:review-artifacts`.
39+
- Regenerated required Codex review artifacts.
3240
- Packaged repo-structured ZIP:
33-
- `tmp/PR_26154_030-toolbox-nav-character-closeout_delta.zip`
41+
- `tmp/PR_26154_031-033-template-test-root-polish_delta.zip`
3442

3543
Required reports:
3644

3745
- `docs_build/dev/reports/codex_changed_files.txt`
3846
- `docs_build/dev/reports/codex_review.diff`
39-
- `docs_build/dev/reports/toolbox_nav_character_closeout_report.md`
40-
- `docs_build/dev/reports/template_consistency_after_toolbox_nav_report.md`
47+
- `docs_build/dev/reports/toolbox_template_mismatch_closeout_report.md`
48+
- `docs_build/dev/reports/active_test_suite_reconciliation_report.md`
49+
- `docs_build/dev/reports/root_structure_final_polish_report.md`
50+
- `docs_build/dev/reports/remaining_cleanup_report.md`
4151

4252
Validation summary:
4353

54+
- PASS template audit: public/root pages `43/43`.
55+
- PASS template audit: active toolbox pages `20/20`.
4456
- PASS active toolbox header coverage: `20/20`.
45-
- PASS Marketplace removed from `toolbox/index.html` rendered data.
46-
- PASS Marketplace remains in footer Product column.
47-
- PASS `.tool-display-mode__character` is 150px by 150px in shared Theme V2 styling.
48-
- PASS 15px character spacing is present through `--space-15`.
49-
- PASS zero active references remain to the retired Theme V2 root path.
50-
- PASS post-change template audit: public/root pages `43/43`, active toolbox pages `20/20`.
51-
- PASS `npm run test:workspace-v2`.
57+
- PASS Marketplace is absent from active toolbox index data.
58+
- PASS active public pages do not use `assets/theme-v2/css/styles.css`.
59+
- PASS zero active public `tools/` route references remain.
60+
- PASS `npm run test:playwright:static`.
61+
- PASS `npm run test:workspace-v2` with `2 passed`.
5262
- PASS `git diff --check`.
53-
- SKIPPED tests against `old-tools/`, `old_games/`, and `old_samples/` per request.
63+
- SKIPPED tests against `old-tools/`, `old_games/`, and `old_samples` per request.
5464
- SKIPPED full samples smoke test per request.

docs_build/dev/commit_comment.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
Close out toolbox nav coverage and ToolDisplayMode character sizing - PR_26154_030-toolbox-nav-character-closeout
1+
Close out toolbox templates, reconcile active tests, and polish root paths - PR_26154_031-033
22

3-
- Set shared Theme V2 `.tool-display-mode__character` rendering to 150px by 150px with 15px adjacent spacing.
4-
- Add all active toolbox tools to the shared header Toolbox navigation, including grouped Audio, Assets, Objects, Tooling, and Worlds submenus.
5-
- Remove Marketplace from the active toolbox index data while preserving Marketplace as a product/footer destination.
6-
- Validate active toolbox nav coverage, template consistency, Workspace V2, static changed files, diff hygiene, and review artifacts.
3+
- Confirm active public/root and toolbox template consistency remains clean at 43/43 and 20/20.
4+
- Fix stale Theme V2 grouping CSS path copy in active admin/docs pages.
5+
- Remove deprecated-only tests for old games, old samples, removed V2 tools, old template baselines, and removed integration surfaces.
6+
- Rewire active test lanes and coverage labels to current toolbox and assets/theme-v2 paths.
7+
- Confirm Marketplace stays outside toolbox index while remaining in product header/footer navigation.
8+
- Validate static checks, Workspace V2, targeted stale-path scans, diff hygiene, and repo-structured delta packaging.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# PR_26154_032 Active Test Suite Reconciliation
2+
3+
Baseline used: latest applied root/theme/toolbox migration state after `PR_26154_031-toolbox-template-mismatch-closeout`.
4+
5+
## Scope
6+
7+
- Classified active test entry points, fixtures, helpers, and Playwright folders.
8+
- Removed tests that only targeted deprecated `old-tools`, `old_games`, `old_samples`, removed `tools/`, removed `samples/`, or removed legacy V2 tool folders.
9+
- Rewired active test lane metadata only where the intended active target was clear.
10+
- Kept root `package.json` in place.
11+
12+
## Active
13+
14+
- `tests/run-tests.mjs`: active explicit Node test runner after deprecated-only entries were removed.
15+
- `tests/playwright/tools/RootToolsFutureState.spec.mjs`: active toolbox/root future-state Playwright coverage.
16+
- `tests/helpers/playwrightRepoServer.mjs`: active shared Playwright server fixture.
17+
- `tests/helpers/playwrightStorageIsolation.mjs`: active shared Playwright storage fixture.
18+
- `tests/helpers/workspaceV2CoverageReporter.mjs`: active Workspace V2 coverage helper.
19+
- `tests/helpers/playwrightV8CoverageReporter.mjs`: active V8 coverage helper, updated to current `toolbox/` and `assets/theme-v2/` entry points.
20+
- `tests/tools/*.test.mjs` files still imported by `tests/run-tests.mjs`: active engine/tool contract coverage unless noted as ambiguous below.
21+
22+
## Rewired
23+
24+
| File | Change | Reason |
25+
| --- | --- | --- |
26+
| `tests/run-tests.mjs` | Removed deprecated-only test imports and runner entries. | The removed tests targeted old tool/sample/template contracts. |
27+
| `scripts/run-targeted-test-lanes.mjs` | Pointed `tool-runtime` to `tests/playwright/tools/RootToolsFutureState.spec.mjs`. | Keeps the active toolbox lane current. |
28+
| `scripts/run-targeted-test-lanes.mjs` | Removed stale integration Playwright lane commands and discovery targets. | The integration specs only validated old tool/sample launch surfaces. |
29+
| `scripts/audit-playwright-test-locations.mjs` | Removed deprecated Playwright tool ownership names and old fixture mappings. | Prevents deleted V2/old tool specs from remaining required locations. |
30+
| `tests/helpers/playwrightV8CoverageReporter.mjs` | Updated format entry points to `toolbox/`, `toolbox/_tool_template-v2/`, and `assets/theme-v2/js/`. | Aligns coverage summaries with the current root structure. |
31+
32+
## Deleted Deprecated-Only Tests
33+
34+
Removed `61` deprecated-only test files:
35+
36+
- `tests/games/GravityValidation.test.mjs`
37+
- `tests/games/GravityWorld.test.mjs`
38+
- `tests/games/MultiBallChaosValidation.test.mjs`
39+
- `tests/games/MultiBallChaosWorld.test.mjs`
40+
- `tests/games/PacmanLiteValidation.test.mjs`
41+
- `tests/games/PacmanLiteWorld.test.mjs`
42+
- `tests/games/PaddleInterceptValidation.test.mjs`
43+
- `tests/games/PaddleInterceptWorld.test.mjs`
44+
- `tests/games/ThrusterValidation.test.mjs`
45+
- `tests/games/ThrusterWorld.test.mjs`
46+
- `tests/playwright/integration/GameIndexPreviewManifestBroadScan.spec.mjs`
47+
- `tests/playwright/integration/GameIndexPreviewManifestResolution.spec.mjs`
48+
- `tests/playwright/integration/ToolsIndexFirstClassToolRegistration.spec.mjs`
49+
- `tests/playwright/tools/AssetManagerV2.spec.mjs`
50+
- `tests/playwright/tools/CollisionInspectorV2.spec.mjs`
51+
- `tests/playwright/tools/MidiStudioV2.spec.mjs`
52+
- `tests/playwright/tools/ObjectVectorStudioV2FirstClassToolStarter.spec.mjs`
53+
- `tests/playwright/tools/PaletteManagerV2Coverage.spec.mjs`
54+
- `tests/playwright/tools/PreviewGeneratorV2Baseline.spec.mjs`
55+
- `tests/playwright/tools/ToolTemplateV2Baseline.spec.mjs`
56+
- `tests/playwright/tools/WorkspaceManagerV2.spec.mjs`
57+
- `tests/runtime/Phase16AdvancedBatch1Sanity.test.mjs`
58+
- `tests/runtime/Phase16AdvancedBatch2Sanity.test.mjs`
59+
- `tests/runtime/Phase16AdvancedBatch3Sanity.test.mjs`
60+
- `tests/runtime/Phase16AdvancedBatch4Sanity.test.mjs`
61+
- `tests/runtime/Phase16AdvancedBatch5Sanity.test.mjs`
62+
- `tests/runtime/Phase16RenderingAnimationTrackSanity.test.mjs`
63+
- `tests/runtime/Phase16VisibilitySanity.test.mjs`
64+
- `tests/runtime/Phase17DebugOverlayBottomRightPosition.test.mjs`
65+
- `tests/runtime/Phase17OverlayDiagnosticsTooling.test.mjs`
66+
- `tests/runtime/Phase17OverlayExpansionFramework.test.mjs`
67+
- `tests/runtime/Phase17OverlayGameplayRuntimeIntegration.test.mjs`
68+
- `tests/runtime/Phase17OverlayInputEdgeCases.test.mjs`
69+
- `tests/runtime/Phase17OverlayMultiLayerComposition.test.mjs`
70+
- `tests/runtime/Phase17RealGameplaySample.test.mjs`
71+
- `tests/runtime/Phase17RenderingTechniqueExpansionSanity.test.mjs`
72+
- `tests/runtime/Phase17Sample1709MovementModelsLab.test.mjs`
73+
- `tests/runtime/Phase17Sample1712GameplayMetricsTelemetry.test.mjs`
74+
- `tests/runtime/Phase17Sample1713FinalReferenceGame.test.mjs`
75+
- `tests/runtime/Phase17TabDebugOverlayCycle1707Plus.test.mjs`
76+
- `tests/runtime/Phase18CoreServicesSkeleton.test.mjs`
77+
- `tests/runtime/Phase18IntegrationFlowPass.test.mjs`
78+
- `tests/runtime/Phase18RuntimeLayerScaffold.test.mjs`
79+
- `tests/runtime/Phase19CoreServicesSkeleton.test.mjs`
80+
- `tests/runtime/Phase19IntegrationFlowPass.test.mjs`
81+
- `tests/runtime/Phase19OverlayExpansionFramework.test.mjs`
82+
- `tests/runtime/Phase19OverlayPluginRegistry.test.mjs`
83+
- `tests/runtime/Phase19RuntimeLayerScaffold.test.mjs`
84+
- `tests/runtime/SampleStandaloneToolDataFlow.test.mjs`
85+
- `tests/runtime/V2ToolSmoke.test.mjs`
86+
- `tests/samples/FullscreenAbility0713ViewportFit.test.mjs`
87+
- `tests/samples/OrbitLabModel.test.mjs`
88+
- `tests/samples/OrbitLabScene.test.mjs`
89+
- `tests/samples/ProjectileLabModel.test.mjs`
90+
- `tests/samples/ProjectileLabScene.test.mjs`
91+
- `tests/samples/SamplesProgramCombinedPass.test.mjs`
92+
- `tests/tools/ToolEntryLaunchContract.test.mjs`
93+
- `tests/tools/ToolLocalSampleMigration.test.mjs`
94+
- `tests/tools/ToolSchemaStrictModeValidation.test.mjs`
95+
- `tests/tools/ToolsIndexRegistrySmoke.test.mjs`
96+
- `tests/tools/VectorTemplateSampleGame.test.mjs`
97+
98+
## Ambiguous / Retained
99+
100+
- `tests/final/ReleaseReadinessSystems.test.mjs` retains `old_samples/shared/theme.css` as a string fixture for packager deduplication behavior; it is not a deprecated sample runtime test.
101+
- Active contract tests that assert paths are not `samples/` or `GameFoundryStudio/` were retained because they enforce current boundaries.
102+
- `tests/validation/samples.*.json` remains as historical validation fixture data. It is not invoked by the removed samples tests.
103+
- `tests/fixtures/v2-tools/` remains as ambiguous fixture inventory because this PR only deleted deprecated-only tests, not fixture archives.
104+
105+
## Validation
106+
107+
- PASS direct removed-samples import/route scan in active tests.
108+
- PASS stale deleted-spec-name scan; only a historical roadmap line mentions `SamplesProgramCombinedPass`.
109+
- PASS changed JavaScript syntax checks.
110+
- PASS `npm run test:playwright:static`.
111+
- PASS `npm run test:workspace-v2`.
112+
- SKIPPED tests against `old-tools/`, `old_games`, and `old_samples` per request.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# PR_26154_031-033 Remaining Cleanup Report
2+
3+
## Remaining Candidates
4+
5+
These items were not moved or deleted because they are ambiguous, historical, or outside this stacked PR scope.
6+
7+
| Item | Status | Reason |
8+
| --- | --- | --- |
9+
| `toolbox/toolRegistry.js` | Ambiguous legacy registry | It still references `old-tools/` and `old_samples/`, but no active page/import path in this PR proved it is safe to delete. |
10+
| `toolbox/renderToolsIndex.js` | Ambiguous legacy renderer | It references `old_samples/` and may belong with the legacy registry cleanup, but was not touched without a clear active dependency answer. |
11+
| `toolbox/shared/preview/*.html` | Ambiguous preview tooling | Still references `old_samples/`; requires a dedicated preview-generator/tooling ownership PR. |
12+
| `toolbox/dev/*.baseline.json` | Ambiguous guard baselines | Baselines preserve `old_samples/` evidence and may still support active guard scripts. |
13+
| `tests/fixtures/v2-tools/` | Deprecated-looking fixture archive | Deprecated tests were removed, but fixture deletion was not required by this PR and may need a separate fixture inventory. |
14+
| `tests/validation/samples.*.json` | Historical validation data | Retained because active contract tests still inspect schema/report boundaries. |
15+
| `docs_build/dev/roadmaps/*` and archived docs | Historical references | Old path references are preserved history, not active runtime/page wiring. |
16+
| `old_games/index.html` and `old_samples/index.html` | Deprecated playable references | Excluded by request; still preserve old playable/reference access. |
17+
18+
## Confirmed Clean
19+
20+
- No active public/root or toolbox page references `assets/theme/v2`.
21+
- No active public/root or toolbox page references `assets/theme-v2/css/styles.css`.
22+
- No active public/root or toolbox page references `favicon.ico`.
23+
- No active public `tools/` routes remain.
24+
- Active toolbox template audit remains clean.
25+
- Active toolbox nav coverage remains complete.
26+
27+
## Deferred Work
28+
29+
- Decide whether `toolbox/toolRegistry.js`, `toolbox/renderToolsIndex.js`, and `toolbox/shared/preview/` should move to `old-tools/` or be replaced by a current active toolbox registry.
30+
- Inventory and retire `tests/fixtures/v2-tools/` if no future active test plan needs those payloads.
31+
- Separate historical docs cleanup from runtime cleanup so old path history is not mistaken for active wiring.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# PR_26154_033 Root Structure Final Polish
2+
3+
Baseline used: latest applied root/theme/toolbox migration state after `PR_26154_032-active-test-suite-reconciliation`.
4+
5+
## Scope
6+
7+
- Audited active references for stale root migration paths.
8+
- Confirmed footer/header paths are current.
9+
- Confirmed Marketplace is not listed in `toolbox/index.html`.
10+
- Confirmed active Toolbox navigation covers all active toolbox tools.
11+
- Fixed stale active path copy where the intended path was clear.
12+
13+
## Path Fixes
14+
15+
| File | Old Copy | New Copy |
16+
| --- | --- | --- |
17+
| `admin/grouping-colors.html` | `assets/css/tools/grouping/` | `assets/theme-v2/css/tools/grouping/` |
18+
| `docs_build/account/grouping-colors.html` | `assets/css/tools/grouping/` | `assets/theme-v2/css/tools/grouping/` |
19+
20+
## Active Stale Reference Audit
21+
22+
Tracked active files were checked excluding `old-tools/`, `old_games/`, `old_samples/`, `start_of_day/`, `docs_build/`, and `tmp/`.
23+
24+
| Path / Token | Active Runtime/Page References | Notes |
25+
| --- | ---: | --- |
26+
| `assets/theme/v2` | 0 | PASS |
27+
| `favicon.ico` | 0 | PASS |
28+
| `assets/theme-v2/css/styles.css` | 0 | PASS |
29+
| active public `tools/` route references | 0 | PASS |
30+
| `GameFoundryStudio/` | 2 | Both are negative assertions in active tests. |
31+
| `src/engine/theme` | 1 | Historical validation fixture JSON only. |
32+
33+
## Header / Footer / Toolbox
34+
35+
- PASS shared header still contains `marketplace/index.html` as a Product destination.
36+
- PASS shared footer still contains `marketplace/index.html` as a Product destination.
37+
- PASS `toolbox/index.html` and `toolbox/tools-page-accordions.js` have zero Marketplace entries.
38+
- PASS active toolbox header coverage: `20/20` active tool pages.
39+
- PASS `toolbox/tools-page-accordions.js` group order is alphabetical.
40+
- PASS each toolbox group in `toolbox/tools-page-accordions.js` is alphabetized by visible tool title.
41+
42+
Active toolbox groups:
43+
44+
- AI: AI Assistant
45+
- Assets: Cloud, Localization, Publish, Storage Inspector
46+
- Audio: MIDI, Sound
47+
- Colors: Palette Manager
48+
- Input: Input
49+
- Objects: Animation, Assets, Custom Extensions, Object Vector
50+
- Worlds: Game Builder, Game Design, Particles, World Vector
51+
52+
## Validation
53+
54+
- PASS targeted reference checks for `toolbox`, `assets/theme-v2`, tests, footer/header links, and stale paths.
55+
- PASS template consistency audit: public/root pages `43/43`, active toolbox pages `20/20`.
56+
- PASS active toolbox header coverage: `20/20`.
57+
- PASS `npm run test:playwright:static`.
58+
- PASS `npm run test:workspace-v2`.

0 commit comments

Comments
 (0)