Status: done (2026-11-25)
Priority: 3
Size: S
Design ref: AGENTS.md, Conventions (a module over 15 exports; VB-415); docs/architecture/modules.md; target-v2 section 4.3 (goods)
Goal: sim/goods holds three concerns: how a good is kept in store (KEEPING, keepingOf, dayLoss, shares, tierLoss, keepsDays), grain’s subtype ids by crop (GRAIN, CROP_LIST, CROP_GOOD, GOOD_CROP, isGrain, grainGood), and the registry of goods with their materials and kinds (declareGood, goodOf, goods, kindRow, kindsOf, baseOf, kindIn; VB-733). The split follows them: keeping is read by the stores and the outlook alone and is the first candidate for a module of its own; grain’s ids are the crop’s side of the registry’s subtypes and may join the kinds once a crop is a kind (design.md, “A good, its material and its kind”).
Acceptance criteria:
@sys, src/manifest.json, src/owners.json, src/layers.json and docs/architecture/modules.md follow; tests/width-baseline.json loses its sim/goods line.node tools/same.js --base REF prints same; npm run verify passes.
Notes:kindRow, kindsOf, baseOf, kindIn) took sim/goods from 15 exports to 19.