Sub topic 2
Why human authorship matters
This chapter assumes you know what copyright is at a basic level, as covered in the previous chapter. It also assumes you have used an AI coding assistant and reviewed code in Git. It is general education, not legal advice. The law differs by country and is still changing.
The core idea
Copyright law exists to reward creative expression by people. In most legal systems, a work is protected only if a human being authored it. That rule predates AI. Courts have applied it to photographs taken by a monkey and to works claimed to come from non-human sources.
For software, this means protection attaches to the choices a person made, not to the mere existence of working code.
What counts as authorship
Authorship usually requires two things:
- Originality. The work comes from the author and shows at least a minimal amount of creativity.
- A human creator. A person made the creative choices, such as selecting, arranging or shaping the expression.
Ideas, methods and functional constraints are not protected by themselves. Copyright covers how you express a solution, not the solution. If only one sensible way exists to write a line, that line has little claim to protection.
Generated versus assisted
The key distinction is how much of the creative decision-making a human performed.
| Situation | Human role | Likely effect on protection |
|---|---|---|
| Short prompt, output accepted unchanged | Described a goal | Weak. The tool made the expressive choices. |
| Detailed prompt, output accepted unchanged | Gave instructions | Uncertain. Offices and courts have so far been skeptical that prompts alone give control over the expression. |
| Output edited, restructured or rewritten | Selected and changed expression | Stronger for the human contributions. |
| Human-written code with AI autocomplete of small pieces | Wrote the design and most of the text | Strong for the whole, though small AI-written fragments may not be protected themselves. |
Protection, where it exists, tends to follow the human contribution. A developer who rewrites a draft by hand, designs the architecture, and arranges many parts into a larger program can claim authorship of those choices.
Why this matters for developers
If a file is purely machine-generated, nobody may hold copyright in it. Three practical consequences follow:
- Weaker enforcement. You may be unable to stop others from copying unprotected code.
- Unclear licensing. A license grants permission under a copyright. If no copyright exists in a portion, the license text may have nothing to attach to for that portion.
- Messy mixed files. Human-authored and machine-generated parts can sit side by side with no marker separating them.
Where the rule has been tested
In the US, the Copyright Office has said it will register works only to the extent a human authored them, and it requires applicants to disclose AI-generated material. A federal appeals court affirmed in Thaler v. Perlmutter (2025) that a work with no human author cannot be registered. These positions concern authorship, not whether you may use the code. You can usually still use machine-generated code. The question is whether you can exclude others from it.
Other countries treat this differently. The next chapters compare them.
A practical habit
Because protection follows human contribution, keep evidence of it. Note in commit messages or pull requests what you designed, what you rewrote and what you accepted as generated. A later chapter covers provenance records in detail.
Exercise
A teammate pastes a one-sentence prompt into an assistant, commits the 80-line result without changes, and adds an MIT license header. A week later, a competitor copies the file. Why might the team struggle to enforce its copyright, and what could have strengthened the claim?
Show answer
The assistant, not a person, made the expressive choices, so the file may have no human author and no copyright to enforce. The header does not create protection. The claim would be stronger if a person had substantially rewritten, restructured or arranged the code, and if the team had recorded those human contributions in the commit history.