Status: done (2026-11-16)
Priority: 3
Size: S
Design ref: Goods, production and animals (Goods and the farming year: Water). QUESTION_ARCHIVE.md, Consistency review (11 Nov, stocks)
Goal: The water a household fetches is read by nothing but the job that fetches it (hh.waterDay, src/sim/kinds.js:161-166): in populous small, seed 7, no water was fetched on 3.9% of household-days over 15 years and nothing followed. Kim, 11 Nov: a day without water costs something, as an empty woodpile does: no cooking that day, and a small cost in health.
Acceptance criteria:
cookWanted also asks hh.waterDay === c.day), so the meal of a dry day is eaten uncooked at VB-327’s 0.75. The water job’s urgency rises from 14:00, the cook’s hour, to above cooking’s (waterLate, 1.5 times cookEvening), so the hand that would cook fetches the water first.HEALTH.dry (1; times HEALTH.frail under 5 and from 60) and the meal restores nothing that day, in updateHealth beside the cold’s term; a starting value, half the cold’s, to be tuned by the numbers below. hh.dry, 0 to 1 over the last 12 days, is kept as hh.cold is (one log, an invariant, a save without it loads with 0) for the panel (“no water”) and for VB-062’s mood.hh.cold log and updateHealth term it follows; edits the same lines of src/sim/kinds.js, hunger.js and clock.js.38b920d; main has moved some lines since (in src/sim/kinds.js, jobs.js, records.js), and every function and field named still stands: find them by name.cookWanted asks hh.waterDay === c.day; the water job’s urgency is waterLate (3.3, 1.5 times cookEvening) from waterLateHour 14; HEALTH.dry 1.dryHouse in sim/hunger (beside warmHouse): the day that ends is dry when hh.waterDay < today - 1; hh.dry/hh.dryLog kept as the cold is
(invariant, save without it loads 0, stocks line, “no water” in the household panel). updateHealth takes dry: minus HEALTH.dry times frail, no recovery.makeHousehold sets waterDay to the day it is made (0 in a scenario’s kit). Nothing makes water scarce.tests/cold.js (dry day: uncooked, health 82 / 81.5, log empties, save). tests/pot.js and tests/cold.js set waterDay where they ask for a cook.
tests/helpers.js: the opinion rise asserted > before; the run’s course changed and the opinion’s other terms (a few hundredths, here -0.08) now
put it at -0.03 after a 0.05 memory, so it asks > before - 0.1: a weakening, because the check is of a noisy sum.
scratchpad script counts a household-day dry when waterDay is behind the day that ended)| run | dry hh-days (%) | by season sp/su/au/wi after | hungry hh-days | mean health | health of members of a dry household-day | living end |
| founders 7 | 296 (8.1) -> 209 (5.7) | 50/52/90/17 | 0 -> 0 | 100 -> 99.66 | 100 -> 90.2 | 19 -> 19 |
| founders 42 | 237 (7.6) -> 199 (6.3) | 48/62/78/11 | 20 -> 12 | 99.93 -> 99.27 | 98.7 -> 88.5 | 23 -> 23 |
| populous 7 | 4774 (8.9) -> 3668 (6.8) | 1029/675/1428/536 | 23 -> 1 | 100 -> 99.84 | 100 -> 93.2 | 424 -> 422 |
| populous 42 | 7445 (12.1) -> 5332 (9.1) | 1475/1180/1992/685 | 3 -> 10 | 100 -> 99.86 | 100 -> 95.3 | 478 -> 468 |
Dry days fall by a quarter because the water job is now urgent at 14:00. The cost falls on households that stay dry: their members sit near 90-95 in
health, the average moves by 0.1 to 0.3; no run shows a fall in living beyond populous 42’s (-10 of 478, where hungry days also moved the other way). One
parameter run only (HEALTH.dry 1), no tuning. Unmeasured: why the job went undone (unclaimed or no hand in working hours), meals uncooked for want of water,
deaths of the households touched (the script’s death count read 0: wrong event kind) – hence the last criterion stays unticked (follow-up task note).
Cost: one comparison per live household per day in feedHousehold’s pass.