I’ve had at least one job where the employment agreement actually mentions intellectual-property exceptions. So, I just brought that up with the recruiter/HR person and they whipped out a form where I describe my existing project. Someone (a lawyer?) reviews it to make sure I’m not competing in the same field as the company and everything was good.