Blog ยท release
Handlr 0.40.0
๐ Programs: a playset that starts when you do, carries Leave-it rows and suggests a goal (#70).
Migration 35 (vices.playset_id). Playset spec 3.
[program], an event with a relative window:dayslong from the local midnight of the day you press Start,sign,accent, alinethat may use{week},voice(defaultmix),lock(requiredยทoptionalยทnone) and[[program.plan]]for day-by-day training. A run is derived from the log (program_start/program_leave), never stored โ leave it and it closes; start again and it is a new run. While a run is open the program is the event you're in: header sign and day 9/84, the stamp on share cards, the Handler's opener, the day's training, its lines, segments and habits live.- Badges count the run, not your lifetime. Every
count/days/locked_daysrule is scoped to the run (so a pack can countkitandhealthkinds honestly),joinedawards on Start, andfinishedis decided when the run closes โ the window's end or the leave. Each run is its own period (program:<slug>:<start day>): a new run, a new set. lock = "none"is enforced by the validator: noadd/remove/freezesegment, no minutes on any segment or task, nolocked_daysorfinishedrule.[[vices]]: Leave it rows from a template (booze,food,weed,spending,custom) with optional limit overrides. Offered, never imposed โ after install the playset's page shows them as a checklist, on by default, one untick to skip; they land when you press Add, tagged with the playset. Switch-off stops their judging; remove takes them back (history kept, disabled); a vice you already have under that slug is yours and is never touched; an upgrade keeps the rows you ticked. Hosted (or no Health reading): tallied by hand.[quest]: a suggested goal. On Start the chapter form opens prefilled โ the run as the window, the quest as the goal and measure. Nothing is saved without your tap; the words stay yours. A run is a chapter preset too (๐ Chapters โ ๐๏ธ Iron & Steel).- ๐ด One change to the issue's sketch: the per-day table is
[[program.plan]], because TOML cannot holddays = 84and[[program.days]]in one table. - Guide: Playsets and events ยง Programs. The starter packs in the catalogue
move to
[program]in their 2.0 (catalogue work, separate).