feat: periodic background autosave with load-time recovery (tech-debt #17a) #119
No reviewers
Labels
No labels
atmosphere
clouds
debug
enhancement
foundation
high-priority
integration
low-priority
medium-priority
optimization
pbr
weather
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
akadmin/NemesisEngine!119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/autosave"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
EditorLayer::tick_autosave writes .nmsscn.autosave.json beside the
scene every 2 minutes while dirty (Editor mode, saved scenes only): world
snapshot via the new serialization::entity_files_for_save on the main
thread, JSON encode + atomic temp-and-rename write on a background thread —
no file I/O inside the frame. Manual save deletes the autosave; loading a
scene with a newer autosave offers Restore/Discard, and a restored scene
keeps the real .nmsscn path and starts dirty.
Roadmap item 35 (Tier 1), autosave half of debt #17.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Pull request closed