fix(store): a drill and a preview keep the stored files the store reads when it verifies the books

The store's own verification reads the text an extraction recorded as a stored
file, so a verification that left the stored files out would not prove books
with extracted text. Every proof now builds the books with their stored files,
as a restore does, and a test holds it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-21 17:49:22 -07:00
1 parent a6cd89d2a6
commit 5d5f94e8dc
6 files changed
+69 -56

No files matched your search

+1 -1
View File
@@ -5185,7 +5185,7 @@ mod tests {
let found =
ledger_store::backup::find(&dir.join(ledger_store::backup::LOCAL_DIR), None, &ctx)
.expect("a local backup is there");
ledger_store::backup::verify_found(&found, &scratch, true, &ctx).expect("it proves whole")
ledger_store::backup::verify_found(&found, &scratch, &ctx).expect("it proves whole")
}
/// plan/served.md 3.9's `format_upgrade_waits_for_consent`, the