Skip to content

AI, fully local on your computer.

Merge origin/master into fix/1028-garbled-engine-marker

comilionas427e33542c1b
diff --cc BUILD_STATE.md
index 9b21bbc3,d9390de7..e809563c
--- a/BUILD_STATE.md
+++ b/BUILD_STATE.md
@@@ -28,10 -28,10 +28,11 @@@
> entries were true when written but are snapshots — as of 2026-07-10 `master` is pushed (in sync
> with origin through `ac4f315`) and the 2026-06-30 audit branch stack is merged. Only the branches
> named in §5's branch analysis still carry unmerged work.
-_2026-11-23 — **#1024 (a back-end start that throws; branch `fix/1024-backend-start-failure`, on `6c2fc2c8`): in review.** `initBackend` runs through `runBackendStart`: a throw logs its code (no path), drops the channels the partial start registered and registers the failure state, so `getWorkspaceState` answers `start_failed` (a cause + the code) and the gate shows "The app could not start", what helps, the code and "Copy details for support". Review round 1: a masked mkdir errno is read again, a throw after the back end shows an error box and exits, the crash lines log codes. Owner calls 2026-11-23: OQ-1 (b) the copy button, OQ-2 (b) three texts. Records: data-contracts "Start failure (#1024)" (P6: the update registrar takes the narrow failure context), security-model, troubleshooting, known-limitations. Dev app: as designed; the card's text waits two frames. Open: the German read; a Narrator listen; Electron's handler swap after a late throw; review._
-_2026-11-22 — **#1027 (a v1 → v2 password change whose staged database cannot be moved into place; branch `fix/1027-password-change-failed-swap`, on `838a31f2`): in review.** The open session now wins: the change drops the stage from the rekey journal, saves `.enc` from the open database under the new key and deletes the stage; every lock of the session retries what is left; an unlock removes a stage that opens under the data key beside an `.enc` that opens too (`superseded`). A failed rollback no longer hides the change's own error or skips zeroing the new key. Owner calls 2026-11-22: OQ-1 (a) a log line and docs, no notice; G-1 refined as recommended. Records: security-model "Password change" + the #973 rule, data-contracts (rekey journal, `superseded`, the frozen constraint), known-limitations. Open: residuals R1–R3 (known-limitations); review._
+_2026-11-23 — **#1028 (an engine install marker that is there but damaged no longer turns the pre-spawn check off; branch `fix/1028-garbled-engine-marker`, on `6c2fc2c8`): in review.** One reading for every reader (`readRuntimeMarkerState`): a marker cut short, garbled, with a `binaries` entry that is no SHA-256, or recording files but not the program is the new verdict `marker-damaged`, never cached, with no fallback to the family marker for a `cpu/` net; the engines refuse it as `files-damaged` with "Install again", the sell gate names it, and both `fetch-runtime` twins fetch it again (review round 2: each reads it with its own JSON reader). Owner call 2026-11-23: Q1 (a), the knowledge-pack tools refuse it like a missing file (the repair is outside the app). Records: security-model.md "Re-hash sidecar binaries before spawn", architecture.md "Engine load failures" §14, data-contracts.md (the reading rule, the frozen writer rules), known-limitations.md, troubleshooting.md. Open: plan 06's F-24 split and W-62's marker fixtures (orchestrator); the `binaries`-garble residual._
- _2026-11-22 — **#1027 (a v1 → v2 password change whose staged database cannot be moved into place; branch `fix/1027-password-change-failed-swap`, on `838a31f2`): in review.** The open session now wins: the change drops the stage from the rekey journal, saves `.enc` from the open database under the new key and deletes the stage; every lock of the session retries what is left; an unlock removes a stage that opens under the data key beside an `.enc` that opens too (`superseded`). A failed rollback no longer hides the change's own error or skips zeroing the new key. Owner calls 2026-11-22: OQ-1 (a) a log line and docs, no notice; G-1 refined as recommended. Records: security-model "Password change" + the #973 rule, data-contracts (rekey journal, `superseded`, the frozen constraint), known-limitations. Open: residuals R1–R3 (known-limitations); review._
++_2026-11-23 — **#1024 (a back-end start that throws; PR #1034): merged 2026-11-23 (`6d065598`).** `initBackend` runs through `runBackendStart`: a throw logs its code (no path), drops the channels the partial start registered and registers the failure state, so `getWorkspaceState` answers `start_failed` (a cause + the code) and the gate shows "The app could not start", what helps, the code and "Copy details for support". Review round 1: a masked mkdir errno is read again, a throw after the back end shows an error box and exits, the crash lines log codes. Owner calls 2026-11-23: OQ-1 (b) the copy button, OQ-2 (b) three texts. Records: data-contracts "Start failure (#1024)" (P6: the update registrar takes the narrow failure context), security-model, troubleshooting, known-limitations. Dev app: as designed; the card's text waits two frames. Open: the German read; a Narrator listen; Electron's handler swap after a late throw; review._
++_2026-11-22 — **#1027 (a v1 → v2 password change whose staged database cannot be moved into place; PR #1031): merged 2026-11-23 (`6c2fc2c8`).** The open session now wins: the change drops the stage from the rekey journal, saves `.enc` from the open database under the new key and deletes the stage; every lock of the session retries what is left; an unlock removes a stage that opens under the data key beside an `.enc` that opens too (`superseded`). A failed rollback no longer hides the change's own error or skips zeroing the new key. Owner calls 2026-11-22: OQ-1 (a) a log line and docs, no notice; G-1 refined as recommended. Records: security-model "Password change" + the #973 rule, data-contracts (rekey journal, `superseded`, the frozen constraint), known-limitations. Open: residuals R1–R3 (known-limitations); review._
_2026-11-22 — **#1015 + #1014 (the rekey journal at the start; PR #1030): merged 2026-11-22 (`838a31f2`).** A swap a held file stops now blocks the recovery (`vault_recovery_blocked`, "try again", the code logged) instead of throwing out of `init()` before the IPC, and a folder in the way is left aside, never a block (but at `.enc`); the journal acts only inside the workspace folder on the disk (no link on the way), is rewritten to what still waits, the rotated log by its computed path, out-of-store stages outside the folder (or reached through a link) at the unlock when the database lists them and the stage opens under the data key; the shreds never write through a link or a hard-linked file; a folder at `.enc.new` no longer replaces `.enc` nor costs the only copy (owner calls 2026-11-22: D1 (a), D2 (a); reviews: Fable, `/code-review high`). Records: `security-model.md` "Password change" + "Secure erase", `data-contracts.md` rekey journal. Follow-ups: #1024 (a failed backend start leaves the window with no IPC), #1027 (a v1 → v2 change whose staged database cannot be moved into place)._
-_2026-11-22 — **#1012 (the pre-spawn check covers every file the engine copy's marker records, not only the program; PR #1029): merged 2026-11-22 (`6a5ea85c`).** A changed or missing program or library refuses the start with the #532 `files-damaged` verdict and the "Install again" offer (a changed file is still logged as a possible tamper; the graphics probe answers no result, never "no card"); a file that cannot be read just now is `unreadable`: never cached, nothing blamed or latched, and chat, translation, audio import, dictation and image questions say so (`main.engine.filesUnreadable`, 10 catalogs). Owner calls 2026-11-22: Q1 (a) any recorded file missing → refuse + reinstall offer; Q2 (b) the knowledge-pack tools log a missing unused file and start; Q3 (a) the unrecorded-library gap documented. Reviews: Fable, `/code-review high` ×4. Records: security-model.md "Re-hash sidecar binaries before spawn", architecture.md "Engine load failures" §13, data-contracts.md, known-limitations.md, troubleshooting.md. Open: the owner's German read of `main.engine.filesUnreadable`; follow-ups #1025 (an unrecorded library, the engine's working directory), #1026 (the Visual C++ text after a fresh install), #1028 (a marker that does not parse); #1013._
+_2026-11-22 — **#1012 (the pre-spawn check covers every file the engine copy's marker records, not only the program; PR #1029): merged 2026-11-22 (`6a5ea85c`).** A changed or missing program or library refuses the start with the #532 `files-damaged` verdict and the "Install again" offer (a changed file is still logged as a possible tamper; the graphics probe answers no result, never "no card"); a file that cannot be read just now is `unreadable`: never cached, nothing blamed or latched, and chat, translation, audio import, dictation and image questions say so (`main.engine.filesUnreadable`, 10 catalogs). Owner calls 2026-11-22: Q1 (a) any recorded file missing → refuse + reinstall offer; Q2 (b) the knowledge-pack tools log a missing unused file and start; Q3 (a) the unrecorded-library gap documented. Reviews: Fable, `/code-review high` ×4. Records: security-model.md "Re-hash sidecar binaries before spawn", architecture.md "Engine load failures" §13, data-contracts.md, known-limitations.md, troubleshooting.md. Open: the owner's German read of `main.engine.filesUnreadable`; follow-ups #1025 (an unrecorded library, the engine's working directory), #1026 (the Visual C++ text after a fresh install), #1028 (a marker that does not parse: the entry above); #1013._
_2026-11-22 — **Follow-ups wave 7 (#978, #979, #982, #994–#1003: the follow-ups wave 6 left): closed 2026-11-22.** Six PRs merged, the last `aa7a7184`: #1005 (#997), #1007 (#1001), #1009 (#998, #999, #1000), #1006 (#996), #1008 (#1002, #982, and S-1, a latent session rollback after a failed exit lock found by the research), #1010 (#994 in part). Final master gate (the merged tree, verified byte-identical): 523 files, 13,316 passed, 299 skipped, 0 failed; baseline 12,898. Closed: #982, #996, #997, #998, #999, #1000, #1001, #1002. Owner calls 2026-11-22: every plan recommendation (routing words as word patterns with phrase exceptions, monotone for lookups, G-1; a gated cross-language translation step, G-2; a repetition guard with a `'repeat'` cause, G-3/G-4; whole-document prompts change only on preset gates, G-6; an app-added beginning-only line, G-7; engine copies judged by their own marker, tar waited for, staging before the pause, G-9; journal-less document/image stages judged at the unlock, G-10; the macOS session-end reset now, G-11; a budgeted overwrite on the Linux `quit` leg, G-12). Measured: the routing probe loses 0 of 243 master lookups and adds 51; the guard (413 stored answers, 39 synthetic controls, a 59-cell real-model session) stops the 4B row runaways with no false trip, but every heading rule either missed the Meeting Minutes recursion or cut legitimate multi-entity answers, so only the exact-line run ships (stop and stamp, no continuation); the notes dedup passed its gate but drops facts across entities and was left out; #995's prompts failed their gate; X0 (#1003) missed its gate narrowly; the budgeted Linux lock completes encrypted up to ~320 MB on a 41 MB/s stick (before ~175). Record: rag-design §14.10 and §14.10.2, design-guidelines §11.25, architecture (the engine §7 amendment, §20), security-model (the #1001 rule, the budgeted lock, S-1, the session-end reset, the pre-spawn hash covers the executable only), data-contracts (`'repeat'`, the marker records every file), known-limitations, troubleshooting, user-guide, drive-layout, packaging, benchmark, SECURITY.md. Plan, ledger, research, walks and the session: `tmp/followups-wave-7/` (gitignored); the in-progress line and the wave 6 close entry: build-log 2026-11-22. Open: #979 (the minutes recursion, the notes overflow), #995 (no measured fix), #1003 (owner call: a held-out check, passed on fresh questions, 4B and 9B 88 % of the oracle gain → German questions over English documents are translated for the search, follow-up PR; the reverse stays documented), #978 closed (no fix found) and #994 closed (row loops; the recursion stays in #979) by comment, follow-ups #1012–#1022 (filed; #1012, the pre-spawn hash covering only the shim, at medium); owed: the Mac walks W1–W5 (#1002), a Linux desktop log-out (#982), a real b12110 download, an exFAT stick and the macOS tarballs' `._*` members (#998), the owner's German read of `analysis.wholeDocBeginningOnly` and `chat.truncated.hint.repeat`._
_2026-11-20 — **Card path: measured need, card ranks, self-correcting fit (PR #950, on top of the processor path below): merged 2026-11-20 (`3640ec5f`).** Owner calls 2026-11-20: the card need is the runtime's own projection plus its 1 GiB margin (`projected_graphics_need_mib`, read on the RTX 3090 for 24 manifests); the pick is the highest card-ranked model that fits (`recommendation_rank_gpu`; §6.6 decision 2 retired): 6 GB the E4B, 8 GB the 9B, 12 and 16 GB Gemma 4 12B, 20 GB unchanged (Qwen3.8 27B UD-Q4_K_M), 24 GB Gemma 4 31B (card rank 3, ordinary rank still 0; the UD-Q5_K_M card rank 2); a model an earlier start placed only partly on this card is not picked for it again (`landedPartlyOnCard`, from `modelPlacements`); the named chain (`step_down_to`, renamed from the processor entry's field) applies on the card too. Record: model-benchmarks.md §6.8; evidence under `eval/results/hardware/i9-9900x-rtx-3090-24gb-128gb/` (`projected-graphics-need-…`, `card-speed-…`). Open: no 12 to 20 GB card measured on this build; the in-app check on a card; the reranker and translation gates (`chatGraphicsShareMib`) still use the derived estimate before a measured start, which counts 8 of the 24 measured models short (most Gemma 4 31B, 692 MiB; §6.8 "Not settled")._
_2026-11-20 — **Processor path: a computer without a usable graphics card gets its own chat picks and step-down chain (PR #948): merged 2026-11-20 (`5da3f9fe`).** Owner calls 2026-11-20: on memory class `cpu` the picks follow the 2026-11 answer-quality study and measured processor speed (8–11 GB `qwen3-4b-instruct-2507-q4`, 12–15 `gemma4-e4b-it-qat-q4`, 16–23 `qwen3.5-9b-ud-q4kxl`, from 24 `gemma4-26b-a4b-it-qat-q4`); a slow benchmark steps along a named chain down to the E2B; Ministral 3 8B rank 2 → 0. Built as catalog data: optional `recommendation_rank_cpu` and `step_down_to`, read by `recommendModelIdForProcessor`; `recommended_ram_gb` E4B 16 → 12 and 26B-A4B 32 → 24 from measured peaks. Apple Silicon and the card path are unchanged. Record: model-benchmarks.md §6.7 (decision basis, measurements, chains); model-policy.md; benchmark.md; raw rows under `eval/results/hardware/ryzen-7-5800h-rtx-3060-laptop-6gb-14gb/`. Open: the 26B-A4B on a second processor; the in-app check of the new picks on a machine without a card._
@@@ -139,11 -139,11 +140,6 @@@ _2026-10-14 — **#673 — German Wikip
recommended: the first is a furniture token, the second dropped by id, the third a `Normdaten` segment where the box stands, on the ordinary text path (a review pass moved it off the license line's side channel). The viewer now drops only a heading's own line
(it cut ` (Person): GND`, and a real word on 14 other sections). 2,672 pages: 2,182 byte-identical; the 490 with a box read master's words with the boxes cut (490/490), Normdaten words exact (227/227); lead unchanged;
chunks +229. Real app: master filed all three under `Einzelnachweise`/`Weblinks`, the fix as designed. Record: `rag-design.md` §17 "#673". Acceptance read 2026-10-27 (master, with #662's): all six floors pass. Open: none (residuals there)._
--_2026-10-14 — **#698 — the renderer bundles KaTeX once (`fix/698-katex-dedupe`).** Since `ce7e87b1` the lockfile held four nested katex 0.16.47 installs (each with commander 8.3.0) and the math chunk bundled two of
--them: the app's (the partial-TeX check) and rehype-katex's (the renderer). One top-level `node_modules/katex` now serves every dependent: a lockfile-only edit of those ten entries, accepted unchanged by the pinned npm
--11.6.2 (`npm dedupe` would also have moved semver, lru-cache, entities and ci-info). The renderer is not minified, so a copy was 490,779 bytes, not the issue's ~270 KB: the chunk 2,006,578 → 1,511,459 bytes, `app.asar`
--−493 KB, its 3,425 `node_modules` files and THIRD-PARTY-NOTICES unchanged. The "single, deduped version" test compared versions: it now checks one install, plus the build carrying KaTeX once (each red under its regression).
--Real app (packaged, 4B, GTX 1070 Ti): the probe's KaTeX fonts load, streamed TeX typesets. Record: architecture.md DEP-7 "#698". Open: a streamed `$$ …` partial shows a KaTeX error box until it parses (pre-existing, #701; fixed, above)._
_Older dated entries (the closed waves through 2026-08-22) and the Skills S2–S12 handoff sections were
moved **verbatim** to [`docs/build-log.md`](docs/build-log.md) — 2026-07-09-and-earlier plus the
Skills handoffs on 2026-07-12, the 2026-07-10 block on 2026-08-09 (images-wave close-out, for the
@@@ -194,7 -194,7 +190,7 @@@ budget, making room for the streamdown
room for the #539 entry), and the closed 2026-09-21 #497 dictation entry on 2026-10-05 (preamble budget, making room
for the #570–#573 entry), and the closed 2026-09-21 #488/#498/#501 entry on 2026-10-05 (preamble budget, making room
for the #516 entry), and the closed 2026-09-27 #515 and #512-decision-3 entries on 2026-10-06 (preamble budget, making room for
--the #612 entry), and the closed 2026-09-22 #410 entry on 2026-10-06 (preamble budget, making room for the #606 entry), and the closed 2026-09-27 #512 entry on 2026-10-06 (preamble budget, making room for the #622 entry), and the closed 2026-10-05 #585 mammoth entry on 2026-10-06 (preamble budget, making room for the #613 entry), and the closed 2026-10-02 #554/#555 entry on 2026-10-06 (preamble budget, making room for the #581 entry), and the closed 2026-10-02 DEP-6 entry on 2026-10-07 (preamble budget, making room for the #582 entry), and the closed 2026-10-01 #527 entry on 2026-10-07 (preamble budget, making room for the #634 entry), and the closed 2026-10-01 #530 entry on 2026-10-07 (preamble budget, making room for the #635 entry), and the closed 2026-10-02 #548–#551 entry on 2026-10-07 (preamble budget, making room for the #637 entry), and the closed 2026-10-02 streamdown 2.6 entry on 2026-10-08 (preamble budget, making room for the #605 entry), and the closed 2026-10-03 OCR-rasterizer-CSP entry on 2026-10-11 (preamble budget, making room for the #641 entry), and the closed 2026-10-03 #560 app-scheme entry on 2026-10-12 (preamble budget, making room for the #646 entry), and the closed 2026-10-03 #562 fuses entry on 2026-10-12 (preamble budget, making room for the #643 entry), and the closed 2026-10-03 #563 print-from-memory entry on 2026-10-12 (preamble budget, making room for the #644 entry), and the closed 2026-10-03 #560/#562 platform-round entry on 2026-10-12 (preamble budget, making room for the #649 entry; its open Mac run moved to `packaging.md` "Platform verification"), and the closed 2026-10-04 #567 and 2026-10-05 #539 entries on 2026-10-12 (preamble budget, making room for the #473 Phase 0 entry), and the closed 2026-10-05 #570–#573 entry on 2026-10-13 (preamble budget, making room for the #656 entry), and the closed 2026-10-05 #538/#574/#575/#576 OCR entry on 2026-10-13 (preamble budget, making room for the #654/#655/#658 entry), and the closed 2026-10-05 #532 entry on 2026-10-13 (preamble budget, making room for the #653 entry), and the closed 2026-10-05 #516 and #580 entries on 2026-10-13 (preamble budget, making room for the #627 entry), and the closed 2026-10-06 #599 entry on 2026-10-13 (preamble budget, making room for the #663 entry), and the closed 2026-10-06 #598 entry on 2026-10-13 (preamble budget, making room for the #662 entry), and the closed 2026-10-06 #600 entry on 2026-10-13 (preamble budget, making room for the #660 entry), and the closed 2026-10-06 #612 entry on 2026-10-13 (preamble budget, making room for the #670 entry), and the closed 2026-10-06 #606 entry on 2026-10-13 (preamble budget, making room for the #671 entry), and the closed 2026-10-06 #620 entry on 2026-10-14 (preamble budget, making room for the #680 entry), and the closed 2026-10-06 #622 entry on 2026-10-14 (preamble budget, making room for the #684 entry), and the closed 2026-10-06 #581 entry on 2026-10-14 (preamble budget, making room for the #681 entry), and the closed 2026-10-06 #613 entry on 2026-10-14 (preamble budget, making room for the #689 entry), and the closed 2026-10-07 #607 and #582 entries on 2026-10-14 (preamble budget, making room for the #682/#687 entry), and the closed 2026-10-07 #634 entry on 2026-10-14 (preamble budget, making room for the #685 entry), and the closed 2026-10-07 #635 entry on 2026-10-14 (preamble budget, making room for the DEP-7 entry), and the closed 2026-10-07 #637 entry on 2026-10-14 (preamble budget, making room for the #678 entry), and the closed 2026-10-08 #605 entry on 2026-10-14 (preamble budget, making room for the #698 and #673 entries), and the closed 2026-10-11 #641 entry on 2026-10-15 (preamble budget, making room for the #673 entry), and the closed 2026-10-12 #646 entry on 2026-10-15 (preamble budget, making room for the #701 entry), and the closed 2026-10-12 #643 / #642 entry on 2026-10-27 (preamble budget, making room for the DEP-8 entry), and the closed 2026-10-12 #644 entry on 2026-10-27 (preamble budget, making room for the #713 entry), and the closed 2026-10-12 #649 entry on 2026-10-27 (preamble budget, making room for the #715 entry), and the closed 2026-10-12 #473 entry on 2026-10-27 (preamble budget, making room for the #711 entry), and the closed 2026-10-13 #656 entry on 2026-10-27 (preamble budget, making room for the #716 entry), and the closed 2026-10-13 #654/#655/#658 entry on 2026-11-01 (preamble budget, making room for the #749 entry), and the closed 2026-10-13 #653 entry on 2026-11-01 (preamble budget, making room for the #747 entry), and the closed 2026-10-13 #627 entry on 2026-11-01 (preamble budget, making room for the #753 entry), and the closed 2026-10-13 #662 entry on 2026-11-02 (preamble budget, making room for the #766 entry), and the closed 2026-10-13 #660 entry on 2026-11-02 (preamble budget, making room for the #742 entry), and the closed 2026-10-13 #670 entry on 2026-11-03 (preamble budget, making room for the #745 entry), and the closed 2026-10-13 #671 entry on 2026-11-03 (preamble budget, making room for the #736 entry), and the closed 2026-10-14 #681, #684 and #680 entries on 2026-11-03 (preamble budget, making room for the #767/#769 entry), and the closed 2026-10-14 #689 entry on 2026-11-03 (preamble budget, making room for the #779/#768/#743 entry), and the closed 2026-10-29 #730 and #714 entries on 2026-11-07 (preamble budget, making room for the #729 entry), and the closed 2026-10-14 #682/#687 entry on 2026-11-08 (preamble budget, making room for the #712 entry), and the closed 2026-10-14 #685 entry on 2026-11-08 (preamble budget, making room for the #790 entry), and the closed 2026-10-14 DEP-7 entry on 2026-11-18 (preamble budget, making room for the follow-ups wave 2 line), and the closed 2026-10-14 #678 entry on 2026-11-20 (preamble budget, making room for the follow-ups wave 5 line) — citations of the form "BUILD_STATE <date> entry" /
++the #612 entry), and the closed 2026-09-22 #410 entry on 2026-10-06 (preamble budget, making room for the #606 entry), and the closed 2026-09-27 #512 entry on 2026-10-06 (preamble budget, making room for the #622 entry), and the closed 2026-10-05 #585 mammoth entry on 2026-10-06 (preamble budget, making room for the #613 entry), and the closed 2026-10-02 #554/#555 entry on 2026-10-06 (preamble budget, making room for the #581 entry), and the closed 2026-10-02 DEP-6 entry on 2026-10-07 (preamble budget, making room for the #582 entry), and the closed 2026-10-01 #527 entry on 2026-10-07 (preamble budget, making room for the #634 entry), and the closed 2026-10-01 #530 entry on 2026-10-07 (preamble budget, making room for the #635 entry), and the closed 2026-10-02 #548–#551 entry on 2026-10-07 (preamble budget, making room for the #637 entry), and the closed 2026-10-02 streamdown 2.6 entry on 2026-10-08 (preamble budget, making room for the #605 entry), and the closed 2026-10-03 OCR-rasterizer-CSP entry on 2026-10-11 (preamble budget, making room for the #641 entry), and the closed 2026-10-03 #560 app-scheme entry on 2026-10-12 (preamble budget, making room for the #646 entry), and the closed 2026-10-03 #562 fuses entry on 2026-10-12 (preamble budget, making room for the #643 entry), and the closed 2026-10-03 #563 print-from-memory entry on 2026-10-12 (preamble budget, making room for the #644 entry), and the closed 2026-10-03 #560/#562 platform-round entry on 2026-10-12 (preamble budget, making room for the #649 entry; its open Mac run moved to `packaging.md` "Platform verification"), and the closed 2026-10-04 #567 and 2026-10-05 #539 entries on 2026-10-12 (preamble budget, making room for the #473 Phase 0 entry), and the closed 2026-10-05 #570–#573 entry on 2026-10-13 (preamble budget, making room for the #656 entry), and the closed 2026-10-05 #538/#574/#575/#576 OCR entry on 2026-10-13 (preamble budget, making room for the #654/#655/#658 entry), and the closed 2026-10-05 #532 entry on 2026-10-13 (preamble budget, making room for the #653 entry), and the closed 2026-10-05 #516 and #580 entries on 2026-10-13 (preamble budget, making room for the #627 entry), and the closed 2026-10-06 #599 entry on 2026-10-13 (preamble budget, making room for the #663 entry), and the closed 2026-10-06 #598 entry on 2026-10-13 (preamble budget, making room for the #662 entry), and the closed 2026-10-06 #600 entry on 2026-10-13 (preamble budget, making room for the #660 entry), and the closed 2026-10-06 #612 entry on 2026-10-13 (preamble budget, making room for the #670 entry), and the closed 2026-10-06 #606 entry on 2026-10-13 (preamble budget, making room for the #671 entry), and the closed 2026-10-06 #620 entry on 2026-10-14 (preamble budget, making room for the #680 entry), and the closed 2026-10-06 #622 entry on 2026-10-14 (preamble budget, making room for the #684 entry), and the closed 2026-10-06 #581 entry on 2026-10-14 (preamble budget, making room for the #681 entry), and the closed 2026-10-06 #613 entry on 2026-10-14 (preamble budget, making room for the #689 entry), and the closed 2026-10-07 #607 and #582 entries on 2026-10-14 (preamble budget, making room for the #682/#687 entry), and the closed 2026-10-07 #634 entry on 2026-10-14 (preamble budget, making room for the #685 entry), and the closed 2026-10-07 #635 entry on 2026-10-14 (preamble budget, making room for the DEP-7 entry), and the closed 2026-10-07 #637 entry on 2026-10-14 (preamble budget, making room for the #678 entry), and the closed 2026-10-08 #605 entry on 2026-10-14 (preamble budget, making room for the #698 and #673 entries), and the closed 2026-10-11 #641 entry on 2026-10-15 (preamble budget, making room for the #673 entry), and the closed 2026-10-12 #646 entry on 2026-10-15 (preamble budget, making room for the #701 entry), and the closed 2026-10-12 #643 / #642 entry on 2026-10-27 (preamble budget, making room for the DEP-8 entry), and the closed 2026-10-12 #644 entry on 2026-10-27 (preamble budget, making room for the #713 entry), and the closed 2026-10-12 #649 entry on 2026-10-27 (preamble budget, making room for the #715 entry), and the closed 2026-10-12 #473 entry on 2026-10-27 (preamble budget, making room for the #711 entry), and the closed 2026-10-13 #656 entry on 2026-10-27 (preamble budget, making room for the #716 entry), and the closed 2026-10-13 #654/#655/#658 entry on 2026-11-01 (preamble budget, making room for the #749 entry), and the closed 2026-10-13 #653 entry on 2026-11-01 (preamble budget, making room for the #747 entry), and the closed 2026-10-13 #627 entry on 2026-11-01 (preamble budget, making room for the #753 entry), and the closed 2026-10-13 #662 entry on 2026-11-02 (preamble budget, making room for the #766 entry), and the closed 2026-10-13 #660 entry on 2026-11-02 (preamble budget, making room for the #742 entry), and the closed 2026-10-13 #670 entry on 2026-11-03 (preamble budget, making room for the #745 entry), and the closed 2026-10-13 #671 entry on 2026-11-03 (preamble budget, making room for the #736 entry), and the closed 2026-10-14 #681, #684 and #680 entries on 2026-11-03 (preamble budget, making room for the #767/#769 entry), and the closed 2026-10-14 #689 entry on 2026-11-03 (preamble budget, making room for the #779/#768/#743 entry), and the closed 2026-10-29 #730 and #714 entries on 2026-11-07 (preamble budget, making room for the #729 entry), and the closed 2026-10-14 #682/#687 entry on 2026-11-08 (preamble budget, making room for the #712 entry), and the closed 2026-10-14 #685 entry on 2026-11-08 (preamble budget, making room for the #790 entry), and the closed 2026-10-14 DEP-7 entry on 2026-11-18 (preamble budget, making room for the follow-ups wave 2 line), and the closed 2026-10-14 #678 entry on 2026-11-20 (preamble budget, making room for the follow-ups wave 5 line), and the closed 2026-10-14 #698 entry on 2026-11-23 (preamble budget, making room for the #1028 line) — citations of the form "BUILD_STATE <date> entry" /
"BUILD_STATE V1" / "Skills — Sn handoff" resolve there._
---
diff --cc docs/build-log.md
index 5d04b75c,5d04b75c..79778006
--- a/docs/build-log.md
+++ b/docs/build-log.md
@@@ -27,6 -27,6 +27,18 @@@
> text kept, wrapper dropped, prose otherwise byte-identical. The archive is frozen in CONTENT; a
> pointer that resolves in neither direction is a defect of the move, not a fact of the record.
++## 2026-11-23 — the closed 2026-10-14 #698 entry retired verbatim (preamble budget)
++
++Retired from `BUILD_STATE.md` on 2026-11-23 (preamble budget, making room for the #1028 line). Its record is
++unchanged: see the architecture.md DEP-7 record it cites. Nothing in it is still open. Citations of this entry now
++resolve here. Text below is byte-identical to what was removed.
++
++_2026-10-14 — **#698 — the renderer bundles KaTeX once (`fix/698-katex-dedupe`).** Since `ce7e87b1` the lockfile held four nested katex 0.16.47 installs (each with commander 8.3.0) and the math chunk bundled two of
++them: the app's (the partial-TeX check) and rehype-katex's (the renderer). One top-level `node_modules/katex` now serves every dependent: a lockfile-only edit of those ten entries, accepted unchanged by the pinned npm
++11.6.2 (`npm dedupe` would also have moved semver, lru-cache, entities and ci-info). The renderer is not minified, so a copy was 490,779 bytes, not the issue's ~270 KB: the chunk 2,006,578 → 1,511,459 bytes, `app.asar`
++−493 KB, its 3,425 `node_modules` files and THIRD-PARTY-NOTICES unchanged. The "single, deduped version" test compared versions: it now checks one install, plus the build carrying KaTeX once (each red under its regression).
++Real app (packaged, 4B, GTX 1070 Ti): the probe's KaTeX fonts load, streamed TeX typesets. Record: architecture.md DEP-7 "#698". Open: a streamed `$$ …` partial shows a KaTeX error box until it parses (pre-existing, #701; fixed, above)._
++
## 2026-11-22 — the follow-ups wave 7 in-progress entry and the wave 6 close entry retired verbatim (wave 7 closed)
Retired from `BUILD_STATE.md` on 2026-11-22, when follow-ups wave 7 closed (PR #1010 merged as `aa7a7184`, the last of