|
1 | | -BUILD_PR_LEVEL_18_2_BOUNDARY_HARDENING_ENFORCEMENT |
2 | | -Date: 2026-04-17 |
3 | | -Scope: Engine/shared/games/tools boundary hardening with smallest valid coupling removal. |
| 1 | +Docs-only PR bundle for classification of selected game entries as true games vs sample/demo candidates. |
4 | 2 |
|
5 | | -Summary |
6 | | -1) Added boundary guard implementation |
7 | | -- Added tools/dev/checkBoundaryHardeningGuard.mjs |
8 | | -- Scans src/engine, src/shared, games, tools for dependency-direction violations. |
9 | | -- Enforces: |
10 | | - - engine must not depend on games/tools/samples/docs |
11 | | - - shared must not depend on engine/games/tools/samples/docs |
12 | | - - games must not depend on tools/samples/docs |
13 | | - - tools must not depend on games/samples/docs |
14 | | - |
15 | | -2) Findings before fix (execution evidence) |
16 | | -- games/breakout/main.js imported ../../tools/dev/devConsoleIntegration.js |
17 | | -- games/Asteroids/index.js imported ../../tools/dev/devConsoleIntegration.js |
18 | | -- These were cross-layer leakage from games -> tools. |
19 | | - |
20 | | -3) Smallest valid hardening implementation applied |
21 | | -- Added src/shared/utils/createNoopDevConsoleIntegration.js as a boundary-safe default integration surface. |
22 | | -- Updated games/breakout/main.js to use createNoopDevConsoleIntegration default. |
23 | | -- Updated games/Asteroids/index.js to use createNoopDevConsoleIntegration default. |
24 | | -- Removed direct games -> tools imports for dev console integration. |
25 | | - |
26 | | -4) Roadmap status-only update (execution-backed) |
27 | | -- docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md |
28 | | -- Level 18 Track B updated in place: |
29 | | - - [.] -> [x] enforce engine vs shared vs game vs tool boundaries |
30 | | - - [.] -> [x] eliminate cross-layer leakage |
31 | | - - [.] -> [x] validate dependency direction rules across repo |
32 | | - - [ ] -> [x] remove accidental coupling |
33 | | - |
34 | | -Notes |
35 | | -- No broad refactor performed. |
36 | | -- No start_of_day edits. |
37 | | -- No engine-core behavior changes introduced beyond boundary-safe debug integration defaulting for two games. |
| 3 | +This PR asks Codex to: |
| 4 | +- inspect the listed entries |
| 5 | +- recommend phase move targets for sample/demo candidates |
| 6 | +- update the master roadmap in place under the existing roadmap guard |
0 commit comments