In the wall framing takeoff sketch editor you could slide an opening along its wall, but moving it to another wall meant erasing and placing it again. The engine now has moveOpeningToWall: it keeps the opening's kind and width, centres it where you ask (snapped like a new one), and refuses, changing nothing, if the wall is missing, too short or already has an opening there.
This is the engine only. The page's drag tool does not call it yet, so the editor itself behaves as before. One new test in sketch.test.mjs covers an overlap, a 20 in wall, an unknown wall or opening, a clamp to the wall end, and the id, kind and width staying the same.