village-builder

VB-247: A job names its farm, field and meadow by id

Status: done (2026-11-25) Priority: 3 Size: M Design ref: none (code structure). AGENTS.md, Conventions (ids are array indexes; st is plain data). Goal: Every other record of st names another by its id, but a job holds objects: job.farm, job.field, job.meadow, job.stretch, and an owner object shared between jobs and fences; st.idlers holds agent objects. These are the shared objects the save codec’s first pass exists to find (2,932 references in a two-year save). Touches: sim/jobs (post); sim/layout (makeFence); sim/relations (idlersBy, companyFor); sim/society (initCulture); sim/attitudes (dailyStep); tests/codec.js; tests/sleep.js; tests/lib/invariants.js Acceptance criteria: