just a bit of feedback
https://www.reddit.com/r/starsector/comments/ohg0sn/so_i_just_killed_a_mothership_its_fleet_with_a/so after having done this thing it looks like station defenders get assigned escort orders on the station it's defending, which results in some extremely less-than-ideal behavior, such as defending the side of the station you're not attacking, or leaving eachother to the wolves to be picked off one by one.
It seems like theres a very simple solution to this as most of the required behavior is already baked in to the control behavior.
Have the station's primary modules generate capture/control orders for its fleet in front of itself so that they will dynamically reinforce sides of the station that need it & not worry about parts of this that aren't being contested at all.
You could probably even have a trick of, having the control point get dropped in front of the leading edge of the module. Then when it gets x distance away from the module that spawned it move it back to the leading edge of the module, so that the ships assigned to it aren't smoothly following its rotation.
This will give the ships the freedom to operate around a fixed point until the CP gets leashed to the new spot at which point they will dynamically assess whether there are enemies threatening that CP. If not they will reassign themselves to one that does, which if they were fighting someone before the CP got leashed will probably be the one closest to the enemy they are fighting. Which will look to the player as if they aren't being leashed to CP's circling the station but are organically defending around it