Status: done (2026-10-29, 85a3fe0)
Priority: 1
Size: S
Design ref: none (code structure)
Goal: First step in splitting src/sim.js (1,033 lines) along its systems. Move the data tables and the pure world helpers, which nothing else they call depends on.
Acceptance criteria:
src/sim/rules.js (VB['sim/rules']): DAY, SEASON_DAYS, YEAR_DAYS, YEAR, SEASONS, cal, WORK, ECON, FERTILITY, farmable, ROLES, KINDS, MALE, FEMALE, patronym, DIRNAME, hazard, SPEED.src/sim/hex.js (VB['sim/hex']): bfs, pathTo, land, hexSteps, landComponents.src/sim/layout.js (VB['sim/layout']): placeFields, siteScore, villageName, makeFence, makeFarmstead, findSite, buildVillage, nameFarms, finishLand.src/sim.js reads them back with one destructuring line per module and keeps everything else; its exports are unchanged.src/sim.js and the PR says so.