Build image / build-and-push (push) Successful in 8s
clampTo INVERTS a region lying wholly outside the object — Max clamps below Min — rather than emptying it. The old loop-until-past-MaxX form handled that for free by never entering the loop. Counting positions up front does not: a region 500cm east of a bed with ±50cm local bounds produced 4 plops at x=275, a couple of metres off the bed. Caught by removing the guard and watching the new test fail, not by assuming it would. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01H3zbym8Doka2d7D48maSgZ