Status: done (2026-11-11)
Priority: 2
Size: S
Arch: year
Phase: implement
Design ref: Economy and jobs, Long work and processing (Tilling, Multi-day jobs). Not checked tonight.
Goal: A lone holder who hoes field after field sows late and loses the stooks to frost: in the heirs scenario the lone bachelor at B3 brings in 0 of 3 crops in year 2 (seeds 7, 42, 3, 11). The rule that a hoed field is sown before the next is hoed was thought built and is not in plow.available (docs/review-work.md, section 1.2). Kim, 10 November: it is the order of the seasonal plan, for every head now; VB-254 then lets the poorest heads depart from it.
Acceptance criteria:
ROLES ranking is edited by hand for it.tests/heirs.js reports, for seeds 3, 7, 11 and 42, the crops B3 brings in each year over 3 years, and asserts at least 1 crop in years 1 to 3 taken together at each seed.npm run verify’s hard checks pass, its targets reported with their residuals.
Notes / questions:plow job while another field is plowed and seed is in the house). Crops of B3 in game years 1-3 before: 1,0,3 at every seed; after: seed 42: 1,2,2; seed 3: 1,1,0; seed 11: 2,0,1; seed 7: 1,0,1 by calendar year. Seeds 7 and 11 still bring in nothing in year 2: the lone bachelor sows his first field only on spring day 4-7 (water, wood and cook in between), it ripens on summer day 9, is reaped on day 10 and the stooks are lost to the frost on day 11 (dryDays 1 means hauling is not possible before day 11). The rule alone does not reach “at least 1 in year 2 at each seed”. Needs a decision from Kim: sow before wood/water for small households, a later frost day, or a lower assertion. Also the 3 crops in year 3 before the change fall to 0-1 after it.QUESTIONS.md under “VB-023”, with a proposed answer.docs/roadmap.md, section 3.3; the slices Decided by Kim): moved to slice 3, arch year (from food). blocked until the slice’s plan (VB-164) confirms, rewrites or closes it; its questions in QUESTIONS.md wait for that plan, which may reframe them.QUESTIONS.md is answered by it. Waits for VB-252.Implementation notes (11 Nov 2026, night run):
ROUTINES (src/sim/plans.js): spring now sow, manure, plow, ..., so the plan puts sowing first. src/sim/kinds.js reads that order from st.plans.seasons (data; plans load later): plow.available posts no hoeing for a field while fieldsBusy (other fields hoed and unsown with the seed in the house, or hoeing begun, as many as the household’s hands, fieldsWorkable(st, hh, 1)); the end of a hoeing or a sowing wakes the household’s review (plan.dirty, woke = null, then reviewWhy’s ‘store’), which posts the sowing or the next hoeing at once; sow urgency is MATCH.urgency.sowFirst (3) + sday / 8 while the plan puts sowing before wood, so it outranks wood and water (no ROLES edit).tests/heirs.js reports B3’s crops hauled in game years 1 to 3 at seeds 3, 7, 11, 42 and asserts at least 1 in the three years. Before 1/3/3 2/2/0 2/1/3 2/3/3 (7, 4, 6, 8); after 2/3/3 2/2/3 2/1/1 2/3/3 (8, 7, 4, 8). Seed 11 is 2 lower: year 3’s second crop fell on the year’s edge (hauled in game year 4); its farm brings in 2 crops a year from year 2.Validation notes (populous small, 15 years, years 4 to 15 of the frost script; before = merge base, after = this commit):
| seed | sown | lost at frost (share) | mean sowing day | hungry hh-days | worst hh-year | living |
|---|---|---|---|---|---|---|
| 3 | 3637 -> 3474 | 207 (5.69%) -> 194 (5.58%) | 3.90 -> 3.67 | 1 -> 0 | 1 day -> 0 | 469 -> 455 |
| 7 | 3072 -> 3067 | 136 (4.43%) -> 121 (3.95%) | 3.85 -> 3.41 | 0 -> 1 | none -> 1 day (1 member) | 443 -> 419 |
| 11 | 3589 -> 3667 | 153 (4.26%) -> 167 (4.55%) | 3.95 -> 3.61 | 0 -> 0 | none | 479 -> 460 |
| 42 | 3364 -> 3302 | 122 (3.63%) -> 113 (3.42%) | 3.78 -> 3.50 | 0 -> 0 | none | 476 -> 488 |
Crops brought in (sown less lost): 3430 -> 3280 (seed 3, fewer people and fields), 2936 -> 2946, 3436 -> 3500, 3242 -> 3189. Sowing is 0.2 to 0.4 days earlier on every seed; frost share falls on three of four; hunger is nil. Seed 3 brings in 4% fewer crops over 12 years, with 3% fewer living (the runs diverge).
tests/record.js’s anchor (heirs 7: 70 -> 67 events) not re-recorded. npm test: all pass but tests/record.js. npm run verify not run (night rules: npm test once).Orchestrator’s decisions for Kim to overturn:
MATCH.urgency.sowFirst, applied while the household’s seasonal plan puts sowing before the wood (one plan row decides it; VB-254 or VB-253 reordering it removes the boost).needs-review for Kim (QUESTIONS.md, “VB-023”). The work is kept as docs/patches/VB-023.patch (against 7701df6; git apply it there, without index.html: rebuild). Sowing comes 0.2 to 0.4 days earlier on every seed, but crops brought in fall on seeds 3 and 42 (its own criterion: no seed worse), the strict reading of “for every farm” was worse still, and routeRefresh triples (0.48 to 1.42 a pawn-day) for a reason not found.docs/patches/VB-023.patch is kept as the record. The spring order of the template (sow before plow) is VB-253’s to take up if a head’s plan should read so.