Commit 33505a7
chore(spdx): add MPL-2.0 SPDX headers to 303 source/doc files (#108)
## What
Adds `SPDX-License-Identifier: MPL-2.0` (stapeln's canonical identifier
— 1010 existing uses) to **303 stapeln-owned source/doc files** that
lacked one. This clears the bulk of Hypatia's `missing_spdx` findings —
the largest contributor to the 342 the scan surfaced once #107
re-enabled it.
Per-type comment styles (verified against existing headers): `<!-- -->`
(`.md`), `//` (`.adoc`/`.zig`), `#`
(`.sh`/`.yml`/`.toml`/`.a2ml`/`.nix`/`.ex`/`.exs`), `;` (`.scm`).
Inserted **after shebangs**, and **after YAML frontmatter** for 6
issue-template / `site` `.md` files so GitHub template parsing isn't
broken.
**Deliberately excluded:** generated output (`.cmj`/`.ttm`/`.po`,
`lib/bs/`), comment-less formats (`.json`/`.jsonl`), license texts
(`LICENSES/`, `LICENSE-*`), `.well-known/*` standard files,
`frontend`/`dom-mounter` `.js` (ReScript-migration zone — may be
generated), and the legacy `.res` corpus.
## On the `http://` half — no conversions (intentional)
I investigated all **46** `http://` occurrences; **none should be
converted**. They're all intentional:
- **security-test attack URLs** — `evil.com`, `attacker.com`,
`169.254.169.254` (cloud-metadata SSRF) in `RED-TEAM-EXERCISE.md` /
`OBVIOUS-VULNERABILITIES.md`
- **internal service refs** — `http://backend`, `http://vordr`,
`http://svalinn`, `*.internal`, `*.local`
- the **MPL-2.0 license text** (`mozilla.org`), the **Apple plist DTD
identifier**, `example.org`/`yoursite.com` placeholders
- the **aspect-test that literally greps for `http://`**
Converting any would corrupt security fixtures, break internal refs, or
edit the license. The right resolution for these is a `hypatia:ignore
http_in_docs` pragma or baseline entry — **not** a find-replace. I can
add those pragmas if you want; I didn't do it unprompted since each
needs a per-case reason.
## Verification
303 files changed, 303 insertions (exactly one header each); 0
shebang-placement errors; 0 double headers; frontmatter files
re-checked.
Refs #96.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EsxEhRW4rDbxMo2c9xaa7Z
---
_Generated by [Claude
Code](https://claude.ai/code/session_01EsxEhRW4rDbxMo2c9xaa7Z)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: hyperpolymath <paraordinate@yahoo.co.uk>1 parent 79b7e0e commit 33505a7
306 files changed
Lines changed: 306 additions & 3 deletions
File tree
- .github
- ISSUE_TEMPLATE
- copilot
- workflows
- .machine_readable
- anchors
- svc
- backend
- config
- lib
- stapeln_grpc
- stack_service
- stapeln_web
- controllers
- plugs
- stapeln
- auth
- security
- test
- stapeln_grpc
- stapeln_web/controllers
- support
- container-stack
- cerro-torre
- .claude
- cerro_torre_stack
- apps
- svalinn
- lib
- svalinn_web
- controllers
- svalinn
- test
- support
- svalinn_web/controllers
- config
- contractiles
- docs
- handovers
- examples/policies
- ffi/zig/src
- governance
- decisions
- spec
- tests
- tools/ats-shadow
- rokur
- selur
- .clusterfuzzlite
- compose
- .clusterfuzzlite
- contractiles
- examples
- basic
- parity
- fuzz
- contractiles
- docs
- examples
- fuzz
- integrations
- svalinn
- vordr
- wiki
- svalinn
- .claude
- spec
- vordr
- .claude
- contractiles
- docs
- editors/vscode
- ffi/zig
- contractiles
- docs
- governance
- reports/audit
- dom-mounter
- docs
- examples
- ephapax-modules
- ffi/zig/src
- frontend
- selur-compose
- site
- tests
- verified-container-spec
- .claude
- conformance
- contractiles
- docs
- examples
- axiom-smt-runner
- ffi/zig/src
- spec
- vectors
- runtime-integration
- insufficient-logs
- malformed-bundle
- missing-attestations
- subject-mismatch
- valid-bundle
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 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments