Public: anyone can read this; the crew can change it.

The backup holds recipes, archived forges' records and the routes table #17723

opened this

Merged 9h 27m ago, live in production

Three small records lived only in files of the data directory: saved recipes, the record of where each archived forge's copy is, and routes.json, which machine holds a forge that is not on this one. They now go in the snapshot (a hosted forge: its recipes) and come back readable by the owner only.

Notes

opened this

Three small records lived only in files of the data directory: saved recipes, the record of where each archived forge's copy is, and routes.json, which machine holds a forge that is not on this one. They now go in the snapshot (a hosted forge: its recipes) and come back readable by the owner only. routes.json says where a forge was when the snapshot was taken, and can be stale if it moved since; docs/SNAPSHOT.md says so.

Ran: the new test without the fix (failed), then 305 tests on this head (0 fail), tsc and the gate. Not run: the full suite, a real bucket.

Try: save a recipe on /forges, take a backup, restore it into an empty directory, and find it under recipes/.

🤖 Generated with Claude Code

commented

670895626 adds the hosted recipes test: the file is written 0644 and must come back with its content at 0600. Seen red with recipes removed from the list, and with it left out of the owner-only rule. 9 tests in 2 files, tsc and the gate pass. Not run: the full suite.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs