Update prompts-lite.txt with changes to asset storage and audio handling

This commit is contained in:
2026-03-31 17:47:57 +02:00
parent 9d48ad7fd3
commit 0600f9e1c3

View File

@@ -299,12 +299,13 @@ Implement Slice 3.1.
Requirements: Requirements:
- asset registry - asset registry
- GLB/GLTF import workflow - GLB/GLTF import workflow
- persistent project storage so imported assets survive reload - generic project asset storage so imported binary assets survive reload
- metadata extraction - metadata extraction
- place/select/transform model instances - place/select/transform model instances
- save/load support for asset refs and model instances - save/load support for asset refs and model instances
- editor and runner rendering - editor and runner rendering
Do not create a GLB-only storage path that later image/audio assets would need to replace.
Never rely on Blob URLs as the only persisted asset reference. Never rely on Blob URLs as the only persisted asset reference.
``` ```
@@ -373,13 +374,15 @@ Implement Slice 3.4.
Requirements: Requirements:
- audio asset references for SoundEmitter - audio asset references for SoundEmitter
- persistent audio asset storage if needed - reuse the existing generic asset registry/storage path
- positional audio in the runner - positional audio in the runner
- loop / one-shot / volume / ref distance / max distance - loop / one-shot / volume / ref distance / max distance
- audio unlock handling - audio unlock handling
- play/stop sound actions through the existing interaction system - play/stop sound actions through the existing interaction system
- inspector controls - inspector controls
- save/load support - save/load support
Do not invent an audio-only binary storage path if the generic asset system can support audio assets.
``` ```
--- ---
@@ -527,33 +530,35 @@ Prefer simple semantics over live-linked complexity.
--- ---
## Slice Body 18 — GLB export improvements ## Slice Body 18 — Project package import/export
```text ```text
Relevant docs to inspect after the common preamble: Relevant docs to inspect after the common preamble:
- architecture.md: export build vs canonical save format - architecture.md: serialization, project package vs runner package
- roadmap.md: part of Slice 5.3 - roadmap.md: part of Slice 5.3
- testing.md: export fixtures guidance - testing.md: package portability guidance
Improve GLB/GLTF export from authored scenes. Implement portable project package import/export.
Requirements: Requirements:
- build export data downstream from the document/runtime build - export canonical `scene.json` plus bundled assets
- preserve scene/material/asset/animation structure sensibly - import that project package back into the editor
- add minimal export diagnostics if needed - reuse the existing asset registry/storage path
- keep the package shape explicit and simple
- add diagnostics for missing/incompatible packaged assets if needed
Do not conflate export with canonical save/load. This is the real save/load portability path once assets exist.
Do not build packaged runner output in this slice. Do not build runner deployment output in this slice.
``` ```
--- ---
## Slice Body 19 — Scene packaging and embeddable runner ## Slice Body 19 — Runner package and embeddable runner
```text ```text
Relevant docs to inspect after the common preamble: Relevant docs to inspect after the common preamble:
- architecture.md: runner-web, packaging boundaries - architecture.md: runner-web, packaging boundaries
- roadmap.md: part of Slice 5.3 - roadmap.md: part of Slice 5.4
- testing.md: packaging/export verification guidance - testing.md: packaging/export verification guidance
Implement the packaging/deployment slice. Implement the packaging/deployment slice.
@@ -562,7 +567,8 @@ Requirements:
- packaged runner output path - packaged runner output path
- standalone or embeddable runner route if appropriate - standalone or embeddable runner route if appropriate
- package required runtime data/assets - package required runtime data/assets
- keep canonical JSON separate from packaged output - reuse the existing asset registry/storage path
- keep canonical JSON / project package separate from packaged output
``` ```
--- ---