Hello,
I don't see the schematic you've used so it's hard to comment on the design. If it uses a voltage feedfack loop and a current feedback loop using some sort of clamp or selection logic to determine which loop is in control, the loop that is NOT in control will have its output driven to maximum. This can usually be detected by a simple comparator but in this case, the micro should be able sample the amplifier outputs of the two loops and determine which one is higher and thus not in control.
The LT1013 is a good device and is free of many quirks such as polarity reversal under some conditions. It has an absolute maximum Vcc - Vee of 44 but it won't be able to drive the pass transistors without another voltage gain stage. I don't know how much accuracy, stability and precision you want or expect, but good supplies have been built with lesser devices and careful design. My only concern is that the LT1013 can be a bit slow and the transient response is not as good as it could be with a faster device. Note that slower devices can be stuck in a saturated state with their outputs at a maximum or minimum for a relatively long period of time. This is important when the power supply is changing from constant voltage to constant current and back again - you may get some very high voltage or current spikes during the transition.
Cheers,