Status: done (2026-11-21) Priority: 2 Size: M Design ref: design.md section 7 (Holders and plans, as changed 21 Nov 2026); Moving to new land (The booth); docs/architecture/target-v2.md section 4.5 (Plans); backlog/VB-1407.md; backlog/VB-1472.md Goal: A settler household clears its first field (a project plan) and builds its cottage side by side, but the cottage’s building is kept off the record, on the farm (f.booth: {i, done, wood}), with its own finisher (finishBoothStage) beside the plot’s (finishCottageStage). With the limit of one project gone from the design (Kim, 21 Nov 2026), the cottage is a project plan of the household with the plot’s three stages, and every read of ‘the household’s project’ says which one it means. Saves made before this need not load (Kim, 21 Nov 2026). Acceptance criteria:
node tools/same.js --base REF prints same at --scenario founders,heirs,populous --seeds 7 --map small --years 4): no reader takes “the holder’s first plan” to be the only one. projectOf and openOf of sim/projects and their some thirty uses (sim/aims, sim/plans, sim/fields, sim/meadows, sim/tar, sim/expansion, sim/farmclaims, sim/building, sim/settle, the page’s cards.js and plan.js) each say which plan they mean: the one this job belongs to (by its kind and place: stepEnds, onProject, the land steps’ stepDone, which name their plan), the land project (a field or a meadow), or “any of its own choosing under way” (the guards). stepDone always names its plan.mayBegin, the aims’ menu, the land step, landWhy, buildStep, barnWhy, heirWhy); whether the cottage’s plan counts for them is as f.booth counted before (most of them refuse a farm with a booth already: keep each as it behaves).what: 'cottage'), made where the farm is founded (sim/settle, beside its field’s plan), with the plot’s stages as its steps (foundation, walls, roof; the walls carrying timber and wood, each stage its done), posted, supplied with timber (Projects.timberOf, VB-1407) and ended as a plot’s cottage stage is. finishBoothStage, boothJob, boothTimber and the booth branch of the stage kinds’ done go, or shrink to what differs: the roof on, the household leaves the booth, timber left over goes to its woodpile. f.booth stays only as the mark that the household lives in a booth (the many reads of it are not touched), without i, done or wood; the page (src/page/settlement.js, the stage drawn) reads the plan. (Unticked: built, but its timber is not Projects.timberOf’s: that brings a step’s timber only while the step is open, and the booth’s cottage, like a plot’s, fetched it from the foundation on; so the walls carry wood only and cottageTimber of sim/expansion reads the plan, key timber:f<id> kept. Behaviour unchanged.)f.booth and its progress for whoever comes: find what happens and keep it, the plan passing with the farm or its progress kept, whichever is least new), a right lost, the head holding off projects (the cottage is not of its choosing: it is not held off).f.booth’s old shape is removed; tests/saves.js and the fixtures are regenerated or adjusted as docs/testing.md says, and the task file says what was dropped.tools/same.js will differ in the leaves that moved (farmsteads[].booth, plans.projects, job keys); show that these are all that differ on a run with settlers (find one: founders or populous, the seed and years at which a new village is founded and its cottage roofed; say which), or name each further difference with its cause. Report before and after, on that run: the day each booth’s cottage got its roof, and the day its first field was broken.tests/suites.js; @sys, @state (st.plans.projects: what includes cottage; farmstead.booth) and docs/architecture/ownership.md updated; npm run format and npm run verify pass; the lint, width and ownership baselines do not rise (sim/projects is at 15 exports: if it must cross, note the split task with a reserved ID, saying which responsibilities it holds and where each belongs).
Notes / questions:design.md (how parallel projects are limited and ranked is VB-1472’s); save compatibility may be ignored and breaking refactors are allowed.st.booths) is VB-1172’s; the stone foundation (plan.build, hh.stone) follows as its own task.ownOf (the project of the household’s own choosing, today’s limit, VB-1472; the cottage not counted, so the guards behave as with f.booth), openOf(st, id), planAt (by kind and place: stepEnds, onProject, which now returns the plan); projectOf gone, stepDone always names its plan. same against 69c7c22 at founders, heirs, populous, seed 7, small, 4 years.f.booth is true or null; the plan what: 'cottage', farmstead, the plot’s stages (cottagePlan); posted by boothWork under booth:f<id> (ASK order kept); finished through finishStep -> finishCottageStage(plan) -> roofOn. Not named farm: sim/spread reads plan.farm as a restoration.dropAll hands the cottage to its village (projectHanded, as a plot for an heir), its progress with it; makePlan of a household on that farm takes it back: as before, the farm kept its booth and progress for whoever came. A right lost: no stake, so nothing ends it. Held off: not of its choosing, posted all the same..farm.booth and timberFor (now the walls step) differ. populous seed 7: farms 61, 62, 64 roof on days 107, 108, 165, first field broken 92, 90, 142, before and after.