village-builder

VB-698: A target on every stored good: the head decides what to make beyond its need

Status: done (2026-11-16) Priority: 1 Size: M Design ref: AGENTS.md, Deciding without Kim (7, 9, 16); design.md, Goods, production and animals Goal: What a household makes of each good is its head’s target: its own need, which the head’s rule sets as today, plus what the head means to give or exchange; the played head sets it by the verb it has. Acceptance criteria:

Implementation, 16 November 2026

Impact: a new module sim/targets (material layer, after sim/stores): the registry of the goods a household makes (code, sealed with the rules registry; no saved state), target, need, bounds, view, and hands (moved from sim/drying, which re-exports it). New state: plan.targets.goods (written only by sim/plans: compiled at each review, at a retarget and when the head sets one) and plan.chosen.goods (the head’s choices, by the verb target, which already existed). Reads: each maker reads its good’s target where it read its own constant or rule (sim/drying rackfish and the rack’s room, sim/tar burntar, sim/dig wants, sim/quern hewing, sim/kinds brewWanted, sim/byre churning and salting). No new coupling but makers → sim/targets (downward); sim/targets reads st.plans (state, not a call). Why a registry and not a branch per good in sim/plans: nine goods now and every later craft adds one (Deciding without Kim, 4; the third special case was tar, then iron).

Decisions (Deciding without Kim):

Validation