Status: done (2026-11-17) Priority: 2 Size: M Design ref: docs/mocks/supply-doubt.html, docs/mocks/supply-scale.html; AGENTS.md, Deciding without Kim, 14 and 15 Goal: The player sees at a glance whether a household will make it through the year, for each supply, and in a village’s list which farms will not. Acceptance criteria:
src/page/cards.js) opens with Supplies: a row for food, fuel and hay, each its icon, its word, its season cells, its state in a few words (“safe”, “short in spring”, “short in winter”) and an i. The cells are the four seasons ahead from the season we are in, under a header of the seasons as icons (a sprout, a sun, a leaf, a snowflake; src/page/icons.js). A cell is filled by how much of that season’s need is covered: solid from the store (own), striped from what is still to come (with); a cell the likeliest outcome does not cover has a red frame. Read from Sim.supplyOutlook (VB-666); the page computes nothing of it.parts of the outlook: the store, the need, what is expected and when, what is expected to spoil), and for hay a sentence first: it is eaten by the animals while they stand in the byre over winter; out of winter they graze, and none is needed (Kim). There is no mark for when a supply is laid in, and no separate mark for spoilage (Kim).src/page/meter.js, beside the meter, with its argument the outlook; docs/architecture/modules.md names it.farmRow: a village’s card, the People sheet) shows its people as an icon and a number, and a chip for each supply about to fall short: the supply’s icon and the icon of the first season it is short in, gold for a little, red for badly. A supply that is safe has no chip, and a farm with nothing to worry about shows none. The chips replace the dot and the words “Fed”, “Short of food” (Kim: “Chips are now good. Use them”); a title on the row still says how the household eats today.st (lint). node tests/smoke.js checks the cells, the opened numbers and a chip on a constructed short household; the tests/browser*.js touched pass; screenshots before and after under docs/img/.node tools/same.js --base REF prints same. Cost: the page’s; a village’s card reads one stored outlook a farm.Notes:
docs/mocks/supply-doubt.html and docs/mocks/supply-scale.html). The mocks are the reference for the look: docs/mocks/supply-doubt.html (the first card, without its bracket and without the whisker, which is VB-669’s) and docs/mocks/supply-scale.html (the Supplies section, and hay’s numbers opened).Implementation (17 Nov 2026):
src/page/meter.js gains the supply component beside the meter: suppliesHTML(O, only) (the Supplies section: whose
reckoning it is, a header of the four seasons ahead as icons, a row a supply with its icon, word, season cells, state in words and an i;
the numbers under the row when its i is open) and supplyChips(O) (the farm row’s chips). Its argument is Sim.supplyOutlook(st, id)
(VB-666); it reads own, with, state, season, seasons and parts, and computes nothing of the outlook. src/page/icons.js
gains seasonIcon(k) (a sprout, a sun, a leaf, a snowflake, from the mocks). src/page/cards.js: the Stores tab opens with the
component; the farm card’s Details (houseStats) shows it in place of the Food, Firewood and Hay stats (foodStat, hayStat and
hungerTone fell); the Animals tab shows the hay row in place of the hay stat; farmRow shows the chips and the people as an icon and a
number, with how the household eats today (hungerWord) as the row’s title. src/page/play.js: the played pawn’s sheet shows the
component for its household in place of food and firewood. CSS in src/head.html; docs/architecture/modules.md names the component.own - k and striped to with - k (each
clamped to the cell), and framed red where with < k + 0.98 (the mock’s rule). Hay (seasons: [3]): one wide cell after the icon of
its season (the frame season whose need is not 0), filled by own/with less that season (4: full), framed red unless safe.decision notes):
(1) the goods tiles VB-668 put under Supplies (grain, flour, meals, sheaves, dried fish, firewood, peat) stay, under the three rows: they
are what the food and fuel rows count, and Kim set aside only the chain of goods, not the counts;
(2) the Animals tab shows the hay row in place of its hay stat, so that hay has one presentation (15);
(3) “Cold” (no firewood today) stays a stat in Details beside Water and Hungry days: it is today’s state, not the outlook, as the
row’s title is for food;
(4) a stale outlook (made in an earlier season) is drawn with its cells dimmed and its frame from the season it was made in, the line
saying “at his review in the hungerMark of src/page/words.js (claimed by VB-631 tonight) has no user now; left in place, with the .mark styles.Validation:
node tests/smoke.js (exit 0): on a lived-in farm of heirs tiny seed 7, its head’s outlook made by sim/outlook’s reckon and then set
to food lasting 0.5 of this season on the store and 1.4 with what is to come, short badly in the next, and hay 60% of the winter: the
food row has four cells (the first 50% solid and 100% striped, the second 40% striped, the last three framed red), reads “short in
npm run verify after merging the run’s branch: 175 of 176, the one failure tests/page.js finding a lived-in farm by the word “people”, now by its people icon (.ppl), and passing; 8 targets out (advisory), none moved by a page change. node tests/browser.js and node tests/browser-mobile.js pass.node tools/same.js --base 5975231 prints same (founders, heirs, seeds 7 and 42, tiny, 2 years).docs/img/vb667-before-stores.png, docs/img/vb667-before-village.png; after docs/img/vb667-after-stores.png
(hay’s numbers open), docs/img/vb667-after-village.png (the farm rows’ chips).Sim.supplyOutlook, a copy of
plan.outlook) at each refresh of the rows; the simulation does nothing more.