VB-318: Class: a derived view with hysteresis, and what elite changes
Status: blocked
Waits for: VB-319
Priority: 3
Size: S
Arch: debt
Phase: implement
Design ref: Inheritance, expansion and other bodies, Households and other bodies (Class; What elite changes); docs/architecture/target-v2.md, sections 4.6 (Class) and trace 7.1 (step 11)
Goal: A household that owns farms its old families work, and lives on rents and full stores, is the implicit elite. Name it, as a view the simulation does not store as truth, and let it change only what the design says: its holder leaves the field work to others and its voice weighs more.
Acceptance criteria:
A derived class per live household, recomputed after each village’s meeting, a village a step (rule 5): tenant (works more land than it owns), cottager (a cottage with one field or none), peasant (owns most of what it works), and, beside it, a livelihood (Kim, 15 Nov; design.md, Class): elite when its income from others in the year is at least CLASS.eliteIn (1.25) times its year’s need at three year ends running, no longer after three running under CLASS.eliteOut (0.75); landed by the same two numbers on its income from land alone, even if it is elite already. Income from others: rents received, the keep in grain (VB-463), interest received, and for each field it owns and works, its harvest times the share of the year’s work hours that hands not of the household gave (VB-462’s two numbers a field: hired, days owed), less wages paid. Income from land: the rents and that harvest less wages, without the keep in grain and interest. Its own members’ harvest and its stores do not count. The two hysteresis counts and the year’s two incomes are the only state, kept by the view’s owner in src/owners.json; the panel explains the number by its parts.
The class is shown and feeds no rule (Kim, 24 Nov; design.md, A label is read, never a switch: a rule reads the measure): what elite stood for acts through rule contributions only (VB['sim/registry']), each reading the measure behind it, a household’s income from others against its need: the holder’s priority for field work falls as that measure rises (to 2 of 10 at the level that made a household elite), and its standing rises with it (to 0.2 there; refreshStanding). Nothing reads the class.
The household panel shows the class (VB-321 adds the rest); node tools/sim.js --report households prints it.
A test on a constructed state: a household with large stores and no income from others is neither elite nor landed (the review’s count of 45 to 100 in 200 under the old rule); an alderman with the keep alone (0.7) is not elite; with the keep in grain and interest to 1.3 he is elite and not landed; a household whose rents and hired hands’ harvest reach 1.3 is both; one elite by the keep becomes landed as well when its land’s income alone passes 1.25.
Numbers (populous and founders small, seeds 3, 7, 11, 42, 30 years): the elite households’ income from others by its parts (rent, keep, interest, others’ hours), how many of them are landed, the households between 0.75 and 1.25 on each measure, households by class by decade, elite and landed households per 1,000 living, and elite turnover (elite households that leave it or dissolve within 30 years, and whether an elite farm stays elite after its holder’s death); field work hours of elite holders before and after. The counters re-recorded (node tests/counters.js --update), their entries listed.
Cost: one comparison a household a year, a village a step; the priority contribution is compiled per household at that cadence (rule 6).
Order: after VB-311 (own and use), VB-319 (hired hands) and VB-463 (the keep); rents are read from the obligations and are none until VB-316 lands.
Notes:
11 Nov 2026 (VB-184, slice 5’s plan): written. Orchestrator’s decisions (VB-184, to overturn): the thresholds of target-v2 4.6 (1.5 for three years in, 1.1 for three years out) and two effects, field work at 2 of 10 and 0.2 standing (QUESTIONS.md, VB-184, question 5).
15 Nov 2026 (VB-404’s plan): the landed rule rewritten on Kim’s answers of 15 November (owns land; others work for it or pay it; free from subsistence farming; 1.25 in, 0.75 out ‘for now’; any income from others counts), replacing both the rule of 11 November and the 0.75 and 0.5 answered on 13 November. Office is not class. It now also waits for VB-319 (hired hands) and VB-463 (the keep), whose income it counts.
15 Nov 2026 (VB-404’s plan): it no longer waits for foreclosure (VB-316), so the road by office can be measured before the late road by debt is built; a rent is one more part of the income when tenancies exist.
15 Nov 2026 (Kim, later the same day): elite and landed are held apart. Elite is freedom from subsistence farming, landed or not (income from others at 1.25 of need); landed is the same test on income from land alone. The lower field work, the 0.2 standing and the 75 in 1,000 all follow elite; nothing reads landed until slice 8. This replaces this morning’s ‘landed needs any income from others’.
16 Nov 2026 (Kim, the session on the social quantities): the elite’s measure stays income from others; VB-708’s followers are reported beside it, since standing by followers is what Kim ties to the rise (no criterion yet).
Notes
Flag: Kim, 24 Nov (QUESTION_ARCHIVE.md, Archived 24 November 2026, question 5): class feeds no rule; the effects read the measure (criterion 2 rewritten). The households between 0.75 and 1.25 are still reported, as the evidence for any cut point.