I'm a freelance software developer and I'm in a weird dispute with a client about code ownership.
Background: I built a custom web application for a client. Contract says I retain copyright to the code and they get an exclusive license to use it. Standard freelance developer setup.
I used GitHub Copilot extensively while writing the code - probably 30-40% of the codebase was generated or heavily assisted by Copilot. I'd write a comment describing what I needed, and Copilot would generate the function. I'd review it, modify it, integrate it. Normal Copilot usage.
Now the client wants to acquire the company and the acquirer is doing IP due diligence. They discovered I used Copilot and are claiming:
- I don't actually own the copyright because AI-generated content isn't copyrightable
- GitHub/Microsoft might own the code because Copilot generated it
- The code might be derived from GPL-licensed code that Copilot was trained on
- They want me to rewrite all the Copilot-assisted code or they're walking away from the deal
This seems insane to me. Copilot is just a tool, like an IDE or Stack Overflow. Do they actually have a point here legally? Am I going to have to rewrite 40% of a codebase I spent 6 months building?