Skip to content

Commit 38a4bab

Browse files
chore(licence): add SPDX headers to headerless files (G39) (#50)
## Summary - Adds `SPDX-License-Identifier: MPL-2.0` + copyright birth-headers to the 3 files in this repo that had none: `src/lib.rs`, `src/main.rs`, `src/interface/ffi/src/main.zig` (13 total `.rs`/`.zig` files, 10 already had headers). - No existing header touched. Mirrors Axiom.jl's already-merged G17. ## Owner-approval-gated This falls under the estate's no-automated-licence-edits policy (neural agents don't bulk-edit SPDX). This PR is the narrow, sanctioned exception: birth-headers on headerless files only, one license already dominant repo-wide, authorship pre-verified via `git log` (both files trace solely to the owner, no third-party code). Left as **draft** — please review before merge; not armed for auto-merge. ## Test plan - [x] `git log --format='%an' -- <files>` — sole author is the owner - [x] Confirmed no other header in either file was modified - [ ] Owner review/approval 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 67fea44 commit 38a4bab

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/interface/ffi/src/main.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
//
14
// Julianiser FFI Implementation
25
//
36
// Implements the C-compatible FFI declared in src/interface/abi/Foreign.idr.

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
14
#![allow(
25
dead_code,
36
clippy::too_many_arguments,

src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
14
#![allow(
25
dead_code,
36
clippy::too_many_arguments,

0 commit comments

Comments
 (0)