Status: done (2026-11-11)
Priority: 3
Size: M
Design ref: Land, ecology and rights (Land and ecology: Stones, Stone); Goods, Goods of place and side crafts (A well-kept house). QUESTION_ARCHIVE.md, Stocks audit (11 Nov)
Goal: Stone is gathered and never used. Clearing a field or a meadow puts its stones on the household’s heap (hh.stone, 25 stones a load; src/sim/fields.js:72, meadows.js:66), the farm card shows the loads, and nothing reads them: 182 loads lay on 93 households’ heaps after 15 years of populous small, seed 7 (median 0, the most 14), though the design says the stones cleared become building material. Kim, 11 Nov: stone is used at least for the prestigious house; a cheap house can be built and later upgraded; stone can be picked from stony meadows or mined in hills and mountains.
Acceptance criteria:
BUILD.foundationStone (12) loads of stone from its heap and BUILD.foundationHours (40) of work, in the slack of early summer or winter, the house lived in meanwhile; offered as upkeep-type work once the stone lies on the heap. f.grade (‘ground’ or ‘stone’) is state with an owner and an invariant; a save without it loads as ‘ground’. Generated farms start on the ground.hh.stone through a stores operation with a reason: clearing a field or meadow, as today; picking on a stony meadow tile of the household’s own land or the village’s outland (a job kind pick, 2 hours a load, within 12 walking steps, which lowers w.stones[tile] as clearing does and is offered while the household wants stone and a tile within reach holds more than a meadow keeps, 80 stones); and quarrying on a hills or mountain tile within reach (a job kind quarry, 4 hours a load, within the same reach, never exhausted). A trip carries a load home, as firewood. A household wants stone only while it means to build with it (a plan’s step, not a standing target), so heaps do not grow without use.QUESTIONS.md, “Stocks audit: stone”.timber job, which the pick and quarry kinds follow; wood through a stores operation). Slice 6 (mill) makes construction a recipe: this task’s foundation should be the first recipe’s shape, or be rewritten by VB-185’s plan if that comes first.QUESTION_ARCHIVE.md, “Stocks audit”): the numbers above are Agreed. Waits for VB-306 and VB-328 only.houseCondition, HOUSE, prestigeParts, the repair job, f.tarredUntil); this task now waits for VB-328 only and reads the house’s term and wear from there: a grade changes the two numbers as tarredUntil does.38b920d; main has moved some lines since (in src/sim/kinds.js, jobs.js, records.js), and every function and field named still stands: find them by name.w.rock, gen/geology): the foundation takes any kind, later uses want the right one; picked field stone is granite. This task’s plan adds the kind to the heap or says why one count is enough for the foundation.sim/building (VB-328’s module) gains the stone foundation: the kinds pick, quarry and raise, the rule
stoneWork (asked last at each farm’s review, ASK.farmAfterPlans), stoneSource and buildStep; sim/plans’ review writes the
household’s building step, plan.build (owner sim/plans), from buildStep. New state: f.grade (‘ground’ or ‘stone’; owner
sim/building; makeFarmstead makes ‘ground’, a save without it loads as ‘ground’; invariant), plan.build. household.stone is now
owned by sim/stores (clear from fields and meadows, pick, quarry in; foundation out). sim/rules: BUILD gains foundationStone 12,
foundationHours 40, pickHours 2, quarryHours 4, keepStones 80, stoneReach 12, wellStone 6; HOUSE gains wearStone 0.08 and termStone 0.2,
and houseCondition and houseTerm read the grade (tar’s gain, +0.03 on the term and a third less wear, adds on either; a house on the
ground reads exactly as before).cottage). The pawn panel’s prestige parts read “A well-kept house on
stone”; the page draws a row of grey stones under a raised house (docs/img/vb332-stone-sill.jpg).BUILD.wellStone and a note in VB-058). The rock kind of a
quarried load (the caller’s addition of 11 Nov: a load of the tile’s bedrock kind, w.rock, gen/geology): this branch has neither
gen/geology nor w.rock (they are on the line of work of VB-359), so the heap stays one count (hh.stone, every load alike) and the
kind is left to the task that brings the bedrock map: it would make hh.stone a count by rock kind (picked and cleared stone granite, a
quarried load the tile’s kind, the foundation taking any), with saves migrated.tilling work, the raising upkeep; a
quarry may be on wilderness hills; the stone taken when the raising is done, not reserved when it starts.c7339f9):
| seed | houses raised (in year 1, 2, 3, then a year) | by household size 1-3, 4-6, 7+ | loads picked, quarried (hours) | raising hours | heaps at y30 (total, most) | holders’ prestige (mean, most) | idle share of working hours | households |
| — | — | — | — | — | — | — | — | — |
| 7 before | 0 | - | 0, 0 | 0 | 525, 21 | 1.761, 1.97 | 47.18% | 131 |
| 7 after | 132 (56, 9, 3, then 1 to 10) | 80, 36, 16 | 421 (842 h), 1,147 (4,588 h) | 5,280 | 441, 15 | 1.795, 2.077 | 46.83% | 134 |
| 42 before | 0 | - | 0, 0 | 0 | 453, 19 | 1.757, 1.933 | 49.08% | 136 |
| 42 after | 123 (51, 11, 3, then 1 to 7) | 75, 29, 19 | 525 (1,050 h), 906 (3,624 h) | 4,920 | 426, 12 | 1.802, 2.029 | 48.15% | 135 |
Household sizes are those at the end of the year the house was raised. 129 and 119 houses stood on stone at year 30. Every household that
raised its house gained 0.05 times its condition in prestige (holders and spouses); the meeting’s customs at year 30 differ from before in
several villages at both seeds, but the runs diverge from the first day, so that is not the term’s doing alone. Stone is no longer heaped
without use: the heaps hold what clearing brought after the raising.grade; years 1 to 3:
households, farmsteads, jobs, pawns, record, rng and what follows); world/7, world/42, calibrate and apiKeys unchanged. tests/record.js’
anchor hash re-recorded (69 events, as before). tests/browser.js’ marriage-offer scene now makes its two states on fresh worlds, as
tests/offers.js does: it seeded both on the page’s world, which a year of play and the first seeding had written (stones picked, trees
felled), so the two states differed and the match was another.npm test passes (105 scripts; tests/stone.js new). npm run verify (with the golden file re-recorded): 123 scripts passed; 6 targets out (history.routeRefresh +1.07, history.roundPairs +1.12, history.occasionAsked +0.60,
scaling.routeRefresh +0.53, scaling.roundPairs +0.85, scaling.takeInWeighed +0.435), against 11 on main; the history ratios compare saves
made anew for the changed sources.BUILD.stoneWalk
(3) hours’ walk of the house, the nearest six of each kind tried. Merged with digging, founders seed 7 sent a pawn to a quarry 10 steps up a
mountain, a walk of some 6 hours each way, and it carried its load home at 22:00 (tests/daylight.js, a hard check). Three hours makes a
quarry trip fit a working day (3 out, 4 breaking, 3.75 back). Cost: houses on stone at year 30, populous small, 89 of 133 (seed 7) and 113 of
138 (seed 42), against 129 and 119 before the bound; 42 and 25 households have a building step with no source in reach. Golden file
re-recorded for the merge (founders and heirs at 7 and 42, every entry; world entries as VB-357 left them); tests/record.js’ anchor is 68
events. The rock kind of a load is still not built: the heap is one count.BUILD.stoneWalk) is kept; that nearly every household in reach raises its house in its
first year is accepted for now.