village-builder

VB-1197: A pawn takes a clear job not on its opportunity list

Status: done (2026-11-19) Priority: 1 Size: S Design ref: VB-1107 Goal: Opportunity list matches the jobs taken Acceptance criteria:

Noted by VB-1107, 18 November 2026.

Decision (VB-1197): the planner’s helpRound lets a pawn take a neighbour household’s job of a kind help takes (clear among them); the list did not show it. sim/opportunities now lists those jobs as basis ‘helper’, and eligibility is asked of the job itself (it needs kind and posted). tests/opportunities.js compares the planner’s own-bid set with the non-helper offers only; the taken-from-list check stands whole. Not narrowed to the planner’s “most urgent of each kind”: the list shows every job the pawn may take.