|
1 | | -# PR_26175_ALFA_002-toolbox-status-bar-context-polish |
| 1 | +# PR_26175_ALFA_007-game-hub-project-readonly-proof |
2 | 2 |
|
3 | 3 | ## Purpose |
4 | | -Polish the shared toolbox status bar context display so it shows only selected-game name/purpose on the left and categorized tool context in the center. |
| 4 | +Prove that Game Hub keeps existing project/game identity read-only while allowing normal create and metadata-edit workflows. |
5 | 5 |
|
6 | 6 | ## Source Of Truth |
7 | | -This `BUILD_PR.md` is the source of truth for `PR_26175_ALFA_002-toolbox-status-bar-context-polish`. |
| 7 | +This `BUILD_PR.md` is the source of truth for `PR_26175_ALFA_007-game-hub-project-readonly-proof`. |
8 | 8 |
|
9 | 9 | ## Exact Scope |
10 | | -- Do not include environment text in the status bar because environment already appears in the platform banner. |
11 | | -- On the left side, display the selected Game Hub game name and selected Game Hub game purpose. |
12 | | -- On the center side, display tool context messages for tool actions, save state, validation messages, warnings, or errors. |
13 | | -- Preserve normal placement above the footer. |
14 | | -- Preserve fullscreen/tool display mode bottom anchoring. |
15 | | -- Preserve Idea Board selected-game filtering exclusion. |
16 | | -- Preserve Game Hub as selected-game owner through the existing repository contract. |
17 | | -- Keep the shared Theme V2 toolbox component model. |
18 | | -- Update targeted Playwright coverage for the polished left and center context. |
| 10 | +- Add targeted Playwright proof that existing Game Hub project identity is read-only in edit mode. |
| 11 | +- Prove legacy Project Workspace project-information and project-record table controls are absent from Game Hub. |
| 12 | +- Prove source-idea child rows are read-only context, not editable project controls. |
| 13 | +- Prove add/create remains the only place where a new game name can be entered. |
| 14 | +- Preserve existing valid create/open/edit/delete behavior. |
| 15 | +- Do not change product UI or repository/API/service behavior unless targeted validation proves it is required. |
19 | 16 |
|
20 | 17 | ## Exact Targets |
21 | 18 | - `docs_build/dev/BUILD_PR.md` |
22 | | -- `assets/theme-v2/js/toolbox-status-bar.js` |
23 | | -- `assets/theme-v2/css/status.css` |
24 | | -- `tests/playwright/tools/ToolboxSelectedGameStatusBar.spec.mjs` |
25 | | -- `docs_build/dev/reports/PR_26175_ALFA_002-toolbox-status-bar-context-polish_report.md` |
26 | | -- `docs_build/dev/reports/PR_26175_ALFA_002-toolbox-status-bar-context-polish_validation-lane.md` |
27 | | -- `docs_build/dev/reports/PR_26175_ALFA_002-toolbox-status-bar-context-polish_requirements-checklist.md` |
| 19 | +- `tests/playwright/tools/GameHubMockRepository.spec.mjs` |
| 20 | +- `docs_build/dev/reports/PR_26175_ALFA_007-game-hub-project-readonly-proof_report.md` |
| 21 | +- `docs_build/dev/reports/PR_26175_ALFA_007-game-hub-project-readonly-proof_validation-lane.md` |
| 22 | +- `docs_build/dev/reports/PR_26175_ALFA_007-game-hub-project-readonly-proof_requirements-checklist.md` |
28 | 23 | - `docs_build/dev/reports/codex_review.diff` |
29 | 24 | - `docs_build/dev/reports/codex_changed_files.txt` |
30 | 25 |
|
31 | 26 | ## Out Of Scope |
32 | | -- No environment status in the toolbox status bar. |
33 | | -- No row highlights. |
34 | | -- No large banners. |
35 | | -- No modal-style status messages. |
| 27 | +- No product/UI implementation changes unless targeted validation fails because of a real read-only gap. |
| 28 | +- No repository/API/service contract changes. |
| 29 | +- No Game Journey completion-metrics changes. |
| 30 | +- No shared toolbox status bar changes. |
| 31 | +- No browser-owned product data as source of truth. |
| 32 | +- No silent fallbacks. |
36 | 33 | - No inline styles, style blocks, or page-local CSS. |
37 | | -- No API/service contract changes. |
38 | 34 | - No engine core changes. |
39 | 35 | - No `start_of_day` folder changes. |
40 | 36 |
|
41 | 37 | ## Validation |
42 | | -Run: |
| 38 | +Run targeted read-only proof validation: |
43 | 39 |
|
44 | 40 | ```powershell |
45 | | -npx playwright test tests/playwright/tools/ToolboxSelectedGameStatusBar.spec.mjs --workers=1 |
| 41 | +npx playwright test tests/playwright/tools/GameHubMockRepository.spec.mjs --workers=1 --grep "Game Hub proves project identity is read-only outside create" |
46 | 42 | ``` |
47 | 43 |
|
48 | | -Also verify the changed source does not introduce inline styles or style blocks: |
| 44 | +Also verify changed source does not introduce inline styles or style blocks: |
49 | 45 |
|
50 | 46 | ```powershell |
51 | | -rg -n "<style|style=" assets/theme-v2/js/toolbox-status-bar.js assets/theme-v2/css/status.css tests/playwright/tools/ToolboxSelectedGameStatusBar.spec.mjs |
| 47 | +rg -n "<[s]tyle|[s]tyle=" tests/playwright/tools/GameHubMockRepository.spec.mjs docs_build/dev/BUILD_PR.md docs_build/dev/reports/PR_26175_ALFA_007-game-hub-project-readonly-proof_report.md docs_build/dev/reports/PR_26175_ALFA_007-game-hub-project-readonly-proof_validation-lane.md docs_build/dev/reports/PR_26175_ALFA_007-game-hub-project-readonly-proof_requirements-checklist.md |
52 | 48 | ``` |
53 | 49 |
|
54 | 50 | ## Artifact |
55 | 51 | Create repo-structured delta ZIP: |
56 | 52 |
|
57 | 53 | ```text |
58 | | -tmp/PR_26175_ALFA_002-toolbox-status-bar-context-polish_delta.zip |
| 54 | +tmp/PR_26175_ALFA_007-game-hub-project-readonly-proof_delta.zip |
59 | 55 | ``` |
0 commit comments