Here, GPIO0 can be high = boot from flash or low = flash mode, then you can use it as a normal GPIO
I'm sure you are all right, the problem has something to do with rst.
Maybe some kind of system which charges a capacitor then as it's charging there is current going to a relay which opens circuit of vcc and when the capacitor is fully charged, no more current so relay closes the circuit and it powers on the esp