feat: first-class CC NC/ND license families (CC-BY-NC, CC-BY-NC-SA, CC-BY-NC-ND, CC-BY-ND)#7
Merged
Merged
Conversation
…nt polish Five approved carry-over items from Tasks 1-8 code reviews: - openverse: assert nc-sampling+ stays proprietary (bespoke deed, not a family) - wikimedia-commons: assert versionless cc-by-nc stays unknown (not a false family match) - freesound: reword the licenseVersion guard comment for clarity - europeana: add a CC-BY-NC search() E2E fixture (family + version + denied) - internet-archive: add a CC-BY-NC search() E2E fixture (family + version + denied) Also fixes a stale jamendo comment (straggler grep during full verify) that still described NC/ND deeds as collapsing to 'proprietary' — the code (via the shared mapCcDeedUrl) has mapped them to their real families since 2ff09a8; only the comment was out of date.
4 tasks
…filter, README ND invariant, shared family table, derived license enum
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CC-BY-NC/CC-BY-NC-SA/CC-BY-NC-ND/CC-BY-NDtoLicenseId+LICENSE_FACTS(NC: commercial/AI denied, redistribution →needs-review; ND: verbatim commercialallowed-with-attribution, AI/derivatives denied), extends the rights schema andlexicalRerankerpermissiveness table, and ships sharedmapCcDeedUrlfamily mapping + accVersionForguard helper.proprietary; all 9 hand-rolledlicenseVersionguards migrated toccVersionFor(incl. rijksmuseum for consistency). rightsstatements.org mappings unchanged by design.Fidelity changes, gate stays strict-deny: NC content is still denied for commercial/AI intents (verified E2E in openverse, jamendo, europeana, internet-archive, freesound). The one intended loosening is
CC-BY-ND× commercial →allowed-with-attribution, matching the actual license grant.Changeset included: minor bumps for core + the 7 output-changed providers; TS consumers with exhaustive
switchoverLicenseIdneed arms for the four new ids.Test Plan
pnpm -r typecheck— 20/20 packages cleanpnpm test:run— 37 files, 259/259 tests (was 245 pre-wave; +14 new NC/ND behavioral tests incl. E2E moat assertions)CC-BY || CC-BY-SAguards; every remainingproprietarymapping inspected (ARR / sampling deeds / copyrighted books / InC rightsstatements — all correct)