Status: done (2026-11-22)
Priority: 3
Size: M
Arch: mill
Phase: implement
Design ref: Goods, production and animals (The mill and the loom, the kiln and the quarry); backlog/VB-185.md
Goal: A skill a craft and pawn from 0 to 1: a novice works at 60% and a master at 130%; halfway in 400 hours; a tenth lost a year unused, read in closed form. Slice 6’s plan (VB-185, 11 Nov), from Kim’s answers in the session.
Acceptance criteria:
sim/skills owns a pawn’s skills (pawn.skills: for each craft practised { level, at }, the level and the time it was set; @state, owner, invariant 0 to 1; at most the crafts of SKILLS.crafts, the declared cap: spinning, weaving, smelting, smithing, pottery, building, milling).level(st, p, craft) reads in closed form: the stored level less a tenth of itself a year since at (rule 3: no yearly pass). practise(st, p, craft, hours) raises it towards 1 so that 400 hours from 0 reach 0.5 (SKILLS.half), the hours counted times the pawn’s aptitude stand-in (0.75 to 1.25, from the trait stand-ins of VB-249 until slice 7’s traits).0.6 + 0.7 × level (SKILLS.novice, SKILLS.master 1.3). Field, wood and herd work have no skill yet (their rates stay as they are; a run changes only where a craft is worked, so node tools/same.js --base REF prints same until the first craft lands).npm run verify passes its hard checks.
Notes:docs/review-blocks.md): overlap with VB-475, which gives field, wood and herd work a stand-in skill by type of work (a tenth either way, not growing; Kim, 15 Nov: skill does not grow in the blocks’ work). One home for skill: whichever lands second uses the other’s pawn.skills and numbers, and criterion 3’s “field, wood and herd work have no skill yet” then reads “have a stand-in that does not grow”. With blocks, practise is called at a task’s reckoning with the hours since, not each step (the cost line: one read at a leg’s start, one write at its reckoning), and mishaps (VB-475) apply to craft legs as to any.level(st, p, craft) for VB-761, which draws a piece’s grade from it. SKILLS.crafts gains stonework and casting, which the plan of VB-702 uses (whetstones, querns, soapstone pots, the memorial stone; the cast pot and the bell). The Decided row (Skills, 11 Nov) is marked moved in design.md.pawn.skills ({craft: {level, at}}) beside VB-475’s pawn.skill in sim/skills; field, wood and herd work keep the stand-in that does not grow. A kind names its craft: grind (milling), hewQuern (stonework), raise, booth, cart, boat and the well sweep (building); no spinning, weaving, smelting, smithing, pottery or casting is worked yet. The leg’s pace is the stand-in’s times the craft’s rate, read once at the leg’s start (workPace); settle practises with the hours reckoned. Cost: one read a craft leg, one write a craft task’s reckoning; no daily or yearly pass; counters unchanged but for timing.hands trait, body for milling, smelting and stonework (design.md’s aptitudes table), 0.75 to 1.25 on the hours; the cap’s half of that row is left to slice 7. The words follow Kim’s scale of 18 Nov (novice, able, skilled, master, in quarters), shown from 0.1; grownBy is the closed form plan mode’s estimate asks for. Close call: every pawn starts a novice, a scenario’s adults too (the tilth precedent, nothing at the start); the alternative, adults seeded by their years, is a row of docs/tuning.md.Numbers (15 years, small): populous seed 7 living 427 to 438, hungry-days in years 8 and 9 35 and 27 to 10 and 8; seed 42 445 to 440; flour into the pot 13.3% to 12.5% (seed 7), 8.9% to 10.7% (seed 42); founders seed 7 12 and 12. Milling median 0.17 at year 15, building and stonework under 0.1. On the probe island founders’ smallest herding household is short of hay in years 1 and 2 (tests/hay.js now asks by year 3); tests/days.js and tests/away.js made robust to the moved timings.
tools/agent-usage.js, to the PR): 84 model calls in about 15 minutes, no sub-agents; context 54.8k at the first call, about 215k at its peak; fresh input about 160, cache writes about 200k, cache reads about 13.3M, output about 40k tokens; weighted cost about 1.75M.