mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-11-14 18:24:37 -06:00
- generate_margin_figures.py is now a registry: each figure pulls its values with lego(chapter, name), so margin figures print the same objects as the prose. --check fails on a stale SVG, a fig-alt missing a declared value, or an unowned margin SVG placed in a chapter. - Ported the scratch-only generators behind the Ch8, Ch9 and Ch11 margin figures; they reproduce the committed SVGs byte for byte. - Stale margins regenerated (Ch3 chunk strip, Ch6 decoder envelope, Ch14 handshake strip); all 21 rendered and visually verified. - Removed 16 stale, unreferenced margin SVGs the generator refuses to own (listed in its DROPPED table); the old injector now refuses to run. Checks: margin-figure --check 21 figures, 0 problems; all vol4 content checks pass (only pdf-verify/pdf-numbering, no PDF built). Skipped hooks, 0 vol4 findings each: book-check-headers, book-check-labels-orphans, book-check-bib, book-check-refs, book-check-footnotes (vol3 / shared bib); book-check-bib-verify (ledger deferred by the author).