Skip to content

build: REUSE compliance (§4.3) + reuse lint CI gate#41

Merged
UnbreakableMJ merged 1 commit into
mainfrom
reuse-compliance
Jun 16, 2026
Merged

build: REUSE compliance (§4.3) + reuse lint CI gate#41
UnbreakableMJ merged 1 commit into
mainfrom
reuse-compliance

Conversation

@UnbreakableMJ

Copy link
Copy Markdown
Contributor

What

Brings Vault into REUSE compliance (https://reuse.software, Standard §4.3/§5.2) and enforces it in CI. Vault's own CLAUDE.md makes reuse lint passing non-negotiable, but the repo had no LICENSES/ dir, no REUSE.toml, and no reuse CI job — files carried only a single SPDX-License-Identifier (no SPDX-FileCopyrightText), so reuse lint would fail.

How (mirrors the compliant construct/ sibling + the Projects repo's CI)

  • LICENSES/GPL-3.0-or-later.txt — the only license Vault's files assert (deps are handled by cargo deny, not REUSE).
  • REUSE.toml — one path="**" annotation supplying SPDX-FileCopyrightText + GPL-3.0-or-later in bulk (precedence=override, so example SPDX tags in docs/prose aren't mis-parsed and no per-file copyright headers are needed). Vault vendors no third-party files in-tree (rbw/cruxpass are gitignored), so one annotation covers the whole repo.
  • CI: a REUSE lint job (pip install reusereuse lint), mirroring the Projects repo's working job. Also added just reuse and folded it into just ci.

Verification

reuse lint passes locally (uvx reuse lint): 77/77 files have copyright + license info, GPL-3.0-or-later only, 0 errors — "compliant with version 3.3 of the REUSE Specification". No Rust changed, so the existing gates are unaffected (fmt/build confirmed clean). The new CI job mirrors a known-working one and runs on this PR.

Satisfies the §5.2 LICENSES/ posture requirement (a pre-v0.1 compliance item).

🤖 Generated with Claude Code

Vault wasn't REUSE-compliant (no LICENSES/, no REUSE.toml; single SPDX tag
only), yet CLAUDE.md §4.3/§5.2 make `reuse lint` passing non-negotiable.

- LICENSES/GPL-3.0-or-later.txt — the only license Vault's files assert
  (deps are covered by cargo-deny, not REUSE). Copied from the compliant
  `construct/` sibling.
- REUSE.toml — a single `path="**"` annotation supplying SPDX-FileCopyrightText
  + GPL-3.0-or-later in bulk (precedence=override, mirroring construct/), so
  no per-file copyright headers are needed and example SPDX in docs/prose
  isn't mis-parsed. Vault vendors no third-party files in-tree (rbw/cruxpass
  are gitignored), so one annotation covers everything.
- CI: a `REUSE lint` job (pip install reuse → reuse lint), mirroring the
  Projects repo's job; `just reuse` + folded into `just ci`.

`reuse lint` now passes: 77/77 files have copyright + license info,
GPL-3.0-or-later only, 0 errors. Satisfies the §5.2 LICENSES/ posture
requirement. No Rust changed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@UnbreakableMJ UnbreakableMJ merged commit b3c8516 into main Jun 16, 2026
9 checks passed
@UnbreakableMJ UnbreakableMJ deleted the reuse-compliance branch June 16, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant