Hacker News

Favorites Setup
Comment by AshleysBrain | original | All AI-generated code should be Open Source
[−]AshleysBrain · 2026-11-15 Sun 15:58 UTC · link
Related question I just thought of reading this: if you are an employee at a company that you know 100% AI generates its code, and AI-generated code is not copyrightable... is that employee legally allowed to leave the company taking a full copy of the source code, and set it up as their own business?
[−]singpolyma3 · 2026-11-15 Sun 16:01 UTC · link
I doubt anyone is 100% AI generating anything
[−]dns_snek · 2026-11-15 Sun 16:14 UTC · link
Your employment contract most likely classifies it as a trade secret.
[−]the-wouter · 2026-11-15 Sun 16:21 UTC · link
Probably not. Even if the code is not copyrightable, I would assume it's still considered a trade secret.