|
| 1 | +# Level 10.6G Tool Input Fetch Load Diagnostics Report |
| 2 | + |
| 3 | +## Files changed |
| 4 | + |
| 5 | +- `tools/shared/toolLoadDiagnostics.js` |
| 6 | +- `tools/3D Asset Viewer/main.js` |
| 7 | +- `tools/3D Camera Path Editor/main.js` |
| 8 | +- `tools/3D JSON Payload Normalizer/main.js` |
| 9 | +- `tools/Asset Browser/main.js` |
| 10 | +- `tools/Asset Pipeline Tool/main.js` |
| 11 | +- `tools/Palette Browser/main.js` |
| 12 | +- `tools/Parallax Scene Studio/main.js` |
| 13 | +- `tools/Performance Profiler/main.js` |
| 14 | +- `tools/Physics Sandbox/main.js` |
| 15 | +- `tools/Replay Visualizer/main.js` |
| 16 | +- `tools/Sprite Editor/modules/spriteEditorApp.js` |
| 17 | +- `tools/State Inspector/main.js` |
| 18 | +- `tools/Tilemap Studio/main.js` |
| 19 | +- `tools/Tile Model Converter/main.js` |
| 20 | +- `tools/Vector Asset Studio/main.js` |
| 21 | +- `tools/Vector Map Editor/editor/VectorMapEditorApp.js` |
| 22 | +- `docs/dev/reports/level_10_6G_tool_input_fetch_load_diagnostics_report.md` |
| 23 | + |
| 24 | +## Logging prefixes added |
| 25 | + |
| 26 | +- `[tool-load:request]` |
| 27 | +- `[tool-load:fetch]` |
| 28 | +- `[tool-load:loaded]` |
| 29 | +- `[tool-load:warning]` |
| 30 | + |
| 31 | +All active sample-loaded tool loader paths now emit structured diagnostics at request/fetch/load boundaries. |
| 32 | + |
| 33 | +## Test results |
| 34 | + |
| 35 | +1. `npm run test:launch-smoke:games` |
| 36 | + - Result: PASS |
| 37 | + - Summary: PASS=12, FAIL=0, TOTAL=12 |
| 38 | +2. `npm run test:sample-standalone:data-flow` |
| 39 | + - Result: PASS |
| 40 | + - Summary: `schemaFailures=[]`, `contractFailures=[]`, `roundtripPathFailures=[]`, `genericFailures=[]` |
| 41 | + |
| 42 | +## Sample 0219 observed diagnostics summary |
| 43 | + |
| 44 | +Sample launched: |
| 45 | + |
| 46 | +- Tool: `sprite-editor` |
| 47 | +- URL query carried `sampleId=0219` and `samplePresetPath=/samples/phase-02/0219/sample.0219.sprite-editor.json` |
| 48 | + |
| 49 | +Observed console diagnostic prefixes for launch: |
| 50 | + |
| 51 | +- `[tool-load:request]` observed |
| 52 | +- `[tool-load:fetch]` observed (attempt + response) |
| 53 | +- `[tool-load:loaded]` observed |
| 54 | + |
| 55 | +Observed loaded summary excerpt: |
| 56 | + |
| 57 | +- `loaded.type = "object"` |
| 58 | +- `loaded.shape = "Object(4 keys)"` |
| 59 | +- `loaded.sprite.present = true` |
| 60 | +- `loaded.sprite.source = "root.config.spriteProject"` |
| 61 | +- `loaded.sprite.frameCount = 4` |
| 62 | + |
| 63 | +Observed warning for this sample/tool path: |
| 64 | + |
| 65 | +- `[tool-load:warning] error="Preset payload did not include a sprite project."` |
| 66 | + |
| 67 | +Diagnostics are now explicit about request/fetch/load boundaries and the warning condition in this launch path. |
| 68 | + |
| 69 | +## Palette fetch/load visibility |
| 70 | + |
| 71 | +Palette visibility is explicit in diagnostics logs. |
| 72 | + |
| 73 | +Observed on `sample 0313` (`palette-browser`): |
| 74 | + |
| 75 | +- request log includes `samplePresetPath=/samples/phase-03/0313/sample.0313.palette.json` |
| 76 | +- fetch logs show attempt + HTTP response `status=200`, `ok=true` |
| 77 | +- loaded summary includes: |
| 78 | + - `loaded.palette.present = true` |
| 79 | + - `loaded.palette.source = "root"` |
| 80 | + - `loaded.palette.swatchCount = 5` |
| 81 | + |
| 82 | +This makes palette request/fetch/load state directly inspectable from console logs. |
| 83 | + |
| 84 | +## Remaining blocker for palette SSoT normalization |
| 85 | + |
| 86 | +No SSoT contract normalization was performed in this PR by design (diagnostics-only scope). |
| 87 | +Any remaining palette SSoT issues are outside this PR and require follow-up normalization/build scope changes rather than diagnostics changes. |
| 88 | + |
| 89 | +## Roadmap status marker updates |
| 90 | + |
| 91 | +No roadmap marker update was applied because no explicit `10.6G` status marker entry was found in `docs/dev/roadmaps/MASTER_ROADMAP_ENGINE.md`. |
0 commit comments