[AI Minor News Flash] Is AI Turning Code into the ‘Ship of Theseus’? Re-implementing from Tests to Override Licenses
📰 News Overview
- Rise of Automated Re-Implementation: With just an API and test suite, AI agents can now rewrite existing libraries from the ground up.
- License ‘Cleansing’: The current maintainer of the popular Python library
chardetused AI to overhaul the code entirely, disliking the LGPL license and re-releasing it under MIT. - Copyright Controversy: The original author claims it’s a derivative work, while the AI version is argued to be entirely different, achieving optimizations and multi-core support.
💡 Key Points
- Tests as Specifications: By training AI not on the code itself but on its behavior (tests), re-implementations are exploiting a gray area in copyright.
- Threat to GPL: Copyleft licenses rely on code duplication, but AI’s ability to “rewrite the internals” could invalidate that binding force.
- Double Standards Among Companies: Companies like Vercel may re-implement others’ tools (like bash) with AI, yet resist when their own tools (like Next.js) face the same fate, highlighting a contradiction.
🦈 Shark’s Insight (Curator’s Perspective)
The use of AI as a “License-Cleaning Machine” is finally hitting the mainstream! In the case of chardet, it’s shocking to see how much the code has been transformed to the point where even similarity detection tools like JPlag deem it “different.” The functionality remains, but the code is entirely renewed—truly a software version of the “Ship of Theseus”! This isn’t mere copying; it’s AI building a new engine from the “blueprint” of the test suite. The future where existing GPL software is reincarnated as MIT or proprietary software is closer than it seems!
🚀 What’s Next?
- Increased Importance of Trademarks: As it becomes harder to protect code through licenses, relying on trademarks like software names may become the norm.
- Surge of ‘Slopforks’: The rise of AI-generated and forked “slopforks” could accelerate legal disputes and community splits within the OSS realm.
- Re-definition of Copyright Law: Courts will soon need to determine whether AI-generated code with minimal human input can be granted copyright.
💬 Shark’s Takeaway
Copyright for code is now shark bait! Moving forward, “what you wrote” will take a backseat to “brand and trust” becoming the real currency! 🦈🔥
📚 Glossary
-
Ship of Theseus: A philosophical paradox questioning whether an object that has had all its components replaced remains fundamentally the same object.
-
LGPL/MIT License: LGPL is a copyleft license with restrictions, while MIT is highly permissive. This change in licensing is at the heart of the current uproar.
-
Slopfork: A coined term referring to low-quality, or legally dubious software forks generated automatically using AI (like Clanker).
-
Source: AI and the Ship of Theseus