chore(licence): set repo primary licence to MPL-2.0 (core tech); keep AGPL game-content tier#656
Merged
Merged
Conversation
Per owner decision, the repository's primary licence is MPL-2.0 (with CC-BY-SA-4.0 for prose), matching the estate standard. Resolves the flagged inconsistency where the root LICENSE was AGPL-3.0-or-later while the guix files and CLAUDE.md treated the repo as MPL-2.0. - LICENSE: AGPL-3.0-or-later text -> MPL-2.0 with the dual SPDX header (MPL-2.0 + CC-BY-SA-4.0), identical to the estate-canonical file. - Core-technology metadata/headers AGPL-3.0-or-later -> MPL-2.0: runtime (runtime/Cargo.toml), distribution packages (affinescript-cli, affine-js, affine-vscode, affinescript-tea), editor integrations (vscode + tree-sitter-*), and repo infra (.gitattributes, .gitignore). These were mislabeled AGPL but are "Core Technology" per docs/governance/LICENSING-GUIDE.md. - README licence section updated to the three-tier framing. DELIBERATELY UNCHANGED (documented AGPL "Game Content" tier per LICENSING-GUIDE.md + TRUST.contractile): proposals/idaptik/** (the IDApTIK AGPL game; the contractile forbids modifying it) and game-specific examples/**, plus LICENSES/LICENSE-AGPL-3.0. The repo stays multi-licensed; MPL-2.0 is the primary/headline licence. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015wqBHniW8sHDCqCoEvBe9n
🔍 Hypatia Security ScanFindings: 41 issues detected
View findings[
{
"reason": "Action denoland/setup-deno@v2 needs attention",
"type": "unpinned_action",
"file": "publish-jsr.yml",
"action": "pin_sha",
"rule_module": "workflow_audit",
"severity": "medium"
},
{
"reason": "Issue in instant-sync.yml",
"type": "secret_action_without_presence_gate",
"file": "instant-sync.yml",
"action": "peter-evans/repository-dispatch",
"rule_module": "workflow_audit",
"severity": "high"
},
{
"reason": "Shell execution -- validate input before passing to shell (1 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/affinescript/affinescript/packages/affinescript-cli/mod.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Shell execution -- validate input before passing to shell (2 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/affinescript/affinescript/packages/affine-vscode/mod.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Shell execution -- validate input before passing to shell (1 occurrences, CWE-78)",
"type": "js_exec_sync",
"file": "/home/runner/work/affinescript/affinescript/affinescript-vite/src/affine-plugin-improved.js",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "expect() in hot path (32 occurrences, CWE-754)",
"type": "expect_in_hot_path",
"file": "/home/runner/work/affinescript/affinescript/affinescriptiser/src/codegen/wasm_gen.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "expect() in hot path (29 occurrences, CWE-754)",
"type": "expect_in_hot_path",
"file": "/home/runner/work/affinescript/affinescript/affinescriptiser/src/codegen/affine_gen.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unsafe block -- requires SAFETY comment (2 occurrences, CWE-676)",
"type": "unsafe_block",
"file": "/home/runner/work/affinescript/affinescript/runtime/src/panic.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unsafe block -- requires SAFETY comment (1 occurrences, CWE-676)",
"type": "unsafe_block",
"file": "/home/runner/work/affinescript/affinescript/runtime/src/alloc.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unsafe block -- requires SAFETY comment (3 occurrences, CWE-676)",
"type": "unsafe_block",
"file": "/home/runner/work/affinescript/affinescript/runtime/src/ffi.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
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.
Resolves the flagged licence inconsistency: the root
LICENSEwasAGPL-3.0-or-laterwhile 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 (withCC-BY-SA-4.0for prose), matching the estate standard and the dual-SPDX pattern used in oikosbot.Crucially, this is not a blanket relicence —
docs/governance/LICENSING-GUIDE.mddocuments a deliberate three-tier structure, which I've preserved:proposals/idaptik/**, gameexamples/**)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).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..gitattributes,.gitignoreSPDX → MPL-2.0.README.adoclicence section → three-tier framing (MPL-2.0 core / AGPL game / PMPL foundational).Deliberately NOT changed
proposals/idaptik/**(146 files) — the IDApTIK AGPL game;TRUST.contractileexplicitly forbids modifying IDApTIK without explicit instruction, and relicensing AGPL-derived game code would be improper.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)
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.mdstill frames the primary licence as PMPL/AGPL; it should be reworded to MPL-2.0-primary.🤖 Generated with Claude Code
https://claude.ai/code/session_015wqBHniW8sHDCqCoEvBe9n
Generated by Claude Code