fix: rule references the rewrite missed and ranges it mangled
common.rs (two doc comments and a test-helper panic message) and the fuzz target still cited the retired numbering outside the script's roots; they now cite BS-period-3 and BS-arap-2. A repo-wide sweep of tracked files found no other real citations beyond the deliberately kept strings. Bookspec ids are not ordered across areas, so ranges the script produced are nonsense: the three 'all rules' ranges now say all 45 rules in docs/spec/rules.md's index, the seven allocated ids and the nine statement-era ids are listed explicitly, taken from that index table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d45cb8687b
commit
9aeee94fd2
6 files changed
+18
-16
No files matched your search
@@ -4,7 +4,7 @@
|
||||
// are fine; panics, hangs, and broken books are not. After any sequence:
|
||||
// the trial balance balances, every posted entry validates, no draft sits
|
||||
// in a closed period (the Lean invariant Inv), and the control accounts
|
||||
// equal their documents (control_check's difference is zero, B-38).
|
||||
// equal their documents (control_check's difference is zero, BS-arap-2).
|
||||
//
|
||||
// The documents (invoices, bills), their settlements and payments, write-offs
|
||||
// and voids, and the draft-state ops (P12) run on the Ledger the store wraps:
|
||||
@@ -411,7 +411,7 @@ fuzz_target!(|ops: Vec<Op>| {
|
||||
e.id()
|
||||
);
|
||||
}
|
||||
// The control accounts equal their documents, at any day (B-38): too
|
||||
// The control accounts equal their documents, at any day (BS-arap-2): too
|
||||
// large to compute is a refusal, never a difference.
|
||||
for d in [0u8, 60, 199] {
|
||||
if let Ok(checks) = l.control_check(day(d)) {
|
||||
|
||||
Reference in new issue
Block a user