VB-1807: Design: rules built that design.md does not say, collected
Status: ready
Priority: 3
Size: M
Design ref: AGENTS.md, Surfacing; design.md, Status of this snapshot (who edits it)
Touches: unknown (a collecting task: each line names its own place)
Goal: design.md says each rule listed, in its section, marked Decided with its date and a row of docs/design-changelog.md; or Kim strikes it and a task changes the code to what the design says. Taken in a session with Kim, the lines read together
Acceptance criteria:
From VB-1747: design.md section 7, Plans at four scales, The task as a plan: a blocked task’s reason is its first step not yet done, that step’s first unmet precondition; a cart held is taken back (return) when the goal is met or the pawn freed; a good’s piles are read at no more than two places a kind (beside at most 3 methods of at most 7 steps)
From VB-1775: section 7, Plans at four scales (The task as a plan): a goal’s amount is set when its task is posted (job.amount): wood, the pile with the timber home plus a trip’s worth (the household’s best cart full, 3 or 10 loads of 3 timber, or a back load), no more than the season’s goal; firewood, the free pile plus the timber home, up to the season’s goal, a load (3) at least while the house is cold
From VB-1748: section 7, Plans at four scales (The good is made where the work is done): a hunt cut at its work kills with its chance times the share of its hours worked (a kill is whole: 0 or DEER.hunt.meat); a fishing or gathering trip cut at share s yields s of its catch and runs the ground down by s of FISH.take or FORAGE.take; a felled tree’s timber whose carrier is cut lies as timber left lying and is fetched home as firewood (1 back load, ECON.woodPerTrip)
From VB-1814: design.md section 7, A stray pile: a pile no goal with methods uses is brought by a goal of its own, one per owner and kind, posted at the owner’s review while one lies; a cart fetched first when one is free and the pile is more than one back load (TRAVEL.load); a cart standing at a goal’s site is taken up by the goal’s next hand
From VB-1750: section 7, A held charge: a pawn minds at most two charges, one that bars its other work (the herd: no full task out of its reach) and one that yields (spinning: bars nothing), each within its kind’s reach; agent.mind is their list (VB-1750)
From VB-1745: design.md section 15, A controller for any pawn: pawn.control {auto, queue of at most 8, refused}, ended at death or uninhabit; st.controlled and st.queued sorted id indexes; verbs auto, queue, unqueue for any pawn for itself
From VB-1746: section 15, The API by pawn and body: st.player is {pawn, left, ended, last, days}; the plan lives at pawn.control.plan, fed for any pawn whose controller holds one; save FORMAT 9
From VB-1754: section 7, Plans at four scales: The plan record: A pawn’s own steps in its record’s ahead, in the order routine ({routine: kind}, begun: the day), sleep ({sleep: {from, until}}, one), tasks ({goal}, from/by days); at most 24 kinds and 24 tasks; plan.lastTask the last task that left
From VB-1776: section 7, Plans at four scales (Authors): pawn.wish authored by the wish verb carries by ‘pawn’; the pawn’s own choosing (at the round, on its asking day) does not rewrite it while the pawn has a controller, and does at the first choosing after the controller ends
From VB-1755: section 7, Plans at four scales: Authors: The daily kinds a household lives by (water, cook, firewood while the house is cold or the pile short, milk, fodder) carry ‘daily’: their expected hours (each open one’s work left by the head’s estimate plus its trip; a vital-every-day kind with none open, its kind’s hours) are reserved before an authored task, shared among the members on their own plans after what the allotted members’ working day (WORK span each) covers; the verb plan refuses an add or date whose work with the tasks before it exceeds the pawn’s own hours to the end of its by day; an undated task is given the day that work ends
From VB-1755: section 7, Plans at four scales: A step at risk, and the take-back: At each review of the household’s plan a member’s own task by key is weighed in its plan’s order (cumulative head’s estimate against own hours to its by): short, at-risk with {short, since}; no longer short, planned again; at risk since an earlier review, past its by and not kept, the default author takes it into the household’s plan (author custom, by = today + ceil(estimate with the allotted hands / working span)) and slots it into the day; answered by keep, remove or a new date
From VB-1756: design.md section 7, The timetable (the head’s verbs on the day): Any member reorders its own list of its household’s day (the op dayOrder on its own plan, the verb plan), as the head may; the change stands until the day is next allotted, marked plan.day.edited by the member
From VB-1756: design.md section 15, The player, commands and views (Sim facade): The world’s rules run out of turn (Sim.refreshRoles, updateTies, refreshInterests, countDemand) are debug mutators (Sim.DEBUG), beside holdMeetings and movingRound
From VB-1757: section 15, Decision points: an ask’s deadline is the day’s turn after the offer falls due (sim/offers dueOffers, daily), not the hour it would begin; the season’s is the first planning slot after the season’s turn, a window’s out-of-turn review possibly earlier
From VB-1758: design.md section 7, The day’s work: An illness keeps its pawn from work: from its onset (sim/deaths, ‘fellIll’) the ill pawn lets its task go, goes home and is allotted nothing (sim/fit allotted) until its course has run; its tasks go to the pool and are slotted to the others
From VB-1758: design.md section 7, The day’s work: The day’s work still says a household’s day is allotted ‘at its review’; the Replanning row (Decided 25 Nov) and VB-1758 allot it whole only at the morning, at 14:00 and when a slot-in finds nobody: strike ‘at its review’ or keep it (VB-1758 measured hungry household-days 393 to 565 without it)
From VB-1758: design.md section 7, Plans at four scales (A load in hand): An ill pawn keeps to bed: in its course (2 to 10 days) it is given no task, no look and no pastime; out of doors it goes home, inside it rests (sim/day abed)
From VB-1854: design.md section 7, Plans at four scales, Replanning (the head’s review): At a household’s review out of the whole hours, each of its own tasks whose best fit now exceeds the best it was given at in the day’s lists (0 when in no list) by more than MATCH.switchMargin (1) is slotted again into the lists as they stand; a list’s head (a fetch, a task due today) keeps its place
From VB-1760: section 7, The day’s capacity: A member’s work today counted against its levy only for today’s part of a span reckoned late; the slot’s pairs at most tasks x members.
From VB-1762: design.md section 7, The levy and own hours: Whose an hour is: sim/fit explainIdle, for a levied member with no levy left today, gives a job it would bid for and its judgement gives nothing to the reason ‘its own hours: it gives none’ (the idle line names the choice)
From VB-1778: section 7, The labour budget: the head pair, not levied, count in their household’s labour budget at the adult row’s hours times their hands (the plan is theirs and they work it)
From VB-1778: section 7, A season that does not fit: a target’s yield an hour: a field FIELDS.expect x barley’s yield less its seed (50 rations) a year, a made good custom’s worth a unit; the seed, the woodpile and the hay are never lowered (no customary worth; the seed held back first)
From VB-1778: section 7, The labour budget: a step is due in the game week of its earliest open task’s window end (sim/hands windowEnd) else its last day; the fit is cumulative, hours due by each week’s end against the budget to it; help planned is spread evenly over the window’s days; a servant wanted counts the household short at that year’s moving round
From VB-1906: design.md section 7, The levy and own hours (The labour budget): a daily routine’s hours left (the meal, water, milking, fodder: sim/kinds daily) are the head’s estimate of each day’s job over the season’s days after today, and fall due evenly day by day across the game weeks (sim/levies shortOf), not all at the step’s last week
From VB-1767: design.md section 9, Outer levies (an estate’s levy comes on top): a due laid on a village is split at once into household lots by fields (largest remainder), each its own days record beside the routine lots; design.md does not say whether the village bears one record its alderman apportions or the households each bear a lot
From VB-1769: design.md, The terms, the ladder and the breach (What the levier’s agent does): forgive both strikes the goodwill and books it as a gift
From VB-1926: Plans at four scales, A load in hand: a non-urgent call aims to be at the called task within MATCH.day.within = 1 game hour of the call (agent.calledTo.by), shown on the reason line; nothing lapses if later
From VB-1768: section 9, Outer levies: Lots: A routine whose tasks are not yet posted at the season’s first review is sized and laid at the first later review of the season that finds them, its window from that day to the season’s end
From VB-083: Climate and travel beyond walking: The map’s look by band: autumn colours from 8 game days before the band’s normal frost until snow lies; fresh green from the thaw to 10 game days after normal open water; ice that does not bear (frost to lakeBears, soundShut to soundBears, thaw to open) drawn slate, ice that bears near white, with a key.
From VB-034: Inheritance, Handover and shares (Splitting land): An heir given split fields who dies before its house is built: its title ends and the fields go back to the farm they came from. Only grown siblings in the farm’s village with no farm or plot of their own want land; a child takes its share in goods.
From VB-1770: section 9, Outer levies: Lots: a village meeting may change its own custom of lots (plan.lotsRule) by a vote of its households, each for the rule giving it the lightest lot of a reference levy, margin 0.4
A line a finding, added by node tools/backlog.js collect design (tools/lib/collect.js): findings of a kind are collected, not given a task each.
Notes:
Flag: Kim takes part (Kim, 25 November): design.md is edited in a session with Kim, not by an unattended run.