|
1 | | -# PR_26175_ALFA_008-game-hub-feature-matrix |
| 1 | +# PR_26175_ALFA_010-game-journey-progress-context-audit |
2 | 2 |
|
3 | 3 | ## Purpose |
4 | | -Audit the current Game Hub workflow and publish a feature matrix that maps implemented creator-facing behavior to code and Playwright evidence. |
| 4 | +Audit Game Journey progress context behavior on current `main` and publish evidence for how progress context is loaded, displayed, updated, and surfaced to related toolbox areas. |
5 | 5 |
|
6 | 6 | ## Source Of Truth |
7 | | -This `BUILD_PR.md` is the source of truth for `PR_26175_ALFA_008-game-hub-feature-matrix`. |
| 7 | +This `BUILD_PR.md` is the source of truth for `PR_26175_ALFA_010-game-journey-progress-context-audit`. |
8 | 8 |
|
9 | 9 | ## Exact Scope |
10 | | -- Produce a Game Hub feature matrix only. |
11 | | -- Audit Game Hub table workflow, selected/open game behavior, create/edit/delete actions, child tables, guest save gating, empty/error states, Theme V2 layout, and targeted Game Hub coverage. |
| 10 | +- Produce a Game Journey progress context audit only. |
| 11 | +- Audit how Game Journey reads progress context from the existing API/service/repository path. |
| 12 | +- Audit how Game Journey renders progress summary, completion metrics, context rows, and update controls. |
| 13 | +- Audit how toolbox/Game Hub surfaces Game Journey progress context where already implemented. |
12 | 14 | - Use current `main` behavior as evidence. |
13 | | -- Preserve Game Hub UI/product behavior. |
| 15 | +- Preserve Game Journey UI/product behavior. |
14 | 16 | - Preserve API/service/repository contracts. |
15 | | -- Preserve previous ALFA Game Hub cleanup and create-validation behavior. |
16 | 17 | - Do not implement product/UI changes unless validation exposes a requirement-critical defect. |
17 | 18 |
|
18 | 19 | ## Exact Targets |
19 | 20 | - `docs_build/dev/BUILD_PR.md` |
20 | | -- `docs_build/dev/reports/PR_26175_ALFA_008-game-hub-feature-matrix_report.md` |
21 | | -- `docs_build/dev/reports/PR_26175_ALFA_008-game-hub-feature-matrix_validation-lane.md` |
22 | | -- `docs_build/dev/reports/PR_26175_ALFA_008-game-hub-feature-matrix_requirements-checklist.md` |
| 21 | +- `docs_build/dev/reports/PR_26175_ALFA_010-game-journey-progress-context-audit_report.md` |
| 22 | +- `docs_build/dev/reports/PR_26175_ALFA_010-game-journey-progress-context-audit_validation-lane.md` |
| 23 | +- `docs_build/dev/reports/PR_26175_ALFA_010-game-journey-progress-context-audit_requirements-checklist.md` |
23 | 24 | - `docs_build/dev/reports/codex_review.diff` |
24 | 25 | - `docs_build/dev/reports/codex_changed_files.txt` |
25 | 26 |
|
26 | 27 | ## Evidence Sources |
27 | | -- `toolbox/game-hub/index.html` |
28 | | -- `toolbox/project-workspace/index.html` |
29 | | -- `toolbox/game-hub/game-hub.js` |
30 | | -- `toolbox/game-hub/game-hub-api-client.js` |
31 | | -- `src/dev-runtime/persistence/tool-repositories/game-workspace-mock-repository.js` |
| 28 | +- `toolbox/game-journey/index.html` |
| 29 | +- `assets/toolbox/game-journey/js/index.js` |
| 30 | +- `assets/js/shared/game-journey-api-client.js` |
| 31 | +- `src/api/game-journey-completion-api-client.js` |
| 32 | +- `src/dev-runtime/server/local-api-router.mjs` |
| 33 | +- `src/dev-runtime/persistence/game-journey-completion-metrics-store.mjs` |
| 34 | +- `src/dev-runtime/persistence/tool-repositories/game-journey-mock-repository.js` |
| 35 | +- `toolbox/tools-page-accordions.js` |
| 36 | +- `tests/playwright/tools/GameJourneyTool.spec.mjs` |
32 | 37 | - `tests/playwright/tools/GameHubMockRepository.spec.mjs` |
| 38 | +- `tests/playwright/tools/IdeaBoardTableNotes.spec.mjs` |
33 | 39 |
|
34 | 40 | ## Out Of Scope |
35 | | -- No Game Hub product or UI changes. |
36 | | -- No Game Journey changes. |
| 41 | +- No Game Journey product/UI changes. |
| 42 | +- No Game Hub product/UI changes. |
37 | 43 | - No shared toolbox status bar changes. |
38 | | -- No browser-owned product data as source of truth. |
39 | 44 | - No API/service/repository contract changes. |
| 45 | +- No browser-owned product data as source of truth. |
| 46 | +- No silent fallbacks. |
40 | 47 | - No inline styles, style blocks, or page-local CSS. |
41 | 48 | - No engine core changes. |
42 | 49 | - No `start_of_day` folder changes. |
43 | | -- No ALFA_007 work. |
44 | 50 |
|
45 | 51 | ## Validation |
46 | | -Run targeted Game Hub validation: |
| 52 | +Run targeted Game Journey progress context validation: |
47 | 53 |
|
48 | 54 | ```powershell |
49 | | -npx playwright test tests/playwright/tools/GameHubMockRepository.spec.mjs --workers=1 |
| 55 | +npx playwright test tests/playwright/tools/GameJourneyTool.spec.mjs --workers=1 |
50 | 56 | ``` |
51 | 57 |
|
52 | 58 | Also verify changed docs/reports do not introduce inline styles or style blocks: |
53 | 59 |
|
54 | 60 | ```powershell |
55 | | -rg -n "<[s]tyle|[s]tyle=" docs_build/dev/BUILD_PR.md docs_build/dev/reports/PR_26175_ALFA_008-game-hub-feature-matrix_report.md docs_build/dev/reports/PR_26175_ALFA_008-game-hub-feature-matrix_validation-lane.md docs_build/dev/reports/PR_26175_ALFA_008-game-hub-feature-matrix_requirements-checklist.md |
| 61 | +rg -n "<[s]tyle|[s]tyle=" docs_build/dev/BUILD_PR.md docs_build/dev/reports/PR_26175_ALFA_010-game-journey-progress-context-audit_report.md docs_build/dev/reports/PR_26175_ALFA_010-game-journey-progress-context-audit_validation-lane.md docs_build/dev/reports/PR_26175_ALFA_010-game-journey-progress-context-audit_requirements-checklist.md |
56 | 62 | ``` |
57 | 63 |
|
58 | 64 | ## Artifact |
59 | 65 | Create repo-structured delta ZIP: |
60 | 66 |
|
61 | 67 | ```text |
62 | | -tmp/PR_26175_ALFA_008-game-hub-feature-matrix_delta.zip |
| 68 | +tmp/PR_26175_ALFA_010-game-journey-progress-context-audit_delta.zip |
63 | 69 | ``` |
0 commit comments