diff --git a/plan/2026-11-09_TRIAGE.md b/plan/2026-11-09_TRIAGE.md index e9922ce0..3fa50519 100644 --- a/plan/2026-11-09_TRIAGE.md +++ b/plan/2026-11-09_TRIAGE.md @@ -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 diff --git a/plan/STATUS.md b/plan/STATUS.md index 5bfc894f..5f963205 100644 --- a/plan/STATUS.md +++ b/plan/STATUS.md @@ -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