Skip to content

contrast_45_int_of: no llint in the contrast test (css#99) - #100

Merged
moshez merged 1 commit into
mainfrom
worker/99
Nov 24, 2026
Merged

moshez merged 1 commit into
mainfrom
worker/99

Conversation

@moshez

@moshez moshez commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Fixes #99

Head: dc73aa8

Done-when digest: f8933c3e58d0785d

Plan

  1. Row 1 makes a clone of the pinned package repository (.github/repository-version, in a directory of the checkout's ignored build/ that this row makes): bats clone-repository 061c714942701a3fba2dd7f870a25ed416f81ed1 --repository build/css99-wasm/repo.
  2. Row 2 makes a scratch clone of this worktree, the head's commit, at the path the next rows use: git clone -q . build/css99-wasm/css-main.
  3. Row 3 makes the clone's branch main at the head (bats upload names the version after the checked-out branch, and anything but main uploads a dev1 version): git -C build/css99-wasm/css-main checkout -q -B main dc73aa8527b15ff095ca6fe98a9f8b1325cd816c.
  4. Row 4 makes this head uploaded to the scratch repository (the clone's checkout is the one that uploads, a main checkout): env -C build/css99-wasm/css-main bats upload --repository ../repo.
  5. Row 5 makes the scratch app's directory: env mkdir -p build/css99-wasm/app/src/bin.
  6. Row 6 makes the scratch app's bats.toml: package wasmcss, kind = "bin", unsafe = false, dependencies css, array, builder: env printf '%s\n' '[package]' 'name = "wasmcss"' 'kind = "bin"' 'unsafe = false' '' '[dependencies]' '"css" = ""' '"array" = ""' '"builder" = ""' > build/css99-wasm/app/bats.toml.
  7. Row 7 makes the scratch app's source, src/bin/wasmcss.bats: #target wasm binary, and a main0 that builds the sheet p { color: #000 } in a builder, reads it with book_sheet_read and book_style_read (grammar 1, the light ground 250 248 245 and the sepia ground 244 236 216) and frees both reads with book_read_free and book_decls_free, then frees the array: env printf '%s\n' '(* wasmcss: a wasm app that calls css book_sheet_read and book_style_read (css#99) *)' '#target wasm binary' '#include "share/atspre_staload.hats"' '#use css as C' '#use array as A' '#use builder as B' 'staload CB = "css/src/book.sats"' '' 'implement main0 () = let' ' var sheet : $B.builder(0) = $B.create()' ' val () = $B.bput(sheet, "p { color: #000 }")' ' val @(sheet_arr, sheet_len) = $B.to_arr(sheet)' ' val @(sheet_len_pf | sheet_barr) = $A.barr_of_arr(sheet_arr)' ' val @(sheet_frozen, sheet_view) = $A.barr_freeze(sheet_barr)' ' val read = $CB.book_sheet_read(sheet_view, sheet_len, 1, @(250, 248, 245), @(244, 236, 216))' ' val () = $CB.book_read_free(read)' ' val decls = $CB.book_style_read(sheet_view, sheet_len, 1, @(250, 248, 245), @(244, 236, 216))' ' val () = $CB.book_decls_free(decls)' ' val () = $A.cborrow_drop(sheet_frozen, sheet_view)' ' val () = $A.barr_free($A.barr_thaw(sheet_frozen))' 'in end' > build/css99-wasm/app/src/bin/wasmcss.bats.
  8. Row 8 makes the lock of the scratch app, which names the css of this head: env -C build/css99-wasm/app bats lock --repository ../repo.
  9. Row 9 makes the wasm build of the scratch app, dist/debug/wasmcss.wasm of its directory: env -C build/css99-wasm/app bats build --only debug --only wasm --repository ../repo.
  10. The p2 ticket that removes the old form is css#101, "Remove contrast_45_of once dependents have moved to contrast_45_int_of": gh api repos/bats-lang/css/issues/101 -q .title.
  11. book_sheet_read and book_style_read link into a wasm app without any llint import, with the same CONTRAST proofs and the same answers as before on every case the existing tests play: demonstrated by the atspre_g1int2int_int_llint, atspre_g1int_add_llint, atspre_g1int_mul_llint and atspre_g1int_gte_llint names being absent from wasm-objdump -x imports of a wasm build that calls both functions (the command and its output in the pull request's Evidence), and by this repository's check job passing on the pull request's head. Evidence command: env -C build/css99-wasm/app wasm-objdump -x dist/debug/wasmcss.wasm in the scratch app's directory (rows 1 to 9 make it: the clone of the pinned repository, the upload of this head, the source of main0 and the build; the compiler on PATH is built from the checked-in seed of a bats checkout, the debug/bats target of make in a copy of its bootstrap/c); CI pointer: workflow check.yml, job check, greppable check.

Overlap: contrast_45_of (llint) is kept beside the new contrast_45_int_of; src/book_tests.bats calls the old form in test_contrast_black_on_white and four more, and compares both in test_contrast_int_agrees_with_old. The p2 ticket that removes the old form is css#101 (row 10).

Execution

  • scripts/gen-contrast.py writes contrast_45_int_of (regenerated into src/contrast.bats): 2 * (alo + P) / 9 >= bhi + P, the same as 10 * (alo + P) >= 45 * (bhi + P) for integers, with the left side under 2^31; the CONTRAST proof is the same (the solver accepted it).
  • src/book.bats calls the new form.
  • Local: bats check passed and bats test --only native printed all tests passed (new test_contrast_int_*).
  • The review of this head asked for the scratch app to be made by Plan rows; rows 1 to 9 do it, and row 11 runs the objdump in its directory.

Deviations: none

Evidence

$ bats clone-repository 061c714942701a3fba2dd7f870a25ed416f81ed1 --repository build/css99-wasm/repo
BATS_REPOSITORY=build/css99-wasm/repo
$ git clone -q . build/css99-wasm/css-main
$ git -C build/css99-wasm/css-main checkout -q -B main dc73aa8527b15ff095ca6fe98a9f8b1325cd816c
$ env -C build/css99-wasm/css-main bats upload --repository ../repo
generated docs (4 module(s))
uploaded css v2026.11.24.8313 to ../repo
$ env mkdir -p build/css99-wasm/app/src/bin
$ env printf '%s\n' '[package]' 'name = "wasmcss"' 'kind = "bin"' 'unsafe = false' '' '[dependencies]' '"css" = ""' '"array" = ""' '"builder" = ""' > build/css99-wasm/app/bats.toml
$ env printf '%s\n' '(* wasmcss: a wasm app that calls css book_sheet_read and book_style_read (css#99) *)' '#target wasm binary' '#include "share/atspre_staload.hats"' '#use css as C' '#use array as A' '#use builder as B' 'staload CB = "css/src/book.sats"' '' 'implement main0 () = let' '  var sheet : $B.builder(0) = $B.create()' '  val () = $B.bput(sheet, "p { color: #000 }")' '  val @(sheet_arr, sheet_len) = $B.to_arr(sheet)' '  val @(sheet_len_pf | sheet_barr) = $A.barr_of_arr(sheet_arr)' '  val @(sheet_frozen, sheet_view) = $A.barr_freeze(sheet_barr)' '  val read = $CB.book_sheet_read(sheet_view, sheet_len, 1, @(250, 248, 245), @(244, 236, 216))' '  val () = $CB.book_read_free(read)' '  val decls = $CB.book_style_read(sheet_view, sheet_len, 1, @(250, 248, 245), @(244, 236, 216))' '  val () = $CB.book_decls_free(decls)' '  val () = $A.cborrow_drop(sheet_frozen, sheet_view)' '  val () = $A.barr_free($A.barr_thaw(sheet_frozen))' 'in end' > build/css99-wasm/app/src/bin/wasmcss.bats
$ env -C build/css99-wasm/app bats lock --repository ../repo
fetched builder v2026.10.22.61640
fetched arith v2026.10.20.71830
fetched array v2026.10.26.2064
fetched css v2026.11.24.8313
fetched str v2026.9.27.2044
wrote bats.lock (5 dependencies)
$ env -C build/css99-wasm/app bats build --only debug --only wasm --repository ../repo
built ./dist/debug/wasmcss.wasm (wasm)
$ gh api repos/bats-lang/css/issues/101 -q .title
Remove contrast_45_of once dependents have moved to contrast_45_int_of
$ env -C build/css99-wasm/app wasm-objdump -x dist/debug/wasmcss.wasm

wasmcss.wasm:	file format wasm 0x1
module name: <wasmcss.wasm>

Section Details:

Type[16]:
 - type[0] (i32) -> i32
 - type[1] (i32) -> nil
 - type[2] () -> nil
 - type[3] (i32, i32, i32) -> i32
 - type[4] (i32, i32, i32, i32, i32) -> i32
 - type[5] (i32, i32, i32, i32, i32, i32, i32, i32) -> nil
 - type[6] (i32, i32, i32, i32, i32) -> nil
 - type[7] (i32, i32, i32, i32) -> nil
 - type[8] (i32, i32, i32, i32) -> i32
 - type[9] (i32, i32, i32, i32, i32, i32, i32, i32) -> i32
 - type[10] (i32, i32, i32, i32, i32, i32, i32) -> nil
 - type[11] (i32, i32) -> i32
 - type[12] (i32, i32, i32, i32, i32, i32) -> nil
 - type[13] (i32, i32) -> nil
 - type[14] (i32, i32, i32, i32, i32, i32) -> i32
 - type[15] () -> i32
Function[67]:
 - func[0] sig=0 <malloc>
 - func[1] sig=1 <free>
 - func[2] sig=2 <mainats_0_void>
 - func[3] sig=2 <bats_dynload>
 - func[4] sig=2 <build_057_src_057_bin_057_wasmcss_056_sats____BATS_main0>
 - func[5] sig=2 <build_057_src_057_bin_057_wasmcss_056_dats__dynload>
 - func[6] sig=2 <build_057_bats_modules_057_css_057_src_057_lib_056_dats__dynload>
 - func[7] sig=3 <_scan_ident_44>
 - func[8] sig=1 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_read_free>
 - func[9] sig=1 <_free_rules_436>
 - func[10] sig=1 <_free_simples_433>
 - func[11] sig=1 <_free_faces_440>
 - func[12] sig=4 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_sheet_read>
 - func[13] sig=5 <_rules_loop_755>
 - func[14] sig=3 <_skip_trivia_452>
 - func[15] sig=6 <_rules_done_754>
 - func[16] sig=3 <_prelude_end_495>
 - func[17] sig=6 <_compound_loop_630>
 - func[18] sig=0 <_simples_rev_629>
 - func[19] sig=7 <_url_at_717>
 - func[20] sig=3 <_block_end_466>
 - func[21] sig=8 <_span_is_136>
 - func[22] sig=7 <_decl_first_490>
 - func[23] sig=3 <_strip_important_514>
 - func[24] sig=9 <_read_value_424>
 - func[25] sig=3 <_after_stmt_726>
 - func[26] sig=5 <_query_loop_696>
 - func[27] sig=10 <_decls_loop_546>
 - func[28] sig=4 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_style_read>
 - func[29] sig=8 <_prop_find_326>
 - func[30] sig=11 <_prop_mask_139>
 - func[31] sig=8 <_string_body_94>
 - func[32] sig=8 <_zindex_digits_336>
 - func[33] sig=1 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_decls_free>
 - func[34] sig=0 <_prop_name_138>
 - func[35] sig=2 <build_057_bats_modules_057_css_057_src_057_book_056_dats__dynload>
 - func[36] sig=8 <_string_end_460>
 - func[37] sig=3 <_comment_body_448>
 - func[38] sig=3 <_paren_end_684>
 - func[39] sig=3 <_pe_code_551>
 - func[40] sig=12 <_nth_num_598>
 - func[41] sig=5 <_attr_string_573>
 - func[42] sig=12 <_nth_b_594>
 - func[43] sig=6 <_decl_end_476>
 - func[44] sig=3 <_scan_unsigned_56>
 - func[45] sig=3 <_scan_fragment_344>
 - func[46] sig=3 <_func_bit_332>
 - func[47] sig=2 <build_057_bats_modules_057_css_057_src_057_book_tests_056_dats__dynload>
 - func[48] sig=13 <build_057_bats_modules_057_css_057_src_057_contrast_056_sats__lin_of>
 - func[49] sig=14 <build_057_bats_modules_057_css_057_src_057_contrast_056_sats__contrast_45_int_of>
 - func[50] sig=2 <build_057_bats_modules_057_css_057_src_057_contrast_056_dats__dynload>
 - func[51] sig=2 <build_057_bats_modules_057_css_057_src_057_harmony_056_dats__dynload>
 - func[52] sig=1 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_free>
 - func[53] sig=0 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_of_arr>
 - func[54] sig=13 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_freeze>
 - func[55] sig=0 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_thaw>
 - func[56] sig=13 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__cborrow_drop>
 - func[57] sig=11 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__cborrow_get>
 - func[58] sig=2 <build_057_bats_modules_057_array_057_src_057_lib_056_dats__dynload>
 - func[59] sig=15 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__create>
 - func[60] sig=13 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__to_arr>
 - func[61] sig=13 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__put_byte>
 - func[62] sig=13 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__bput>
 - func[63] sig=2 <build_057_bats_modules_057_builder_057_src_057_lib_056_dats__dynload>
 - func[64] sig=0 <build_057_bats_modules_057_arith_057_src_057_lib_056_sats__byte_of_char>
 - func[65] sig=2 <build_057_bats_modules_057_arith_057_src_057_lib_056_dats__dynload>
 - func[66] sig=2 <build_057_bats_modules_057_str_057_src_057_lib_056_dats__dynload>
Memory[1]:
 - memory[0] pages: initial=256 max=4096
Global[1]:
 - global[0] i32 mutable=1 <__stack_pointer> - init i32=1053088
Export[4]:
 - memory[0] -> "memory"
 - func[0] <malloc> -> "malloc"
 - func[2] <mainats_0_void> -> "mainats_0_void"
 - func[3] <bats_dynload> -> "bats_dynload"
Code[67]:
 - func[0] size=665 <malloc>
 - func[1] size=202 <free>
 - func[2] size=8 <mainats_0_void>
 - func[3] size=87 <bats_dynload>
 - func[4] size=396 <build_057_src_057_bin_057_wasmcss_056_sats____BATS_main0>
 - func[5] size=27 <build_057_src_057_bin_057_wasmcss_056_dats__dynload>
 - func[6] size=27 <build_057_bats_modules_057_css_057_src_057_lib_056_dats__dynload>
 - func[7] size=245 <_scan_ident_44>
 - func[8] size=196 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_read_free>
 - func[9] size=350 <_free_rules_436>
 - func[10] size=365 <_free_simples_433>
 - func[11] size=125 <_free_faces_440>
 - func[12] size=155 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_sheet_read>
 - func[13] size=8130 <_rules_loop_755>
 - func[14] size=216 <_skip_trivia_452>
 - func[15] size=404 <_rules_done_754>
 - func[16] size=405 <_prelude_end_495>
 - func[17] size=5872 <_compound_loop_630>
 - func[18] size=768 <_simples_rev_629>
 - func[19] size=568 <_url_at_717>
 - func[20] size=471 <_block_end_466>
 - func[21] size=135 <_span_is_136>
 - func[22] size=349 <_decl_first_490>
 - func[23] size=606 <_strip_important_514>
 - func[24] size=3298 <_read_value_424>
 - func[25] size=63 <_after_stmt_726>
 - func[26] size=4754 <_query_loop_696>
 - func[27] size=7482 <_decls_loop_546>
 - func[28] size=128 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_style_read>
 - func[29] size=1993 <_prop_find_326>
 - func[30] size=2300 <_prop_mask_139>
 - func[31] size=709 <_string_body_94>
 - func[32] size=100 <_zindex_digits_336>
 - func[33] size=147 <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_decls_free>
 - func[34] size=81 <_prop_name_138>
 - func[35] size=27 <build_057_bats_modules_057_css_057_src_057_book_056_dats__dynload>
 - func[36] size=99 <_string_end_460>
 - func[37] size=82 <_comment_body_448>
 - func[38] size=292 <_paren_end_684>
 - func[39] size=933 <_pe_code_551>
 - func[40] size=445 <_nth_num_598>
 - func[41] size=190 <_attr_string_573>
 - func[42] size=562 <_nth_b_594>
 - func[43] size=565 <_decl_end_476>
 - func[44] size=370 <_scan_unsigned_56>
 - func[45] size=192 <_scan_fragment_344>
 - func[46] size=950 <_func_bit_332>
 - func[47] size=27 <build_057_bats_modules_057_css_057_src_057_book_tests_056_dats__dynload>
 - func[48] size=5536 <build_057_bats_modules_057_css_057_src_057_contrast_056_sats__lin_of>
 - func[49] size=313 <build_057_bats_modules_057_css_057_src_057_contrast_056_sats__contrast_45_int_of>
 - func[50] size=27 <build_057_bats_modules_057_css_057_src_057_contrast_056_dats__dynload>
 - func[51] size=27 <build_057_bats_modules_057_css_057_src_057_harmony_056_dats__dynload>
 - func[52] size=10 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_free>
 - func[53] size=4 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_of_arr>
 - func[54] size=16 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_freeze>
 - func[55] size=4 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_thaw>
 - func[56] size=2 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__cborrow_drop>
 - func[57] size=10 <build_057_bats_modules_057_array_057_src_057_lib_056_sats__cborrow_get>
 - func[58] size=27 <build_057_bats_modules_057_array_057_src_057_lib_056_dats__dynload>
 - func[59] size=62 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__create>
 - func[60] size=259 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__to_arr>
 - func[61] size=349 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__put_byte>
 - func[62] size=90 <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__bput>
 - func[63] size=27 <build_057_bats_modules_057_builder_057_src_057_lib_056_dats__dynload>
 - func[64] size=8 <build_057_bats_modules_057_arith_057_src_057_lib_056_sats__byte_of_char>
 - func[65] size=27 <build_057_bats_modules_057_arith_057_src_057_lib_056_dats__dynload>
 - func[66] size=27 <build_057_bats_modules_057_str_057_src_057_lib_056_dats__dynload>
Data[2]:
 - segment[0] <.rodata> memory=0 size=3376 - init i32=1024
  - 0000400: 2000 0000 8000 0000 0002 0000 0010 0000   ...............
  - 0000410: 0020 0000 0040 0000 0000 0100 0000 0400  . ...@..........
  - 0000420: 0000 1000 7020 7b20 636f 6c6f 723a 2023  ....p { color: #
  - 0000430: 3030 3020 7d00 736b 6577 7900 656d 7074  000 }.skewy.empt
  - 0000440: 7900 7669 7369 6269 6c69 7479 0073 746f  y.visibility.sto
  - 0000450: 702d 6f70 6163 6974 7900 6669 6c6c 2d6f  p-opacity.fill-o
  - 0000460: 7061 6369 7479 0073 7472 6f6b 652d 6f70  pacity.stroke-op
  - 0000470: 6163 6974 7900 666f 6e74 2d66 616d 696c  acity.font-famil
  - 0000480: 7900 7472 616e 736c 6174 6579 0073 6361  y.translatey.sca
  - 0000490: 6c65 7900 7374 726f 6b65 2d64 6173 6861  ley.stroke-dasha
  - 00004a0: 7272 6179 0064 6973 706c 6179 0073 6b65  rray.display.ske
  - 00004b0: 7778 006d 6174 7269 7800 7472 616e 736c  wx.matrix.transl
  - 00004c0: 6174 6578 0069 6e6c 696e 652d 666c 6578  atex.inline-flex
  - 00004d0: 0073 6361 6c65 7800 7a2d 696e 6465 7800  .scalex.z-index.
  - 00004e0: 766d 6178 0076 7700 666c 6578 2d67 726f  vmax.vw.flex-gro
  - 00004f0: 7700 7461 626c 652d 726f 7700 6772 6964  w.table-row.grid
  - 0000500: 2d72 6f77 006f 7665 7266 6c6f 7700 626f  -row.overflow.bo
  - 0000510: 782d 7368 6164 6f77 0074 6578 742d 7368  x-shadow.text-sh
  - 0000520: 6164 6f77 0073 6b65 7700 7461 626c 652d  adow.skew.table-
  - 0000530: 6c61 796f 7574 0074 6578 742d 616c 6967  layout.text-alig
  - 0000540: 6e2d 6c61 7374 006d 6172 6b65 722d 7374  n-last.marker-st
  - 0000550: 6172 7400 6d61 7267 696e 2d62 6c6f 636b  art.margin-block
  - 0000560: 2d73 7461 7274 006d 6172 6769 6e2d 696e  -start.margin-in
  - 0000570: 6c69 6e65 2d73 7461 7274 0066 6c6f 772d  line-start.flow-
  - 0000580: 726f 6f74 006e 6f74 0063 6f6c 756d 6e2d  root.not.column-
  - 0000590: 636f 756e 7400 6a75 7374 6966 792d 636f  count.justify-co
  - 00005a0: 6e74 656e 7400 616c 6967 6e2d 636f 6e74  ntent.align-cont
  - 00005b0: 656e 7400 7265 7065 6174 696e 672d 6c69  ent.repeating-li
  - 00005c0: 6e65 6172 2d67 7261 6469 656e 7400 7265  near-gradient.re
  - 00005d0: 7065 6174 696e 672d 7261 6469 616c 2d67  peating-radial-g
  - 00005e0: 7261 6469 656e 7400 7465 7874 2d69 6e64  radient.text-ind
  - 00005f0: 656e 7400 666f 6e74 2d76 6172 6961 6e74  ent.font-variant
  - 0000600: 0069 6e68 6572 6974 0073 7472 6f6b 652d  .inherit.stroke-
  - 0000610: 6d69 7465 726c 696d 6974 006f 626a 6563  miterlimit.objec
  - 0000620: 742d 6669 7400 7465 7874 2d63 6f6d 6269  t-fit.text-combi
  - 0000630: 6e65 2d75 7072 6967 6874 006d 6172 6769  ne-upright.margi
  - 0000640: 6e2d 7269 6768 7400 7061 6464 696e 672d  n-right.padding-
  - 0000650: 7269 6768 7400 666f 6e74 2d77 6569 6768  right.font-weigh
  - 0000660: 7400 6d61 782d 6865 6967 6874 006d 696e  t.max-height.min
  - 0000670: 2d68 6569 6768 7400 6c69 6e65 2d68 6569  -height.line-hei
  - 0000680: 6768 7400 6d61 7267 696e 2d6c 6566 7400  ght.margin-left.
  - 0000690: 7061 6464 696e 672d 6c65 6674 0075 6e73  padding-left.uns
  - 00006a0: 6574 0069 6e73 6574 0073 7472 6f6b 652d  et.inset.stroke-
  - 00006b0: 6461 7368 6f66 6673 6574 0074 6578 742d  dashoffset.text-
  - 00006c0: 756e 6465 726c 696e 652d 6f66 6673 6574  underline-offset
  - 00006d0: 0066 6c6f 6174 0062 6163 6b67 726f 756e  .float.backgroun
  - 00006e0: 642d 7265 7065 6174 0067 7269 642d 7465  d-repeat.grid-te
  - 00006f0: 6d70 6c61 7465 2d72 6f77 7300 7769 646f  mplate-rows.wido
  - 0000700: 7773 0062 6f72 6465 722d 7261 6469 7573  ws.border-radius
  - 0000710: 0073 7570 706f 7274 7300 636f 6e74 656e  .supports.conten
  - 0000720: 7473 0074 6578 742d 6465 636f 7261 7469  ts.text-decorati
  - 0000730: 6f6e 2d74 6869 636b 6e65 7373 0063 6f75  on-thickness.cou
  - 0000740: 6e74 6572 7300 666f 6e74 2d76 6172 6961  nters.font-varia
  - 0000750: 6e74 2d63 6170 7300 6772 6964 2d74 656d  nt-caps.grid-tem
  - 0000760: 706c 6174 652d 636f 6c75 6d6e 7300 6879  plate-columns.hy
  - 0000770: 7068 656e 7300 6f72 7068 616e 7300 6a75  phens.orphans.ju
  - 0000780: 7374 6966 792d 6974 656d 7300 616c 6967  stify-items.alig
  - 0000790: 6e2d 6974 656d 7300 656d 7074 792d 6365  n-items.empty-ce
  - 00007a0: 6c6c 7300 666c 6578 2d62 6173 6973 0071  lls.flex-basis.q
  - 00007b0: 756f 7465 7300 626f 7264 6572 2d72 6967  uotes.border-rig
  - 00007c0: 6874 2d63 6f6c 6f72 0062 6f72 6465 722d  ht-color.border-
  - 00007d0: 6c65 6674 2d63 6f6c 6f72 0074 6578 742d  left-color.text-
  - 00007e0: 656d 7068 6173 6973 2d63 6f6c 6f72 0062  emphasis-color.b
  - 00007f0: 6f72 6465 722d 636f 6c6f 7200 7374 6f70  order-color.stop
  - 0000800: 2d63 6f6c 6f72 0062 6f72 6465 722d 746f  -color.border-to
  - 0000810: 702d 636f 6c6f 7200 7465 7874 2d64 6563  p-color.text-dec
  - 0000820: 6f72 6174 696f 6e2d 636f 6c6f 7200 626f  oration-color.bo
  - 0000830: 7264 6572 2d62 6f74 746f 6d2d 636f 6c6f  rder-bottom-colo
  - 0000840: 7200 6f75 746c 696e 652d 636f 6c6f 7200  r.outline-color.
  - 0000850: 636f 6c75 6d6e 2d72 756c 652d 636f 6c6f  column-rule-colo
  - 0000860: 7200 6261 636b 6772 6f75 6e64 2d63 6f6c  r.background-col
  - 0000870: 6f72 0066 7200 6669 7273 742d 6c65 7474  or.fr.first-lett
  - 0000880: 6572 0063 6f75 6e74 6572 0070 6167 652d  er.counter.page-
  - 0000890: 6272 6561 6b2d 6166 7465 7200 6d61 726b  break-after.mark
  - 00008a0: 6572 006f 7264 6572 0063 6c65 6172 0074  er.order.clear.t
  - 00008b0: 6162 6c65 2d72 6f77 2d67 726f 7570 0074  able-row-group.t
  - 00008c0: 6162 6c65 2d66 6f6f 7465 722d 6772 6f75  able-footer-grou
  - 00008d0: 7000 7461 626c 652d 6865 6164 6572 2d67  p.table-header-g
  - 00008e0: 726f 7570 0074 6162 6c65 2d63 6f6c 756d  roup.table-colum
  - 00008f0: 6e2d 6772 6f75 7000 6d61 7267 696e 2d74  n-group.margin-t
  - 0000900: 6f70 0070 6164 6469 6e67 2d74 6f70 0066  op.padding-top.f
  - 0000910: 6c65 782d 7772 6170 006f 7665 7266 6c6f  lex-wrap.overflo
  - 0000920: 772d 7772 6170 0072 6f77 2d67 6170 0063  w-wrap.row-gap.c
  - 0000930: 6f6c 756d 6e2d 6761 7000 7374 726f 6b65  olumn-gap.stroke
  - 0000940: 2d6c 696e 6563 6170 006d 6178 2d61 7370  -linecap.max-asp
  - 0000950: 6563 742d 7261 7469 6f00 6d69 6e2d 6173  ect-ratio.min-as
  - 0000960: 7065 6374 2d72 6174 696f 0074 7572 6e00  pect-ratio.turn.
  - 0000970: 7461 626c 652d 6361 7074 696f 6e00 7275  table-caption.ru
  - 0000980: 6279 2d70 6f73 6974 696f 6e00 6f62 6a65  by-position.obje
  - 0000990: 6374 2d70 6f73 6974 696f 6e00 7465 7874  ct-position.text
  - 00009a0: 2d65 6d70 6861 7369 732d 706f 7369 7469  -emphasis-positi
  - 00009b0: 6f6e 006c 6973 742d 7374 796c 652d 706f  on.list-style-po
  - 00009c0: 7369 7469 6f6e 0062 6163 6b67 726f 756e  sition.backgroun
  - 00009d0: 642d 706f 7369 7469 6f6e 0066 6c65 782d  d-position.flex-
  - 00009e0: 6469 7265 6374 696f 6e00 7465 7874 2d6f  direction.text-o
  - 00009f0: 7269 656e 7461 7469 6f6e 0074 6162 6c65  rientation.table
  - 0000a00: 2d63 6f6c 756d 6e00 6772 6964 2d63 6f6c  -column.grid-col
  - 0000a10: 756d 6e00 7374 726f 6b65 2d6c 696e 656a  umn.stroke-linej
  - 0000a20: 6f69 6e00 766d 696e 006d 6172 6769 6e00  oin.vmin.margin.
  - 0000a30: 7472 616e 7366 6f72 6d2d 6f72 6967 696e  transform-origin
  - 0000a40: 0074 6578 742d 616c 6967 6e00 7665 7274  .text-align.vert
  - 0000a50: 6963 616c 2d61 6c69 676e 0066 6f6e 742d  ical-align.font-
  - 0000a60: 7661 7269 616e 742d 6561 7374 2d61 7369  variant-east-asi
  - 0000a70: 616e 0074 6578 742d 7472 616e 7366 6f72  an.text-transfor
  - 0000a80: 6d00 6d61 7267 696e 2d62 6f74 746f 6d00  m.margin-bottom.
  - 0000a90: 7061 6464 696e 672d 626f 7474 6f6d 0072  padding-bottom.r
  - 0000aa0: 656d 0064 7063 6d00 6669 6c6c 0074 6162  em.dpcm.fill.tab
  - 0000ab0: 6c65 2d63 656c 6c00 696e 6974 6961 6c00  le-cell.initial.
  - 0000ac0: 666c 6578 2d73 6872 696e 6b00 696e 6c69  flex-shrink.inli
  - 0000ad0: 6e65 2d62 6c6f 636b 006c 696e 652d 6272  ne-block.line-br
  - 0000ae0: 6561 6b00 776f 7264 2d62 7265 616b 0064  eak.word-break.d
  - 0000af0: 7069 0065 6d6f 6a69 0075 6e69 636f 6465  pi.emoji.unicode
  - 0000b00: 2d62 6964 6900 7668 006d 6178 2d77 6964  -bidi.vh.max-wid
  - 0000b10: 7468 0062 6f72 6465 722d 7269 6768 742d  th.border-right-
  - 0000b20: 7769 6474 6800 626f 7264 6572 2d6c 6566  width.border-lef
  - 0000b30: 742d 7769 6474 6800 626f 7264 6572 2d77  t-width.border-w
  - 0000b40: 6964 7468 0062 6f72 6465 722d 746f 702d  idth.border-top-
  - 0000b50: 7769 6474 6800 636f 6c75 6d6e 2d77 6964  width.column-wid
  - 0000b60: 7468 006d 696e 2d77 6964 7468 0062 6f72  th.min-width.bor
  - 0000b70: 6465 722d 626f 7474 6f6d 2d77 6964 7468  der-bottom-width
  - 0000b80: 006f 7574 6c69 6e65 2d77 6964 7468 0063  .outline-width.c
  - 0000b90: 6f6c 756d 6e2d 7275 6c65 2d77 6964 7468  olumn-rule-width
  - 0000ba0: 0073 7472 6f6b 652d 7769 6474 6800 666f  .stroke-width.fo
  - 0000bb0: 6e74 2d73 7472 6574 6368 0066 616e 6773  nt-stretch.fangs
  - 0000bc0: 6f6e 6700 626f 782d 7369 7a69 6e67 0070  ong.box-sizing.p
  - 0000bd0: 6164 6469 6e67 006c 6574 7465 722d 7370  adding.letter-sp
  - 0000be0: 6163 696e 6700 626f 7264 6572 2d73 7061  acing.border-spa
  - 0000bf0: 6369 6e67 0077 6f72 642d 7370 6163 696e  cing.word-spacin
  - 0000c00: 6700 6c61 6e67 0064 6567 006a 7573 7469  g.lang.deg.justi
  - 0000c10: 6679 2d73 656c 6600 616c 6967 6e2d 7365  fy-self.align-se
  - 0000c20: 6c66 0075 692d 7361 6e73 2d73 6572 6966  lf.ui-sans-serif
  - 0000c30: 0066 6f6e 742d 7369 7a65 0062 6163 6b67  .font-size.backg
  - 0000c40: 726f 756e 642d 7369 7a65 0072 6f74 6174  round-size.rotat
  - 0000c50: 6500 7472 616e 736c 6174 6500 626f 7264  e.translate.bord
  - 0000c60: 6572 2d63 6f6c 6c61 7073 6500 7061 6765  er-collapse.page
  - 0000c70: 2d62 7265 616b 2d62 6566 6f72 6500 6f6e  -break-before.on
  - 0000c80: 6c79 2d6f 662d 7479 7065 0066 6972 7374  ly-of-type.first
  - 0000c90: 2d6f 662d 7479 7065 006e 7468 2d6c 6173  -of-type.nth-las
  - 0000ca0: 742d 6f66 2d74 7970 6500 6e74 682d 6f66  t-of-type.nth-of
  - 0000cb0: 2d74 7970 6500 6c69 7374 2d73 7479 6c65  -type.list-style
  - 0000cc0: 2d74 7970 6500 6669 7273 742d 6c69 6e65  -type.first-line
  - 0000cd0: 0074 6578 742d 6465 636f 7261 7469 6f6e  .text-decoration
  - 0000ce0: 2d6c 696e 6500 7465 7874 2d63 6f6d 6269  -line.text-combi
  - 0000cf0: 6e65 0066 6f6e 742d 7374 796c 6500 626f  ne.font-style.bo
  - 0000d00: 7264 6572 2d72 6967 6874 2d73 7479 6c65  rder-right-style
  - 0000d10: 0062 6f72 6465 722d 6c65 6674 2d73 7479  .border-left-sty
  - 0000d20: 6c65 0074 6578 742d 656d 7068 6173 6973  le.text-emphasis
  - 0000d30: 2d73 7479 6c65 0062 6f72 6465 722d 7374  -style.border-st
  - 0000d40: 796c 6500 626f 7264 6572 2d74 6f70 2d73  yle.border-top-s
  - 0000d50: 7479 6c65 0074 6578 742d 6465 636f 7261  tyle.text-decora
  - 0000d60: 7469 6f6e 2d73 7479 6c65 0062 6f72 6465  tion-style.borde
  - 0000d70: 722d 626f 7474 6f6d 2d73 7479 6c65 006f  r-bottom-style.o
  - 0000d80: 7574 6c69 6e65 2d73 7479 6c65 0063 6f6c  utline-style.col
  - 0000d90: 756d 6e2d 7275 6c65 2d73 7479 6c65 0066  umn-rule-style.f
  - 0000da0: 696c 6c2d 7275 6c65 0069 6e6c 696e 652d  ill-rule.inline-
  - 0000db0: 7461 626c 6500 7363 616c 6500 7374 726f  table.scale.stro
  - 0000dc0: 6b65 0062 6163 6b67 726f 756e 642d 696d  ke.background-im
  - 0000dd0: 6167 6500 7772 6974 696e 672d 6d6f 6465  age.writing-mode
  - 0000de0: 0070 6167 652d 6272 6561 6b2d 696e 7369  .page-break-insi
  - 0000df0: 6465 0063 6170 7469 6f6e 2d73 6964 6500  de.caption-side.
  - 0000e00: 7569 2d6d 6f6e 6f73 7061 6365 0077 6869  ui-monospace.whi
  - 0000e10: 7465 2d73 7061 6365 006d 6172 6b65 722d  te-space.marker-
  - 0000e20: 656e 6400 6d61 7267 696e 2d62 6c6f 636b  end.margin-block
  - 0000e30: 2d65 6e64 006d 6172 6769 6e2d 696e 6c69  -end.margin-inli
  - 0000e40: 6e65 2d65 6e64 006e 7468 2d6c 6173 742d  ne-end.nth-last-
  - 0000e50: 6368 696c 6400 6e74 682d 6368 696c 6400  child.nth-child.
  - 0000e60: 696e 6c69 6e65 2d67 7269 6400 6d61 726b  inline-grid.mark
  - 0000e70: 6572 2d6d 6964 0072 6164 0066 6f6e 742d  er-mid.rad.font-
  - 0000e80: 7661 7269 616e 742d 6e75 6d65 7269 6300  variant-numeric.
  - 0000e90: 6873 6c61 006d 6564 6961 0067 7269 642d  hsla.media.grid-
  - 0000ea0: 6172 6561 0000 0000 6d08 0000 f30c 0000  area....m.......
  - 0000eb0: 5606 0000 f405 0000 4607 0000 7b0e 0000  V.......F...{...
  - 0000ec0: 5b0a 0000 ae0b 0000 310c 0000 7604 0000  [.......1...v...
  - 0000ed0: 7806 0000 d70b 0000 f50b 0000 410a 0000  x...........A...
  - 0000ee0: 3705 0000 e805 0000 730a 0000 d10c 0000  7.......s.......
  - 0000ef0: 550d 0000 2307 0000 bb06 0000 0d0e 0000  U...#...........
  - 0000f00: e40a 0000 1909 0000 d90a 0000 6e07 0000  ............n...
  - 0000f10: 4c0a 0000 f90a 0000 e009 0000 af07 0000  L...............
  - 0000f20: ac05 0000 2606 0000 230d 0000 9c09 0000  ....&...#.......
  - 0000f30: 7e09 0000 d40d 0000 ea09 0000 a504 0000  ~...............
  - 0000f40: f808 0000 820a 0000 8406 0000 3b06 0000  ............;...
  - 0000f50: 5405 0000 240e 0000 6705 0000 350e 0000  T...$...g...5...
  - 0000f60: 290a 0000 0309 0000 900a 0000 9006 0000  )...............
  - 0000f70: 4806 0000 cf0b 0000 380b 0000 450b 0000  H.......8...E...
  - 0000f80: 130b 0000 6d0b 0000 260b 0000 370d 0000  ....m...&...7...
  - 0000f90: 440d 0000 fe0c 0000 6b0d 0000 110d 0000  D.......k.......
  - 0000fa0: 0307 0000 a80b 0000 7d06 0000 630b 0000  ........}...c...
  - 0000fb0: 6d06 0000 090b 0000 6206 0000 c40b 0000  m.......b.......
  - 0000fc0: d106 0000 a908 0000 0505 0000 4204 0000  ............B...
  - 0000fd0: b60c 0000 b309 0000 5c0c 0000 e60b 0000  ........\.......
  - 0000fe0: f30d 0000 9807 0000 2a05 0000 710c 0000  ........*...q...
  - 0000ff0: 9008 0000 e60d 0000 6c0c 0000 8b08 0000  ........l.......
  - 0001000: e10d 0000 7607 0000 fc06 0000 d209 0000  ....v...........
  - 0001010: 0b09 0000 9806 0000 5006 0000 980a 0000  ........P.......
  - 0001020: d804 0000 cc04 0000 db09 0000 0f09 0000  ................
  - 0001030: e804 0000 c00a 0000 a407 0000 3609 0000  ............6...
  - 0001040: 2709 0000 2f09 0000 9605 0000 7e07 0000  '.../.......~...
  - 0001050: 0b0c 0000 a605 0000 8c07 0000 180c 0000  ................
  - 0001060: a308 0000 5807 0000 e906 0000 9b0e 0000  ....X...........
  - 0001070: fc04 0000 080a 0000 1b06 0000 8c09 0000  ................
  - 0001080: 5e09 0000 a306 0000 780a 0000 300a 0000  ^.......x...0...
  - 0001090: 6e04 0000 8905 0000 560b 0000 8f0b 0000  n.......V.......
  - 00010a0: 8d0d 0000 6d08 0000 6208 0000 c30d 0000  ....m...b.......
  - 00010b0: c709 0000 3b0c 0000 d706 0000 ef07 0000  ....;...........
  - 00010c0: 0708 0000 b607 0000 2e08 0000 c907 0000  ................
  - 00010d0: 4208 0000 7f0d 0000 810b 0000 1808 0000  B...............
  - 00010e0: db07 0000 5008 0000 0e05 0000 1905 0000  ....P...........
  - 00010f0: a80a 0000 bc0d 0000 a10b 0000 5a04 0000  ............Z...
  - 0001100: 9f0d 0000 6704 0000 9404 0000 a906 0000  ....g...........
  - 0001110: 3a09 0000 140a 0000 0906 0000 fc07 0000  :...............
  - 0001120: 4d04 0000 4705 0000 6c0e 0000 190e 0000  M...G...l.......
 - segment[1] <.data> memory=0 size=4 - init i32=4400
  - 0001130: a011 1000                                ....
Custom:
 - name: "name"
 - module <wasmcss.wasm>
 - func[0] <malloc>
 - func[1] <free>
 - func[2] <mainats_0_void>
 - func[3] <bats_dynload>
 - func[4] <build_057_src_057_bin_057_wasmcss_056_sats____BATS_main0>
 - func[5] <build_057_src_057_bin_057_wasmcss_056_dats__dynload>
 - func[6] <build_057_bats_modules_057_css_057_src_057_lib_056_dats__dynload>
 - func[7] <_scan_ident_44>
 - func[8] <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_read_free>
 - func[9] <_free_rules_436>
 - func[10] <_free_simples_433>
 - func[11] <_free_faces_440>
 - func[12] <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_sheet_read>
 - func[13] <_rules_loop_755>
 - func[14] <_skip_trivia_452>
 - func[15] <_rules_done_754>
 - func[16] <_prelude_end_495>
 - func[17] <_compound_loop_630>
 - func[18] <_simples_rev_629>
 - func[19] <_url_at_717>
 - func[20] <_block_end_466>
 - func[21] <_span_is_136>
 - func[22] <_decl_first_490>
 - func[23] <_strip_important_514>
 - func[24] <_read_value_424>
 - func[25] <_after_stmt_726>
 - func[26] <_query_loop_696>
 - func[27] <_decls_loop_546>
 - func[28] <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_style_read>
 - func[29] <_prop_find_326>
 - func[30] <_prop_mask_139>
 - func[31] <_string_body_94>
 - func[32] <_zindex_digits_336>
 - func[33] <build_057_bats_modules_057_css_057_src_057_book_056_sats__book_decls_free>
 - func[34] <_prop_name_138>
 - func[35] <build_057_bats_modules_057_css_057_src_057_book_056_dats__dynload>
 - func[36] <_string_end_460>
 - func[37] <_comment_body_448>
 - func[38] <_paren_end_684>
 - func[39] <_pe_code_551>
 - func[40] <_nth_num_598>
 - func[41] <_attr_string_573>
 - func[42] <_nth_b_594>
 - func[43] <_decl_end_476>
 - func[44] <_scan_unsigned_56>
 - func[45] <_scan_fragment_344>
 - func[46] <_func_bit_332>
 - func[47] <build_057_bats_modules_057_css_057_src_057_book_tests_056_dats__dynload>
 - func[48] <build_057_bats_modules_057_css_057_src_057_contrast_056_sats__lin_of>
 - func[49] <build_057_bats_modules_057_css_057_src_057_contrast_056_sats__contrast_45_int_of>
 - func[50] <build_057_bats_modules_057_css_057_src_057_contrast_056_dats__dynload>
 - func[51] <build_057_bats_modules_057_css_057_src_057_harmony_056_dats__dynload>
 - func[52] <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_free>
 - func[53] <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_of_arr>
 - func[54] <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_freeze>
 - func[55] <build_057_bats_modules_057_array_057_src_057_lib_056_sats__barr_thaw>
 - func[56] <build_057_bats_modules_057_array_057_src_057_lib_056_sats__cborrow_drop>
 - func[57] <build_057_bats_modules_057_array_057_src_057_lib_056_sats__cborrow_get>
 - func[58] <build_057_bats_modules_057_array_057_src_057_lib_056_dats__dynload>
 - func[59] <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__create>
 - func[60] <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__to_arr>
 - func[61] <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__put_byte>
 - func[62] <build_057_bats_modules_057_builder_057_src_057_lib_056_sats__bput>
 - func[63] <build_057_bats_modules_057_builder_057_src_057_lib_056_dats__dynload>
 - func[64] <build_057_bats_modules_057_arith_057_src_057_lib_056_sats__byte_of_char>
 - func[65] <build_057_bats_modules_057_arith_057_src_057_lib_056_dats__dynload>
 - func[66] <build_057_bats_modules_057_str_057_src_057_lib_056_dats__dynload>
 - global[0] <__stack_pointer>
 - dataseg[0] <.rodata>
 - dataseg[1] <.data>
Custom:
 - name: "producers"
Custom:
 - name: "target_features"
  - [+] mutable-globals
  - [+] sign-ext

Generated by Claude Code

…s into wasm (css#99)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HwLsLqnBm3u7Rwk8pezYB3

moshez commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Plan check
plan-scratch: Plan row 1 names the scratch path /tmp/claude-0/-home-user/5a0b01aa-1da6-5b22-8e72-8ee2e8c6808c/scratchpad/w/app/dist/debug/wasmcss.wasm: a reviewer in a new container cannot read it; the data a row needs goes in the PR body, a PR comment or the ticket (read by gh api), and a directory the row makes itself (mktemp -d, mkdir) is the only path under /tmp it may name
plan-done-when: the ticket's Done-when item is not in the Plan word for word; the first one is: book_sheet_read and book_style_read link into a wasm app without any llint import, with the sa; meet the Done-when as written, or prove it impossible
Plan digest: acd8f34f78404b8a
Plan check: refused, Done-when findings: 1; Scratch path findings: 1


Generated by Claude Code

moshez commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Plan check
Plan digest: 8c509d351de4897d
Plan check: ok


Generated by Claude Code

moshez commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Independent review (a separate reviewer agent, not the author) of head dc73aa8: changes needed
Plan: changes needed
Verdict: changes needed
Body: 73c3557feae0746e
Plan-digest: 8c509d351de4897d
Ticket: #99 d584385fade4726f

  1. The Evidence command env wasm-objdump -x dist/wasmcss.wasm reads a file no Plan row makes: add a row that creates the scratch app (its bats.toml, bats.lock, src/bin/wasmcss.bats with #target wasm binary and a main0 calling book_sheet_read, book_style_read, book_read_free and book_decls_free with the inputs it passes), uploads this head to the scratch repository (bats upload --repository DIR from a main checkout), builds it (bats build --only debug --only wasm --repository DIR) and names the directory the objdump runs in. 2. The Done-when 'a wasm build that calls both functions' cannot be checked until the scratch app's source is stated; the row in 1 supplies it. 3. The p2 ticket that removes the old contrast_45_of is not a row: add a row that files it and name it in the body.

Generated by Claude Code

moshez commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Plan check
Plan digest: 34b44dc35ecfc7e2
Plan check: ok


Generated by Claude Code

moshez commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Independent review (a separate reviewer agent, not the author) of head dc73aa8: approved
Plan: approved
Verdict: approved
Body: 6e773760c7737bed
Plan-digest: 34b44dc35ecfc7e2
Ticket: #99 d584385fade4726f

Round 2. The three findings of the earlier review are met. (1) Rows 5 to 9 make the scratch app: its bats.toml, a wasmcss.bats with #target wasm binary that calls book_sheet_read, book_style_read, book_read_free and book_decls_free, the lock and the wasm build. Row 2 clones the checkout, row 3 makes the clone's branch main at the head, row 4 uploads from it. (2) Row 11 runs wasm-objdump -x in the scratch app's directory, which rows 1 to 9 made, and names the check job as the second Done-when part. (3) The p2 ticket css#101 exists, open, labelled p2, named in the body and in row 10. Every path a row reads is made by an earlier row, under the ignored build/css99-wasm/. No row is timed. The Done-when is met as written. Missed earlier: none.


Generated by Claude Code

@moshez
moshez marked this pull request as ready for review November 24, 2026 02:37

moshez commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Independent review (a separate reviewer agent, not the author) of head dc73aa8: approved
Plan: approved (fixed)
Execution: approved
Verdict: approved
Body: 6e773760c7737bed
Plan-digest: 34b44dc35ecfc7e2
Ticket: #99 d584385fade4726f

Head dc73aa8. The Evidence block of the body shows wasm-objdump -x of a wasm build that calls book_sheet_read, book_style_read and their frees: no Import section, so none of the four llint names; contrast_45_int_of is linked and contrast_45_of is not. The comparison 10*(a+P) >= 45*(b+P) is b+P <= floor(2*(a+P)/9) for integers and stays under 2^31. The old contrast_45_of stays and is called by the existing tests; test_contrast_int_* and test_contrast_int_agrees_with_old call the new form. The p2 removal ticket is css#101. check, layout, text-lint and canonical-files are green at the head. No finding.


Generated by Claude Code

@moshez
moshez merged commit d8c5b57 into main Nov 24, 2026
11 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

book_sheet_read links llint operations the wasm prelude does not have

2 participants