Status: done (2026-11-13)
Priority: 3
Size: M
Arch: year
Phase: implement
Design ref: Economy and jobs, Goods and the farming year (Built land: fields and meadows can be private or common: Decided); Jobs, owners and roles (Owners: common fields and meadows are owned by the village; Who may take a job: adults of the owning village: Decided); Commons (common fields and meadows: Decided).
Goal: Every field is a household’s today. The design has common fields owned by the village and worked by its adults. With a village store (VB-039), a common field gives a village food to help hungry households in a poor year. Depends on VB-039 (the village store) and VB-042 (tile claims); if either is not done, mark this blocked. Common meadows come with hay in the animals arch.
Acceptance criteria (Kim’s answers of 10 November; QUESTION_ARCHIVE.md, “VB-100”):
clear and break jobs, owned by the village.villager basis.commons in DIMS (src/culture.js) with three options, own (the commons after a household’s own work: the village-duty priorities of VB-058 less 2), fair (those priorities: farmhand and son 6, farmer 5, wife, maid and daughter 3) and first (those priorities plus 2), with a value in each ARCHETYPES entry (fair, but first where the archetype already favours the village’s claims); it is voted and drifts as the other customs do. The village’s custom in force gives the priority; compiled to an array when the custom changes (Rules for cost, 6).commons, as a term of the person’s interests (refreshInterests, src/sim/society.js, where a lost dispute’s grievance and kinPush already lean persons), in proportion to the days of need given in the last year and fading with them. It is read from the household’s goodwill balances as kept (no new record, no daily pass: the pressure is computed on the person’s drift day). The numbers are the agent’s starting values: npm run calibrate before and after, each custom within the calibration’s bands, and over 30 populous-small years at seeds 7 and 42 the villages that gave help in a hungry year hold first more often afterwards than those that did not (reported).docs/roadmap.md, section 3.3; the slices Decided by Kim): moved to slice 3, arch year. blocked until the slice’s plan (VB-164) confirms, rewrites or closes it; its questions in QUESTIONS.md wait for that plan, which may reframe them.QUESTIONS.md (VB-100).refreshInterests (src/sim/society.js) already leans persons by a household’s grievance after a lost dispute and by kinPush, and VB-320 adds debtors: this is the third case at least. The criterion now uses the interest term, not driftPerson’s press; the PR proposes the general rule (Working rules, the third special case), or a task for it.sim/commons (layer social, after sim/workdays). A routine commons in
VILLAGE_ROUTINES (meeting only, as the work days; need: its occupied farms) is open while the village has common fields, one under way, or
would make one: COMMONS.minFarms 3 occupied farms, the store (less the seed it holds back) under COMMONS.storeDays 10 days of its
members’ need, fewer common fields than farms / COMMONS.perFarms 3, and a tile: open meadow within COMMONS.reach 3 walking steps of
the village’s centre (its green), farmable, unbroken, not in use, not a house’s or green’s, not its wood, free for the village; nearest,
then most fertile, then lowest id. The village’s review (sim/plans, commonsStep) makes a village project plan commons (steps clear
and break, stake field), the village claims the tile (addClaim, why field; renewed by the work) and holds it in use. The kinds’
shared village rule commonWork (sim/kinds, ASK.village) posts the open step and, at each common field, the farm field kinds of its
stage (ASK.fieldAt), owned by the village (basis villager), each job carrying common and its village. clear and break end in
sim/commons (cleared: the stones to the finisher’s household’s heap, sim/fields.clearStones; brokenUp: the tile is realised as the
village’s, a field record made by sim/fields.broken, shared with finishBreak, pushed to village.commonFields). fieldsDay and
fieldsFrost walk the common fields with the occupied farms’ (eachWorked). Sowing takes the seed from the village store; the village’s
plan reserves it (seed, counted at read by seedNeed, which now reads a village’s common fields), and the store’s help to a hungry
household gives only what is above that reservation (sim/help). The haul carries the sheaves to the green (j.dest; sim/agents) and
puts them into the store as grain (brought, reason harvest). Priority: j.common in sim/jobs’ prioOf reads commonPrio, a table
compiled at load by option and role: ROLES’ duty plus COMMONS.lean (own -2, fair 0, first +2), 0 where duty is none; the option is
the village settlement’s practice, read by index. Custom: DIMS gains commons (m 0.5; own, fair, first), oldNordic holds fair, the
charter tells it (src/page/customs.js, under Meeting); old saves get the archetype’s option and an attitude preferring it
(sim/saves, newCustoms). Help received: refreshInterests blends each person’s interest in commons towards the next option above its
village’s practice by w = COMMONS.pull 0.6 times the days of its household’s need its holder owes in goodwill (negative balances,
read decayed as kept), over COMMONS.fullDays 30, at most 1 (helpLean). Page: the village card lists each common field and its stage,
and a field being cleared; the map draws common fields as fields; a common field’s tile tells it.oldNordic holds fair: its claims custom favours kin, not the village;
first would be for an archetype whose claims are villagers or assembly. (4) Malleability 0.5, as feedOrder (a practice of the
working day, between the land customs and the household’s). (5) “Days of need given in the last year, fading” is read as the goodwill
the holder owes now, decayed as goodwill is (half-life GOODWILL.halfLife): a gift from the village store books no goodwill (no pawn
gives it), and a cow bought on goodwill counts as help; both as the balances are kept. (6) “On the person’s drift day”: the interest is
read by the daily drift and refreshed at the yearly meeting’s first stage, where the other terms are; no new pass. (7) The routine’s need
is its farms, as the green’s and the work days’; with four routines and four places the meeting takes every one available. (8) A common
field whose store has no seed at sowing stays hoed and unsown that year.sim/heirs):
a neighbour helping it (VB-106) went on threshing a job of no household and the step threw (stores: missing or dissolved holder;
populous small seed 7, year 19). A carrier on its way back with a load is not freed (as before).tests/commons.js (integration, tiny map, a village of three farms, empty store): the custom’s options and the archetype; the
priorities by option and role; the condition; not a founders’ routine; within two years the meeting chooses it, the tile is claimed,
clear and break taken by adults on the villager basis, the field broken and owned by the village, sown with the store’s seed, its harvest
into the store, the log tells it; help received leans an adult’s interest towards first in proportion and fading; a save keeps the
fields; invariants (tests/lib/invariants.js: common fields on their own tile, the village’s, in use; a village’s field claim only for
its common field under way; at most one under way, clear then break on one tile). tests/routines.js expects the meeting to choose the
common field where it may; tests/cowwant.js finds its buyer and seller in the probe (the seeding’s draws moved with the customs: the
herds drawn in tests/lib/tiny.js share the stream before splitStreams), and the seller spares its heifer where it keeps one.
tools/stocks.js: the village store is filled by haul; village.commonFields is land, not a stock.src/sim/plans.js is 706 formatted lines, over 700, and no open task splits it: the follow-up “Refactor: split sim/plans by
concern” is to be opened (the run’s agents do not open tasks). sim/fields keeps 26 exports: hauled and wearSoil, read by no other
module, are no longer exported, for broken and clearStones.refreshInterests now leans a person by a lost dispute’s grievance, kinPush, and help received (and VB-320 adds
debtors). Proposed general rule (a follow-up task): an interest-term registry in sim/society like the rules registry, each term
{dim, source, read(st, p) -> {weights by option, w} | null} declared before the first seed, blended in order into the interest copy;
set (replace) and blend become the one operation, and the panel can say why a person leans. Likewise prioOf in sim/jobs now has
three job-carried priorities (plot, claim, common): a kind- or job-level prio(st, p, j) hook would replace the chain.dd79e46 -> after; small map, 15 years; hungry household-days summed over the years, mean household grain):
populous seed 7: living at year 15 453 -> 451, hungry-days 18 -> 30, grain 575 -> 549; seed 42: 485 -> 454, 35 -> 29, 549 -> 543.
Founders seed 7: 19 -> 19, 0 -> 3; seed 42: 23 -> 23, 3 -> 16 (founders’ villages rarely reach three farms: the change there is mostly
the draws moved by the new custom). Populous seed 7, 4 years: 13 common fields in year 1 (every village of three farms: the stores start
empty), 14 from year 2; their harvest 1,516, 2,050, 1,713 rations a year into the stores for 225 to 350 of seed; the stores hold 1,157,
5,778, 11,767, 17,082 rations at years 1 to 4. Households are not better off on these runs: more grain sits in the village store, a
little less in households, and hungry days move within the runs’ noise. 30 years, populous small: living 635 (seed 7, 2.0% a year) and
623 (seed 42, 1.9%); no village leaves fair (target out: helped villages do not hold first more often, 0 of 469 and of 407
village-years); adults’ attitude to first 0.140 -> 0.177 (seed 7, every village was helped), 0.148 in helped villages against 0.122
in the others (seed 42, from 0.128), interest 0.249 against 0.134: the lean works, the custom does not move in 30 years. A row of
docs/tuning.md.npm run calibrate, natural drift, 12 runs of 200 years), first-flip runs before -> after: claims 11 -> 9, newLand 12 -> 11,
handover 10 -> 10, daughterShare 11 -> 12, heirCount 8 -> 5, widow 1 -> 2, heirSex 1 -> 0, voice, birthOrder, residence, kinLimit 0 -> 0,
feedOrder 6 -> 4, ownHeir 10 -> 12, dispute 10 -> 9; commons (new) 0 of 12. The calibration names no bands; the moves are of its runs’
noise (the new custom’s draws move every run).tests/counters.js, not re-recorded): matchBid 11.96 -> 13.48 a pawn-day, lookUpJob 6.52 -> 8.03, oppAsk 15.45 ->
15.56, routeRefresh 3.90 -> 4.60 (the village’s field jobs, bid for by every adult); 9 counters out after, 10 before (tiePairs back in).
Verify: 99 of 100, the one failure the lint’s line count of sim/plans (above); 12 targets out (advisory).docs/testing.md stands. Screenshot: docs/img/vb100-commons.jpg (Hasselby, populous small seed 7, summer of
year 2: its three common fields growing beside the green, drawn as fields).