See the SR-71 fuel aft transfer switch. Maintaining a forward CG keeps the bird in the air. Control is intentionally manual.
https://www.sr-71.org/blackbird/manual/1/1-62.php