Status: done (2026-11-16) Priority: 2 Size: M Arch: year Phase: implement Design ref: Work: opportunities, plans and tasks (design.md, section 7); docs/review-work.md; design.md section 7 (The plan panel) Goal: The plan decides what a household does, and nothing shows it. Show the holder’s plan in the household panel, and let the player who is its head change it there. Acceptance criteria:
src/page/): the season’s routines in order; each target with the custom’s value, the head’s (its bias, VB-254) and the store’s level; the next steps and their windows; the project and its step; what is reserved, by good; who holds which task. (Built but for who holds which task, which is the timetable’s, VB-477, by the note of 15 November below.)st and writes through the Sim API (lint). A browser test (tests/browser.js): as head at seed 7, raise the hay target and choose a field’s tile from the panel; the plan shows both.node tools/shot.js). node tools/same.js --base REF prints same. npm run verify’s hard checks pass, its targets reported with their residuals.
Cost: the page’s only; the tab reads one household’s plans when open.
Notes:QUESTION_ARCHIVE.md, “VB-164: the household’s year”): written. Edits src/sim/jobs.js and its neighbours, so the slice’s tasks run one at a time, and not beside VB-227, VB-241 or VB-247.
Notes / questions:AGENTS.md, Deciding without Kim, 15): presentation by icons and meters before text, and like shown alike. Waits for VB-664: the Plan tab is a tab of the household’s map card (VB-664’s one household view); each target is VB-664’s meter, the store’s level with marks for the custom’s target and the head’s, and goods by its icons, before any number in words.docs/mocks/supply-meter.html, round 1, C: Kim, “for the plan view it’s good”), and shows a store by the supply component of VB-667 where it is a supply.src/page/plan.js (new, after page/actbar in src/page.json): the Plan tab of the farm’s card (VB-664’s household view; a tab
button tabPlan in src/body.html, shown with Stores, Land and Animals by syncTabs, drawn by renderHouse). It reads
Sim.headView (VB-253, VB-698) and the household’s stores: Targets (hay in winters of the herds’ need, firewood for the season,
fields, the cow wanted; then each made good of sim/targets, which is VB-865), each the store’s level on the one meter (VB-664)
marked at the custom’s value and at the head’s target, the level against the target in words, “chosen” where the head chose;
This season (the routines in order, by the custom’s order or the head’s); Next steps (each field’s next step: hoe and sow in the
crop’s window, with days to its opening or “open now”, the days grown toward ripe as a meter, reap, thresh, reclaim), and the tiles
named for the next field and meadow; Project (its step, or none or held off); Reserved (the plan’s and its projects’ reservations, by
good and reason).st.player.pawn === hh.holder); every one goes through Sim.head
(target, tile, order, project, dropProject), and a refusal’s reason is shown at the head of the tab. “Choose the tile” puts the
action bar’s tool in hand (page/actbar, a fourth kind plan): the next click on the map names the tile, or the banner shows the
refusal and the tool waits; once named, the card opens again on its Plan tab.ale and plan icons added to GOOD_PATHS). The year-ahead graph and the supply component (notes of 16 Nov) wait for VB-667:
left to a follow-up. The tile named is told by its number; marking it and the tiles that would do on the map is a follow-up.tests/browser.js (seed 7, tiny populous): as head, the hay target raised from 2.27 to 2.5 winters by the stepper
and shown chosen; ale’s target set and cleared (VB-865); “Choose the tile” refused on the house (“the house stands there”, in the
banner) and named tile 8580 on an open tile, the tab showing both. node tools/same.js --base 0064aa2: same (the page only).
node tests/smoke.js passes. Screenshot: docs/img/vb256-plan.png. Cost: the page’s only, the tab drawn while open.npm run verify on the merge with the run’s branch: 152/152 passed; 9 targets out, as on the run’s branch, none moved (the change
is the page’s only: same.js prints same). tests/browser.js and tests/smoke.js pass.