Skip to content

VB-459: The harvest home: a yearly feast at the farm of a household with plenty - #393

Merged
ashlaban merged 4 commits into
mainfrom
claude/vb-459-harvest-home
Nov 27, 2026
Merged

ashlaban merged 4 commits into
mainfrom
claude/vb-459-harvest-home

Conversation

@ashlaban

Copy link
Copy Markdown
Owner

Requested by Kim · project thread

For Kim

Reviews (VB-1619)

  • VB-459: revise, 1 blocking (prettier on tests/harvest.js), rebutted: tests/format.js checks src/ only and passes; the file was formatted anyway. Advisory F2 (card title "undefined") and F3 (harvestIn set only when called) mended. The stray follow-up task VB-1956 was withdrawn, not created.

Result

VB-459 done 67dfdad.

  • Kind harvest in OCCASIONS (src/sim/occasions.js: harvestHome, harvestGuests), called from planReviewed, ended by farmEnd.
  • When: the farm has a field reaped this year, none ripe, no spring sowing growing; threshold surplus > 0 (VB-458). Once a year (household.harvestIn, with an invariant).
  • Whom: the host's own members plus 20: kin households, then the strongest 30 ties, nearest first; not over the sea, not beyond a day's walk; a pawn bound for another occasion that day is skipped.
  • Card words for the occasion (src/page/gathering.js); counter harvestCalled.
  • Test: tests/harvest.js (constructed state).
  • Measured, populous small seed 7, 8 years: 137 harvest homes (~17 a year); feastServed 76→1498; occasionAsked 23.6k→46.2k; year-8 famine unchanged (26→25 starvation deaths). Shares, rations rotted, cost not measured (shared machine; the night's bench carries the counters).
  • npm run verify 331/331.

Night 2026-11-28, task 4


Generated by Claude Code

@ashlaban
ashlaban merged commit 8926662 into main Nov 27, 2026
1 check passed
@ashlaban ashlaban self-assigned this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants