Open and answer this issue on GitHub.
ready · opened 2026-11-30 · updated 2026-11-30 · 0 comments
Found while building “nikaia.proofs: a trace per walked function; –search-unproved” (#2991). The binary before that change does the same.
A build of packages/yaml from an empty book changes panics=false to panics=true in the contracts of digits_in, leading_zero_digits, reads_as_other and requested. benches/lowering changes in the same way. So a search from scratch proves less than the book that grew over many builds holds, and a fresh checkout without the book would publish weaker contracts.
The owner’s rule is “no proof is lost” (2026-11-30). A proof must not depend on the history of the book.
To build
digits_in in yaml, which proved entry in the grown book has no counterpart in a search from scratch. Diff the two books, and use NIKAIA_DUMP_QUERIES.decision.tests/compiler/tests/: one build from no book gives the same contracts as the committed book.Done when yaml and benches/lowering from an empty book give the committed contracts.
Generated by Claude Code