A project that comes in with the same circuit open (a newer save from
another computer, a savegame restored in place, a shared link opened
again) now runs from the bits it brings. Before, the running circuit
went on with this computer's old bits and wrote them over the newer ones
at the next save, and a savegame could not undo Power off and on.
Bits changed only by buttons or a clock are sent to the account when the
page is hidden or closed, when you leave the project, and before signing
out, so they are no longer lost by "remove from this browser" and reach
the other computer. A running clock alone still sends nothing. Bits alone
keep the project's save time, so an edit saved on another computer wins
over them and they end up in its savegames.
What circuits hold has its own room of 500 KB per project on top of the
2 MB limit, in the browser, the account and share links. When it is full,
the circuits left longest ago start from 0; a circuit that holds more than
that on its own says so once. A project can no longer become too large to
load because of its memory.
A savegame opened as a copy saves the project it leaves first, like every
other way of switching projects.
Tests now run the editor itself (in a stand-in browser with an account
server) for going into components and back, reloads, two projects, other
computers, savegames, signing out and the room limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Writes go to a flushed temporary file and are renamed into place; the last
intact version stays as .bak and reads fall back to it, so a power cut
never leaves a damaged save. Same file format as before.
- Savegames per account project (newest 30, one per day for 90 days), kept
before restores and deletions; deleted projects restorable for 30 days.
Projects dialog: savegames per project and "Recently deleted".
- Daily gzip backup of data/ into backups/ (14 newest + monthly), restore
script scripts/restore-backup.mjs.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 13:20:55 +02:00
Renamed from server/api/me/projects/[id].put.ts (Browse further)