village-builder

VB-454: The width lint leaves out exports read only by a registry

Status: done (2026-11-15) Priority: 2 Size: S Design ref: none (code structure). backlog/VB-415.md; backlog/VB-418.md, backlog/VB-228.md; docs/architecture/target-v2.md, principle 18 Goal: VB-415’s lint counts every export of a module as interface. Some are not: a function exported only so that a registry can call it back (a job kind’s done in sim/kinds, a calendar entry’s run in sim/clock, a verb’s body in sim/commands) is read by one module, which knows every domain by design, and no other domain can come to depend on it. Counting them made the lint ask for splits of modules far under 700 lines (sim/fields 420, sim/meadows 336: VB-434, VB-435), where a split adds a module and takes away no coupling. Leave them out of the count, so the width lint measures what it is for: how much of a module other domains can lean on. Acceptance criteria:

Implementation and validation notes