VB-460: The good-year gift: a holder with plenty carries a load to kin or a friend who is short
Status: done (2026-11-18)
Priority: 2
Size: S
Design ref: design.md, Exchange, goodwill and obligations (The gift: The good-year gift, Allowance); backlog/VB-407.md
Goal: Help today only answers an ask from a hungry household. Kim, 13 November: a household may give in a good year without being asked, kin first, so that generosity is a strategy (VB-407’s plan).
Acceptance criteria:
On a holder’s first planning day after its harvest, if its household is above the feast’s threshold (FEAST.above, VB-458): it looks among the households it has a tie to (kin first, then by the tie’s strength), within a day’s walk and by land, for the first that holds under GIFT.shortBelow (1) year of its need above its seed, and gives min(allowance, TRAVEL.load, what brings the receiver to a year); under GIFT.least (10 rations, a sack) no gift is made. One gift a household a year.
The gift is a verb of src/sim/commands.js (issue(st, {actor, verb: 'giveUnasked', ...})), which returns why not (no one short, allowance under a sack, no carrier, no route); it is the player’s gift’s command where that fits, not a second one.
Nothing teleports: the grain is reserved in the giver’s store and carried by one of the giver’s own on a journey, as far kin’s help is (carrierOf, VB-291); it changes owner on arrival, and goodwill is booked then, by the gift’s rule. If VB-461 has landed, its fetching rule is used in place of this one where the two differ.
An event gift in the log, with giver, receiver and rations; the two panels show the balance.
A test on a constructed state: a holder with a reserve of 40 days and little above the threshold gives nothing (the allowance is under a sack); one with no reserve gives a load; kin is chosen before a stronger tie that is not kin; nobody short, nobody given; the grain is on the carrier’s back between the two farms and in neither store.
Numbers before and after, as VB-458’s seeds and years: gifts a village-year, rations given, the share of holders that give in a year by their reserve (a description, no target), hungry household-days, households helped by an ask (does the unasked gift come before the ask?), goodwill outstanding. Cost (rule 9): one pass over a holder’s ties (at most 32) on one planning day a year.
Notes:
15 Nov 2026: written by VB-407’s plan; waits for VB-458 (the threshold’s rule).
15 Nov 2026: A close call of the plan, surfaced: Kim’s answer says generosity ‘decides how often’. The plan uses no chance and no new parameter for it: the holder’s own reserve already shrinks its allowance, and a gift under a sack is not made, so a holder with a large reserve gives seldom. If the run shows that almost every holder or almost none gives, that is reported, and traits (slice 7) take it over.
16 Nov 2026 (Kim, the session on the household boundary): the unasked gift is an offer on the basis gift that wants nothing (VB-690), not a verb giveUnasked; the second criterion’s verb reads so. Waits for VB-690.
18 Nov 2026, amended to agree with VB-1123 (plan mode; Kim’s decisions of 18 Nov): plan mode shows the surplus above the food’s need and what it is for (a feast, crafts, “and more”); what else it may go to is looked up in the game info panel (VB-1124; Kim, 18 Nov), where this gift’s action belongs too. The gift’s threshold and the surplus shown should be one reckoning.
Built (VB-460 run): goodYearGift/giveUnasked in src/sim/help.js, on the planning-day review (‘day’) from autumn on, household.giftedIn once a year; GIFT in rules.js; tests/gift.js.
Decision: no new verb giveUnasked; it is the existing verb give (source ‘pawn’, so the receiver’s holder answers; VB-690), with the carrier, as far kin’s help is. The gift event is settleGift’s.
Decision: the allowance is the design’s (grain above the floor, less the reserve), so “a reserve of 40 days and little above the threshold” does not fall under a sack (the threshold is far above the floor); the sack bites on the receiver’s gap (short by under 10 rations): tested so.
Unmet: the numbers before and after (gifts a village-year, rations, share by reserve, hungry days, asks, goodwill outstanding): left to the night. The panels’ balance shown is the existing goodwill list; nothing new drawn.