Repository navigation
Pre-print verification: fix what the third audit's edits broke - #271
Merged
Merged
Conversation
added 2 commits
October 5, 2026 18:23
A targeted pass checked every line the third audit's round changed against the companion, the figures and the rest of the book, then an independent agent re-checked every fix. The book follows the companion's lending fixes: liquidation takes no account a borrower controls and closes an emptied vault into the obligation, borrow rates are capped at 300% a year, a liquidation bonus must be payable at the threshold, and an update may raise a reserve's liquidation threshold but never lower it. An obligation a liquidation leaves with debt and no collateral stays open until it is repaid. Fixed: false generalizations about closing accounts and payout handlers, the liquidation gloss, test descriptions that claimed more than their tests assert, the perps accumulator definition, the options put sentence, the glossary's unsettled balance and base token entries, the conclusion's incentive sentence and its answer to the Introduction's responsibility promise, the order book's close section moved after the fee withdrawal its figure draws, its handler list spaced inside its box, and lending's obligation boxes showing what each handler stores rather than what a later refresh would write. PRINT-SPECIFICATION.md carries the final build: 311 pages with the cover and its blank reverse, 309 interior, a 0.696in spine and a 15.826 x 9.94in wrap. Two footnote calls moved so Paged.js no longer drops text at a page break. Lint, figure geometry and the full PDF build pass. Claude-Session: https://claude.ai/code/session_01UX53A6YR1Hjr8z6WzJxf2q
Main split the PDF build into draft, digital and paperback scripts and moved cover sizing into the paperback build. PRINT-SPECIFICATION.md takes main's description of that, whose page counts this branch's build matches: 307 paperback interior pages, 309 digital, a 0.691in spine and a 15.821 x 9.94in wrap. The blank pages Paged.js inserts before chapters and part titles are nine in today's build. Claude-Session: https://claude.ai/code/session_01UX53A6YR1Hjr8z6WzJxf2q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A targeted pass over quicknode/solana-book#266 and quicknode/solana-program-examples#195. It checked every changed line against the code, the figures and the rest of the book, then had an independent agent re-check every fix. Merge quicknode/solana-program-examples#196 first: the lending chapter describes code that ships there.
The lending program, as the book now describes it
close_obligation()later returns that rent to the owner. This fixes a security hole Time chapter: plain wording, the timestamp's real error, a simpler decision tree, and no repetition #195 introduced.BorrowRateAboveCeiling).LiquidationBonusUnpayable).RiskLimitLowered). The loan-to-value may still be lowered to stop new borrowing.Fixed
Print
Merged with
main's new build scripts.PRINT-SPECIFICATION.mdtakes main's description of them, and this branch's build matches its numbers:npm run build-pdf-paperbackwrites tobuild/cover-kdp-307pp-white.pdf.Two footnote calls moved, so Paged.js no longer drops text at a page break; the build's overflow check caught both.
npm run lint,node scripts/check-figure-geometry.mjs(115 figures),npm run build-pdf-paperbackandnpm run build-pdf-digitalall pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01UX53A6YR1Hjr8z6WzJxf2q