Status: done (2026-11-17) Priority: 2 Size: S Design ref: design.md, People, households and family records (Marriage, nursing and growth: Service and marriage); Inheritance, expansion and other bodies (Leaving home: Service); backlog/VB-405.md Goal: A servant does not marry while in service (Kim, 13 Nov): service is by the year, from round to round, the master’s house is no home to bring a spouse to, and a servant marries at the round by leaving service for a place. No share of servants and no count of years is set. Acceptance criteria:
matchRules’ homeFor gives no home where the home it would choose is one in which that spouse lives as a servant (pawn.servant), under every residence custom (under “with whoever holds land” a servant already has no place; under “at the husband’s home” and “at the wife’s home” the master’s household was returned). matchBar says why: “Olof is in service: his master’s house is no home for a couple”. A servant marries at the round by leaving service for the spouse’s place or a place of its own, as today; a test shows the servant flag is cleared by that move.pawn.servedSince (game hours; set where a pawn enters service, null otherwise and on leaving; @state, src/owners.json under the owner of pawn.servant, the save, an old save gaining the time of its load for those in service) with its invariant (tests/lib/invariants.js: set exactly when servant is true). Scenario servants are seeded as serving since the start.matchBar takes the occasion, and for an offer out of the round it refuses a pawn in service (“in service until the moving round”). The round’s own offers are unchanged. VB-555’s offer out of the round (a child on the way) reads this bar; if VB-555 has not landed, the bar and its test are here and a note in backlog/VB-555.md names it; if it has, its due entry waits for the round and the child may be born outside marriage, which is reported.node tests/smoke.js.
Panel line written (src/page/words.js); tests/smoke.js fails in this sandbox at win.cam undefined (line 71), before reaching the panel: not run through.backlog/VB-485.md).
Not taken as named (30 years, four seeds, heirs): populous small at 15 years, seeds 7 and 42, as the run asked; the rest is owed to VB-638. See the notes.tests/commands.js and tests/record.js pass.
tests/service-marriage.js (in suites): three customs, maid and first heir, out-of-round bar, servedSince. A servant with a plot of its own is not built: a servant holds no plot in the model (place() needs a holder or first heir), so the guard has no case to test.SERVICE.short, SERVICE.spare).Noted by VB-405, 16 November 2026.
homeFor wraps the old rule (homeBy) and gives null where the home is a household one spouse serves in; matchBar names it. matchBar(st, a, b, rules, occasion = 'round') refuses a servant for any other occasion. pawn.servedSince is set in setServant (entering service only; kept while it goes on), cleared on leaving; owner sim/records; invariant in tests/lib/invariants.js; an old save gains its load time (sim/saves); seeded servants have 0. VB-555 has not landed: its note names the bar (backlog/VB-555.md). tests/commands.js expected record gained the field.