Adopt EUPL-1.2: canonical LICENSE, SPDX headers on all Python files, CI gate - #17
Open
sumerjohal wants to merge 2 commits into
Open
sumerjohal wants to merge 2 commits into
sumerjohal wants to merge 2 commits into
Conversation
The previous LICENSE was the first 134 lines of MPL-2.0, cut mid-sentence in section 2.4 -- the copyleft core (section 3) and Exhibits were absent, and GitHub reported the repo as NOASSERTION. Beyond the truncation, MPL and GPL both trigger only on distribution; AR2 nodes are operated as services, so a closed modified fork run as a service owed nothing. EUPL-1.2 defines Distribution/Communication to include "providing access to its essential functionalities", so the copyleft binds hosted forks too, and the license carries equal force in 23 EU languages -- the operating environment of the node network (EUDR, EUDI, dataspaces). Mechanized per the lessons ledger: scripts/license_check.sh pins LICENSE to the canonical text by sha256 and requires the SPDX header on every tracked Python file; ci.yml gates on it. Lesson recorded under license-posture-unchecked. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Aug 27, 2026
Contributor
Author
|
The failing |
Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Why
LICENSEwas silently truncated: exactly the first 134 lines of MPL-2.0, ending mid-sentence in §2.4. The copyleft core (§3), termination terms and Exhibits were absent, and GitHub reported the repository asNOASSERTION— the first signal any would-be forker checks.What
LICENSEreplaced with the canonical EUPL-1.2 English text (byte-for-byte, sha256-pinned).SPDX-License-Identifier: EUPL-1.2) on all 45 tracked Python files — one uniform rule, no exceptions.scripts/license_check.sh: hash-verifies the LICENSE and greps every tracked.pyfor the header. Wired intoci.ymlas a gating job, so a future truncation or unheadered file fails loud instead of silently..stomata/lessons.jsonunderlicense-posture-unchecked(the pinned harness predatesstomata lesson add, so the ledger was edited directly in its existing schema).Before merging
ar2-hubandpancake(pancake also fixes the GOVERNANCE.md/README "Apache 2.0" declarations that contradicted its missing LICENSE).Lint (
ruff check app|migration --ignore E402) passes locally with the headers in place.