Status: done (2026-11-01, 9ced5f8)
Priority: 1
Size: L
Arch: expansion
Phase: implement
Design ref: Inheritance and expansion (Clearing a new plot: build the cottage; Leaving home: a start in life); Long work and processing (Building: Decided); Settlements and look (Farmstead).
Goal: A new farmstead is built on a cleared plot (VB-031) or on a ruin (VB-033): foundation, log walls, turf roof. When the roof is on, the new owner and their spouse form a household there. Inheritance shares, which today pile up unused in p.stake and p.owed, become the household’s start in life. Depends on VB-031 and VB-030; if either is not done, mark this blocked.
Acceptance criteria (Kim answered the VB-030 questions on hours and shares on 2026-10-30):
moveTo), with a “moved” life event.stake moves into the household’s grain; owed shares stay a debt of the farm they came from and are paid down at the moving round from grain above that farm’s reserve (VB-049). The share event text no longer says “splitting land comes in a later batch” once VB-034 is done.ids are never reused: farmstead and household ids are appended.ready (VB-010 is done; VB-033’s claim check is a stub). This task is blocked only until VB-031 is done. Building on a ruin (VB-033) is the second use of the same jobs; if VB-033 is not done, build on cleared plots only.ready. Build on cleared plots only; building on a ruin waits for VB-033 (the answers to its questions), as the planning note above says. This is the first task of the critical path: growth needs it.src/sim/cottage.js (roof on: farmstead ‘Nybygget’, household, start in life) with the stages as plot jobs in src/sim/expansion.js; kinds foundation, walls, roof. Cleared plots only. Timber from felling is not tracked yet, and the farm name is a placeholder until VB-026. Owed shares carry owedFrom (the debtor household) and are paid at the moving round. The share event text still mentions a later batch until VB-034. Test: tests/cottage.js; tests/kinship.js now counts adults pulled in any year, tests/tools.js expects at least the seeded households. Golden re-recorded: all entries differ from year 1 (new job kinds and plots now build cottages).