Skip to content

Commit 7e74f07

Browse files
committed
docs: add LEGAL.md licensing overview
1 parent 7f4f6b7 commit 7e74f07

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

LEGAL.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!-- SPDX-License-Identifier: Apache-2.0 OR MIND-UCAL-1.0 -->
2+
3+
# Legal Overview
4+
5+
This document explains how licensing works in this repository. It is a summary
6+
only; if anything here conflicts with the full license texts, those texts
7+
control (`LICENSE-APACHE`, `LICENSE-MIND-UCAL`).
8+
9+
## 1) Code
10+
11+
- Applies to: Rust source, build scripts, shell/Python/JS tooling, binaries, Makefiles, configs used to build/run the code.
12+
- License: **Apache License, Version 2.0** only.
13+
See `LICENSE-APACHE`.
14+
- SPDX for code files: `SPDX-License-Identifier: Apache-2.0`
15+
16+
## 2) Theory / Math / Documentation
17+
18+
- Applies to: `docs/`, `rmg-math/`, LaTeX sources, papers/notes, other written or mathematical materials.
19+
- License options (your choice):
20+
- Apache License, Version 2.0 **OR**
21+
- MIND-UCAL License v1.0
22+
- SPDX for these files: `SPDX-License-Identifier: Apache-2.0 OR MIND-UCAL-1.0`
23+
- If you do not wish to use MIND-UCAL, you may use all theory, math, and documentation under Apache 2.0 alone. No portion of this repository requires adopting MIND-UCAL.
24+
25+
## 3) SPDX Policy
26+
27+
- All tracked source and documentation files must carry an SPDX header.
28+
- Enforcement:
29+
- `scripts/ensure_spdx.sh` (pre-commit): inserts missing headers into staged files, restages, and aborts so you can review.
30+
- `scripts/check_spdx.sh`: check-only helper (unused by default).
31+
- Patterns:
32+
- Code: `Apache-2.0`
33+
- Docs/math: `Apache-2.0 OR MIND-UCAL-1.0`
34+
- Exclusions: generated/binary assets (e.g., target/, node_modules/, PDFs, images) are not labeled.
35+
36+
## 4) NOTICE
37+
38+
See `NOTICE` for attribution. Apache 2.0 requires preservation of NOTICE content in redistributions that include NOTICE.
39+
40+
## 5) No additional terms
41+
42+
No extra terms or conditions beyond the licenses above. Unless required by law,
43+
all material is provided “AS IS”, without warranties or conditions of any kind.

0 commit comments

Comments
 (0)