merge: the last rule citations in program output name bookspec ids (S-E2; re-checked)
check / check (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s

S-E kept thirteen old B-n citations in program output and one golden,
since output is a contract and a golden changes only when verified by
hand. They now cite bookspec: the eight evidence sources BS-entry-5, the
CPA package's aging tie-out BS-ledger-8, the bills-due tool BS-arap-2,
and the projects note BS-statement-5 items 2 and 4 (the figures and that
no cost is allocated). None is stored: each is computed when shown, so
old books replay and show the new text. The golden moved in exactly
those two strings. No retired number now remains anywhere outside the
plan and the index. Found on the way: the sub-references S-E carried
over keep the old numbering (S-E3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Opus 5.5 committed 2026-11-09 01:44:13 -07:00
commit 3d026b6473
6 files changed
+27 -36

No files matched your search

+10 -8
View File
@@ -2153,37 +2153,39 @@ impl Ledger {
pub(crate) fn origin_exemption(&self, entry: &JournalEntry) -> Option<&'static str> {
let id = entry.id();
if entry.reversal_of().is_some() {
return Some("a reversal: its evidence is its original's (B-43, D-47, D-12)");
return Some("a reversal: its evidence is its original's (BS-entry-5, D-47, D-12)");
}
if self.is_closing_entry(id) {
return Some("a period's closing entry: derived from the books (B-43)");
return Some("a period's closing entry: derived from the books (BS-entry-5)");
}
if self.schedule_month_of(id).is_some() {
return Some("a schedule month's posting: the schedule is the evidence (B-43)");
return Some("a schedule month's posting: the schedule is the evidence (BS-entry-5)");
}
if self
.asset_runs
.values()
.any(|runs| runs.iter().any(|r| r.entry == id))
{
return Some("a depreciation run: the asset's schedule is the evidence (B-43)");
return Some("a depreciation run: the asset's schedule is the evidence (BS-entry-5)");
}
match self.entry_origins.get(&id) {
Some(crate::evidence::Origin::AssetDisposal) => {
return Some("an asset's disposal: the register is the evidence (B-43)");
return Some("an asset's disposal: the register is the evidence (BS-entry-5)");
}
Some(crate::evidence::Origin::PayrollRemittance) => {
return Some("a payroll tax remittance: the payroll runs are the evidence (B-43)");
return Some(
"a payroll tax remittance: the payroll runs are the evidence (BS-entry-5)",
);
}
None => {}
}
if (0..entry.lines().len()).any(|i| self.line_docs.contains_key(&(id, i))) {
return Some(
"a document's entry (invoice, bill, payment, write-off): the document is the evidence (B-43)",
"a document's entry (invoice, bill, payment, write-off): the document is the evidence (BS-entry-5)",
);
}
if self.payroll_runs.values().any(|r| r.entry_id == id) {
return Some("a payroll run: the run is the evidence (B-43)");
return Some("a payroll run: the run is the evidence (BS-entry-5)");
}
None
}