feat: end-to-end integrity checks with self-healing; website; installer and Windows fixes
Store::verify compares the whole SQLite projection, every table row for row, against a fresh projection of the journal; verify_and_heal rebuilds a drifted database (keeping the old file) at every server start and via the new books.verify tool, which also re-hashes every blob. The GUI checks the server's database read-only and every stored file, and shows the result. rebuild() also drops stale WAL/SHM files. site/: the wanderbooks website (just site, just publish). install.sh: OS detection (Windows points to WSL2), C compiler and git checks, WANDERBOOKS_REPO. Windows: no directory fsync off Unix; .exe-aware lookup. Repo justfile: check, build, install, demo, site. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MtYEaR6M6Ybdhm6X98BWNu
This commit is contained in:
25 files changed
+808
-41
No files matched your search
@@ -274,3 +274,14 @@ interface is MCP, not a cloned GUI. The first storage + MCP slice is done
|
||||
.claude/settings.json (approved, no prompt), commits, and starts claude
|
||||
with the onboarding prompt. `install.sh` does Rust + cargo install +
|
||||
`wanderbooks new` in one line. mise is no longer part of the scaffold.
|
||||
- 2026-10-12: Integrity, end to end. Store::verify now also compares the
|
||||
whole SQLite projection (every table, row for row) with a fresh
|
||||
projection of the journal; verify_and_heal rebuilds a drifted database
|
||||
(keeping the old file) and runs at every server start; books.verify
|
||||
(65 tools) adds a re-hash of every blob. The GUI compares the server's
|
||||
database (read-only) with its own projection and re-hashes each file
|
||||
once, showing "Database matches journal · N files verified" and raising
|
||||
problems in Needs attention. Also: Windows-safe blob writes (no
|
||||
directory fsync off Unix), .exe-aware binary lookup, installer OS and
|
||||
C-compiler checks with WANDERBOOKS_REPO, the website (site/, `just
|
||||
site`, `just publish`), and a repo justfile (check, build, install, demo).
|
||||
Reference in new issue
Block a user