docs(plan): K-U11a landed: the triage and the status say so

The kernel rule holds in ledger-core and is held by the lint part for
five crates; the six outer crates with places left are K-U12. The
traceability gate's counts are 62 functions and 16 listed exceptions
(kernel::rescale_exact is the sixteenth).

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude committed 2026-11-09 23:42:15 -07:00
1 parent 2843278138
commit 0de906e9ed
2 files changed
+17 -7

No files matched your search

+16 -6
View File
@@ -32,12 +32,21 @@ books. The gaps are in what the gates do not see.
137 before K-U9), ledger-import 18 (was 22), ledger-mcp 19,
ledger-package 13, ledger-store 8, ledger-config 2, and none in
ledger-cli, ledger-host, ledger-reader and ledger-vault. Closes with:
- K-U11a, ledger-core: every site routed through the kernel (branch
`k-u11a`; a script driven by the compiler's own spans, so no site is
hand-copied). 199 of the 210 are done and committed there; the last
11 waited for K-U10a's exact operations, now on main. Mine.
- K-U11a, ledger-core: done (merged 411c3aae1). Every one of the 210
goes through the kernel, by a script driven by the compiler's own
spans, so no site is hand-copied; no figure moves. `just kernel-only`
in the lint part of `just check` holds ledger-core and the four
outer crates already at zero there. What it found: with K-U10's
exact sum, the K-1 worksheet's running total of 28-digit shares
refused every split by thirds (two tests caught it before main);
that sum is a rounded figure by construction, and the kernel now
names it (`checked_add_rounded`, `checked_sub_rounded`). Four places
changed a figure's written places with `Decimal::rescale`, which can
round; `kernel::rescale_exact` cannot. `docs/proofs/k-u11.md`.
- K-U12, the outer crates. Worker or script, decided on the counts.
- The script in `just check` at zero, so the count cannot rise again.
- The script in `just check` at zero, so the count cannot rise again:
done for five crates; each of the other six joins
`kernel_only_crates` as K-U12 brings it to zero.
2. **Decimal sums and products rounded silently.** Done (K-U10a, merged
e632855f1). `Decimal::checked_add` and `checked_mul` return a rounded
answer when the exact one needs more than 28 digits; the kernel's
@@ -181,7 +190,8 @@ signing (D-64); the re-audit (P10); Q-6 before P9b.
## Order of work
1. Land what is in flight: V-D3, K-U9, K-U10a, K-U10b (all four done).
2. K-U11a on top of them, then K-U12, then the detector in `just check`.
2. K-U11a on top of them (done, and the detector is in `just check` for
the crates at zero), then K-U12.
3. `overflow-checks`, the CI split, `just prove`'s cap, `cargo-deny`
(all four done).
4. One gate at the end (`just check`, `just prove`), one push, four gates
+1 -1
View File
@@ -13,7 +13,7 @@ merged. bookspec main is at 2b3b6c9 (wanderbooks pinned there).
- **The traceability gate** (X-J): every claim backed by real code, tests,
Kani harnesses and audited Lean theorems, resolved strictly; every
kernel function has a harness, a bridge property and a law whose rules
its SOURCE cites (60 functions, 15 listed exceptions). It found a false
its SOURCE cites (62 functions, 16 listed exceptions since K-U11a). It found a false
claim (B-22), one ahead of the code (WB-prepaid-2, now done by K-U5),
and nineteen stale names.
- **Examples** (X-I, X-H1a..d): the spec floors run against the base