Commit 1f0d4eb
chore(licence): set repo primary licence to MPL-2.0 (core tech); keep AGPL game-content tier (#656)
Resolves the flagged licence inconsistency: the root `LICENSE` was
`AGPL-3.0-or-later` while the guix files and CLAUDE.md treat the repo as
MPL-2.0. Per owner decision, **the repository's primary licence is now
MPL-2.0** (with `CC-BY-SA-4.0` for prose), matching the estate standard
and the dual-SPDX pattern used in oikosbot.
Crucially, this is **not** a blanket relicence —
`docs/governance/LICENSING-GUIDE.md` documents a deliberate
**three-tier** structure, which I've preserved:
| Tier | Licence | This PR |
|---|---|---|
| Core Technology (compiler, runtime, stdlib, tooling, editors) |
**MPL-2.0** | set to MPL-2.0 (was mislabeled AGPL in places) |
| Game Content (`proposals/idaptik/**`, game `examples/**`) |
AGPL-3.0-or-later | **untouched** |
| Foundational (Gossamer, Burble) | PMPL-1.0 / MPL-2.0 | unchanged |
## Changed (Core Technology → MPL-2.0)
- `LICENSE`: AGPL-3.0-or-later text → MPL-2.0 with dual SPDX header
(`MPL-2.0` + `CC-BY-SA-4.0`).
- Distribution metadata: `runtime/Cargo.toml`,
`packages/{affinescript-cli,affine-js,affine-vscode}`,
`affinescript-tea`,
`editors/{vscode,tree-sitter-affinescript,tree-sitter-rescript}` licence
fields/headers AGPL → MPL-2.0.
- Repo infra: `.gitattributes`, `.gitignore` SPDX → MPL-2.0.
- `README.adoc` licence section → three-tier framing (MPL-2.0 core /
AGPL game / PMPL foundational).
## Deliberately NOT changed
- **`proposals/idaptik/**`** (146 files) — the IDApTIK AGPL game;
`TRUST.contractile` explicitly forbids modifying IDApTIK without
explicit instruction, and relicensing AGPL-derived game code would be
improper.
- **game `examples/**`** — documented AGPL "Game Content" per the
licensing guide.
- **`LICENSES/LICENSE-AGPL-3.0`** — retained (the AGPL tier still
exists).
## Follow-ups (flagged, not done here)
- A handful of clearly-core-tech *source* SPDX headers (e.g.
`lib/version.ml`, `bin/dune`, `js/dune`, `tests/**`) are still
AGPL-labeled; reconciling those to MPL-2.0 is a tidy-up that needs
per-file care against the three-tier guide.
- `docs/governance/LICENSING-GUIDE.md` still frames the *primary*
licence as PMPL/AGPL; it should be reworded to MPL-2.0-primary.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_015wqBHniW8sHDCqCoEvBe9n
---
_Generated by [Claude
Code](https://claude.ai/code/session_015wqBHniW8sHDCqCoEvBe9n)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5ccddff commit 1f0d4eb
17 files changed
Lines changed: 402 additions & 686 deletions
File tree
- affinescript-tea
- editors
- tree-sitter-affinescript
- tree-sitter-rescript
- vscode
- src
- test
- suite
- packages
- affine-js
- affine-vscode
- affinescript-cli
- runtime
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
676 | | - | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
677 | 679 | | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
683 | 685 | | |
684 | 686 | | |
685 | 687 | | |
686 | | - | |
687 | | - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
688 | 691 | | |
689 | 692 | | |
690 | 693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments