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
- Updated Text to Speech V2 so it no longer fabricates built-in named speech items on empty launch.
6
+
- Added explicit load paths for URL JSON, workspace/session payload, and Import JSON only.
7
+
- Updated Workspace Manager V2 default/current manifest data so `root.tools.text2speach-V2` is a root array of named speech items.
8
+
- Added a phase 19 Text to Speech V2 sample JSON source using the root-array schema contract.
9
+
- Kept Text to Speech V2 schema shape unchanged from the prior root-array contract and avoided root queue wrappers or duplicated root fields.
10
+
11
+
## Implementation Notes
12
+
13
+
-`tools/text2speach-V2/js/TextToSpeechToolApp.js` now shows a safe empty/actionable state when no JSON source is provided instead of creating default speech items.
14
+
- URL-provided sample JSON is loaded through `samplePresetPath`, validated before render, and logged as the active preset source.
15
+
- Workspace/session payload loading remains schema-validated and rejects invalid payloads before partial render.
16
+
-`tools/workspace-manager-v2/js/services/WorkspaceManagerV2ContextService.js` only provides Text to Speech V2 session data when a real array payload exists.
17
+
-`games/Asteroids/game.manifest.json`, `games/GravityWell/game.manifest.json`, and `games/pong/game.manifest.json` now store `tools.text2speach-V2` as a root array.
18
+
-`samples/phase-19/1903/sample.1903.text2speach-V2.json` contains the prepopulated named speech items as the selected sample source.
19
+
-`tests/runtime/SampleStandaloneToolDataFlow.test.mjs` now recognizes the Text to Speech V2 sample as a tool-specific root-array contract instead of requiring the older wrapper JSON contract.
- Note: Git printed line-ending normalization warnings for existing CRLF/LF handling, but no whitespace errors were reported.
28
+
29
+
## Skipped
30
+
31
+
- Full samples smoke test was not run. The BUILD request explicitly said not to run the full samples smoke test; this PR is scoped to Workspace Manager V2/Text to Speech V2 manifest loading, one sample JSON source, and focused Playwright coverage.
32
+
33
+
## Scope Guard
34
+
35
+
- No `start_of_day` files changed.
36
+
- No unrelated tool schemas were changed.
37
+
- No root queue wrapper or duplicated Text to Speech V2 root fields were reintroduced.
- The payload is a Text to Speech V2 root array of named speech items and validates against `tools/schemas/tools/text2speach-V2.schema.json`.
11
+
- The sample launches `/tools/text2speach-V2/index.html` with `samplePresetPath` pointing at the sample JSON.
12
+
13
+
## Discovery Contract
14
+
15
+
- This sample is valid because the physical folder `samples/phase-19/1903` exists and contains `index.html`.
16
+
- Preview Generator V2 discovers samples by enumerating directories under `samples/phase-19` and keeping only four-digit child folders that contain `index.html`.
17
+
- Use `FAIL` only after an existing discovered sample cannot be launched, rendered, captured, or written.
18
+
19
+
## Assets
20
+
21
+
- Preview and image assets belong under `samples/phase-19/1903/assets/images`.
0 commit comments