Flipping GH Planes forever? What is going on and how to fix it?

Planes defined solely by Origin and Normal cannot mathematically be continuous. At some point a minor change in normal direction must yield a large change in plane axis direction. The algorithm which creates planes from normals doesn’t even attempt to minimise this since it cannot eliminate the problem anyway. The plane constructor which only takes an origin and a normal simply assumes you do not care about the orientation of the plane x and y axes.

If you have a starting plane and a target normal direction, you can transform the plane using Transform.Rotation(Vector3d, Vector3d, Point3d)

Of course if your target vector is anti-parallel to your initial vector, the orientation of the final plane will still be unpredictable.