docs: SOURCE lines cite what states the rule now, not a retired record

Unit S-E4: 37 SOURCE clauses across ledger-core, ledger-gui, ledger-mcp
and ledger-store still cited records bookspec retired on 2026-11-08
(D-71). A retired id names what a rule was, not what governs now, so
each clause cites its successor: BS-ledger-13 is WB-ledger-16 (the
audit), BS-ledger-12 is WB-ledger-15 (evidence read from the bytes),
and BS-format-1, whose retirement names no successor, becomes the
WB-format rule that states each clause's fact: WB-format-1 (the format
gate), WB-format-2 (a journal feature declared before its first line),
WB-format-3 (the owner's format upgrade) or WB-format-4 (each projection
schema in a file of its own). No clause's fact was left without a live
rule, so no claim was added.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
swaitsandDeepSeek V4.1 Flash committed 2026-11-09 09:00:48 -07:00
1 parent 7a5cb6873a
commit b72ba2514a
17 files changed
+37 -37

No files matched your search

@@ -9,7 +9,7 @@
//! ```text
//! GOAL: a document's projects are journaled once, replay exactly, and
//! never reach books whose owner hasn't consented to the format.
//! SOURCE: BS-statement-5 statement 6, BS-format-1, BS-entry-4; plan/served.md
//! SOURCE: BS-statement-5 statement 6, WB-format-2, BS-entry-4; plan/served.md
//! D-39 (the owner's upgrade).
//! ```
+1 -1
View File
@@ -8,7 +8,7 @@
//! ```text
//! GOAL: the decision ("no 1099" included) and how each payment was made
//! are kept as records, and no version ever misreads them.
//! SOURCE: BS-1099-1, BS-format-1; ledger_store::form1099 INVARIANTS 1-5.
//! SOURCE: BS-1099-1, WB-format-2; ledger_store::form1099 INVARIANTS 1-5.
//! ```
use chrono::NaiveDate;
+1 -1
View File
@@ -5,7 +5,7 @@
//! GOAL: an older wanderbooks tells the human to update, not that the
//! books are damaged, and never shows books that differ from the
//! record without saying so.
//! SOURCE: BS-format-1; plan/served.md 5.1 (format gate).
//! SOURCE: WB-format-1; plan/served.md 5.1 (format gate).
//! INVARIANTS:
//! 1. A whole, chained line of a type this version doesn't know, or a
//! journal.format_set newer than it reads, is NewerJournal: from
+1 -1
View File
@@ -9,7 +9,7 @@
//! without the owner's go-ahead, and an upgrade changes nothing of the
//! books but what may be written from then on.
//! SOURCE: plan/served.md 3.9 ("Format changes are the server's gate, not
//! the updater's"); D-39; BS-format-1.
//! the updater's"); D-39; WB-format-3.
//! INVARIANTS:
//! 1. New books declare this version's format, every feature it knows,
//! as they are created: they wait for no upgrade.
+1 -1
View File
@@ -6,7 +6,7 @@
//! GOAL: a project's record is journaled once, whole, replays exactly,
//! and books waiting for their format upgrade can still add
//! projects by name but write nothing an older reader would misread.
//! SOURCE: BS-statement-5, BS-format-1; D-39 (the owner's upgrade).
//! SOURCE: BS-statement-5, WB-format-2; D-39 (the owner's upgrade).
//! ```
use chrono::NaiveDate;
@@ -5,7 +5,7 @@
//! ```text
//! GOAL: a yen schedule's months are whole yen, and what an earlier
//! version journaled never moves.
//! SOURCE: BS-prepaid-4, BS-format-1, BS-entry-8; plan/served.md D-72
//! SOURCE: BS-prepaid-4, WB-format-2, BS-entry-8; plan/served.md D-72
//! (owner, 2026-11-08).
//! INVARIANTS:
//! 1. In books that declared the feature, a monthly_even schedule's