Working notes: 2026-11-03, the deck mended, two slides sent in pieces, hazeljs 0.0.4, and undo in Dress Up's scripts
A backfill: written by Claude on 2026-11-05, at Matthew's request, from the dashboard's tickets and the repositories' commits, not at the time. It covers 07:10 to 15:04 MST. The laptop crashed once, at 09:04 (crash 48: a node test run 20 s after a dune build, with a cherry-pick in a third worktree); the unpushed cherry-pick was redone.
Where things are
- #2635 (livelits × modular editors) is at
c079fa2e24and green: CI 41706598270 (Fast checks, Static checks, Full tests) and the Firefox deck, run by hand, 41706657345. Pushed today: the undo fix9df1b2601eand the deck's reset fix243874eecd(09:23), then the signature-ids fixc079fa2e24(12:48). - #2793 (fewer trampoline bounces, to dev) is open and ready for review, CI green (41676923879).
- hazeljs 0.0.4 is npm's latest (14:49); its source is github.com/hazelgrove/hazeljs, main at
645327c. Dress Up still pins 0.0.1. - Dress Up 0.0.478 is live (kids-choice-games
26779199); all four of today's releases, 0.0.475 to 0.0.478, have ok speed runs. - #2719 (
js-library-embed, at1ba138ef28) andembed-editable(at8e0dcac982) deploy to build.hazel.org again. embed-editable has no PR yet. - Reports: ^report(38) and ^report(39) are published as work in progress. Local only: ^report(38)'s two newest sections (how the compaction works,
c9e9829; what an entry costs as the program grows,68f34db) and the draft ^report(40) (ac03ea5). Port 8131, which serves the drafts, stays off (Matthew, 09:20). - Pushed trial branches: hazel
deck/663-merge-only,deck/663-fresh-fix,trial/665-realize-not-edit,trial/665-space,trial/666-before,trial/666-sharing,trial/666-sig-ids; kids-choice-gamesdiag-682(not for merging).
Done
- ^ticket(663), closed (11:31). Yesterday's deck run on
1d17541aafbuilt, then failed 3 of 12 eye cases. Cause: dev'sc206b02c25names the browser's database after the git branch (hazel:<branch>), and the deck's reset (dev_serve.py's/fresh) cleared onlyhazel, so each case met the previous case's edits. Two controls agreed: a rerun failed a different set (8 of 12), and the merge alone failed the same three. Fix8ee77cecbe: 12 of 12 (run 41656799833). On #2635 at 09:23 on Matthew's yes, redone as243874eecdafter the crash. - ^ticket(665), undo. The outline (the modular editors' sidebar) is rebuilt by every undo, and, with the sidebar shown, by every edit (probes
58dae0b427,5544ca12a3). And a restore ran the whole syntax pass twice: the frameHistory.restoreschedules (RealizeView) returned withis_edittrue. Fixed4d484671(for #2635,9df1b2601e): at 3,200 definitions an undo 141 to 84.5 ms (-40%), a redo 96 to 41 (-57%). On #2635 at 09:23, after Full tests passed (41660069728). Space, measured on GitHub (probe7b2ba7a5e9, run 41695584813): an undo entry as #2635 keeps it adds about 0.01 MB or less at any size; kept whole, 0.55 to 6.9 MB, about 1.1 KB a definition. - ^report(38), Undo, in Time and Space, and ^report(39), Hazlets, So Far, from Matthew's asks at 07:16 and 07:18; published as work in progress at 07:39 on his word (homepage
e5570d2). ^report(38) was corrected at 07:52 (its first version spread the outline evenly over undos and redos) and republished at 08:58 with the double syntax pass and the sidebar's cost (homepageffa2fad). - ^ticket(667), half the steps: two of our own October commits, on #2597's line and so on #2635 but not on dev.
d0c56fb090(binding a value already done calls its continuation directly) changes only the count (allocation -4%, time in the noise); reverting it took #2635's 96,438 back to 152,746.602498d7aa(binds that only pass a value through are skipped) saves real time. On Matthew's yes, both went to dev as #2793, Fewer trampoline bounces (afc45ee279,8270e96df1): on dev they give exactly #2635's 96,438, so they are the whole halving, and PerfBudgets' budgets were lowered to 106,000 and 300 (ba17c53036). Opened at 10:10, CI green. - ^ticket(666), sharing across the worker boundary, probed in node and then on GitHub. The app posts a program in pieces, one a definition, but Full Body and Kids' Choice went as one whole piece on every request, about 200 ms to encode: EvalSplit's last check found more keys in the pieces than in the statics. The extra keys were a sum type's constructors inside each livelit definition:
ModuleHelpers.modlet_patascribed every member with the Livelit signature's own term, ids and all. Fix:rekey_typgives the copy ids derived from the old ones (fba61386c9,fdcb59e42a), with a test that fails without it (24396f10aa, run 41689382519). After (run 41691635742): Full Body's same program again cuts nothing, 1.8 ms (it was 197 to 207); an edit cuts 3 pieces in 35 ms and posts 305 KB plain (was 1.95 MB), 12 KB shared. On #2635 at 12:48. What is left: the worker composes the program from its pieces on every request, 47 ms for Full Body even unchanged. - hazeljs (^ticket(668) to ^ticket(674)). Its source went to
hazelgrove/hazeljs(public, on Matthew's word), with examples and an install check on Node 18, 20 and 22 and a plain page in headless Firefox (^ticket(672), run 41669572023). Matthew deprecated the placeholder (09:13), published 0.0.2 (09:43, its repository field fixed) and 0.0.4 (14:49). A Verify workflow rebuilt #2719 from a fresh clone and matched the package'shazel-lib.jsbyte for byte but the build line (run 41682118643). Whymsread 0: HazelLibCore read the clock with an inlined JS expression that js_of_ocaml took for pure and moved after the call; now a method call (a260518eb9on #2719, with a test). #2719's and embed-editable's deploys had failed since builds moved to build.hazel.org on 10-29 (their olddeploy.ymlused a token that is gone): fixed (1ba138ef28,8e0dcac982). 0.0.4 was built from1ba138ef28on GitHub by the new Build workflow (^ticket(669)). - Dress Up: 0.0.475 (
8c27cd56),?try=trapopens the trap room with its Scripting tab, nothing saved (^ticket(676)); 0.0.476 (52fad2db) loads its Hazel from hazeljs 0.0.1 on jsDelivr (^ticket(674)). ^report(34) frames the live trap room in a new section, #try (republished 08:58 on Matthew's word, homepage97d5462). ^ticket(682), undo and redo on the usual keys in the Scripting tab (Matthew's ask, with each step's cost in the console): 0.0.477 (5b6b2809) in the text boxes; 0.0.478 (26779199) in the tiles too, embed-editable passing the keys to the page (68142486cf). On GitHub's headless Chrome an edit costs 591 ms, 580 of it Hazel analyzing and running the whole program again. - ^ticket(677): embed-editable's CI green (
fa67663fa0, run 41696619478), the first since 10-24. Test_Embed's switch did not name the frame's three new messages (99239a446e), and two tests now compare the stitched program without indentation. - New, on Matthew's asks: ^ticket(681), JS values converted directly at the call boundary, and a report. ^report(40), Converting JS Values Directly, a local draft from runs interleaved on GitHub (41693524506): time -60 to -85%, allocation -75 to -85%, a held value flat (about 215x), a handle 0.024 ms a call. ^ticket(683), what a Hazel edit box gives over a JS one: from embed-editable's code, embed mode has statics and error marks on, probes and the completion arrows off, and no cursor inspector.
- Also: ^report(37), the agenda, kept up to date all morning (the half-steps item, the deck, the DSL item credited to Cyrus, item 2's sharing finding). The Hazel page's Press section has Week in Hazel issue 008 (homepage
a8a3a7c), and the site's nav lists the Hazel reports and the Dress Up reports as one entry each (175b600).
Waiting on Matthew
- ^ticket(677): whether #2719 folds into #2711 (Hazel as a JS library), which decides the base of embed-editable's PR.
- ^report(40): his read before it goes out (^ticket(681)). ^report(38)'s two newest sections are not yet republished.
- ^ticket(539): whether the lib-floor trial (CI green) becomes a PR.
- ^ticket(664): his answers to the agenda's questions.
Next
- ^ticket(666): keep the composed program in the worker while its pieces stand (Full Body 47 ms a request, unchanged); then the real reply, with its probe samples.
- ^ticket(683): the completion arrows on for an editable cell, and the error at the caret posted to the page; both want a browser check.
- ^ticket(665): the O(log n) design, for the meeting. ^ticket(676): the package route for the trap room.