|
| 1 | +# Wave 1 Sample Validation Baseline |
| 2 | + |
| 3 | +PR: PR_26152_156-wave-1-sample-validation-baseline |
| 4 | +Date: 2026-06-02 |
| 5 | + |
| 6 | +## Scope |
| 7 | + |
| 8 | +- Defined validation baseline for rebuilt Wave 1 samples. |
| 9 | +- Defined valid payload expectations. |
| 10 | +- Defined invalid payload expectations. |
| 11 | +- Defined PASS/FAIL/WARN/SKIP rules. |
| 12 | + |
| 13 | +## Valid Payload Expectations |
| 14 | + |
| 15 | +| Target | Valid Expectation | |
| 16 | +| --- | --- | |
| 17 | +| Text to Speech V2 | Payload validates against `tools/schemas/tools/text2speech-V2.schema.json`; Tool State owns saved speech queue payload. | |
| 18 | +| Asset Pipeline | Payload validates against `tools/schemas/tools/asset-pipeline.schema.json`; manifest references assets/project context explicitly. | |
| 19 | +| Sprite Editor | Payload validates against `tools/schemas/tools/sprite-editor.schema.json` and includes required `spriteProject` structure. | |
| 20 | +| Palette | Palette payload validates against `tools/schemas/tools/palette-browser.schema.json` or approved future palette ownership surface. | |
| 21 | +| Tile Map Editor | Payload validates against `tools/schemas/tools/tile-map-editor.schema.json`; tilemap data belongs to Tool State. | |
| 22 | +| Parallax Editor | Payload validates against `tools/schemas/tools/parallax-editor.schema.json`; image/layer asset references are file/path based. | |
| 23 | +| SVG Asset Studio | Payload validates against `tools/schemas/tools/svg-asset-studio.schema.json`; vector/asset ownership is explicit. | |
| 24 | +| Workspace all-tools sample | Uses active authoritative manifest/tool/ProjectWorkspace surfaces; does not depend on missing workspace schema. | |
| 25 | + |
| 26 | +## Invalid Payload Expectations |
| 27 | + |
| 28 | +Future rebuilt Wave 1 validation should reject: |
| 29 | + |
| 30 | +- missing `manifestInput` |
| 31 | +- missing `toolStateInput` |
| 32 | +- ProjectWorkspace-owned saved payload data |
| 33 | +- hidden fallback/sample bootstrap payloads |
| 34 | +- `localStorage` or `sessionStorage` as source of truth |
| 35 | +- persisted `imageDataUrl` |
| 36 | +- schema references to missing `workspace.schema.json` or `workspace.manifest.schema.json` |
| 37 | +- legacy `tool` / `payload` wrapper retained as final source of truth without an approved wrapper decision |
| 38 | +- tool payload fields outside the selected authoritative schema |
| 39 | + |
| 40 | +## PASS/FAIL/WARN/SKIP Rules |
| 41 | + |
| 42 | +| Status | Rule | |
| 43 | +| --- | --- | |
| 44 | +| PASS | Rebuilt Wave 1 sample satisfies the exact static/schema/handoff validation requested by its execution PR. | |
| 45 | +| FAIL | Rebuilt Wave 1 sample in scope violates selected schema, manifest, Tool State, or ProjectWorkspace boundary rules. | |
| 46 | +| WARN | Rebuilt Wave 1 sample has a documented non-blocking follow-up that does not violate active validation. | |
| 47 | +| SKIP | Sample is unrebuilt, outside Wave 1, outside active execution scope, or dependency-gated by a future schema decision. | |
| 48 | + |
| 49 | +## Validation |
| 50 | + |
| 51 | +Static validation review: |
| 52 | + |
| 53 | +```powershell |
| 54 | +git diff --check |
| 55 | +``` |
| 56 | + |
| 57 | +Result: PASS. |
| 58 | + |
| 59 | +## Lanes Executed |
| 60 | + |
| 61 | +- docs/report validation baseline only. |
| 62 | + |
| 63 | +## Lanes Skipped |
| 64 | + |
| 65 | +- samples - no sample JSON changes and no sample launch validation. |
| 66 | +- runtime - no runtime behavior changed. |
| 67 | +- tool runtime validation - not run. |
| 68 | +- engine - no engine code changed. |
| 69 | +- Playwright - not impacted. |
| 70 | + |
| 71 | +## Samples Decision |
| 72 | + |
| 73 | +Unrebuilt samples remain SKIP. Wave 1 rebuilt samples become PASS/FAIL targets only when future execution PRs modify them. |
| 74 | + |
| 75 | +## Playwright |
| 76 | + |
| 77 | +Playwright impacted: No. |
| 78 | + |
| 79 | +## Blocker Scope |
| 80 | + |
| 81 | +No blocker for static validation baseline. |
0 commit comments