fix(scene): persist editor and battery profiles in Core

This commit is contained in:
DCCONSTRUCTIONS
2026-11-10 01:08:00 +03:00
parent 7595bea07c
commit cd34b6ce1a
18 changed files with 581 additions and 91 deletions
+16
View File
@@ -335,3 +335,19 @@ decoders before BLE/Wi-Fi/data-session evidence exists.
unchanged searches or model variants under a new name.
- Worker access/power/runtime authority comes from the owner's current session
instructions, never from the card or an old experiment's training allowance.
## Scene profile persistence — owner requirement, 2026-11-09
- Rover/battery materials, imported textures, scene/environment profiles, camera
pose, editor-window layout and battery UI/view settings are durable Core JSON
configuration. Use `data_dir/scene-profiles/.../meta.json`; never make browser
IndexedDB/localStorage their sole authority. Do not classify these files or
their recovery copies as cache or task scratch.
- Legacy browser records may be read once only when the Core document is absent.
A failed read must not save defaults over user settings. Preserve source data
during migration/recovery; use atomic replacement, previous-version backup and
revision checks so a stale tab cannot silently replace a newer profile.
- Recover actual settings from retained JSON/records before considering manual
reconstruction. Distinguish a proven storage defect from an unproven deletion
trigger, and state the timestamp/fidelity limit of any recovered source.