VB-1814: The piles left lying and the cart left at a site, as goals’ strays
Status: done (2026-11-26)
Priority: 2
Size: M
Arch: plans
Phase: implement
Design ref: design.md section 7, Plans at four scales (A stray pile); backlog/VB-1812.md
Touches: sim/kinds; sim/lying (fetchKind, fetchWork, bringWork); sim/camp; sim/building (KINDS); sim/carts (KINDS, takeUp); sim/doing (VIEW, GOODS, unload, takeCart); sim/methods (plan, next, bring); sim/meadows (KINDS); sim/planchains (MOVE_KINDS); sim/agents (loaded); sim/fieldwork (haul)
Goal: Every pile left lying, and a cart standing at a site, is taken up by the goal that uses it
Acceptance criteria:
leftTimber, leftGrain, leftCart and the hay left at a landing (sim/camp) are piles found by the stray method of the goal that uses each, not fetch kinds posted (sim/kinds, sim/lying fetchKind, fetchWork); an older save holding a fetch task loads and runs on.
A cart standing at a goal’s site (a hand released there, VB-993) is taken up by the goal’s next hand (sim/doing VIEW.free, sim/methods cart step), not left for fetchLeftCart; tests/booth.js’s fetched path back to 40 days. (Taken up: tests/standingcart.js. The booth is raised some 41.7 days on, as at VB-1812’s end (41.73): the 40 days were lost at VB-1812, the hay’s cart walked at its pace; the loop is at 42 days.)
npm run verify green; node tools/gate.js –base docs/gate/base.json passing; hungry household-days before and after.
Noted by VB-1812, 26 November 2026.
Notes (VB-1814):
No fetch kind is made: the timber, grain, cart and hay left lying are each a goal of its own per owner and kind (sim/methods bring,
sim/lying BRING, bringWork), the stray method alone; a close call (no goal with methods uses them).
Bring goals fetch a cart first where one is free and the pile is more than a back load; the old fetch kinds took the cart at the pile.
A cart standing at a goal’s site is free to the goal’s next hand and taken up there (sim/carts takeUp; doing VIEW.free, place, takeCart).
An older save’s fetch task is taken down at load, a load in hand laid with its record (grain’s crops kept): tests/methods.js.
A stray load of sheaves goes to its harvest’s barn entry, the field’s own untouched once sown anew (fieldwork haul), as fetchKind did.
Gate holds (6 runs). Hungry household-days, 4d90002a to this: founders 0/9/0 to 0/0/0, populous 141/70/283 to 151/78/166 (503 to 395).
Criterion 2’s 40 days unmet: the booth is raised 41.69 days on, 41.73 at the base; tests/booth.js loops 42 days.
Review F2: a cart stands where its lying cart lies (carts takeUp, doing stands), so one led away is in one hand only.