Status: done (2026-11-24) Priority: 2 Size: M Design ref: backlog/VB-1655.md; backlog/VB-1659.md; backlog/VB-1653.md; src/sim/ladder.js (RUNGS, farmView); src/sim/cottageplan.js; src/sim/building.js (boothWork, fetchTimber, KINDS foundation, walls, roof); src/sim/planchains.js (CHAINS); src/sim/plannext.js (WAITS); src/sim/camp.js; src/sim/stores.js (timber) Goal: A player who plans by hand turns the booth into a cottage by one task of the plan. Acceptance criteria:
Sim.plan(st, 'add', {upgrade: houseTile, what: 'cottage'}) (a chain upgrade in CHAINS, its what a rung of RUNGS that follows the one standing; only cottage is built by this task, the others refused with the reason “not yet”). Refused with the reason when the farm is still a camp, the rung does not follow the one standing, or one is already planned or under way.landAlone and settleFarm make it, through a verb or the making registry: say which and why), and the plan feeds the foundation, the walls’ timber, the walls and the roof to the pawn until the roof is on; then f.booth is cleared as today and the task leaves with which: 'roof'. waits gives its reasons (timber not in, sleeping hours, a stage’s own conditions), and Sim.agenda lays its steps.household.timber, VB-1653; through sim/stores with a reason), and only what is then lacking is fetched by timber trips. Say whether this holds for every household or the played one, and report founders seed 7, small, 10 years before and after if it is every household.Sim.farmView(st, f).next says so for the page: an entry’s ok and why are the task’s own check (today the cottage reads ok: true after the booth though nothing can begin it), and gains planned (whether a task of the plan covers it).hand build their cottage as today (node tools/same.js --base REF --scenario founders,solo, unless the timber rule above is for every household: then the report above).tests/camp.js or a new script with its line in tests/suites.js): from a raised booth to the roof on by the plan alone; the timber at home used first; the refusals; a save and a load in the middle go on the same. npm run verify passes; baselines do not rise.src/page/*) is the orchestrator’s.sim/upgrade (agency) holds the chain upgrade (added to CHAINS at load), the verb beginCottage and the home timber rule; sim/ladder holds the check (rungWhy, upgradeWhy) and moved from the derived layer to agency, since the chain acts on its table (planchains is a read-only agency module too).act reaches it as the farmstead’s placing.same.js --base 300262f --scenario founders,solo: same.unposted:<stage> (between reviews, a stage’s own conditions), unposted:timber, sleep.