File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Samples2Tools batch 49 summary
2+ Generated: 2026-04-24T22:51:33.575Z
3+ Purpose: remove duplicated workspace game boot wiring across launchable game pages.
4+
5+ Completed this batch:
6+ - Added shared workspaceGameBoot module to compose launch guard and runtime hydrator
7+ - Replaced per-page duplicate guard/hydrator imports with single boot import on all launchable games
8+ - Confirmed no launchable game page still imports guard/hydrator directly
9+
10+ Primary validation artifact:
11+ - docs/dev/reports/samples2tools_batch_49_validation.txt (PASS)
Original file line number Diff line number Diff line change 1+ Samples2Tools batch 49 validation
2+ Generated: 2026-04-24T22:51:33.575Z
3+ Scope: reduce game-page boot duplication by consolidating guard+hydrator into shared workspace boot module.
4+
5+ - [PASS] All launchable game pages use unified workspace boot module only :: launchable=11, issues=0
6+ - [PASS] workspaceGameBoot composes guard then hydrator :: games/shared/workspaceGameBoot.js
7+
8+ Checks: 2
9+ Failures: 0
10+ Result: PASS
Original file line number Diff line number Diff line change 1212 < link rel ="stylesheet " href ="/src/engine/ui/baseLayout.css " />
1313 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1414 < script type ="module ">
15- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
16- enforceWorkspaceGameLaunch ( "AITargetDummy" ) ;
17- </ script >
18- < script type ="module ">
19- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
20- hydrateWorkspaceGameRuntime ( "AITargetDummy" ) ;
15+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
16+ bootWorkspaceGame ( "AITargetDummy" ) ;
2117 </ script >
2218
2319</ head >
Original file line number Diff line number Diff line change 1313 < link rel ="stylesheet " href ="/games/shared/styles/vectorBattleFont.css " />
1414 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1515 < script type ="module ">
16- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
17- enforceWorkspaceGameLaunch ( "Asteroids" ) ;
18- </ script >
19- < script type ="module ">
20- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
21- hydrateWorkspaceGameRuntime ( "Asteroids" ) ;
16+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
17+ bootWorkspaceGame ( "Asteroids" ) ;
2218 </ script >
2319
2420</ head >
Original file line number Diff line number Diff line change 1212 < link rel ="stylesheet " href ="/src/engine/ui/baseLayout.css " />
1313 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1414 < script type ="module ">
15- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
16- enforceWorkspaceGameLaunch ( "GravityWell" ) ;
17- </ script >
18- < script type ="module ">
19- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
20- hydrateWorkspaceGameRuntime ( "GravityWell" ) ;
15+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
16+ bootWorkspaceGame ( "GravityWell" ) ;
2117 </ script >
2218
2319</ head >
Original file line number Diff line number Diff line change 1212 < link rel ="stylesheet " href ="/src/engine/ui/baseLayout.css " />
1313 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1414 < script type ="module ">
15- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
16- enforceWorkspaceGameLaunch ( "Pacman" ) ;
17- </ script >
18- < script type ="module ">
19- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
20- hydrateWorkspaceGameRuntime ( "Pacman" ) ;
15+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
16+ bootWorkspaceGame ( "Pacman" ) ;
2117 </ script >
2218
2319</ head >
Original file line number Diff line number Diff line change 1212 < link rel ="stylesheet " href ="/src/engine/ui/baseLayout.css " />
1313 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1414 < script type ="module ">
15- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
16- enforceWorkspaceGameLaunch ( "SolarSystem" ) ;
17- </ script >
18- < script type ="module ">
19- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
20- hydrateWorkspaceGameRuntime ( "SolarSystem" ) ;
15+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
16+ bootWorkspaceGame ( "SolarSystem" ) ;
2117 </ script >
2218
2319</ head >
Original file line number Diff line number Diff line change 1212 < link rel ="stylesheet " href ="/src/engine/ui/baseLayout.css " />
1313 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1414 < script type ="module ">
15- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
16- enforceWorkspaceGameLaunch ( "SpaceDuel" ) ;
17- </ script >
18- < script type ="module ">
19- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
20- hydrateWorkspaceGameRuntime ( "SpaceDuel" ) ;
15+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
16+ bootWorkspaceGame ( "SpaceDuel" ) ;
2117 </ script >
2218
2319</ head >
Original file line number Diff line number Diff line change 1212 < link rel ="stylesheet " href ="/src/engine/ui/baseLayout.css " />
1313 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1414 < script type ="module ">
15- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
16- enforceWorkspaceGameLaunch ( "SpaceInvaders" ) ;
17- </ script >
18- < script type ="module ">
19- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
20- hydrateWorkspaceGameRuntime ( "SpaceInvaders" ) ;
15+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
16+ bootWorkspaceGame ( "SpaceInvaders" ) ;
2117 </ script >
2218
2319</ head >
Original file line number Diff line number Diff line change 1212 < link rel ="stylesheet " href ="/src/engine/ui/baseLayout.css " />
1313 < link rel ="stylesheet " href ="../../src/engine/theme/main.css " />
1414 < script type ="module ">
15- import { enforceWorkspaceGameLaunch } from "/games/shared/workspaceGameLaunchGuard.js" ;
16- enforceWorkspaceGameLaunch ( "Bouncing-ball" ) ;
17- </ script >
18- < script type ="module ">
19- import { hydrateWorkspaceGameRuntime } from "/games/shared/workspaceGameRuntimeHydrator.js" ;
20- hydrateWorkspaceGameRuntime ( "Bouncing-ball" ) ;
15+ import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js" ;
16+ bootWorkspaceGame ( "Bouncing-ball" ) ;
2117 </ script >
2218
2319</ head >
You can’t perform that action at this time.
0 commit comments