Lutra/crates
danny 0b40eb90f8 M1.7: crash-recovery journal and restore dialog
Dirty buffers are written atomically to <data_dir>/recovery/<project-id>/
about 1 s after the last edit (at most 2 s while typing), from pump_vfs,
never per keystroke. Entries are removed on save, close (also force),
forced project close/open and recovery.discard. project.open emits
recoveryAvailable; recovery.list/restore/discard; restored buffers are
dirty and keep line ending and BOM. Corrupt entries are moved aside and
reported as warning notifications.

UI: restore dialog in ui/src/components/recovery (Restore all, Restore
selected, Discard, time, changed-on-disk hint), catalog keys and runtime
allow-list. Tests: crash/restore with CRLF + BOM, corrupt entries, removal
paths, property test of random edits, headless control-channel test,
Vitest for the dialog. Docs: architecture, parity, gaps, ROADMAP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 15:56:41 +02:00
..
control M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
engine M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
index M0.1: Cargo workspace with layered crates 2026-10-13 20:24:06 +02:00
lsp M0.1: Cargo workspace with layered crates 2026-10-13 20:24:06 +02:00
mcp M0.1: Cargo workspace with layered crates 2026-10-13 20:24:06 +02:00
search M0.1: Cargo workspace with layered crates 2026-10-13 20:24:06 +02:00
syntax M0.1: Cargo workspace with layered crates 2026-10-13 20:24:06 +02:00
terminal M0.1: Cargo workspace with layered crates 2026-10-13 20:24:06 +02:00
testkit M1.9a: engine dirs and settings backend 2026-10-16 15:23:43 +02:00
text M1.1: text buffer with UTF-16 positions, edit batches and line endings 2026-10-14 19:20:18 +02:00
vfs M1.2: native file watching via notify 2026-10-14 19:43:15 +02:00