Status: done (2026-11-24)
Priority: 2
Size: M
Design ref: design.md section 7, A member’s voice, Own time, The player as head; section 5, The round as offers; docs/review-agency.md, section 4
Goal: A member has no way to ask its head for anything, and a played pawn that is not the head can only act on opportunities. Build the first ask of design.md’s row A member’s voice: leave. A member asks its head for free hours today (from now, or from an hour named, to the end of the working day): an offer on a new basis leave in the table of bases (sim/offers), contributed by the module that weighs it. The head answers by its day: no when its estimate (sim/estimate) says the household’s tasks with a window closing or a deadline today want the member’s hours; else by its opinion of the member and its own diligence. A yes takes the member out of the day’s allotment for those hours (allot goes around it as around one away) and they are its own time (sim/pastimes, VB-1552); a no is a memory of the member’s. A pawn asks of its own accord when it courts, or has not sat with a close friend or near kin for VOICE.days (6), at most once in that time, and then spends the leave on that visit. The played member asks through its Actions; the played head is asked and answers, its pawn’s judgement shown as advice.
Acceptance criteria:
leave with its check, its answer rule and what a yes does, each through verbs; VOICE a @tunable; the member’s leave is plain saved state with one owner and ends with the working day.VOICE.days.sim/player, sim/offers).npm run format, npm run verify and node tests/smoke.js pass.
Notes:backlog/VB-1553.md), so this task no longer waits for them; a leave is spent in own time (sim/pastimes, ownTime; the pastime visit and its caller rule in sim/encounters, VB-1559). The head allots around a member the way allot in sim/jobs leaves out one away (a.away), on duty or lent. Mind VB-1565: a hand that leaves a task must be released from it.sim/voice, tests/voice.js). Decided: the own ask is made after the morning’s allotment for the afternoon (from VOICE.from, 14:00), so the afternoon’s allotment goes around it; a window closing is one within VOICE.closing (3) days (sim/hands windowEnd), since a closing today alone let a leave cost the rye’s sowing (tests/rye.js); a pawn with nobody in its village to visit has no reason to ask (on one farm it asked every 6 days).tests/player.js); otherwise the ask waits VOICE.wait days for its answer. A no is remembered by the member alone, logged only where the player is one of the two (as help’s).leaveLook 1.0 a pawn-day), the asker’s day read by the head (leaveWeighed 0.045 a pawn-day).