I understand R1 & R2 are for feedback which the regulator uses to set output voltage. What is the purpose of the 50k ohm resistor, BJT, and the lower 10uF cap? Does the capacitor & resistor make some time constant the affects the feedback voltage?
If I may ask a semi-related question about the diode… I presume it’s some sort of protection diode but what is it actually protecting?