I am not a lawyer, so I can’t tell you “good.” I am just an engineer/entrepreneur/consultant, so I have some experience with this stuff.
It is always a good idea to separate private projects from company projects and time. Avoid taking anything “free” from your employer/contractor, like software subscriptions, code, etc. and mixing them up with your private projects. Keep a notebook (with date and time) recording what you are doing privately and where you are getting resources from. Use a separate laptop when possible. Stuff like that can help you be disciplined. Good luck!