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
- Removed the `/__workspace-manager-v2/repo-root` test-server path so launch no longer depends on that endpoint.
6
+
- Workspace Manager V2 now passes the existing validated session/manifest context through to Preview Generator V2.
7
+
- Preview Generator V2 now hydrates workspace launch even when manifest `repoRoot` is only a display label.
8
+
9
+
## Repo Root Resolution Notes
10
+
- Display-only repo roots such as `HTML-JavaScript-Gaming` no longer block Preview Generator V2 from opening.
11
+
- Preview Generator V2 status distinguishes:
12
+
- workspace launch hydrated
13
+
- repoRoot display label available
14
+
- absolute repoRoot missing
15
+
- direct preview write unavailable until a real writable repo root is selected
16
+
- Generate Preview remains disabled when workspace launch has no absolute/writable repo root.
17
+
- No hidden fallback behavior was added.
18
+
19
+
## Launch Behavior Notes
20
+
- Workspace Manager V2 launch behavior is preserved for other tools.
21
+
- Preview Generator V2 still preserves manifest-relative paths such as `games/Asteroids/assets/images/preview.svg`.
22
+
- Direct write support remains available only when an absolute repoRoot is present and validated.
23
+
24
+
## Validation
25
+
-`npm run test:workspace-v2`
26
+
- Result: PASS, 10 tests passed.
27
+
- Validated Preview Generator V2 launches from Workspace Manager V2 with display-only repoRoot, shows actionable status, keeps Generate Preview disabled, and does not call `/__workspace-manager-v2/repo-root`.
28
+
29
+
## Out Of Scope
30
+
- Deprecated `tools/workspace-v2` was not modified.
31
+
- Sample JSON was not modified.
32
+
- Full samples smoke test was skipped because this PR is Preview Generator launch unblock scoped.
awaitexpect(page.locator("#log")).toContainText("FAIL Workspace launch context hydration: repoRoot must be an absolute filesystem path, received HTML-JavaScript-Gaming.");
0 commit comments