Skip to content

Commit b29fa26

Browse files
hyperpolymathclaude
andcommitted
fix: global AGPL-3.0-or-later → PMPL-1.0-or-later replacement
Comprehensive replacement in all file types (SPDX headers, dual-license, workflow checks, package metadata). Part of global TODO cleanup (2026-03-16). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1e74f99 commit b29fa26

21 files changed

Lines changed: 48 additions & 48 deletions

SONNET-TASKS.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ Everywhere you see author information, use:
5050
### License
5151

5252
The correct license identifier is `PMPL-1.0-or-later`.
53-
NEVER use `AGPL-3.0-or-later`. That is the old license being replaced.
53+
NEVER use `PMPL-1.0-or-later`. That is the old license being replaced.
5454

5555
---
5656

5757
## Task 1: Fix All License Headers (AGPL -> PMPL)
5858

5959
### Files
6060

61-
Every file listed below currently has `AGPL-3.0-or-later` somewhere in it and must be changed to `PMPL-1.0-or-later`.
61+
Every file listed below currently has `PMPL-1.0-or-later` somewhere in it and must be changed to `PMPL-1.0-or-later`.
6262

6363
**Category A — Source files (SPDX header line 1 or 2):**
6464

@@ -85,16 +85,16 @@ Every file listed below currently has `AGPL-3.0-or-later` somewhere in it and mu
8585

8686
| File | Line | Current |
8787
|------|------|---------|
88-
| `Cargo.toml` (root) | 7 | `license = "AGPL-3.0-or-later"` |
89-
| `src/contract/Cargo.toml` | 10 | `license = "AGPL-3.0-or-later"` |
88+
| `Cargo.toml` (root) | 7 | `license = "PMPL-1.0-or-later"` |
89+
| `src/contract/Cargo.toml` | 10 | `license = "PMPL-1.0-or-later"` |
9090

9191
Change both to: `license = "PMPL-1.0-or-later"`
9292

9393
**Category C — Elixir mix.exs `licenses` field:**
9494

9595
| File | Line | Current |
9696
|------|------|---------|
97-
| `src/arbiter/mix.exs` | 35 | `licenses: ["AGPL-3.0-or-later"]` |
97+
| `src/arbiter/mix.exs` | 35 | `licenses: ["PMPL-1.0-or-later"]` |
9898

9999
Change to: `licenses: ["PMPL-1.0-or-later"]`
100100

@@ -108,12 +108,12 @@ Change the echoed string to: `# SPDX-License-Identifier: PMPL-1.0-or-later`
108108

109109
**Category E — Template files (these generate files for OTHER repos, also must be PMPL):**
110110

111-
Every file under `templates/` that contains `AGPL-3.0-or-later` must have that string replaced with `PMPL-1.0-or-later`. The full list:
111+
Every file under `templates/` that contains `PMPL-1.0-or-later` must have that string replaced with `PMPL-1.0-or-later`. The full list:
112112

113113
- `templates/rsr-metadata.ncl` (line 2 SPDX header, line 14 default value)
114114
- `templates/rsr-antipattern.yml.template` (line 2)
115115
- `templates/pre-commit.template` (line 3)
116-
- `templates/justfile-hooks.template` (line 3 — change `AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5` to `PMPL-1.0-or-later`)
116+
- `templates/justfile-hooks.template` (line 3 — change `PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5` to `PMPL-1.0-or-later`)
117117
- `templates/dc.xml.template` (lines 5, 32, 53)
118118
- `templates/LICENSE.txt.template` (lines 1, 5, 58, 63 — entire file references AGPL, rewrite to reference PMPL)
119119
- `templates/STATE-zoterho-template.scm.template` (lines 2, 91)
@@ -134,21 +134,21 @@ Every file under `templates/` that contains `AGPL-3.0-or-later` must have that s
134134

135135
### Problem
136136

137-
All these files use the old AGPL-3.0-or-later license. The project license is PMPL-1.0-or-later. The LICENSE file in the repo root already has the correct PMPL text. But the source files, Cargo.toml fields, mix.exs, templates, and hooks still reference AGPL.
137+
All these files use the old PMPL-1.0-or-later license. The project license is PMPL-1.0-or-later. The LICENSE file in the repo root already has the correct PMPL text. But the source files, Cargo.toml fields, mix.exs, templates, and hooks still reference AGPL.
138138

139139
### What to Do
140140

141-
1. In every file listed in Categories A-E above, replace `AGPL-3.0-or-later` with `PMPL-1.0-or-later`.
142-
2. For dual-license strings like `AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5`, replace with just `PMPL-1.0-or-later` (PMPL already incorporates Palimpsest concepts).
143-
3. For `AGPL-3.0-or-later AND Palimpsest-0.4`, replace with `PMPL-1.0-or-later`.
141+
1. In every file listed in Categories A-E above, replace `PMPL-1.0-or-later` with `PMPL-1.0-or-later`.
142+
2. For dual-license strings like `PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5`, replace with just `PMPL-1.0-or-later` (PMPL already incorporates Palimpsest concepts).
143+
3. For `PMPL-1.0-or-later AND Palimpsest-0.4`, replace with `PMPL-1.0-or-later`.
144144
4. In template files: also fix any human-readable text that says "AGPL" to say "PMPL" or "Palimpsest-MPL".
145145
5. Do NOT touch the WordPress template GPL headers (`templates/wordpress/style.css.template`, `templates/wordpress/functions.php.template`) - those correctly use `GPL-3.0-or-later` because WordPress requires GPL.
146146

147147
### Verification
148148

149149
```bash
150150
# Must return ZERO results (excluding WordPress GPL files and this SONNET-TASKS.md file):
151-
grep -r "AGPL-3.0-or-later" --include="*.rs" --include="*.toml" --include="*.ex" --include="*.exs" --include="*.sh" --include="*.ncl" --include="*.md" --include="*.yml" --include="*.template" . | grep -v "wordpress/" | grep -v "SONNET-TASKS"
151+
grep -r "PMPL-1.0-or-later" --include="*.rs" --include="*.toml" --include="*.ex" --include="*.exs" --include="*.sh" --include="*.ncl" --include="*.md" --include="*.yml" --include="*.template" . | grep -v "wordpress/" | grep -v "SONNET-TASKS"
152152

153153
# Must still compile:
154154
cargo build --workspace
@@ -488,7 +488,7 @@ Rewrite `.machine_readable/STATE.scm` with accurate data. Keep the SPDX header (
488488
489489
(blockers-and-issues
490490
(critical
491-
("License headers use AGPL-3.0-or-later instead of PMPL-1.0-or-later"))
491+
("License headers use PMPL-1.0-or-later instead of PMPL-1.0-or-later"))
492492
(high
493493
("SLM evaluator is a placeholder returning hardcoded results")
494494
("Fuzzer tests generic string ops, not project code"))

docs/DIRECTORY_STRUCTURE.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ See link:docs/[docs/] for full documentation.
125125
126126
== License
127127
128-
AGPL-3.0-or-later OR Palimpsest-0.5
128+
PMPL-1.0-or-later OR Palimpsest-0.5
129129
----
130130

131131
== Required Directories

docs/ZOTERHO_INTEGRATION.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ let createHandoff = (validationResults: array<(string, Types.validationResult)>)
287287
(version . "2.0.0")
288288
(description . "Neurosymbolic Research Validator for Zotero")
289289
(author . "Jonathan D.A. Jewell")
290-
(license . "AGPL-3.0-or-later"))
290+
(license . "PMPL-1.0-or-later"))
291291
292292
(zotero
293293
(min-version . "7.0")

scripts/mass-apply-templates.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ apply_state_scm() {
257257
(slug . "$project_slug")
258258
(version . "0.1.0")
259259
(author . "$AUTHOR")
260-
(license . "AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5")
260+
(license . "PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5")
261261
(created . "$YEAR"))
262262
263263
(rsr
@@ -305,7 +305,7 @@ authors:
305305
given-names: "Jonathan D.A."
306306
email: "$AUTHOR_EMAIL"
307307
orcid: "https://orcid.org/0000-0000-0000-0000"
308-
license: "AGPL-3.0-or-later"
308+
license: "PMPL-1.0-or-later"
309309
repository-code: "https://github.com/hyperpolymath/$project_slug"
310310
keywords:
311311
- RSR
@@ -335,7 +335,7 @@ apply_codemeta() {
335335
"name": "$project_name",
336336
"description": "$description",
337337
"version": "0.1.0",
338-
"license": "https://spdx.org/licenses/AGPL-3.0-or-later.html",
338+
"license": "https://spdx.org/licenses/PMPL-1.0-or-later.html",
339339
"codeRepository": "https://github.com/hyperpolymath/$project_slug",
340340
"author": [{
341341
"@type": "Person",

templates/CITATION.cff.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CITATION.cff - Citation File Format for {{PROJECT_NAME}}
22
# https://citation-file-format.github.io/
3-
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5
3+
# SPDX-License-Identifier: PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5
44
#
55
# Pre-formatted citations available in docs/CITATIONS.adoc
66

@@ -20,7 +20,7 @@ keywords:
2020
- RSR
2121
- rhodium-standard
2222
- {{DOMAIN}}
23-
license: "AGPL-3.0-or-later"
23+
license: "PMPL-1.0-or-later"
2424
license-url: "https://github.com/hyperpolymath/{{PROJECT_NAME}}/blob/main/LICENSE.txt"
2525
version: "{{VERSION}}"
2626
date-released: "{{RELEASE_DATE}}"

templates/CITATIONS.adoc.template

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= {{PROJECT_NAME}} - Citation Guide
22
:toc:
33
:sectnums:
4-
// SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5
4+
// SPDX-License-Identifier: PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5
55

66
== Quick Copy Citations
77

@@ -15,7 +15,7 @@
1515
year = {{YEAR}},
1616
version = {{{VERSION}}},
1717
url = {https://github.com/hyperpolymath/{{PROJECT_NAME}}},
18-
license = {AGPL-3.0-or-later},
18+
license = {PMPL-1.0-or-later},
1919
note = {RSR-compliant software}
2020
}
2121
----
@@ -127,7 +127,7 @@ For project websites, include these Open Graph and Twitter Card tags:
127127
<meta name="DC.creator" content="Jonathan D.A. Jewell">
128128
<meta name="DC.date" content="{{YEAR}}">
129129
<meta name="DC.type" content="Software">
130-
<meta name="DC.rights" content="AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5">
130+
<meta name="DC.rights" content="PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5">
131131
<meta name="DC.identifier" content="https://github.com/hyperpolymath/{{PROJECT_NAME}}">
132132

133133
<!-- Schema.org JSON-LD -->
@@ -143,7 +143,7 @@ For project websites, include these Open Graph and Twitter Card tags:
143143
"email": "hyperpolymath@proton.me"
144144
},
145145
"codeRepository": "https://github.com/hyperpolymath/{{PROJECT_NAME}}",
146-
"license": "https://spdx.org/licenses/AGPL-3.0-or-later.html",
146+
"license": "https://spdx.org/licenses/PMPL-1.0-or-later.html",
147147
"version": "{{VERSION}}"
148148
}
149149
</script>
@@ -177,15 +177,15 @@ Use **Computer Program** or **Software** type in Zotero:
177177
|GitHub
178178

179179
|Rights
180-
|AGPL-3.0-or-later
180+
|PMPL-1.0-or-later
181181
|===
182182

183183
=== Zotero Web Connector
184184
The GitHub repository includes proper `<meta>` tags for Zotero's web connector to auto-detect citation information.
185185

186186
== License for Citations
187187

188-
All citation formats in this document are provided under CC0 (public domain) for ease of use. The software itself remains under AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5.
188+
All citation formats in this document are provided under CC0 (public domain) for ease of use. The software itself remains under PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5.
189189

190190
== See Also
191191

templates/CONTRIBUTING.md.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ When filing issues:
7676

7777
## License
7878

79-
By contributing, you agree that your contributions will be licensed under the AGPL-3.0-or-later license.
79+
By contributing, you agree that your contributions will be licensed under the PMPL-1.0-or-later license.

templates/LICENSE.txt.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
SPDX-License-Identifier: AGPL-3.0-or-later AND Palimpsest-0.4
1+
SPDX-License-Identifier: PMPL-1.0-or-later AND Palimpsest-0.4
22
SPDX-FileCopyrightText: 2024-2025 Jonathan D.A. Jewell
33

44
================================================================================
5-
DUAL LICENSE: AGPL-3.0-or-later AND PALIMPSEST LICENSE v0.4
5+
DUAL LICENSE: PMPL-1.0-or-later AND PALIMPSEST LICENSE v0.4
66
================================================================================
77

88
This project is dual-licensed. You may choose to use, copy, modify, and
@@ -55,12 +55,12 @@ CHOOSING YOUR LICENSE
5555
--------------------------------------------------------------------------------
5656

5757
You may choose to use this work under:
58-
1. AGPL-3.0-or-later only (copyleft, network use triggers sharing)
58+
1. PMPL-1.0-or-later only (copyleft, network use triggers sharing)
5959
2. Palimpsest License v0.4 only (enhanced protections for creative work)
6060
3. Both licenses simultaneously (maximum compatibility and protection)
6161

6262
For derivative works:
63-
- Network services: AGPL-3.0-or-later applies
63+
- Network services: PMPL-1.0-or-later applies
6464
- Creative/narrative content: Palimpsest License recommended
6565
- Mixed projects: Dual licensing provides flexibility
6666

templates/STATE-zoterho-template.scm.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;;; STATE.scm - Project State Checkpoint for zoterho-template
2-
;;; SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5
2+
;;; SPDX-License-Identifier: PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5
33
;;; Generated: {{GENERATED_DATE}}
44

55
(define-module (zoterho-template state)
@@ -88,7 +88,7 @@
8888
(version . "{{EXTENSION_VERSION}}")
8989
(description . "{{EXTENSION_DESCRIPTION}}")
9090
(author . "Jonathan D.A. Jewell")
91-
(license . "AGPL-3.0-or-later"))
91+
(license . "PMPL-1.0-or-later"))
9292

9393
(zotero
9494
(min-version . "7.0")

templates/aibdp.json.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
"provenance": {
4747
"repository": "https://github.com/hyperpolymath/{{PROJECT_NAME}}",
48-
"license": "AGPL-3.0-or-later OR LicenseRef-Palimpsest-0.5",
48+
"license": "PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5",
4949
"citation": "CITATION.cff"
5050
},
5151
"extensions": {

0 commit comments

Comments
 (0)