sim/relations and cultureStatus: done
Priority: 2
Size: S
Arch: ownership
Phase: implement
Design ref: none (code structure). VB-172’s map, sections 5.6 and 7.4; Kim’s answer 1 of 3 November (QUESTION_ARCHIVE.md, “VB-172: the ownership map”).
Goal: pawn.ties has five writer modules: talk (sim/relations), gifts (help.js:37), marriage and death (lifecycle.js:117, 30), the daily turning of contacts into ties and the kin floor (lifecycle.js:234-241), the seeding of ties (society.js:35-40) and a newborn’s (births.js:29-30). VB-127 caps ties at 150 a pawn; with five writers the cap would leak. Give ties one owner before VB-127.
Acceptance criteria:
sim/relations owns pawn.ties and pawn.rel, with operations to strengthen a tie, set it (marriage, the kin floor) and drop a pawn’s ties (a death); the daily rule of contacts and ties moves out of dailyLife into sim/relations or sim/society.att, anc, advocate, prestige, interest) are set by one function, used by seeding (society.js) and births; culture owns att, anc and advocate.node tools/writes.js --field pawn.ties (and pawn.rel, pawn.att, pawn.anc, pawn.advocate) lists only the owner and that one function, apart from the save codec.BACKLOG.md: behaviour unchanged, tests/golden.json unchanged, npm run verify passes.
Notes:docs/roadmap.md places this task in slice 1 (kin help, booked).Implementation report (6 November 2026):
initRelations, setTie, strengthenTie, dropTies and
dailyTies; Society re-exports the unchanged pair encoding API from Relations.initPerson is shared by scenario seeding and births; it receives the
same seeded or inherited attitude and copies its anchor. Culture’s advocate
also handles argue/rally. These internal wiring methods are non-enumerable,
preserving the public enumerable Culture API checked by the golden file.tools/writes.js --field for ties, rel, att, anc and advocate reports only
the corresponding owner; no new exemption or baseline allowance was added.npm test: 68 scripts passed. Golden-state verification passed unchanged;
tests/golden.json and tests/counters.json were not re-recorded.docs/review-2026-11-06.md. Visual smoke captures in docs/img/vb178/.npm run verify: 81 scripts passed in 401.5 s using system Chromium and
the documented software-render fixture mode. All four late-game saves were
checked, with no missing fixtures; history’s 14 counters pass, including known
excesses. Invariants and saved/loaded continuation match unbroken runs.