I have been working on a project in my personal time that has nothing at all to do with my main job. I work on it after work, on the trolley to work, and on the trolley from work. I store all my source code in my own personal repository on my personal server in my apartment.
While at work, I use the same computer which I purchased to do my main job. I do not ever work on my personal project at work. I have, however, pushed commits to my Mercurial repository over ssh (hg push ssh://hostname:22//path/to/repository) immediately after arriving at work, just so things were backed up.
I also talked to one of my team members for under 5 minutes on a couple occasions about whether he would be interested in helping with the project on his own time, completely separate from his main work.
My question is, could the company claim any ownership of the project?
This is my last week at this company. Would it be worthwhile to have my boss sign something that says they agree to not claim any ownership of the project?
I am in California.