by _6lik · 4y ago · 0 comments
So from what I understand is that everything I do on conpany property (that includes coding in a pub but on the company laptop) belongs to the company.
So what I do is to first code it (any new idea that I'm working on) at home on my personal setup (including cloud an all). Then I release everything on a Apache V2 + MIT combo with CC BY SA 4 (for pics, vids etc) that I think covers everything.
Then I host it under a github organisation (I am the admin of the org but the code is not hosted directly in my profile). Then I go back to the office next morning and ask one of the junior team members to fork it.
In my head, I'm thinking that yeah well, I wrote something in my personal capacity somewhere and then somebody from the company forked it, so that's not my problem.
So far so good... And the department is too much dependent on me so avoids any confrontation anyway. But I have always wondered, if this is fool proof? Can somebody find any loopholes in this approach and make it better...
i work for an open source (AGPL) company, that uses one of my open source (MIT) projects as a core dependency. before i joined, i made sure that any code i write for my library continues to be MIT-licensed, no matter when and where i am writing it. additional code i write for the company also often starts out as a demo/PoC in my MIT repo, but is then adapted and extended into our AGPL codebase.
this, however, is likely a different arrangement than what you're describing as a loophole.
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.
You can show that your commits were made at hours outside of office hours, you can show that the commits were made with your personal e-mail address, but lawyers can dispute it - Git commits are cryptographic proof only that someone (or if you signed them, someone with access to that private key) attested to those statements, and you do both those things on the company computers. You can show that all of the code is obvious, but lawyers can dispute it. A sufficiently foolish lawyer can dispute literally anything.
Don't work for places where you'd have a problem with this - Get explicit approval for you to spend company time working on open source libraries that are the proprietary interest of the company, but that you as an individual have a copyleft license to (Iff you don't care that you can't take them private later). Or work for a company that doesn't have such onerous terms in their employment contract.
1) Git commits have timestamps. 2) Proving I did on company laptop is their onus. Innocent until proven guilty. ;-P 3) I do that. Along with randomisation of sample data. but yeah, you make a very important point in general. 99% of people get screwed on such things. 4) If I do something using company laptop, it is bound to be logged somewhere. All my git visits are also logged and archived for 10 years as per law. So proving I did it using company laptop is easy and it is them who have to prove it. And a foolish lawyer is a dream come true because then I can keep dismissing his every argument as wasting the learned court's time.
But yes, keeping things straight forward is always a better idea.
git commit --amend --date="Wed Feb 16 14:00 2011 +0100" --no-edit
Certain proponents of Fossil and Mercurial will tell you that this is an advantage of those systems - They're fooling themselves, because you can make those edits, there's just not nice tooling for them.There's always something, isn't it. I can change my git timestamps and the employer can change its server log timestamps if there's maleficence at either side. That's a completely different territory then.
It makes sense that the employer (or contractee) can claim that all work, done on their paid time, or on their equipment, is theirs.
i.e., if I use my employers' laptop to develop OS software, and they can prove it, then they have a strong (and, basically, legit) claim on my work. Same with time that I'm being paid for, and supposed to be doing work for them.
That's one reason why I brought my own personal laptop, many years ago, instead of using my employers' computer for my personal stuff.
I'm not sure, but it may not even be required to be in the employment contract. I think that basic employment laws may enforce that.
The "shower clause," on the other hand, says that all work and ideas that occur during your term of employment, belong to the company; regardless of whether or not it occurred on their paid time, or using their equipment.
i.e., if you come up with an idea for a great Web site, while out on a date, or while taking a shower; whether or not it has anything to do with the corporation, the corporation can lay claim to it.
It's pretty damn evil.
There’s probably an ocean of open source that is in a work product gray area, and the companies just don’t care enough to do anything (think “I saw Alex working on a 2D physics game library after successfully deploying our latest healthcare platform feature. It will be of no use to us, and Alex is a good dev, let’s let it slide.”)
A lot of copyright infringement goes un-acted on because it just doesn’t matter to the rights holders. But if they’re in a jurisdiction where they can enforce their work product agreement and then management changes, a new greedier manager might decide to claim Alex’s 2D physics engine on the almost-zero chance it becomes useful to them in the future. Probably not the smartest move, possibly a totally legal move. (But what do I know, IANAL)
As a side note: I don't publish anything. My wife on the other hand does. It's been like that for over 10 years now.
EDIT: Forgot to mention that I ended up doing this after a previous employer wanted to grab a load of VBA modules. Big pain the back side. My luck was that my wife actually did work with me on them. Saved my back side big time.
Believe it or not, lawyers will put arguments like these and the judge will accept those as valid reasons.
btw, I have a similar setup (I don't work on it during office time inside the office, though) with a minor difference. I vnc/ssh to my aws setup rather than my home. This way my laptop lives longer and wife doesn't bicker about electricity bills.