village-builder

VB-1892: An authored step past its by is taken back the next morning, whatever the head’s planning cadence

Status: done (2026-11-27) Priority: 2 Size: S Arch: plans Phase: implement Design ref: design.md section 7, Plans at four scales (A step at risk, and the take-back; Replanning: the head’s review, out of turn once a day for one cause); docs/plans/four-scales/README.md, 3.4, 3.5, 3.6 (Decision points: A step at risk), section 6 answer 17; backlog/VB-1886.md Touches: sim/plandays (reviewWhy); sim/authored (reviewAuthored); sim/points (decisions); tests/authored.js Goal: The default author takes back an authored step still undone past its by within a day of the deadline, unless it is kept Acceptance criteria:

Noted by the candidate scan of the night of 27 November 2026 (worker section 2).

Decisions: the out-of-turn review reuses cause ‘window’ (byDue in sim/plandays; outlook keeps its own on it); the risk point’s deadline is (by+1)*DAY + first review hour. A kept firewood step added to tests/firewood.js: past its default by 0 it is now taken back at the first review (the intended rule). Levelled deadline, seeds 7/11/42, by misses before>after: 7>9, 6>6, 7>8 (all 20 vs 21); taken back 0+1+0 > 3+4+6 (of 9, 6, 8; some are tool matches of a retaken key in another year, e.g. wood:h2 hour 1205); by to take-back: next morning (hour 5 of by+1: e.g. 413, 389, 2045); misses are by-day-edge (task gone 1-10 h past by) or never reviewed in time. Windows missed, five/all: 8/38>9/41, 6/26>6/29, 8/35>10/35. Not a gain in misses: take-back has no time to finish them. Cost: riskCheck 0 before and after on populous small seed 7, 2 years (nobody plans for themselves); gate holds, hungry days and hunger deaths equal to base in all six (0 deaths).