VB-1905: Repair the extended tier of 27 November: the fixtures’ occupancy, and a farm made in play given a byre on load
Status: done (2026-11-27)
Cause: VB-1665
Priority: 1
Size: S
Design ref: docs/gates.md (a red night is repaired by a task of its own)
Touches: sim/layout (makeFarmstead); tests/fixtures.js; tests/lib/line.js; tests/byrehouse.js
Goal: tests/fixtures.js, tests/line.js and tests/browser-saves.js pass on main
Acceptance criteria:
tests/fixtures.js: the expected occupancy counts each village’s wood as near, as sim/settle landInUse does since VB-786
A farm made in play (sim/layout makeFarmstead) has byre null, so a load does not read it as an older save’s and give it a byre (VB-1665’s byresLoaded); a check in tests/byrehouse.js
tests/lib/line.js leaves out of its hashes every field sim/saves DERIVED leaves out of a save
tests/fixtures.js, tests/line.js and tests/browser-saves.js pass; npm run verify passes
Notes:
27 Nov 2026: the extended tier on a536186 was 24/29 (fixtures, line, browser-saves, invariants, browser-editor). This task mends the first three; the two invariants failures and browser-editor are repaired apart.
line.js: a farm made in play left byre undefined, which play reads as none; a load gave it one, and the loaded run’s grain went another way within a week. With the fix a loaded run matches for a year; what still differed were the caches a save leaves out (null until first used), which the test now leaves out by sim/saves DERIVED.
No review (Kim asked for the fixes straight away, in a project thread).