For what it's worth, I asked the founders of a startup I was working at if I could develop and sell my own apps in my spare time and they gave me permission to do so without any issues. We agreed that any apps I made couldn't compete in the domain the startup was based around which I thought was fair.