feat: periodic background autosave with load-time recovery (tech-debt #17a) #119

Closed
akadmin wants to merge 0 commits from feat/autosave into main
Owner

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

EditorLayer::tick_autosave writes <scene>.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>
feat: periodic background autosave with load-time recovery (tech-debt #17a)
All checks were successful
CI / build (pull_request) Successful in 5m59s
f48fea63e6
EditorLayer::tick_autosave writes <scene>.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>
akadmin closed this pull request 2026-07-13 01:22:23 +00:00
All checks were successful
CI / build (pull_request) Successful in 5m59s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
akadmin/NemesisEngine!119
No description provided.