I think that it is also different if you get fired. Don’t know in detail, but I assume that if they fire you without a valid cause they don’t have any grounds to complain that you did a sensitive and unique work.
Noncompetes are basically unenforceable in California, you can make people sign them but they’re about as useful as if they were made out of toilet paper