village-builder

VB-1879: A solo hand’s at-risk steps are not taken back to a plan no one works

Status: done (2026-11-27) Cause: VB-1842 Priority: 1 Size: S Arch: plans Phase: implement Design ref: design.md, section 7, A step at risk, and the take-back Touches: src/sim/authored.js (reviewAuthored, takeBack, byOf); src/sim/estimate.js (goalEstimate); tests/authored.js Goal: A step at risk on a solo hand’s own plan is still done: the card says so and the work stays with the one hand who can do it Acceptance criteria:

Noted by VB-1842, 27 November 2026.

Decisions: takeBack now returns false when no hand of the household’s day is allotted (the played pawn with auto off is not), so the step stays at risk on the pawn’s plan; the probe now makes the field (plowed by d13). The plant by (day 5) is right: by is the day the work is done in the pawn’s own hours (26 h short at d5), not the window’s close; the window (sowing to spring day 10) only opens/limits the work.