Status: done (2026-11-23)
Priority: 2
Size: M
Arch: mill
Phase: implement
Design ref: Goods, production and animals (The metals and the stones: goods by purpose, kinds by property; Goods, recipes and facilities); docs/plans/VB-702.md; AGENTS.md, Deciding without Kim (17)
Goal: Principle 17 in the goods registry and the stores: kind is the subtype, carried from the material into the good, with no record for each item; the stone heap is its first user, the quern its first reader.
Acceptance criteria:
sim/stores; target-v2 4.3) gains material (the class: stone, metal, clay, wood, ore, amber; class keeps its meaning, custom’s class of exchange) and, for a good with kinds, its list (at most 8) with the properties its use reads, as named tunables of sim/rules.js with a physical meaning. Declared at load, sealed with the rules registry, never saved. Properties are compiled at load into one frozen row a good and kind; a reader allocates nothing (tests/ shows it as the rules registry’s value() is shown).{[kind]: n}, as household.grain (VB-347): put names the kind; a take of good/kind takes it; a take of good (any kind) falls on the kind of least customary worth first (Culture.norm('worth', 'good/kind'), one row a kind). The ledger counts the good whatever its kind, as it does grain. @state, the invariants (tests/lib/invariants.js), tools/stocks.js and saves (an old save’s number becomes granite) follow.household.stone is {[rock]: loads}. A quarried load is of its tile’s bedrock (Decided, 11 Nov); a picked or cleared load is granite. The foundation and the well take any kind.wantsStone asks for a load of a rock that can be hewn, from a quarry of it within reach. The quern’s two kinds and speeds move into the registry’s rows (quern/sandstone, quern/granite), its first reader.quarry(w, t) is hills and mountains only, which hides a third of the limestone and sandstone villages have within 12 steps (89 against 67 villages, 61 against 46, of 189; limestone was quarried on flat ground on Gotland and Öland). Widen it to heath (thin soil over rock) as a named tunable, BUILD.quarryOn; report the quarry columns of docs/plans/VB-702-reach.js (or --report ground, VB-735) before and after, and keep the change only if it adds villages with a limestone or sandstone quarry in reach.node tests/smoke.js and the browser tests it touches.node tests/counters.js unchanged but for intended lines; save size at the end of the runs.sim/stores) of what they should read from this, in the task file and as inbox notes for the orchestrator.npm run verify passes its hard checks.
Notes:{kind, made} here and gains its grade with VB-761.Noted by VB-702, 16 November 2026.
@tunable of sim/goods, not sim/rules: the registry alone reads it (VB-419). cheapest
(kinds by custom’s worth) is compiled into the good’s record; worth by kind is sim/norms’ rows (D14). Field stone is granite and granite
hews a quern, so a household anywhere with picked or cleared stone can hew one (D8’s consequence: no-quern household-days fell at every
seed measured). On heath only the bedded rocks (limestone, sandstone) are quarried: heath for any rock put founders 42 Norrgården’s
first meadow a season later (tests/meadows.js) and added only granite beyond these. Opened VB-1538 (sim/goods over 15 exports),
VB-1539 (sim/building over 700 lines), VB-1540 (sim/rules over 700 lines).material and kinds with the property its
breakage reads, a durable {kind, made} like the quern’s. For VB-698 (targets): a target is on a good or a kind, never a grade; the
quern’s target stays on ‘quern’. For VB-416 (done): the registry it split out is sim/goods; its kinds now push it over 15 exports (VB-1538).