tldraw issue: Move tests to closed source repo

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Comprehensive test suites now let AI coding agents clone open source libraries, so commercial open source projects are pulling tests private to protect their business.

Read this as

Tldraw, a company making a collaborative drawing library, is moving its tests out of its public GitHub repository into a private one. The reason: its tests are detailed enough that someone could rebuild the whole library from scratch, possibly in another language, using AI. The move follows Cloudflare porting Next.js to Vite in a week using AI agents. Tldraw also joked about translating its code to Traditional Chinese to confuse AI, and notes it was never fully open source anyway, commercial use requires a paid license.

Tldraw is moving its test suite to a private repository after concluding that AI coding agents can rebuild an entire library from its tests alone, citing Cloudflare's week-long AI-driven port of Next.js to Vite as precedent. For founders running source-available businesses, tests are now treated as intellectual property. Tldraw's custom license already requires commercial payment for production use, so this is a defensive tightening, not a license change.

Willison argues a comprehensive test suite is sufficient specification to reimplement an open source library from scratch, potentially in a different language, using AI agents. Tldraw responded by moving its tests to a closed source repo, referencing Cloudflare's Vinext project that ported Next.js to Vite in a week with AI. Tldraw's license is source-available, not OSI open source: commercial production use requires a paid license.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

tldraw Cloudflare Next.js Vite GitHub

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading

datasette-charts 0.4a0

Datasette now lets developers add custom chart types more easily, expanding visualisation options for data projects.