RSS GitHub
The Ledger A sourced historical record of AI

AI-Rewritten Code Sparks 'Ship of Theseus' Copyright Debate

A ledger entry in the culture archive, dated 2026-03-05.

Summary

A chardet library maintainer used Claude Code to rewrite an entire LGPL-licensed library and relicensed it as MIT, sparking a "Ship of Theseus" debate about whether AI-rewritten code constitutes a derivative work — a question with massive implications for open-source licensing.

What Happened

In March 2026, a maintainer of the chardet character encoding library used Claude Code to completely rewrite the LGPL-licensed codebase, then relicensed the result as MIT. The original author objected, arguing the AI-rewritten version was still a derivative work. Armin Ronacher (creator of Flask) published an influential essay framing this as a "Ship of Theseus" problem: if every line of code is replaced by AI, is it still the same software? The debate went viral on Hacker News, exposing a fundamental gap in copyright law.

Why It Matters

This case highlighted an emerging pattern: AI tools could be used to "launder" copyleft licenses by rewriting code until no original text remained while preserving functionality. If courts ruled AI-rewritten code is not derivative, it could undermine the entire copyleft licensing model that underpins much of open-source software.

§ How to read the metadata
Landmark
Fundamentally alters the trajectory; 2–5 per year.
Major
Meaningfully shifts the landscape; 2–4 per month.
Notable
Worth documenting; significance can be upgraded later.
Confidence
High = primary sources corroborate. Medium = credible secondary only. Low = provisional. Disputed = credible sources disagree.
Contestation
Uncontested = no formal challenge. Contested = at least one challenge open. Superseded = replaced by a later entry. Unresolved = dispute still open.

References

  1. chardet Issue #327: AI-rewritten relicensing discussion (Sun Mar 01 2026 00:00:00 GMT+0000 (Coordinated Universal Time)) primary document
  2. AI And The Ship of Theseus (Armin Ronacher) (Thu Mar 05 2026 00:00:00 GMT+0000 (Coordinated Universal Time)) commentary archived copy
  3. HN Discussion: AI and the Ship of Theseus (180+ points, 189 comments) (Thu Mar 05 2026 00:00:00 GMT+0000 (Coordinated Universal Time)) commentary

See also

This record last modified .