by comex · 4y ago · 0 comments
If it only covers work you did with company property, you're lucky.
As far as the law goes, in California (per Labor Code section 2870), employment agreements are allowed to assign the employer IP rights (including copyrights and patent rights) to inventions that satisfy any of the following:
- "[Use] the employer’s equipment, supplies, facilities, or trade secret information"
- "Result from any work performed by the employee for the employer"
- "Relate at the time of conception or reduction to practice of the invention to the employer’s business, or actual or demonstrably anticipated research or development of the employer"
For my part, the employment contract I signed is maximalist: it basically paraphrases the above language and says that anything satisfying any of those conditions is assigned to my employer.
The third condition is really the kicker. If you want to use your code at work, then the code probably "relates to" your employer's "business" or "actual or demonstrably anticipated research or development". If your employment contract is as maximalist as mine (and there's a good chance it is), then that's enough to make it not yours, regardless of who (if anyone) forked it.
In my case, my employer is large enough that it's hard to imagine software that doesn't somehow relate to its business…
1) Let's us say my company wants me to create a full stack dashboard that helps you visualise the inventory. I can just create a corona dashboard and then adjust the db tables and models in the office whereas keeping my original idea still free.
2) I create a library to easily log my programs with proper gears suited to my needs.
3) I write a DB script that helps me do active passive backup easily.
4) I write an FPGA library with vLL but enforcing an encryption. I provide a use case for astronomy (whereas my company is for retail, let us say)
My point is there's always a way out.
"I thought I might need it later" does not constitute a legal defense if your employer comes after you for IP theft.
IANAL, but I can't see what foundation your strategy rests on. That the code is generic does not change the fact that it was written by you to solve a problem that your employer had. This pretty unambiguously places it within the range of what your employer can claim as theirs, no matter how applicable it might be to other use cases.
It'd be one thing if you had code that you'd written a few months back that turned out to be useful solving today's problem. But what you're describing is that your employer asks you to do something and then you go and open-source part or all of the solution without consulting them.
If you are as indispensable as you say you are, the actually bulletproof approach to getting this code open sourced legally would be to use your influence to persuade your employer to officially open-source that code.