Status: done (2026-11-16) Priority: 1 Size: S Design ref: docs/review-blocks.md; design.md section 7 (A leg, and its end, to The timetable); docs/mocks/blocks/README.md Goal: The page interpolates from the leg (Rules for cost 7), and no simulation state exists only to be drawn. Acceptance criteria:
placePawns and the eight other scripts that read a pawn’s place, phase, facing or stride read the leg through the Sim API; prevX, prevY and the between-steps share go where they are no longer needed.node tests/smoke.js and the tests/browser*.js it touches; a screenshot of a village at work before and after (tools/village-shot.js).
Notes / questions:docs/review-blocks.md, section 4, step 4). Kim, 15 Nov: scheduled blocks, a breaking change allowed.placePawns and the other page scripts (cards, words, play) read a place through
Sim.placeOf / Sim.poseOf, and no page script wrote agent.x/y. What was left, and done here: prevX, prevY, prevStride,
prevIn, prevN, notePlaces, drawBetween, stepTick and drawingBetween are gone from page/speed.js; the page keeps only
stepShare. Sim.poseOf(st, a, at) takes a fractional tick and works the walker’s place along its leg at at, clamped to the leg’s
due and its last hour (read only); placePawns draws every pawn at st.tick + stepShare, so a walker is ahead of the simulation by
less than a step, where it was a step behind. Rows of field work use the same at. The clock shows the same time (ahead, not behind).tests/browser.js now checks each pawn drawn within a step of placeOf and, frame to frame, that none moves further than the
steps run allow (a jump); tests/browser-speed.js likewise, and its clock check allows the clock up to a step ahead.docs/img/vb474-village.jpg (static; the before is docs/img/vb473-legs.jpg; the village shot draws no motion).npm test 55/55, npm run verify 112/112 (11 targets out, as before), node tests/smoke.js, tests/browser.js,
tests/browser-speed.js pass. The page’s end state still equals headless.Repair, 16 November: node tests/smoke.js failed four clock lines (shown 515/520/525/540 against 510/516/522/534). The clock was drawn at
st.tick + stepShare, so it led the simulation (the smoke test measured lag only upward, and at 30x the share 0.99999999999997 rounded
tick + share to 90 and showed 540 at tick 89). Mended the clock, not the test: updateClock (src/page/animate.js) shows st.tick
floored to 5 minutes, never ahead of the simulation (principle 14); pawns are still drawn at the fractional tick. The three checks now
agree: smoke.js allows 0 to 5 minutes behind, browser-speed.js no lead (was 6 minutes) and at most 5 behind. browser.js asserts nothing
of the clock. Passed: verify, smoke (twice), browser, browser-speed.