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:
1 parent
7a5cb6873a
commit
b72ba2514a
17 files changed
+37
-37
No files matched your search
@@ -6,7 +6,7 @@
|
||||
//! that gives the same findings and the same workpaper for the same
|
||||
//! books, and attestations that rest on a head that has not moved.
|
||||
//! SOURCE: IRS Pub. 583 (records); Rev. Proc. 98-25 §5.01 (the audit
|
||||
//! trail); BS-ledger-13; DECISION D-9 (the bar), D-53
|
||||
//! trail); WB-ledger-16; DECISION D-9 (the bar), D-53
|
||||
//! (an audit is a run, not a job), IZ-1k (the head).
|
||||
//! INVARIANTS:
|
||||
//! 1. `books.audit` previews (what it will check; nothing changes),
|
||||
@@ -356,7 +356,7 @@ impl BooksServer {
|
||||
/// ```text
|
||||
/// GOAL: the whole programme of checks over the books through a day,
|
||||
/// its workpaper filed, the run journaled.
|
||||
/// SOURCE: plan/served.md P8; BS-ledger-13; D-9, D-53.
|
||||
/// SOURCE: plan/served.md P8; WB-ledger-16; D-9, D-53.
|
||||
/// INVARIANTS:
|
||||
/// 1. Without `confirmed`, a preview that lists the checks and
|
||||
/// changes nothing; with it, the preview's digest is required.
|
||||
@@ -529,7 +529,7 @@ impl BooksServer {
|
||||
|
||||
/// ```text
|
||||
/// GOAL: an audit run's workpaper, whole.
|
||||
/// SOURCE: plan/served.md P8 step 3; BS-ledger-13.
|
||||
/// SOURCE: plan/served.md P8 step 3; WB-ledger-16.
|
||||
/// INVARIANTS:
|
||||
/// 1. Read-only; the JSON is the one filed, the PDF is handed over.
|
||||
/// ```
|
||||
@@ -581,7 +581,7 @@ impl BooksServer {
|
||||
|
||||
/// ```text
|
||||
/// GOAL: a checker's claim that a receipt supports an entry.
|
||||
/// SOURCE: plan/served.md P8 step 4; BS-ledger-13; D-9.
|
||||
/// SOURCE: plan/served.md P8 step 4; WB-ledger-16; D-9.
|
||||
/// INVARIANTS:
|
||||
/// 1. The reading is compared with the entry's amount and date; a
|
||||
/// difference is recorded, marked, and never counts.
|
||||
@@ -619,7 +619,7 @@ impl BooksServer {
|
||||
|
||||
/// ```text
|
||||
/// GOAL: a checker's claim that it reviewed an entry whole.
|
||||
/// SOURCE: plan/served.md P8 step 4; BS-ledger-13.
|
||||
/// SOURCE: plan/served.md P8 step 4; WB-ledger-16.
|
||||
/// ```
|
||||
#[tool(
|
||||
name = "books.review_entry",
|
||||
@@ -649,7 +649,7 @@ impl BooksServer {
|
||||
/// ```text
|
||||
/// GOAL: a checker's claim that a period is right, resting on an
|
||||
/// audit run at the books' current head.
|
||||
/// SOURCE: plan/served.md P8 step 4; BS-ledger-13; D-9; IZ-1k.
|
||||
/// SOURCE: plan/served.md P8 step 4; WB-ledger-16; D-9; IZ-1k.
|
||||
/// INVARIANTS:
|
||||
/// 1. Refused unless an audit through the period's end stands at
|
||||
/// the current head.
|
||||
@@ -697,7 +697,7 @@ impl BooksServer {
|
||||
|
||||
/// ```text
|
||||
/// GOAL: every claim that someone checked, and whether it counts.
|
||||
/// SOURCE: plan/served.md P8 step 4; BS-ledger-13; D-9.
|
||||
/// SOURCE: plan/served.md P8 step 4; WB-ledger-16; D-9.
|
||||
/// INVARIANTS:
|
||||
/// 1. `counted` is read against the bar as it stands now.
|
||||
/// ```
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//! wherever they are evidence.
|
||||
//! SOURCE: plan/served.md P6 step 4 (defect 4) and step 5 (defect 10);
|
||||
//! IZ-18 (no FIFO guess: `entry.settles` only); Rev. Proc. 98-25
|
||||
//! (an audit trail); BS-ledger-12.
|
||||
//! (an audit trail); WB-ledger-15.
|
||||
//! ```
|
||||
|
||||
use super::*;
|
||||
@@ -23,7 +23,7 @@ impl BooksServer {
|
||||
/// ```text
|
||||
/// GOAL: find a filed file by its exact bytes, its receipt number, or
|
||||
/// what its text says.
|
||||
/// SOURCE: plan/served.md P6 step 4; BS-ledger-12.
|
||||
/// SOURCE: plan/served.md P6 step 4; WB-ledger-15.
|
||||
/// INVARIANTS:
|
||||
/// 1. EXACTLY one of sha256, receipt_number and text is given.
|
||||
/// 2. Withdrawn files are listed too, marked (a duplicate is found
|
||||
@@ -96,7 +96,7 @@ impl BooksServer {
|
||||
/// ```text
|
||||
/// GOAL: record what a human read off a file, without touching the file
|
||||
/// or the ledger's amounts.
|
||||
/// SOURCE: plan/served.md P6 step 5 (defect 10); BS-ledger-12.
|
||||
/// SOURCE: plan/served.md P6 step 5 (defect 10); WB-ledger-15.
|
||||
/// INVARIANTS:
|
||||
/// 1. Journaled as `attachment.annotated`; a refusal journals nothing.
|
||||
/// 2. The fields are the closed list of `AnnotationFieldsParam`; at
|
||||
@@ -206,7 +206,7 @@ impl BooksServer {
|
||||
/// GOAL: hold identical files once, linked wherever they were evidence,
|
||||
/// without ever leaving an entry the receipt policy covers with
|
||||
/// none.
|
||||
/// SOURCE: plan/served.md P6 step 4 (defect 4); BS-ledger-12.
|
||||
/// SOURCE: plan/served.md P6 step 4 (defect 4); WB-ledger-15.
|
||||
/// INVARIANTS:
|
||||
/// 1. Records sharing one blob SHA are one set; the oldest is kept
|
||||
/// and linked to every subject the others had.
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//! the viewer and bookspec use.
|
||||
//! SOURCE: BS-statement-5 (DECISION, owner, 2026-10-21; job
|
||||
//! costing; ASC 450-30-25-1 for on-spec work), BS-period-3 (omitted
|
||||
//! dates), BS-format-1 (journal feature `projects`).
|
||||
//! dates), WB-format-2 (journal feature `projects`).
|
||||
//! INVARIANTS:
|
||||
//! 1. Every field is checked before anything is written; a refusal
|
||||
//! journals nothing.
|
||||
|
||||
Reference in new issue
Block a user