Status: done (2026-11-13) Priority: 2 Size: M Arch: year Phase: implement Design ref: Economy and jobs (Goods and the farming year: Mixed meals, Meals); QUESTION_ARCHIVE.md, VB-119 (12 Nov); backlog/VB-119.md, third pass; backlog/VB-300.md Goal: With VB-119 merged (Kim, 12 November), fresh fish spoils and the poorest households are hungrier: over 30 years at populous small 120,000 to 200,000 rations of fresh fish spoil (40 to 46% of the fish landed for food) while 35,000 to 56,000 are dried, and household-years hungry on over 0.3 of their days went 0/0/0/0 to 6/0/5/2 at seeds 3, 7, 11, 42. Kim: drying the fish and cooking the seed are this separate task. Acceptance criteria:
DRY, src/sim/drying.js, VB-300) grows from a quarter of the winter’s need to the winter’s fish share of the pot (sim/pot, VB-119), and its season runs to the end of autumn; fresh fish a household holds beyond what it will eat before it spoils goes to the rack (hh.rack) while the rack has room and the season is open.rackfish) is not held by it.feedHousehold does), so ECON.rawGrain (1.25) falls only on days the cook is missed. The seed reservation’s rules are otherwise unchanged (Stores.reserved, a crop each, VB-347).tests/pot.js, tests/drying.js or their like): a household holding two days of fresh fish posts no fishing for the pot; a catch beyond what it can eat is on the rack the next day and none of it spoils while the rack has room; a short household’s seed is eaten cooked when a cook is free. Invariants as they are; the golden file re-recorded and its changed entries listed; npm test passes and the hard checks of verify.QUESTION_ARCHIVE.md, “Archived 12 November 2026 (VB-119)”): ready. It edits src/sim/drying.js, src/sim/pot.js and the fish and cook kinds: not beside VB-335’s follow-ups in the same files.Decisions (13 Nov 2026, Deciding without Kim):
WINTER_FISH
= 1 - ECON.potShare = 0.8 (sim/pot), derived, not a new tunable. The pot’s winter cap on dried fish (a fifth, VB-119) becomes that
share, and the drying want (Drying.wanted) is that share of the need over the 14 days without fresh fish (a household of 3 rations:
20 -> 40). A fifth would have shrunk the want (0.25 -> 0.2) against the criterion’s “grows”, and a larger store eaten at a fifth would
only rot into the next year. DRY.share and DRY.until are gone; the drying season is that of fishing for the pot (spring day 3 to
the end of autumn).Drying.potCatch,
called by the fish kind’s deliver) the fresh fish above that goes to hh.rack, the oldest first, up to the room (dried fish wanted, less
that held and that waiting by the rack), in the drying season; the dry job hangs it as it hangs a rack catch. Fresh fish moved to the
rack is booked drying out of the fresh store and into the rack (no new reason).FISH_WAIT (2, sim/pot) days of need (Pot.fishCovered); rackfish
is not held. The fish job’s urgency already counted fresh fish (spareFood, VB-119); unchanged.Pot.cookMeal(st, hh, need) (the cook’s done) computes the seed the coming meal would eat as feedHousehold would (the
meals missing less the grain above the reserve, fresh food and the larder; at most the seed held) and the pot takes it after the spare
grain, with the reason seedMeal (each crop as held, as eatSeed). Pot.cookable posts a cook for it. The once-a-season log of the
seed eaten moved from sim/hunger to Pot.seedTold, which both call (sim/hunger is over 15 exports with no split task: no export added there).fishCovered is one comparison when the fish job is asked; potCatch one when a catch is counted; seedForMeal sums the
larder’s lots (a few) when the cook is asked of a household with no spare grain and no fresh food. No new loop over a collection.Implementation notes (13 Nov 2026): src/sim/pot.js (WINTER_FISH, FISH_WAIT, fishCovered, seedForMeal, cookMeal, seedTold; pot takes
a seed allowance), src/sim/drying.js (want, season, potCatch), src/sim/hunger.js (eatSeed tells through Pot.seedTold),
src/sim/kinds.js (cook: cookable with the need, cookMeal; fish: waits while covered, delivers through potCatch; no line added, it is at
its baseline), tools/stocks.js (the rack’s adders, the fresh store’s none), docs/architecture/modules.md. Tests: tests/drying.js
(the want at 0.8, the season to autumn, the winter pot at 0.8, two days of fresh fish post no fishing for the pot and rackfish still,
a catch beyond 3 days of need on the rack, hung, and what was kept fresh eaten with none spoilt, nothing racked out of season),
tests/pot.js (a household with only its seed posts a cook, the cook cooks the day’s seed, eaten without the raw rate, the unsown
fields told; a larder that covers the day posts none), tests/meals.js (“seed is not cooked” becomes: the seed the meal would eat is
cooked, none while the larder covers the day).
Validation notes (13 Nov 2026): populous, small, 30 years, seeds 3, 7, 11, 42; before = 32f7f33 (VB-119 and VB-300 merged), after =
c4bdbcd (this change; the later commits are tests, tools and notes). Sampled: hungry years = household-years hungry on over 0.3 of
their days; hungry days (worst household; households with any); grain at harvest = mean grain of living households at summer’s end,
years 5/10/15/20/25/30; short days = household-days with fewer meals than the need at 23:54; raw = days grain was eaten uncooked
(ledger raw movements) and rations; seed eaten (seedMeal, rations); fish = landed (catch, rack and pot), dried, spoilt fresh, spoilt
as a share of (landed - dried); idle = share of adults without a job at 10:00 on summer days.
| seed | hungry years | hungry days (worst; households) | grain at harvest | living y30 | short days |
| — | — | — | — | — | — |
| 3 | 14 of 3,072 -> 0 of 2,950 | 580 (134; 24) -> 21 (3; 12) | 296 283 184 200 169 212 -> 306 287 203 232 189 228 | 586 -> 590 | 3,814 -> 2,115 |
| 7 | 0 of 2,827 -> 0 of 2,820 | 3 (1; 3) -> 13 (6; 5) | 330 334 247 211 280 254 -> 346 334 265 244 315 304 | 624 -> 634 | 1,421 -> 1,212 |
| 11 | 0 of 2,809 -> 0 of 2,757 | 25 (12; 7) -> 13 (2; 9) | 308 319 281 261 243 234 -> 325 334 287 248 239 232 | 554 -> 586 | 1,777 -> 1,489 |
| 42 | 0 of 3,046 -> 0 of 3,070 | 12 (4; 5) -> 13 (4; 6) | 275 302 244 319 255 229 -> 293 302 252 328 274 266 | 685 -> 663 | 2,488 -> 2,308 |
| seed | fish landed; dried; spoilt (share) | raw days (rations) | seed eaten | pots of 2 / 3 sources | summer idle | | — | — | — | — | — | — | | 3 | 410,237 -> 268,095; 41,696 -> 91,137; 202,405 (0.549) -> 39,667 (0.224) | 3,433 (4,446) -> 1,837 (3,320) | 1,608 -> 1,058 | 0.312 / 0.004 -> 0.311 / 0.002 | 0.489 -> 0.516 | | 7 | 446,004 -> 313,281; 44,520 -> 106,477; 221,074 (0.551) -> 48,675 (0.235) | 1,620 (2,373) -> 1,220 (2,165) | 319 -> 467 | 0.321 / 0.003 -> not sampled | 0.464 -> 0.494 | | 11 | 449,095 -> 299,080; 43,616 -> 100,196; 221,068 (0.545) -> 46,797 (0.235) | 1,840 (3,121) -> 1,491 (2,633) | 497 -> 746 | 0.300 / 0.003 -> 0.316 / 0.001 | 0.488 -> 0.528 | | 42 | 632,217 -> 403,633; 59,651 -> 136,336; 313,739 (0.548) -> 66,916 (0.250) | 2,301 (4,243) -> 1,979 (3,560) | 410 -> 442 | 0.306 / 0.002 -> not sampled | 0.506 -> 0.520 |
seedMeal) rises at seeds 7, 11 and 42: it is
now eaten cooked by the cook a day ahead and so counted for more days; at seed 3 it falls with the hungry households.node tests/counters.js 7 out, the same 7 at the same values as on 32f7f33 (the probe is unchanged); node tests/scaling.js
3 out as on the base (routeRefresh 1.256 -> 1.218, residual +0.106 -> +0.068, this change likely its cause: fewer fishing walks;
roundPairs 2 and takeInWeighed Infinity unchanged). npm run verify: 88/88 passed, 10 targets out. tests/review-tools.js fails on
the base as on this branch (“the woodpile is read by nothing”, VB-327), not this change’s.medium-ref and the late saves not run. No screenshot: the page is unchanged.