Skip to content

Commit b2313ca

Browse files
license: canonicalize to MPL-2.0 (code) + CC-BY-SA-4.0 (docs), drop PMPL (#33)
Replaces the inconsistent, partially-migrated Palimpsest/PMPL licensing with one canonical rule, wired up the REUSE way and CI-enforced against slippage. - Root LICENSE: canonical MPL-2.0 text (so GitHub community-health detects MPL-2.0). - LICENSES/MPL-2.0.txt + LICENSES/CC-BY-SA-4.0.txt (verbatim SPDX texts). - Per-file SPDX by type: code/config/CI/.a2ml = MPL-2.0; docs (*.adoc/*.md, docs/**) = CC-BY-SA-4.0 (~120 files). - REUSE dep5: placeholders substituted, docs->CC-BY-SA-4.0 stanza, rule documented. - Killed PMPL reset vectors: removed k9 add-license curl-fetch of the PMPL LICENSE; Trustfile/Mustfile/contractile.just now affirm MPL-2.0 instead of requiring 'PMPL'; rhodibot text fixed. - Anti-slippage CI rules: must-no-pmpl, must-licenses-present, must-docs-cc-by-sa. - Rule declared in LICENSE, dep5, README, 0-AI-MANIFEST.a2ml, CLAUDE.md, and new ADR docs/decisions/0002-licensing-policy.adoc. - Removed Palimpsest legal exhibits; moved main.zig SPDX header to top (SD009). Claude-Session: https://claude.ai/code/session_01Y2MWTAqX2x7goVJzjFB4j5 Co-authored-by: Claude <noreply@anthropic.com>
1 parent d5f94ed commit b2313ca

137 files changed

Lines changed: 895 additions & 341 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
12
# wokelangiser — Project Instructions
23

34
## Overview
@@ -27,7 +28,7 @@ cargo test
2728
## Key Design Decisions
2829

2930
- Follows hyperpolymath ABI-FFI standard (Idris2 ABI, Zig FFI)
30-
- MPL-2.0 license
31+
- Licensing: MPL-2.0 (code/config/CI) + CC-BY-SA-4.0 (documentation/prose); both texts in LICENSES/, mapped in .machine_readable/compliance/reuse/dep5
3132
- RSR (Rhodium Standard Repository) template
3233
- Author: Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3334

.devcontainer/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: MPL-2.0
1+
// SPDX-License-Identifier: CC-BY-SA-4.0
22
= Dev Container Usage
33
:author: Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
44

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
12
# Code of Conduct
23

34
<!--

.github/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
12
# Clone the repository
23
git clone https://github.com/hyperpolymath/wokelangiser.git
34
cd wokelangiser

.github/DIRECTORY.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
// SPDX-License-Identifier: CC-BY-SA-4.0
12
= .github Pillar

.github/GOVERNANCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- SPDX-License-Identifier: MPL-2.0 -->
1+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
22

33
# Project Governance
44

.github/SECURITY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
12
# Security Policy
23

34
<!--

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- SPDX-License-Identifier: MPL-2.0 -->
1+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
22
<!-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk> -->
33
<!-- Authoritative source: docs/AI-CONVENTIONS.md -->
44

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- SPDX-License-Identifier: MPL-2.0 -->
1+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
22
## Summary
33

44
<!-- Briefly describe what this PR does and why. Link to related issues with "Closes #N". -->

.github/workflows/rhodibot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Reads root-hygiene rules and auto-fixes what it can:
55
# - Delete banned files (AI.djot, duplicate CONTRIBUTING.adoc, stale snapshots)
66
# - Rename misnamed files (AI.a2ml → 0-AI-MANIFEST.a2ml)
7-
# - Fix SPDX headers (AGPL → PMPL in dotfiles)
7+
# - Fix SPDX headers (AGPL → MPL-2.0 in dotfiles)
88
# - Create missing required files (SECURITY.md, CONTRIBUTING.md)
99
# - Report unfixable issues as PR comments
1010
#
@@ -88,15 +88,15 @@ jobs:
8888
for dotfile in .gitignore .gitattributes .editorconfig; do
8989
if [ -f "$dotfile" ] && grep -q "AGPL-3.0" "$dotfile" 2>/dev/null; then
9090
sed -i 's/AGPL-3.0-or-later/MPL-2.0/g; s/AGPL-3.0/MPL-2.0/g' "$dotfile"
91-
FIXES="$FIXES\n- Fixed SPDX header in \`$dotfile\` (AGPL → PMPL)"
91+
FIXES="$FIXES\n- Fixed SPDX header in \`$dotfile\` (AGPL → MPL-2.0)"
9292
CHANGED=true
9393
fi
9494
done
9595
9696
# --- 5. Create missing required files ---
9797
if [ ! -f "SECURITY.md" ]; then
9898
cat > SECURITY.md << 'SECEOF'
99-
<!-- SPDX-License-Identifier: MPL-2.0 -->
99+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
100100
# Security Policy
101101
102102
## Reporting a Vulnerability
@@ -116,7 +116,7 @@ jobs:
116116
117117
if [ ! -f "CONTRIBUTING.md" ]; then
118118
cat > CONTRIBUTING.md << 'CONTEOF'
119-
<!-- SPDX-License-Identifier: MPL-2.0 -->
119+
<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
120120
# Contributing
121121
122122
1. Fork the repository

0 commit comments

Comments
 (0)