4 Commits
Author SHA1 Message Date
james.maes 194fb0e49f fix(#31): resolve ambiguous license aliases to unresolved instead of guessing
The spdxAliases table fabricated SPDX ids, violating the package's
"never guess" invariant:

- "bsd" / "bsd license" invented a clause count (could be 2/3/4-clause).
- "gnu lesser general public license" invented BOTH a version (2.1 vs 3.0)
  and the grant ("only" vs "or-later").

These wrong guesses flowed into deny/allow verdicts and the incompatibility
table, where -only vs -or-later and clause counts are decisive. Such ambiguous
spellings now leave normalizeSPDX returning ok=false, so the caller emits an
unresolved dependency with a reason rather than a fabricated id. Only
unambiguous, exact spellings remain (explicit 3-clause BSD, Apache, MIT, ISC,
MPL-2.0, Unlicense, the explicit AGPL "v3.0 or later" spelling).

Also fixes the related resolved-but-unclassifiable contradiction: alias
re-validation now uses spdx.Lookup (curated rendering set) instead of
spdx.Validate (full index). The Eclipse Public License aliases (EPL-2.0 /
EPL-1.0) passed Validate but are outside the curated set, so policy.Classify
returned Unknown while the dependency was still marked resolved. They are now
left unresolved. Any future alias whose target is valid-but-uncurated is
structurally rejected by the Lookup gate.

Closes #31
2026-06-09 07:59:28 -05:00
james.maes 3e18e6c8d5 fix: harden release and dependency docs
Pins release workflow actions and tools, discovers nested dependency manifests, clarifies Gradle tool-tier behavior, and refreshes public support/security scaffolding.

Refs #21 #22 #23 #26
2026-06-04 11:41:43 -05:00
James Maes fcc6717bdf test: 100% coverage suite, CI coverage gate, release scaffolding 2026-06-03 14:50:01 -05:00
James Maes 7ebffebae6 feat: license-tool audit + apply with SPDX/REUSE engine and scaffolding 2026-06-03 14:03:50 -05:00