Commit 7eb621e
chore(spdx): normalize headers (code -> MPL-2.0, prose -> CC-BY-4.0) (#150)
## Summary
One-shot SPDX-header normalization across the repo, applying the
canonical licensing convention documented in `README` §Licensing.
- **261 files** received new SPDX headers (no prior header present)
- **14 files** had their `SPDX-License-Identifier` corrected:
- 11 prose files (`.adoc` / `.md`): `MPL-2.0` → `CC-BY-4.0`
- 3 prose files: `PMPL-1.0-or-later` → `CC-BY-4.0` (stragglers missed by
the `97e9666` `PMPL-1.0-or-later` → `MPL-2.0` migration)
## Mapping per file extension
| Extension | License |
|-----------|---------|
| `*.agda`, `*.sh`, `*.toml`, `*.nix`, `*.yml`, `*.yaml`, `Justfile`,
`Containerfile` | `MPL-2.0` |
| `*.md`, `*.adoc`, `*.cff` | `CC-BY-4.0` |
Comment style picked per extension; SPDX block placed after the
`OPTIONS` pragma on `.agda` files and after the shebang on `.sh` files.
Existing identifiers are replaced in place to preserve the comment
shell.
## Background
A previous session attempted this normalization but the changes did not
persist due to cross-session branch flipping interference. This PR was
prepared in a fresh worktree off `origin/main` with a single atomic
commit to avoid that failure mode.
## Test plan
- [ ] CI passes (license-consistency, agda-build)
- [ ] Spot-check a few files render correctly with the new headers
- [ ] No SPDX-header lint complaints
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1880284 commit 7eb621e
275 files changed
Lines changed: 537 additions & 15 deletions
File tree
- arghda-core
- core/skepticisms
- docs
- adjacency
- assets
- bridges
- echo-types
- decisions
- explorations/decoration-bridge
- proof-log
- proofs/agda
- Ordinal
- Brouwer
- Buchholz
- characteristic
- examples
- scripts
- tutorial
- epistemic_erasure
- provenance_debugging
- region_exit_audit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
0 commit comments