Status: done (2026-11-11) Priority: 3 Size: M Design ref: Goods, Goods of place and side crafts (In the ground: Known and found) Goal: Kim, 11 Nov (VB-357’s questions): bedrock, clay, peat and bog iron are known to all; the upland ores (iron, copper, lead and silver, tin, gold) are found. Knowledge is the village’s: a played pawn sees what its village knows, a watcher sees everything, the unfound drawn faint. Acceptance criteria:
hidden in gen/geology; every deposit tile has a vein id (w.vein,
w.veinKind), and w.veinNear names the hidden vein within 2 tiles over land of each land tile.st.finds, a Map of village id to the vein ids it has found, owned by sim/prospect (src/owners.json), saved, with its
invariant; a save without it loads with none found.PROSPECT.hours (60), from a stream of its own (st.rng.prospect). The whole vein is then known to that
village only; the record gains an oreFound event (kept for good, under Land and farms), which names the finder and the village.tests/prospect.js (npm test); npm run verify passes its hard checks; golden entries listed below.
Notes:sim/prospect (kernel layer, after sim/records): reads w.deposit, w.vein, w.veinKind, w.veinNear and the
pawn’s household and village; writes st.finds and the record, and sets visualDirty. New coupling: sim/agents calls
prospect.worked where a job is completed (complete, and a background job’s end in stepSide). No abstraction beyond one list a
village; a household’s or a pawn’s own secret was weighed and not built (Kim: by village).w.veinNear[tile]), and only near a vein a search of the village’s finds, at most the
map’s hidden veins (4 to 7 on the small maps measured; the list’s declared cap). No pass, no tally: the chance is drawn as the work
ends (rule 3). The page’s overlay looks for a change twice a second while it is on (a sum over the villages’ lists).w.veinNear reach 2, 60 hours): populous seed 7, 4 hidden veins, 2 finds by 2 of 21 villages (copper in
year 1, iron in year 25); populous seed 42, 6 hidden veins, 4 finds by 4 of 23 villages (lead-silver in years 1, 1 and 12 by three
villages, iron in year 19); founders seed 11, 7 hidden veins, 2 farms, no find. No balance moves: nothing reads a find yet.world/7 and world/42 gain vein, veinKind and veinNear; every founders and heirs entry (seeds 7
and 42, seed and years 1 to 3) gains finds and the prospect stream in rng. No other entry changes.npm test 104 scripts pass; npm run verify 122 scripts pass, 11 cost targets out (scaling.*, history.*), as before
this change.