Based on what I am reading, unless I am misunderstanding, which considering how our laws are written I'm surprised anyone is capable of understanding them entirely.
https://www.callahan-law.com/are-non-competes-enforceable-in... (where I am reading up about this from)
It seems California outlawed non-competes in the sense that if I am a programmer, and I sign a contract which states that I must not be a programmer for the next 5 years after working for X, that is instantly voided.
But this is different, as an intern I copied in essence the core business model (not directly copying the code) and open sourced it, seems like a conflict of interest. Which in this case a non-compete might be able to be held as it's mostly saying I'm a programmer for a company which does X, I can't move to a competitor, or become a competitor (which is somewhat what the intern did).
As someone who is definitely not a lawyer or judge I have no idea where the laws/courts or otherwise stand on this matter in actuality.