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
- Workspace Manager V2 now starts with an empty, disabled Active Game dropdown until a repo folder is selected.
5
+
- Repo Destination selection clears the active workspace immediately before loading the newly selected repo.
6
+
- Workspace Manager V2 recursively scans the selected repo `games/` tree for `game.manifest.json` files.
7
+
- Discovered manifests are validated through the existing Workspace Manager V2 manifest/schema validation path before being added to Active Game.
8
+
- Active Game is populated only with schema-valid discovered manifests and remains unselected after discovery.
9
+
- Invalid manifests are skipped with visible status log entries that include the manifest path and validation reason.
10
+
- Missing direct child game manifests under `games/` are logged as `SKIP`, not `FAIL`.
11
+
- Repo load failure leaves Active Game empty and disabled.
12
+
13
+
## Guardrails
14
+
- No `game.manifest.json` files were modified.
15
+
- No sample JSON was modified.
16
+
- No schema contracts were modified.
17
+
- No cross-tool communication was added.
18
+
- No repo write behavior was added or changed.
19
+
- No session/toolState persistence behavior was added for repo discovery; discovered repo/game state remains in-memory.
20
+
21
+
## Validation
22
+
-`npm run test:workspace-v2` -> PASS, 11 tests.
23
+
- Verified Active Game dropdown is empty and disabled before repo selection.
24
+
- Verified dropdown clears when repo selection changes.
25
+
- Verified dropdown remains disabled on repo load failure.
26
+
- Verified only schema-valid discovered `game.manifest.json` entries appear.
27
+
- Verified invalid manifests are skipped and logged with exact path/reason.
28
+
- Verified missing manifests are logged as `SKIP`, not `FAIL`.
29
+
- Verified no default game is auto-selected after discovery.
30
+
31
+
## Skipped
32
+
- Full samples smoke test was skipped by request. This PR is scoped to Workspace Manager V2 manifest discovery and dropdown state; `npm run test:workspace-v2` plus targeted Playwright coverage exercises the affected UI, discovery, validation, and launch handoff behavior.
- Added Playwright coverage for repo-backed Active Game discovery.
12
+
- The mocked repo picker returns three schema-valid Workspace Manager V2 `game.manifest.json` files, one invalid manifest, and one missing-manifest game folder.
13
+
- Assertions verify:
14
+
- Active Game is empty and disabled before repo selection.
15
+
- Repo selection populates only `Asteroids`, `Gravity Well`, and `Pong`.
16
+
- Active Game remains on the placeholder after discovery.
17
+
- Invalid manifest log includes `games/InvalidWorkspace/game.manifest.json` and the schema validation reason.
18
+
- Missing manifest log includes `games/MissingManifest/game.manifest.json` and is logged as `SKIP`.
19
+
- Switching to a repo missing `games/` clears and disables Active Game.
20
+
- Re-selecting a valid repo repopulates the dropdown without auto-selecting a game.
21
+
- Existing Workspace Manager V2 launch flows still work after discovery.
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