🐯虎嗅•Stalecollected in 6m
AI Code Rewrite Challenges LGPL License

💡AI code 'rewrites' threaten open-source licenses—key legal insights for devs.
⚡ 30-Second TL;DR
What Changed
Chardet v7.0 rewritten via Claude Code AI in days
Why It Matters
Could undermine GPL/LGPL ecosystems if AI rewrites legally evade copyleft, harming open-source reciprocity.
What To Do Next
Review LGPL compliance before using AI code gen on licensed libraries like Chardet.
Who should care:Developers & AI Engineers
🧠 Deep Insight
Web-grounded analysis with 9 cited sources.
🔑 Enhanced Key Takeaways
- •Maintainer Dan Blanchard created a detailed rewrite plan using Claude's 'superpowers brainstorming skill', starting with tests in an empty repository while instructing the AI to avoid basing code on LGPL sources[3][7].
- •The new chardet v7.0 codebase shows only 1.29% structural similarity to the original, supporting claims of independence despite maintainer Dan's decade-long familiarity with the project[3][7].
- •Chardet originated as a manual Python port by Mark Pilgrim from Mozilla’s MPL-licensed C++ universalchardet library around 2014 discussions on relicensing[7].
🔮 Future ImplicationsAI analysis grounded in cited sources
AI-assisted rewrites will be rejected as valid relicensing without verifiable clean-room isolation
Copyleft licenses like LGPL will erode if AI relicensing succeeds
Accepting this method allows easy conversion of restrictive licenses to permissive ones by prompting LLMs to rewrite, undermining copyleft enforcement[2].
⏳ Timeline
2014-01
Dan Blanchard first discusses relicensing chardet from LGPL in GitHub issue
2026-02
Maintainer drafts chardet rewrite plan using Claude Code on 2026-02-25
2026-03
Chardet v7.0.0 released with MIT license after AI-assisted rewrite
📎 Sources (9)
Factual claims are grounded in the sources below. Forward-looking analysis is AI-generated interpretation.
- app.daily.dev — Relicensing with AI Assisted Rewrite Swhb5huiw
- tuananh.net — Relicensing with AI Assisted Rewrite
- simonwillison.net — Chardet
- news.ycombinator.com — Item
- GitHub — 327
- fedi.simonwillison.net — 116177606495989457
- simonw.substack.com — Can Coding Agents Relicense Open
- theregister.com — AI Kills Software Licensing
- osnews.com — The Great License Washing Has Begun
📰
Weekly AI Recap
Read this week's curated digest of top AI events →
👉Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: 虎嗅 ↗
