VB-306: A well-kept house gives prestige, up to a cap; tar helps
Status: done (2026-11-11)
Priority: 3
Size: S
Arch: fair
Phase: implement
Design ref: Goods, Goods of place and side crafts (A well-kept house, Decided 10 Nov)
Goal: Kim, 10 Nov: a well-maintained house should give prestige, up to a cap, and tar makes that source easier (a slightly higher cap, a little less decay). It grounds tar in standing and gives upkeep a reward.
Acceptance criteria:
A house’s condition, 0 to 1, is state with an owner and an invariant; it wears down with time and rises with upkeep work, which is offered as ordinary work of the type upkeep. If buildings already have a condition (empty farms decay), that one is used and no second is added.
The holder’s prestige gains a term that follows the house’s condition, 0.15 times the condition (a holder’s prestige is 1.6); a holder’s spouse gains the same. The condition wears 0.1 a year, read in closed form from when it was last raised (rule 3: no daily pass); 4 work hours of upkeep raise it 0.1, offered once it is under 0.8. It is read where prestige is read; nothing is stored beside the condition.
A tarred house (VB-301): the term is 0.18 times the condition and the wear 0.067 a year, for the 6 years a barrel lasts. Until VB-301 no house is tarred.
The pawn panel names the term among prestige’s parts; the page may draw a neglected house greyer.
Numbers before and after (populous, small, seeds 7 and 42, 15 years): upkeep hours, prestige by household, and whether voices at the meeting shift.
The open point of design.md (what a more prestigious house brings) is updated.
Notes:
10 Nov 2026: written from Kim’s answers of that day (QUESTIONS.md, “VB-183: the gathering, the fair and goods of place”, questions 9 and 10). Its numbers were settled by Kim’s answers of 10 November (QUESTION_ARCHIVE.md, “VB-183”; design.md, sections 8, 9 and 11).
Implementation (night run): the existing farmstead.condition (empty farms) is used. For an occupied house it is the value at f.condAt (hours; 0 if unset)
and houseCondition(st, f) in sim/rules.js wears it in closed form (0.1 a year, 0.067 while f.tarredUntil lies ahead); an empty farm is still worn by the
daily pass of sim/clock. condAt is set where a house is built, settled or mended by a claim (cottage, settle, farmclaims); a household’s end (heirs
extinct) now keeps the condition the house had, instead of 1. New job kind repair (type upkeep, 4 hours, 1 hand, urgency MATCH.urgency.repair 0.5) in
ASK.farmAfterPlans, offered under 0.8 (not for a booth); done raises 0.1 and sets condAt. prestigeParts (sim/society) gives the parts and
refreshPrestige sums them, so the term is read where prestige is read; the pawn panel prints the parts for those 16 and over. Invariants for condition,
condAt and tarredUntil. tests/house.js is in npm test.
Tar: nothing tars a house yet. f.tarredUntil (game hours) is the hook: the term is 0.18 and the wear 0.067 while it lies ahead (tested by setting it).
VB-301 must set it (st.t + HOUSE.tarYears * YEAR) when a barrel is used on the house; stores cannot hold tar yet, so no barrel is taken here.
Not done: the page does not draw a neglected house greyer (“may”).
Orchestrator’s decisions for Kim to overturn: upkeep urgency 0.5 (below fieldwork and fence mending); no upkeep for a booth; prestige stays refreshed at the
moving round and the meeting round (so up to a year old), not daily; abandoning a house keeps its worn condition.
Validation: populous, small, 15 years, before (integration branch) and after. Upkeep hours 0 -> 3,696 (seed 7) and 3,724 (seed 42), about 2.7 hours per
household a year. Holders’ prestige mean 1.602 -> 1.735 (seed 7), 1.609 -> 1.734 (seed 42), max 1.8 -> 1.92; mean condition 0.84, none under 0.8.
Living 454 -> 430 and 465 -> 472, households 90 -> 87 and 94 -> 98 (chaotic divergence; the rule costs a household 2 to 3 hours a year). Customs at the end
differ at both seeds, so the voices do shift, but mostly because the run diverges: the term is a flat 0.12 on holders and spouses. Expected to move: all golden
entries, the record anchor hash and the counters of jobs.
Orchestrator, after the final verify (11 Nov 2026): the pawn card threw (Sim.prestigeParts is not a function): src/sim.js read it from sim/records, where it never was, and did not expose it. Fixed; the four page tests of verify pass again, and golden’s apiKeys gains the name.
11 Nov 2026 (stocks audit, Kim): the house gets a second grade, on a stone foundation, whose cap is higher and wear slower (VB-332, waiting for Kim on the numbers); keep the cap and the wear as numbers a grade can change, as tar does.