VB-351: The head chooses what to sow, by foresight
Status: done (2026-11-22)
Priority: 2
Size: M
Arch: crops
Phase: implement
Design ref: Goods and the farming year, Crops and rotations (design.md, section 8)
Goal: How the head chooses what to sow: layers 2 and 3 of the plan for crops. Skill acts on choices and timing only (Kim, 11 Nov): no multiplier on yield.
Acceptance criteria:
Foresight from the stand-in traits (wits, husbandry, years as head), read through sim/plans’ existing estimate: the lowest fifth keeps the rotation it took over and, in a hungry year, sows its fallow field with whatever seed it has; the middle holds the usual rotation, rests a field whose soil is below 0.85, and after a failed crop sows more of the other; the highest fifth compares the rotations it has seed for against its estimate of need and hands at the year’s turn, rests the poorest field first and puts rye on fresh land. The numbers are rules.
The bias toward or against a crop is drawn once when the pawn becomes head, from the stream traits, and is plain data on the pawn (@state).
Timing: a good head opens hoeing and sowing on the window’s first day; nothing else is added (planning days by diligence already spread the rest).
A trial is a project of VB-255’s menu: targets met, a field’s seed of a crop it does not grow, weighted by ambition; it puts one field under a rotation with that crop.
A test asserts that two fields of one crop, soil, sowing day and weeding yield the same under a poor and a good head. Numbers as in the rotations task, with heads’ foresight on: the share of farms by rotation at years 5, 15 and 30, and how long a crop takes to become a village’s usual one. Barley-only runs do not move (node tools/same.js --base REF prints same with every village on barley): say so.
Cost: a holder a year at its turn: at most five rotations × its fields, on its planning day. No new loop over households.
Notes / questions:
11 Nov 2026: written by the plan VB-345. Kim read and accepted the plan the same day (QUESTION_ARCHIVE.md, VB-345): its numbers are design.md’s starting values, Agreed.
15 Nov 2026 (review of the open tasks against the head’s day, VB-466, and the blocks plan, VB-469, docs/review-blocks.md): the labour a rotation asks of the household is the head’s estimate of it (VB-476), so a poor head may sow more than it can reap.
18 Nov 2026, amended to agree with VB-1123 (plan mode; Kim’s decisions of 18 Nov): plan mode shows what this task decides: a crop a field, and the order the fields are planted in, as actions on a member’s bar (“Plant”, a field at a time). The played head chooses both at the field’s tile (VB-355); the automatic head by this task’s foresight. No target is stepped.
22 Nov 2026, done (decisions): tiers by SOWING in sim/rotations (poor < 0.45, good from 0.67: the fifths of head skill measured over 15 years, populous 7 and heirs 42). Timing needed nothing: every plan is reviewed at the first review hour of a field’s first sowing day (fieldsDue), so every head opens hoeing then; tested.
Close call: the crop bias (pawn.cropBias) is drawn the first time a head weighs crops, not at its becoming head, so a head of barley alone draws nothing from traits and barley-only runs keep every draw. Same reason: the good head weighs rotations only when it holds a crop besides barley, and every field rule needs two courses.
Close call: the trial sows one field out of turn for a year (sowOutOfTurn; a farm’s fields share one rotation), and only a good head takes it (design table); the good head’s yearly weighing then takes a rotation with the crop once its seed is in. It has no project plan: plan.aim.trial.
The worn field rests by a new verb courses (two free fields exchange steps, the farm stays staggered); “after a failed crop” reads farmstead.failed, kept only on farms of two crops or more. tests/milk.js measures the ewes’ rate with no pasture in its copy: this run’s pasture was grazed down (VB-709’s milk factor).
Numbers (populous 7, small, base 531028b, then work): farms by rotation at year 5: three 77% → 67%, every 7% → 15%; year 15: three 76% → 58%, every 10% → 35%; year 30: three 79% → 49%, every 10% → 45%. Good heads short of land take barley every year, and villages founded from theirs start so. A crop’s becoming a village’s usual one: populous’s rye villages take three at founding, unchanged (village 2 at year 1 in both); after, 13 villages move three → every (years 3 to 29). Households, years 3 to 15: rations made by weather good 384 → 410, ordinary 334 → 338, poor 289 → 293; hungry 0% in both; fallow fields 1.6 → 1.3, soil 1.13 → 1.11. Barley alone: founders 7 and heirs 42 stripped to barley give the same state hash after 3 years as the base (same.js’s own scenarios all carry crops since VB-353, so it cannot show it).
For tuning (docs/tuning.md): the good head’s 3-year soil look-ahead lets barley every year win wherever land is short; whether three courses should hold longer is a tuning question.