So does that mean you can theoraticly generate "survivor fleet vs Shivans" campaigns at random?
Yeah, exactly. One of my goals is to have a "survive and fleet-build" campaign. As part of my my setup the first mission of the dynamic campaign is a 'choice mission', where the player selects the number of missions in the campaign, the player rank in the squadron, starting fleet sizes, etc. Using a simple counting index, the number and class of both enemy and friendly ships are dynamically selected for each mission depending on mission type, difficulty, and amount of player wingmen available for the mission, which is affected by the previous mission outcome (ie persistent fleet data, other persistent variables). The briefing then gets updated with that info, as do other factors like wing rank, ship arrival, and persistent wingmen traits. It's overall similar to instant action game-play, but with enough dynamic briefings/debriefs and persistent progress between missions to tie missions together.
Also, do you have all these scripts available public somewhere? I could imagine there are many people here who'd like to take a look at them.
Not yet, as this is still very much ongoing project for the past year. I appreciate the interest, though! I was originally making it more for myself, but it's grown a bit from there

Hopefully someday it will be complete enough that I feel comfortable releasing it!