Status: done (2026-10-31, 0b77ed2) Priority: 2 Size: M Arch: animals Phase: implement Design ref: Animals; docs/review-animals.md (review of 31 October 2026); answers in QUESTION_ARCHIVE.md under “VB-047: animals review”. Goal: Hay sets how many animals a household can winter, and the hard winter limit is Decided: the household slaughters what its hay cannot carry, and animals die when hay runs out. Meat is salted by a household job before it keeps (Kim, 30 Oct). Acceptance criteria:
hh.hay.fodder at the byre, 0.5 h + 0.15 h a head of cattle + 0.03 h a sheep, one hand, a new type of work husbandry (mistress 9, maid 10, daughter 9, farmhand 4, farmer 3, son 3, retired 3; Kim, 31 Oct, as P); a stall day without it adds a lean day to the household’s herds (read by milk in VB-135).salt, 1 h per 8 rations (at least 1), one hand, household work in the house; it makes salt meat that keeps a year. Meat past its day spoils, with a log line.checkState: larder lots have a kind, a positive amount and a date; cull entries name animals that exist.tests/byre.js in npm test: a household with hay for half its herd culls to fit at the count, by the order above; a household with no hay slaughters at once and loses animals if nobody does; a fed herd loses none to hunger over 3 years of founders at seed 7.tests/perf.js reports the animals’ share; under 10 ms a game day at populous medium.src/sim/byre.js (the stall period’s daily hay, lean and unfed days, the autumn count with the agreed order and the byre’s room, the emergency, hunger in the byre, slaughter and salting, the byre’s jobs); kinds fodder, slaughter and salt; the type of work husbandry with the agreed ranks; the larder in the meal (addFood, takeFood, larderOf in src/sim/hunger.js); kept lambs grow into ewes (one into a ram where none is within reach), the ram lambs having gone at the count; cattle names unique within a village. Page: the household card shows the larder. tests/byre.js; checkState checks cull lists. tests/perf.js, populous medium seed 7: 159.2 ms a game day with animals, 165.0 without (one run each; the runs diverge, so: no measurable cost, within the 10 ms budget). Golden: every founders and heirs entry changes.