153. Dreams are written blind; the first blind batch adds graph-shaped and one-shot vocabulary (2026-11-21)
- Decision. Each hill-climb problem has
dream.cp(the ideal, written without consulting the spec or checker) andspec.cp(written after the diff, checked). From the first ten blind dreams the spec adopts: patterns infn/lambda parameters; named product-domain factors;?T.is_some_and;Seq.sum(of:)andSeq.mean(of:);print(xs, none: s);c.shift(r),D.mask(xs),Ring.step(i, d);outermost()over ranges;g.only(keep); graph-shapedmax_closure(before:, profit:);Rooted.child_arcs(v);Lift.of(next);KruskalTree.top(v, ok:)andKruskalTree.up(op, leaf:);Settle<K, P>;SortedBag.take_first(ok)anddrain(r);split_best. - Rejected.
okseeing aTrack's wrapped structure directly (Window(op)readsw.all, so every window keeps one rule:okgets theTrack); barefrom: [s]fordijkstra(the start distance stays explicit, one spelling for weighted multi-source);Mod(Bool)(b.int). - Why. Dreams checked against the stubs bent to the spec and stopped pushing back. Written
blind, ten dreams surfaced side arrays the spec could not avoid (
retired,walk, parent costs), threshold tricks (limit: desc(p + 1)), hand bounds checks on DP states and a 12-line heap-splitting idiom. - Reverse. Drop any one addition; its
spec.cpreturns to the previous spelling.