VB-1737: Refactor: module splits, collected: each over the lint’s line, split by its concerns
Status: ready
Priority: 3
Size: L
Design ref: AGENTS.md, Conventions (a module’s length and width; VB-413, VB-414, VB-415); BACKLOG.md, Refactor rules
Touches: unknown (a collecting task: each line names its own place)
Goal: Each module listed is split by its concerns, not by the line count: it falls under the lint’s line (700 formatted lines, 15 exports) and leaves the lint baselines. A session takes one line: it names the module’s responsibilities and where each belongs before any code moves, splits by them, and ticks the line
Acceptance criteria:
From VB-455: sim/records: 844 lines and 54 exports, over the line; P1: its plan, docs/plans/VB-455.md, waits for Kim’s review; once split, set VB-372, VB-395 and VB-456 ready
From VB-1413: sim/projects: 16 exports, at the width line; its three concerns in backlog/VB-1413.md
From VB-1480: sim/clock: 790 lines, over 700; its concerns in backlog/VB-1480.md
From VB-1482: sim/byre: 841 lines, over 700; its concerns in backlog/VB-1482.md
From VB-1486: sim/stores: 846 lines and 41 exports, over the line; its concerns in backlog/VB-1486.md
From VB-1487: sim/agents: 717 lines and 28 exports, over the line; its concerns in backlog/VB-1487.md
From VB-1488: sim/fieldplans: 19 exports, over 15; its concerns in backlog/VB-1488.md
From VB-1489: sim/scenarios: 767 lines, over 700; its concerns in backlog/VB-1489.md
From VB-1493: sim/walking: 27 exports, over 15; its concerns in backlog/VB-1493.md
From VB-1538: sim/goods: 19 exports, over 15; its concerns in backlog/VB-1538.md
From VB-1539: sim/building: 915 lines and 24 exports, over the line; its concerns in backlog/VB-1539.md
From VB-1540: sim/rules: 746 lines and 43 exports, over the line; its concerns in backlog/VB-1540.md
From VB-1754: sim/steps: 23 exports, over 15: the plan record and, since VB-1754, a pawn’s own steps (their reads pawnPlan, plansIn, planners and writes)
From VB-1854: sim/day: 739 lines, over 700: the day’s allotment, the slot and the lists edited in place (VB-1758), the review’s re-weighing (VB-1854), the evening’s call and the day’s verbs
From VB-1919: sim/heirs: 711 lines, over 700
From VB-1763: sim/levies: 725 lines, over 700
A line a finding, added by node tools/backlog.js collect split (tools/lib/collect.js): findings of a kind are collected, not given a task each.
Notes:
Flag: Kim takes part (Kim, 25 November): every split is taken in a session with Kim, not by an unattended run.