VB-1547: A core survival task once begun is finished past the day’s end, and water may be fetched after dark
Status: done (2026-11-23)
Priority: 2
Size: S
Design ref: backlog/VB-1542.md; src/sim/chores.js:104 (the water job’s window); design.md, Goods and the farming year (Water)
Goal: the end of the work day does not cost a household its water
Acceptance criteria:
The general rule, stated in design.md and in the code once: a task of the kinds a household lives by, once begun, is carried to its end though the work day ends meanwhile. The kinds are a declared list on the job kinds’ records (proposed: water, cooking, the wood of a cold house; the task settles the list and gives its reason for each), not a test for water.
Water may be fetched after dark: the water job’s window runs past the work day’s end (src/sim/chores.js, available and window), to an hour the task proposes, and a pawn takes it then when the household’s water is not in.
A check on a small constructed state: water claimed at 17:30 is delivered; water not in at 19:00 is fetched that evening.
Sleep and rest are not shortened unseen: report the hours of rest lost, before and after, on solo small seed 42 and populous small seed 7, with dry days and hungry days. Measurement skipped at Kim’s word, 24 November.
Notes
Kim, 23 November: fetching water should be possible even after dark; there is a general rule here about finishing a started core survival task.
VB-1542: all 7 claimed-and-unfinished cases were claimed 17:24 to 17:54 and released at 18:00; hourly sampling (VB-626) saw none.
Candidate principle, Kim’s: a begun task a household lives by is finished. Which kinds, and whether a pawn may also begin one after dark (water: yes), is this task’s to propose.
With VB-1543 the fetch is a walk: an evening fetch from far water is a walk in the dark, which that design should name.
Built (VB-1547): sim/kinds vital (true or a predicate) read once by carriedOn at the 18:00 release (sim/clock); late keeps only its deadline call. Lived by: water (a dry day costs cooking and health), cook (the day’s meal), wood while cold or the pile short of tonight’s fire (a load cut is a warm night); not field, hay or land work (waits for the morning at no cost but the hour).
Evening: water alone (evening: true) posted at the due-queue’s 18:00 ask, begun until MATCH.day.evening 20:00 (home before the earliest dark, 21:00); sim/jobs eveningCall at 18:00 and 19:00 calls the free member the head’s day put it earliest for. It displaces time at home: no meal or sleep is modelled in the evening (meals at midnight).
A load brought in after hours goes in (sim/agents arrived): a pawn stood at the door all night before; touches every late delivery.
Close calls: cooking is not begun in the evening (its deadline call reaches 18:00 already); the wood’s flag is a predicate, not every wood job; food from the wild for a household with none (VB-1549) not flagged. VB-1548 (sim/days goHome with a load) is not covered: it is sim/days’ end, not the work day’s.
Checked: tests/evening.js. Solo small 7, 2 y: dry 3 -> 0, hungry 0 -> 0, work after 18:00 2.1 -> 4.0 h (water 1.9). Matrix not run (Kim, 24 Nov). tests/hay.js moved to populous seed 7: seed 6 fell to 89% (33 of 37 meadows, 32 of 35 before), draws.