VB-459: The harvest home: a yearly feast at the farm of a household with plenty
Status: done (2026-11-27)
Priority: 2
Size: S
Design ref: design.md, Exchange, goodwill and obligations (The gift: The harvest home); backlog/VB-407.md
Goal: Weddings and funerals are too few to turn a good year’s surplus into goodwill: the harvest home is the occasion plenty itself calls (VB-407’s plan; Kim, 13 November).
Acceptance criteria:
A kind harvest in OCCASIONS (src/sim/occasions.js), 16 to 21 as a wedding, not overriding work; called on the host’s first planning day after its last grain field is reaped, for an evening FEAST.notice (3) days ahead, if the household is then above the feast’s threshold (VB-458). At most one a household a year, kept as the year it last held one (plain data, in the @state line, with its invariant).
Whom it asks: the holder’s kin households, then the households of the pawns the holder has the strongest ties to, nearest first, within REACH and with a route by land (VB-436’s rule), until 20 guests are asked; guests() is extended, not copied. A pawn already bound for an occasion that day is not asked (one feast a day).
The feast itself is VB-458’s: food served, goodwill booked, ale poured for standing. The log line names the kind (harvest), the host and the farm.
A test on a constructed state: a household above the threshold calls one and only one in a year; one below calls none; guests over the sea or beyond a day’s walk are not asked; two hosts on one evening share no guest.
(partly: counters below, shares and walking hours left to the night) Numbers before and after, as VB-458’s seeds and years: harvest homes a village-year, the share of households that host and that are guests, rations feasted and rotted as shares of the harvest, goodwill outstanding a household, evening hours spent walking to feasts. If more than half the households host every year, try FEAST.above 2.5 and 3 (within VB-458’s five runs or its own) and report; the value stays Kim’s unless a run shows a collapse.
(not measured: machine shared; counters harvestCalled, occasionAsked now in the nightly counters) Cost (rule 9), named before building: hosts (about half the households on the plan’s rough count, so 50 to 60 a year on populous small and 100 to 120 at medium-ref) × 20 guests × one journey and one booking, through the occasions’ due-queue (rule 4), spread over the autumn by each host’s own planning day (rule 5). Measured at small-y40 and on a late save (--report perf): occasionsDue, route lookups, and the step’s longest time.
Notes:
15 Nov 2026: written by VB-407’s plan; waits for VB-458 (the feast) and VB-436 (who is by land).
15 Nov 2026: A close call of the plan: the harvest home is a farm’s, not the village’s (history has both). A village’s feast from its store waits for the village’s agent (VB-314), since the store books nothing until then.
18 Nov 2026, amended to agree with VB-1123 (plan mode; Kim’s decisions of 18 Nov): a feast is, in plan mode, an action at the house, and what it draws on is shown: the surplus above the food’s need, in a likely year and a poor one (Kim: the surplus is for crafts and feasting, both actions on the household, and more). The harvest home’s threshold of plenty is that surplus by another name; one reckoning should serve both.
27 Nov 2026 (VB-459 worker): decisions: grain is in when the farm has a field reaped this year, none ripe, none of a spring sowing still growing; threshold is VB-458’s surplus > 0; the host’s own household is asked besides the 20, and a host with nobody outside to ask calls none (and tries once a year: household.harvestIn); a pawn bound for another occasion that day is not asked, host’s own members included. Kin households first, then the strongest 30 ties’ households nearest first. Added FEAST.notice 3.
Measured, populous small seed 7, 8 years: harvest homes 137 (17 a year, under half the households, so no FEAST.above runs); feastServed 76 to 1498; occasionAsked 23.6k to 46.2k; year-8 famine unchanged (26 vs 25 starvation deaths). Rations rotted, walking hours, goodwill outstanding, perf at small-y40 and a late save: not taken.