VB-763: Workmanship in the page: one mark for a grade, and a good’s table of kind by grade
Status: ready
Priority: 3
Size: S
Arch: mill
Phase: implement
Design ref: Goods, production and animals (The metals and the stones: Workmanship; The mill and the loom: Skills); docs/plans/VB-702.md, section 13; AGENTS.md, Deciding without Kim (15, 17)
Goal: The player reads a piece’s workmanship at a glance, by one mark that is the same wherever a graded good appears (principle “Like is shown alike”).
Acceptance criteria:
One mark for workmanship (principle “Like is shown alike”), drawn by one function wherever a graded good appears (a store’s row, a deal, a gift, a dowry, a pawn’s dress, a farm’s card, the tile panel): at the corner of the good’s icon (the icon the good, its tint and label the kind: VB-733). Sound has no mark; shoddy a notch cut from the icon; good one pip, fine two, masterwork three. The grade’s word is its label; the word in the page is workmanship, never grade alone (a house has a grade).
Counts by grade: a store’s row for a good and kind shows its count and one strip of five segments, the pieces by grade; the same strip wherever pieces by grade are shown.
A good’s table, opened from any icon of it: kind by grade, each cell with what it changes (how long it lasts, how well it works, its worth by custom), read from the registry’s compiled rows (VB-761), with no number written in the page.
A pawn’s skill at a craft (VB-360’s panel) shows the same strip as the odds of its next piece, labelled as that pawn’s own expectation (principle “The future is someone’s estimate”).
The played pawn can name the cell it gives, deals or takes into use, by the verbs VB-761 has (principle “Every act is a pawn’s”: no choice only the player has).
node tests/smoke.js and the browser tests it touches; a screenshot under docs/img/.
Notes:
The plan of VB-702 (16 Nov 2026), section 13.6. The page only reads st and the registry.
Noted by VB-702, 16 November 2026.
18 Nov 2026, amended to agree with VB-1123 (plan mode; Kim’s decisions of 18 Nov): plan mode is one more place the grade’s mark is used (a craft in a member’s hands, in the house’s menu); the mocks drew five small diamonds, filled to the likeliest grade.
23 Nov 2026 (VB-761, workmanship, landed): a made piece’s grade is drawn by VB['sim/workmanship'].draw(st, maker, craft) (stream making; the maker is the pawn who finished the job, passed to a kind’s done as its fifth argument); a graded good declares graded: {work: [properties]} in declareGood, and reads its row by grade from Goods.kindRow(good, kind).grades[grade] (life, work, worth, the properties scaled); the worth rule takes grade in its context; jobs.allot gives a making of a graded good to the household’s most skilled hand at its craft; expectedWorth(st, id, craft) is the head’s estimate. The one mark of a grade in the page; sim/workmanship’s WORKMANSHIP.grades are the words; the card’s quern line does not show its grade yet.