docs: backups for a person, tests, parity and status for the plain-folder form
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
f6bc047e5a
commit
d114e873ba
3 files changed
+116
-46
No files matched your search
@@ -280,3 +280,16 @@ product's own sign-in has been tried against it yet.
|
||||
| A tool call's lines commit together with a closing line or not at all; a call that never closed, or failed, builds nothing in any replay; a failed call is on the record | A database transaction; QBO and Xero make a write all or nothing and say so on failure | partial | WB-format-8, WB-format-10; `ledger-store` `tests/calls.rs` (`a_crash_at_each_point_of_a_call_leaves_the_whole_call_or_none_of_it`, `a_replay_of_any_prefix_inside_a_call_is_the_replay_of_the_prefix_before_it`, `a_failed_call_is_on_the_record_and_builds_nothing`); partial until the Lean law is in bookspec and a `done` needs a golden |
|
||||
| Every write carries a request key; a repeat returns the first answer and writes nothing, across a restart; the same key for another request is refused | An idempotency key (a payments API's `Idempotency-Key`); QBO's `requestid` | partial | WB-format-9; `ledger-cli` `tests/call_transactions.rs` (`a_repeat_of_a_key_returns_the_first_answer_and_writes_nothing`, `the_same_key_for_another_request_is_refused_in_words`, `every_tool_that_can_write_asks_for_a_key_and_no_other_does`); `books.import_bank_csv` is one transaction (`the_import_is_one_transaction`) |
|
||||
| Books that haven't declared the feature take no write and still read; every set of books has a unique id | No counterpart; the owner's rule (D-89) | partial | WB-format-11, WB-format-12; `ledger-store` `tests/calls.rs` (`books_that_have_not_declared_the_feature_take_no_call_and_still_read`, `new_books_are_born_with_an_id_and_no_two_share_one`); `ledger-cli` `tests/format_upgrade.rs` (`books_p2_served_cut_over_whole`) |
|
||||
|
||||
## P15 section 9: backups without git (2026-11-21, D-91, D-92)
|
||||
|
||||
Two new rows below; none above changed status, so the floor stands. A backup is a
|
||||
folder of plain files written once, optionally sealed with a passphrase
|
||||
(WB-backup-1 to WB-backup-11, `docs/backups.md`); the old backup made with git
|
||||
is gone. Both rows are `partial`: nothing of the window's folder chooser and
|
||||
passphrase set-up has run on Windows or macOS, and the window part has no golden.
|
||||
|
||||
| Area | Counterpart (a cross-check, not the spec) | Status | Notes |
|
||||
|---|---|---|---|
|
||||
| A backup is a folder the person picks, made of files written once, complete when its manifest is in place; a restore previews first and restores only the head it previewed; a restore of any whole manifest is a prefix of the books; a destination only grows | QBO's "back up company" is one file on the vendor's servers; Xero's export is a copy; GnuCash keeps one file and a dated backup beside it | partial | WB-backup-1 to WB-backup-6, WB-backup-9, WB-backup-10; `ledger-store` `tests/backup.rs` (`a_backup_is_the_book_and_proves_whole`, `a_program_that_dies_at_any_write_leaves_what_proved_whole_before`, `two_programs_writing_one_destination_do_not_corrupt_it`), `tests/backup_props.rs` (`any_whole_manifest_restores_a_prefix_of_the_books`, `a_destination_only_grows`); `ledger-cli` `tests/backups.rs` |
|
||||
| The backups can be protected with a passphrase, off by default, and a backup can be saved as one file | GnuCash and QBO export files are not sealed; a sealed archive with a passphrase is the usual cross-check | partial | WB-backup-7, WB-backup-8; `ledger-store` `tests/backup.rs` (`a_wrong_passphrase_never_yields_books_and_is_told_from_damage`, `a_single_file_holds_the_same_backup_plain_or_sealed`), `tests/backup_props.rs` (`a_wrong_passphrase_never_yields_books`) |
|
||||
Reference in new issue
Block a user