Status: done (2026-11-09) Priority: 2 Size: M Arch: life Phase: implement Design ref: Systems overview (Chronicle: a typed record of events, missing; Fun: a growing cast and a memory; finding 6: one record from which the log, the panels, notifications and the tests all read). Proposed. Goal: VB-075 keeps every event as a typed record but leaves the page unchanged. A chronicle shows that record where the player looks: what happened to this farm, this family, this village, across generations. Depends on VB-075; if it is not done, mark this blocked. Acceptance criteria:
Sim.recordOf, newest first, with year, season and day, and a filter by kind (births and deaths, marriages, land and farms, customs).st.events and the 40-line text log are no longer written, and VB-075’s test still passes.docs/roadmap.md, section 3.2; the slices Decided by Kim): moved to slice 2, arch life.player events that a chronicle would show.design.md, The player and what they see, The chronicle). Priority raised to 2; slice 2’s wrap-up (VB-078) waits for it again. Kim accepted the proposed History tab the same day (QUESTION_ARCHIVE.md, “VB-099”), so the criteria stand and the task is ready.Sim.eventLine(st, ev) tells any record event in one sentence, a death as the village log told it (the record keeps only its cause) and the seeded births, marriages and deaths, which carry no text: the village log as a view of the record can use it. Two things found on the way: founding a household records a moved event for each member beside the log’s own event of the same move (a settler’s left, a claimed farm’s moved), so a history will show some moves twice unless one is dropped; and a died event does not say whether the pawn held land (VB-098 reads it from the kin index, which forgets past holders on load).sim/notable gains two read-only views of st.record, chronicle(st, {pawn | farm | village}, group) and villageLog(st, n), with CHRONICLE (the four filters), all on Sim; no state of their own, and no step calls them. sim/records’ log writes the record only; st.events is gone from new states and dropped from older saves on load. A new page script, src/page/history.js, draws the tab and turns the names in a line into links; page/words calls it when a card is filled and uses it for the village log. No new coupling between systems: the page reads through Sim only.holds event for each household’s holder, since no earlier event named the first holder. A save made before this has none, and its farms’ histories begin at their first handover.joined, not moved (the pawn’s own life event keeps moved). A pawn’s history drops a joined beside another event of the same hour at the same farm; a farm’s, a village’s and the log leave out joined and the other personal kinds (friend, fellOut, cause, player, share, gift), whose sentences have no subject.empty event (“Empty for 3 years”, or “Empty since, 1 year” while it lasts), counted to the next event that settles the farm, not as a line a year.born, died); marriages (married, putOff); land and farms (holds, inherited, empty, claim, moved, joined, cottage, left, stayed, settled, plot, plotStarted, field, meadow, stake, border, service, guardian); customs (custom, split, cause). Harvests, hay, herds and gifts show under All only.small-y40 (104,874 events) 3.3 ms a farm, 3.4 ms a village, 2.2 ms a pawn; medium-ref (70,125 events) 2.1, 2.4 and 1.0 ms; the village log under 0.1 ms. The criterion is 20 ms.npm test (81 scripts) and npm run verify (94 scripts) pass. New tests/chronicle.js (a farm’s history across households with its handover, empty spell and claim; a pawn’s and a village’s; the filters; the log’s last 40 lines). tests/smoke.js opens the tab on a pawn, a farm and a village, presses each filter, follows a name and reads the village log; tests/browser.js does the same in Chromium with no console errors. Eleven tests that read st.events now read Sim.villageLog. tests/golden.json re-recorded: events gone from the 16 state entries, record changed in all 16 (the holds events and joined), and apiKeys.Sim; no other hash moved.