Status: done (2026-11-11) Priority: 3 Size: S Arch: fair Phase: implement Design ref: Goods, Goods of place and side crafts (What each good is for: Ale, Agreed 10 Nov); Settlements, The gathering (What the host gains) Goal: Slice 4’s third good (Kim, 10 Nov), grounded in standing: what a host pours is what its guests remember, and surplus grain gets a use other than rotting. Acceptance criteria:
sim/stores with a reason. (Done for weddings and funeral ales; the gathering waits for VB-294 and VB-295, which are not merged.)QUESTIONS.md, “VB-183: the gathering, the fair and goods of place”, questions 9 and 10). Its numbers were settled by Kim’s answers of 10 November (QUESTION_ARCHIVE.md, “VB-183”; design.md, sections 8, 9 and 11).sim/rules (new BREW), the household’s floor (sim/hunger floorOf), the occasion’s guests;
writes household.ale (lots {n, until}) and household.poured (game hours of the last 4 barrels poured), both owned by sim/stores
(src/owners.json), through new operations brew, pour, spoilAle (the brew and pour reasons are new; spoilage of ale is a routine
total). A new job kind brew (sim/kinds: inside, 4 hours, type household, urgency MATCH.urgency.brew 0.5, posted in autumn and winter at
the farm after the plan’s land step, after cook; added to the autumn and winter routines of the plan’s template in sim/plans). It is wanted
while the household holds fewer than BREW.stock (1) barrels and its grain exceeds floorOf(hh) (seed reserve plus HELP.floorDays of need) by
10; the work, when done, checks that again before it takes the grain, so a household never brews below its floor. The pour is in
sim/occasions (finish): the host household of a wedding or funeral ale pours ceil(guests / 20) barrels, as many as it has; each guest of
another household remembers the host’s holder (SOCIAL.memories.ale, +0.05 up to 0.2, fading over 3 years, so opinion gains 0.05 and fades
with the memory), and an event alePoured (sim/events) has sim/society raise the holder’s prestige at once; prestigeOf (society) adds
Stores.aleStanding (0.05 a pour in the last 3 years, at most 4 counted: 0.2) for a holder, and the year’s round recomputes it for all.
The log line of a wedding or funeral ale ends “a barrel of ale poured”. Invariants (tests/lib/invariants.js): lots whole and in order, none
held past a season, pours at most 4, in order, none in the future, none kept by a dissolved household. New test tests/ale.js (in npm test).
Nothing new loops over a growing collection; spoilAle is a length check per household in the daily pass.Stores.pour and aleStanding are the pieces it will call.BREW.stock = 0, no brewing; same code) and after, by ale scripts of the
scratchpad; grain brewed; grain spoilt in store (hh.spoilt, all households); hungry household-days (all households ever; worst household):
seed 3: brewed 65,520; spoilt 166,393 before, 152,757 after; hungry 0 (worst 0) before, 3 (worst 3) after.
seed 7: brewed 60,690; spoilt 137,512 / 121,970; hungry 2 (2) / 2 (2).
seed 11: brewed 62,200; spoilt 193,724 / 160,955; hungry 16 (16) / 0 (0).
seed 42: brewed 65,790; spoilt 165,654 / 136,094; hungry 2 (2) / 1 (1).
Living at year 15 within 2% of before (1,130 to 1,157; 1,117 to 1,099; 1,099 to 1,086; 1,126 to 1,131). So brewing takes about 4,000 rations a year
from about 200 households (some 20 each, two barrels in autumn and winter), a third to a quarter of it grain that would have rotted
(spoilage falls 15,000 to 33,000), and no household is hungry for it as a rule: hungry household-days are 2, 0 to 3 and 16 to 0, none of them
worse than a day or two, one household 3 days at seed 3 where there were none (chance in a run’s course, not a brewing below its floor, which the
rule and tests/ale.js forbid). Pours: about 30 a year on small (seed 7, years 2 to 5: 31, 31, 32, 24 pours of 338 to 390 barrels brewed),
so about nine in ten barrels spoil unpoured: the weddings fall the day after the autumn round and the funeral ales follow deaths, and brewing does
not know of an occasion ahead (needValue’s “occasion ahead” has no reader yet). Standing: the mean prestige of the holders at year 15 is 1.623,
1.624, 1.626, 1.619 (seeds 7, 42, 3, 11) against 1.608, 1.608, 1.609, 1.609 before, with 65, 67, 78 and 58 barrels poured in the last 3 years;
the largest is 1.9 (seed 3). Everything else of the run (households, grain brewed, spoilt, hunger) is the same whether the pours count for
standing or not.tests/golden.js entries of every run that goes through an autumn with a
surplus (all the populous and founders entries), the work counters of the planner (oppAsk, since brew is asked) and of stores, and the anchor
of tests/record.js (heirs 7 at 2.5 years: 69 events on its pawns before, 77 after, the new friendships the ale makes).BREW.stock), and from a surplus of one barrel’s grain above the floor; nine barrels in ten spoil unpoured, which is the price of a household
that cannot know of an occasion ahead; raising BREW.grain’s margin or brewing only for a wedding or a death in the house would halve it.
(2) The opinion of a guest gains 0.05 once for an occasion at which ale was poured (not for each barrel), and a guest of the host’s own household
gains none. (3) A host pours at the end of the occasion, for all who came, the barrels that serve them (20 guests a barrel, rounded up) at most as
many as it has. (4) The pours that count for standing are the last four (a cap of 0.2 at 0.05 a barrel), kept as game hours in household.poured.
(5) The host’s standing goes to the household’s holder, and to nobody when the holder has died before the occasion’s end.oppAsk 9.25 to 9.64 a pawn-day: brew is asked) and the record’s anchor (77 events) re-recorded. The task stays open: its two criteria on the gathering wait for VB-294 and VB-295. For Kim: about 340 to 390 barrels are brewed a year against about 30 poured (seed 7), some 4,000 rations of grain a year; a household might brew only with an occasion ahead.