jolt/test
Yogthos da2b065f46 core: jolt-vzm — every? short-circuits lazily (boundary audit)
Audited all 43 realize-for-iteration call sites. Result: every? was the one
transformer-style leak — it realized the whole coll before iterating, so
(every? pos? (range)) hung instead of short-circuiting on the first false
(Clojure short-circuits). Now walks lazy input cell-by-cell via realize-ls and
stops at the first false; not-every? inherits the fix.

Everything else is a legitimate realization boundary (reverse/sort/into/vec/set/
list/str-join/doall/apply/transient/to-array/hash-*/shuffle/rand-nth — must see
all elements) or forces only finite/concrete input (drop-while's eager branch,
cycle's seed, nth's concrete branch). some is already lazy (overlay). realized?
reads the :realized flag without forcing. first/nth/take pull only as far as
needed.

Regression: deadlined (every?/not-every? pos? (range)) cases — would hang if the
leak returned.

Gate: conformance 249x3, lazy-infinite 42/42, fixpoint, self-host, specs+unit green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 17:52:55 -04:00
..
bench core migration: phase 0 audit + perf baseline (jolt-1j0) 2026-06-06 22:54:07 -04:00
clojure-stdlib/clojure stdlib: port clojure.data, rewrite clojure.zip; fix with-meta nil; add battery 2026-06-06 19:02:26 -04:00
integration core: jolt-vzm — every? short-circuits lazily (boundary audit) 2026-06-08 17:52:55 -04:00
spec Phase 5: true laziness — lazy transformers + deadlined harness 2026-06-08 00:40:56 -04:00
support Phase 5: true laziness — lazy transformers + deadlined harness 2026-06-08 00:40:56 -04:00
unit vars: add per-var generation counter, bumped on root change 2026-06-06 16:47:44 -04:00