This is great! I wish there were more levels. Friendly fire allows for some cool puzzles, I imagine.
As have been mentioned before, seeing enemy plans without starting a level would be really nice. Having clear behavior rules for each type of enemy would also work.