I realize that this comes off as a very American way of thinking, and apologize if you are not, but things are starting to move towards employee rights in regards to striking down non-compete agreements or anything where your livelihood would be affected by signing an agreement. Of course the biggest changes are starting in more "progressive" states, such as New York and California, but the movement is spreading. You might see trouble if you are so specialized that whatever you work on, it would touch your day to day tasks, but moving towards another path of development could provide you with more creative output in a manner that your business couldn't touch. Your business may decide to fire you, but you should be free from legal obligations if you aren't directly releasing the same type of code that you write for the business.