Status: done (2026-11-25) Priority: 1 Size: M Design ref: docs/architecture/modules.md (sim/herds, sim/byre); backlog/VB-523.md Touches: src/sim/byre.js; src/sim/herds.js Goal: no flock grows past what its rule bounds, and the populous small seed 11 run finishes its 30 years Acceptance criteria:
node tools/sim.js --scenario populous --seed 11 --map small --at 29 --save FILE at VB-523’s head (683212c), then --load FILE --years 1: on the year’s last day it runs for over 30 minutes in sim/byre emergency → cullOne (stack taken by the inspector), for the year-29 save holds a flock of 551,940 ewes and 516,070 lambs (the other saves’ largest is 30).sim/herds around line 249, or a merge in sim/droving) and bound it by its rule (the hay, the pasture or the farm), with a test on a constructed state that fails before.emergency and the cull lists stay linear in the animals culled, not the flock: a flock past its hay culls by counts, not one entry an animal.Noted by VB-523, 24 November 2026.
Notes (VB-1682):
animals() gives the sheep of a kind as one entry of n; a sheep cull entry carries lot (how many; not n or count,
which the ownership scan then reads as state fields everywhere); the count, the emergency and the head’s list cull by lots, tidy and
sim/droving trim lots, a lot stands as at most SLAUGHTER.atOnce (6) slaughter jobs, each of one animal. An older save’s entry loads as a lot of 1.