Licensing and provenance
For engineers
Open-source licences, where generated code came from, attribution, licence scanning and company policy for AI coding tools
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which licence is permissive?
Check yourself · 2 of 5
A generated 150-line function has an unusual structure and a comment naming another project. What is the best next step?
Check yourself · 3 of 5
You ship a product using an MIT-licensed package. What must you do?
Check yourself · 4 of 5
A scan of an agent's pull request flags a package under AGPL-3.0-only, used at runtime in your hosted API, and your policy denies AGPL. What do you do?
Check yourself · 5 of 5
Which clause belongs in an AI coding tool policy?
Topics
- Open-source licences engineers must know4 min read · Permissive (MIT, Apache-2.0, BSD) versus copyleft (GPL, AGPL, LGPL, MPL) and what each obliges when code ships
- Tracing where generated code came from4 min read · Verbatim matches with public code, code-referencing filters in assistants, and recording which tool wrote which change
- Attribution, notices and SPDX identifiers4 min read · When licences require notices and copyright headers, NOTICE files, and SPDX identifiers and SBOMs that track them
- Licence scanning before merge4 min read · Tools such as ScanCode and dependency-review checks that flag incompatible licences in an agent's change
- Company policy for AI coding tools4 min read · Approved tools, data retention and training opt-outs, IP indemnity, and rules for what code may be sent to a model
Start here
- Choose a License (opens in a new tab)ArticleFree
Plain summaries of what each common licence permits, requires and forbids.
- SPDX License List (opens in a new tab)DocsFree
The standard short identifiers (MIT, Apache-2.0, GPL-3.0-only) used in headers, manifests and scanners.
- OSI Approved Licenses (Open Source Initiative) (opens in a new tab)DocsFree
The reference list of licences that meet the open source definition, with full texts.
Helps to know first
110 questions · last verified 2026-12