after some experimentation i think i figured it out. the ai is trying to point the ship at the block it wants to mine from the prospective of the ship's core, but when it turns the ship, it pivots around the ship's center of mass. so when it tries to aim the ship at it target, the ships core not only moves angularly, but also spatially. as a result it then has to turn again to try and aim at the target block. further more the ship doesn't seem to be able to turn on a dime and instead continuously moves forward while it's turning but because it also wants to remain x distance from it's target at all times after a few failed turnings it has to back off a little bit and try again. this causes it to enter into an infinite loop that makes it look like it's chasing it's tail.
i came to this conclusion during my testing i noticed that the further away from the center of mass the ship's core got, the more prone to this beaver the ship got. i then built a ship that had the center of mass and the ship's core about 20 blocks from each other and found that started to exhibit this behavior almost immediately, but then when i went into the server config and changed WEIGHTED_CENTER_OF_MASS from true to false, the problem was instantly solved.
the solution i then propose is to build your mining drones with their center of mass as close to the ship's core as possible. this should still allow for the construction of large mining drones while eliminating the problems of the ship derping out.