Status: done (2026-11-13) Priority: 3 Size: S Arch: mill Phase: implement Design ref: Animals (Herds: sheep give wool, lambs, meat, manure); docs/review-balance.md (balance review, 1 November 2026), section 2; QUESTIONS.md, “Balance review: the tuned values”, question 7. Goal: Sheep give only lambs, meat and dung today. Walter of Henley (13th century) counts 20 ewes on salt-marsh pasture as giving the cheese and butter of 2 cows, and the Hosebondrie milks them only until August; wool was the other reason to keep sheep, spun and woven in winter. Acceptance criteria:
HERD.eweMilk), milked with the cows by the same job, 0.03 hours a ewe more; the milk goes where cows’ milk goes (fresh and butter, src/sim/byre.js).hh.wool counts fleeces (@state, invariant ≥ 0). Spinning and weaving wait for the winter crafts (VB-121); until then wool only accumulates and is shown in the household panel.tests/milk.js reports ewes’ milk for founders 7, year 1, and checks it stops at the end of summer.QUESTION_ARCHIVE.md, Balance review, question 7). Shearing as a counted event on summer day 1, not a job, is this task’s simplest reading; a shearing job can come with VB-121.docs/roadmap.md, section 3.6; the slices Decided by Kim): moved to slice 6, arch mill (from animals). blocked until the slice’s plan (VB-185) confirms, rewrites or closes it.Implementation notes (13 Nov 2026):
HERD.eweMilk 0.05, eweHours 0.03, eweEnd 24 (end of summer, a doy), shear 12 (summer day 1). herd.lambed (sheep herds) counts the ewes that
lambed this spring (set in sim/herds spring, whether or not the lamb lives); a ewe is in milk from turn-out to eweEnd, min(lambed, ewes).sim/byre: byreJobs posts the one milking job for cows and ewes (hours add 0.03 a ewe); milkDone counts a ewe as eweMilk / milk of a cow, so
the lean and unherded factors, fresh/butter split and totals are the cows’ own. shearing (calendar, doy 12) adds ewes + rams to hh.wool
(@state in scenarios, invariant >= 0, old saves get 0, tools/stocks.js row, household panel line). Exports kept at 16 by dropping the unused
stallLeft and fodderHours from sim/byre’s.lambed field changes saved herds).
Validation: tests/milk.js (founders 7, year 1: ewes’ milk checked in and out of its season, 4 ewes give 0.20 a day, no wool before summer day 1,
8 fleeces after in the checked household); npm test and npm run verify pass. tests/smoke.js could not run here (no jsdom in the shared node_modules).