So per this lamp matrix, the electrons flow into bulb via yellow/green, into the neg end of diode, then out into red/grey.
I'm not sure about the various tabs on the socket, if this is wired correctly or not. I suspect it is not, because the bulb is always on, rather than being controlled (and the diode checks ok). Can someone hook me up with a diagram of an actual socket?