mirror of
https://github.com/donlucasx/xscapes.git
synced 2026-10-20 08:43:32 +02:00
stillFor() is right that the ask, the knock and the worry all stand still. What "still" was implemented as is the defect: pace() returned 0, and 0 is HOME -- the column nearest the frame edge. drawScene draws the companion at lay.CatX + round(dx), so at the exact frame the agent starts asking for something, the companion teleported OUTWARD, away from the reader it is trying to reach. Measured on the rendered frame in notes/s28-pace, which SYMLINKS pace.go rather than copying its arithmetic so it cannot go stale: 6 cells at 111/124/143/153, 5 at 80, 2 at 40, with Steps and StepAge unchanged either side -- the pose is the only thing that moved. Over 68 (width, step count) transitions, 56 move the companion and every one of them moves it outward. It is TWO teleports per ask, and the second was never written down: answering starts a tool, ToolStart both clears needsInput and takes a step, so it snaps straight back inward. ⚠ AND FIXING IT ALONE RE-BREAKS THE BALLOON. live.go anchored the pointer with lay.CatX+cat.HeadCol() -- HOME, not the drawn catX. That was correct only BECAUSE of this defect: every pose that raises a balloon is a held pose, so dx was always 0. With the pace fixed and live.go left alone, TestTheBalloonPointsAtTheCompanion fails 9 of 20 combinations -- the bare-sand aim s27 just fixed. The anchor moves to the drawn column in the same commit. ⚠ That test could never have caught it: it builds its state from demoState(), which leaves Steps at 0, so dx is 0 whatever pace() does. It now gets a real step count, which is what turns it into a guard. TestTheHeldPosesDoNotPace asserted dx == 0 for the three held poses. That assertion IS the defect written down, so it now compares against the offset the same state would have had while working. ⚠ Found and NOT fixed here: pace() calls paceSpan(w) unconditionally, but compose() sets PaceSpan = 0 in the unmirrored layout, where CatX is 5 and "inward" is the wrong direction. At 124 columns -mirror=false draws the companion at column -1, clipped by the left edge, while it works. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FpWuRRqmoTMo6ayCkx9yYZ