docs: the holder of the books is read from what the server says (WB-app-1, 2, 3, 5)

Plan P15 unit A5, fix round. The claims for WB-app-2, 3 and 5 and the invariants
of opener.rs, app_server.rs, commands.rs, bridge.rs, serving.rs and ledger-mcp
local.rs say: a server says what started it and whether it is closing
(run/server.info), only the app's is "the app", a command's server and a closing
one are waited for in words inside one `open_wait`, a command racing a start joins
it, a command's own server starts clean (and why the app's own child does not),
a bridge that held a host follows the app, `books list` shows the upgrade pending,
and the app's notice for a host that holds the books has a button.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-21 12:30:26 -07:00
1 parent da0ed04bb3
commit a61df668ef
5 files changed
+99 -23

No files matched your search

+9 -1
View File
@@ -27,7 +27,15 @@
//! (waiting for its last backup); one that needs a company held open
//! says "Start Wanderbooks first" ([`Direct`], [`reach`]; WB-app-5).
//! A server of its own takes the locks the app's server takes, so
//! two programs never hold one set of books.
//! two programs never hold one set of books. What it finds is read,
//! not guessed (opener.rs INVARIANT 6a): only a server the app
//! started is the app's; another command's server, or a closing one,
//! is waited for, in words, inside one `open_wait`. A program that
//! takes the books between its look and its own server's start (the
//! app, `serve`, another command) is joined: its server lets go of
//! the start and it looks again. Its own server is started clean (a
//! host's environment, `/` for its folder), and closes the invoker's
//! descriptors at its start.
//! 2. Nothing printed names the data root.
//! 3. Adoption and restoring are previewed first and go ahead only on a
//! yes at the terminal, or --yes; a vault beside the books must be