|
| 1 | +# Sample Rebuild Inventory |
| 2 | + |
| 3 | +PR: PR_26152_144-sample-rebuild-inventory |
| 4 | +Date: 2026-06-02 |
| 5 | + |
| 6 | +## Scope |
| 7 | + |
| 8 | +- Inventoried existing samples. |
| 9 | +- Identified sample JSON/schema mismatch categories. |
| 10 | +- Marked samples as pending rebuild. |
| 11 | +- Did not modify sample JSON. |
| 12 | +- Did not run sample launch validation. |
| 13 | + |
| 14 | +## Inventory Sources |
| 15 | + |
| 16 | +- `samples/` |
| 17 | +- `tools/schemas/game.manifest.schema.json` |
| 18 | +- `tools/schemas/tools/*.schema.json` |
| 19 | +- `docs/dev/reports/projectworkspace_migration_closeout.md` |
| 20 | + |
| 21 | +## Sample Inventory |
| 22 | + |
| 23 | +| Area | Count | Status | Notes | |
| 24 | +| --- | ---: | --- | --- | |
| 25 | +| Sample files under `samples/` | 1579 | INFO | Static file inventory only. | |
| 26 | +| Sample directories | 256 | INFO | Directories matching `samples/phase-*/####`. | |
| 27 | +| JSON files under `samples/` | 63 | INFO | Static JSON inventory only; no launch validation. | |
| 28 | +| Phase groups | 19 | INFO | `phase-01` through `phase-19`. | |
| 29 | +| Sample launch validation | 0 | SKIP | Explicitly out of scope for this planning lane. | |
| 30 | +| Sample JSON edits | 0 | SKIP | No sample JSON was modified. | |
| 31 | + |
| 32 | +## Static JSON Categories |
| 33 | + |
| 34 | +| Category | Count | Status | Rebuild Need | |
| 35 | +| --- | ---: | --- | --- | |
| 36 | +| Legacy tool wrapper JSON | 33 | PENDING | Files shaped as `tool` / `version` / `payload` must be rebuilt into approved manifest, Tool State, and ProjectWorkspace handoff boundaries. | |
| 37 | +| Standalone palette JSON | 20 | PENDING | Palette data must align with approved palette ownership and explicit project/tool context. | |
| 38 | +| Legacy tilemap documents | 6 | PENDING | `toolbox.tilemap/1` documents must be mapped into current Tile Map Editor payload boundaries. | |
| 39 | +| Workspace manifest sample | 1 | PENDING | `sample.1902.workspace-all-tools.json` references a workspace manifest schema surface that is not currently present under `tools/schemas/`. | |
| 40 | +| Payload root array | 1 | PENDING | Text to Speech V2 payload is schema-shaped but still needs explicit manifest/ProjectWorkspace handoff planning. | |
| 41 | +| Metadata/link JSON | 2 | SKIP | Metadata/index support files are not sample payload rebuild targets in this lane. | |
| 42 | + |
| 43 | +## Tool Payload Categories |
| 44 | + |
| 45 | +| Tool / Category | Count | Status | Notes | |
| 46 | +| --- | ---: | --- | --- | |
| 47 | +| `palette-manager-v2` standalone palette payloads | 20 | PENDING | Needs project ownership and handoff alignment. | |
| 48 | +| `tile-map-editor` payloads and documents | 13 | PENDING | Includes legacy wrapper and tilemap document forms. | |
| 49 | +| `sprite-editor` payloads | 9 | PENDING | Needs current `spriteProject` payload alignment. | |
| 50 | +| `parallax-editor` payloads | 4 | PENDING | Needs current parallax payload alignment. | |
| 51 | +| `svg-asset-studio` legacy payloads | 4 | PENDING | Needs current asset/vector ownership mapping decision. | |
| 52 | +| `tile-model-converter` legacy payloads | 3 | PENDING | Needs current tool mapping or retirement decision. | |
| 53 | +| `vector-map-editor` legacy payloads | 3 | PENDING | Needs current vector/tool mapping decision. | |
| 54 | +| `asset-browser` legacy payloads | 2 | PENDING | Needs current asset manager/browser ownership mapping decision. | |
| 55 | +| `asset-pipeline` payloads | 1 | PENDING | Needs current asset pipeline payload alignment. | |
| 56 | +| `text2speech-V2` payloads | 1 | PENDING | Payload schema exists; handoff boundary remains to be rebuilt. | |
| 57 | +| `workspace-manager-v2` project/workspace sample | 1 | PENDING | Needs sample rebuild target decision against current ProjectWorkspace terminology. | |
| 58 | + |
| 59 | +## Mismatch Categories |
| 60 | + |
| 61 | +- Legacy standalone payloads are not yet represented as rebuilt sample manifests with explicit ProjectWorkspace handoff inputs. |
| 62 | +- Some samples use retired or renamed tool IDs such as `svg-asset-studio`, `vector-map-editor`, `tile-model-converter`, and `asset-browser`. |
| 63 | +- Palette samples are standalone data documents rather than project-owned sample handoff records. |
| 64 | +- Tilemap samples mix wrapper JSON and `toolbox.tilemap/1` documents. |
| 65 | +- `sample.1902.workspace-all-tools.json` references `tools/schemas/workspace.manifest.schema.json`, but no matching workspace schema file is present in the current schema directory. |
| 66 | +- Rebuilt samples must avoid hidden `localStorage`, `sessionStorage`, fallback, or runtime state assumptions. |
| 67 | +- Rebuilt image references must use file/path fields such as image names or paths, never persisted `imageDataUrl`. |
| 68 | + |
| 69 | +## Validation |
| 70 | + |
| 71 | +Command: |
| 72 | + |
| 73 | +```powershell |
| 74 | +git diff --check |
| 75 | +``` |
| 76 | + |
| 77 | +Result: PASS. |
| 78 | + |
| 79 | +## Lanes Executed |
| 80 | + |
| 81 | +- docs/report inventory only. |
| 82 | + |
| 83 | +## Lanes Skipped |
| 84 | + |
| 85 | +- samples - SKIP / pending rebuild; sample launch validation was not run. |
| 86 | +- runtime - no runtime behavior changed. |
| 87 | +- integration - no feature integration changed. |
| 88 | +- engine - no engine code changed. |
| 89 | +- Playwright - not impacted. |
| 90 | + |
| 91 | +## Samples Decision |
| 92 | + |
| 93 | +SKIP / pending rebuild. No sample JSON was modified. |
| 94 | + |
| 95 | +## Playwright |
| 96 | + |
| 97 | +Playwright impacted: No. |
| 98 | + |
| 99 | +## Blocker Scope |
| 100 | + |
| 101 | +No blockers for docs-only sample rebuild inventory. Rebuild execution remains future work. |
0 commit comments