[Daniel] knew how the TRIAC functioned in the circuit and also knew that a standard TRIAC of sufficient specifications could be used as a replacement even if it didn’t have the correct form ...
The PIC is powered by a large capacitor while the triac is conducting, preventing it from resetting until the circuit can start stealing power again. Pretty clever stuff, and a nice PCB design to ...