You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Importing a schema-valid game manifest also hydrates per-tool session keys before tools enable.
19
+
20
+
## Existing Launch Coverage Confirmed
21
+
- Workspace Manager V2 launches from the tools index.
22
+
- Active Game starts empty/disabled with no Asteroids preselection.
23
+
- Workspace Manager V2 discovers schema-valid `game.manifest.json` files and skips invalid manifests with path/reason log entries.
24
+
- Asset Manager V2, Palette Manager V2, Tool Starter V2, and Preview Generator V2 still launch from Workspace Manager V2.
25
+
- Preview Generator V2 still receives display-only workspace launch context.
26
+
- Direct Asset Manager V2 production launch remains blocked.
27
+
28
+
## Skipped
29
+
Full samples smoke test was skipped as requested because this PR is limited to Workspace Manager V2 session hydration and the targeted workspace V2 suite exercises the affected tool launch paths.
Workspace Manager V2 now hydrates session storage only after explicit user progress through repo selection and valid game selection.
5
+
6
+
## Runtime Changes
7
+
- Initial Workspace Manager V2 load clears stale `workspace.repo.reference` and `workspace.tools.*` hydration unless the page is explicitly returning with `hostContextId`.
8
+
- Repo selection stores a serializable repo reference at `workspace.repo.reference` after repo discovery succeeds.
9
+
- Repo load failure clears/disables Active Game and leaves no repo/tool hydration.
10
+
- Valid game selection hydrates each enabled launchable tool with stable keys:
- Game selection changes clear prior per-tool hydration before building the next context.
15
+
16
+
## Hydrated Tools
17
+
-`templates-v2`
18
+
-`asset-manager-v2`
19
+
-`palette-manager-v2`
20
+
-`preview-generator-v2`
21
+
22
+
## Boundary Notes
23
+
- No cross-tool direct communication was added.
24
+
- No repo write behavior was changed.
25
+
- No sample JSON or roadmap content was modified.
26
+
- Runtime behavior still ignores `game.workspace`; only Workspace Manager V2 reads it to build editor/tool context.
27
+
- The repo value in session storage is a serializable reference, not a live `FileSystemDirectoryHandle`; live handle access remains user-selected in the active page.
28
+
29
+
## Validation
30
+
-`npm run test:workspace-v2`: PASS, 12 tests passed.
31
+
- Schema verification report: PASS.
32
+
- Initial load has no active game session hydration: PASS.
33
+
- Repo reference appears only after successful repo selection/discovery: PASS.
34
+
- Tool session keys appear only after valid game selection/open: PASS.
35
+
- Tools remain disabled until valid game selection and session hydration: PASS.
36
+
- Tools enable after session hydration succeeds: PASS.
37
+
- Default Asteroids selection did not return: PASS.
38
+
39
+
## Skipped
40
+
Full samples smoke test was skipped as requested. This PR is scoped to Workspace Manager V2 session hydration and schema/reference verification; the targeted Workspace Manager V2 suite covers the affected repo selection, Active Game gating, launch, Preview Generator V2, Palette Manager V2, Asset Manager V2, and UAT paths.
tiles.every((tile)=>Array.from(tile.querySelectorAll(".workspace-manager-v2__tool-tile-action"),(action)=>action.textContent.trim()).join("|")==="How To Use|Read Me")
0 commit comments