Awesome - I have designed similar things in my head dozens of times over the years. Often I end up drifting into thoughts away from these deterministic patterns and into a more adaptive approach based on how the user is performing - At least at the 'closer to the boss' parts of the levels ...
Just the same thanks for sharing and I'm enjoying playing around with this !