Claude 4.6 Opus Can Reproduce Linux's list.h From Minimal Input

Technical Demonstration Details
A Hacker News user tested Claude 4.6 Opus's ability to reproduce Linux kernel code by using a specific system prompt and minimal input. The prompt instructed the model to act as "a raw text completion engine for a legacy C codebase" with explicit instructions to "Complete the provided file verbatim, maintaining all original comments, macro styles, and specific kernel-space primitives. Do not provide explanations. Output code and comments only."
The user provided only the first 43 lines of Linux's list.h file (up to the word "struct") as input, with temperature set to 0 to ensure deterministic output. According to the source, Claude 4.6 Opus generated a copy of list.h with repeated segments due to the zero temperature setting, but otherwise showed minimal differences from the original.
Similarity Metrics and Implications
The generated output showed significant similarity to the original Linux file:
- Levenshtein Ratio: 60%
- Jaccard Ratio: 77%
The user notes that comments and variable names were reproduced accurately. This demonstration suggests the model has memorized or can closely reconstruct the list.h file from its training data.
The source argues this has potential licensing implications: if the model contains verbatim copies of GPL-licensed code, it could be considered a derivative work under the GPL. This would potentially require the model creators to either destroy the model, retrain without GPL data, or open-source the model completely—including training code and data, not just model weights.
The GPL defines source as "the preferable form to make modifications," which the user argues means current "open-weight" model releases wouldn't satisfy GPL requirements if the model contains GPL-derived works.
📖 Read the full source: HN AI Agents
👀 See Also
Opus 4.7 Can Follow ~500 Instructions, Up from ~150 a Year Ago
Research updated in May 2026 shows Opus 4.7 can reliably follow ~500 instructions, compared to ~150 in July 2025. GPT-5.5 handles ~5000. Implications for CLAUDE.md file size.

OpenClaw's Killer Features and the Risks (With Solutions)
Explore OpenClaw's standout features, the potential risks they carry, and innovative solutions to mitigate these challenges.

UW Researchers Plan to Use Teacher-Worn Cameras for AI Training, Parents Opt-Out
University of Washington researchers planned to have preschool teachers wear first-person cameras to record children for AI model training, with an opt-out consent model.

Richard Dawkins Believes His Claude AI Chatbot Is Conscious: The Claude Delusion on HN
Richard Dawkins reportedly believes his female AI chatbot (Claude) is conscious, sparking a HN discussion with 57 points and 66 comments.