If you use AI-generated code, you currently cannot claim copyright on it in the US. If you fail to disclose/disclaim exactly which parts were not written by a human, you forfeit your copyright claim on *the entire codebase*.

This means copyright notices and even licenses folks are putting on their vibe-coded GitHub repos are unenforceable. The AI-generated code, and possibly the whole project, becomes public domain.

Source: https://www.congress.gov/crs_external_products/LSB/PDF/LSB10922/LSB10922.8.pdf

It'll be interesting to see what happens when a company pisses off an employee to the point where that person creates a public repo containing all the company's AI-generated code. I guarantee what's AI-generated and what's human-written isn't called out anywhere in the code, meaning the entire codebase becomes public domain.

While the company may have recourse based on the employment agreement (which varies in enforceability by state), I doubt there'd be any on the basis of copyright.

FWIW I'm not a lawyer and I'm not recommending that you do this. 😄 Even if companies have no legal standing on copyright, their legal team will try it. It *will* cost you money.

But man, oh man, I'm gonna have popcorn ready for when someone inevitably pulls this move.

@jamie the corporations own the Supreme Court of the US who will cheerfully make up new law out of whatever Clarence Thomas shat that morning.

@emma Oh yeah, shit's gonna get weird for a while and I think a lot of legislation going in during this administration as well as recent SCOTUS cases will need to be revisited. Ideally after also instituting laws around conflicts of interest with government officials that don't carve out exceptions for, oh I dunno, members of Congress, for example.

Basically, I want the different branches of the government to fight each other again rather than the different parties.

@jamie the US needs a new constitution, but the right wingers, the religious gooners, and the billionaires should have no say in it.