SPDX export:licenseDeclared holds the licence (an SPDX expression, or NOASSERTION with the text in licenseComments), and licenseConcluded is always NOASSERTION. Licences stay declared: nothing is concluded without our own licence review (decided 2026-10-06, BSI TR-03183-2). CycloneDX already marked them acknowledgement: declared.
Copyleft check (GET /sbom/licenses summary): new compliance_core::spdx_license::is_copyleft compares every term of the licence's SPDX form, so GNU Lesser General Public License v2.1, GPL-2.0+ and MIT OR GPL-3.0-only are flagged. Same licence set as before (GPL, AGPL, LGPL, MPL-2.0) plus LGPL-2.0. A name the table does not know still falls back to the old substring check. The agent's own COPYLEFT_LICENSES list is gone.
Tests: copyleft_is_found_in_names_ids_and_expressions, known_license_names_are_exported_as_spdx_ids (updated), the vex_schemas suite (7 pass). Clippy (-D warnings) for core and agent, fmt.
The two follow-ups from #543.
- **SPDX export:** `licenseDeclared` holds the licence (an SPDX expression, or NOASSERTION with the text in `licenseComments`), and `licenseConcluded` is always `NOASSERTION`. Licences stay declared: nothing is concluded without our own licence review (decided 2026-10-06, BSI TR-03183-2). CycloneDX already marked them `acknowledgement: declared`.
- **Copyleft check** (`GET /sbom/licenses` summary): new `compliance_core::spdx_license::is_copyleft` compares every term of the licence's SPDX form, so `GNU Lesser General Public License v2.1`, `GPL-2.0+` and `MIT OR GPL-3.0-only` are flagged. Same licence set as before (GPL, AGPL, LGPL, MPL-2.0) plus LGPL-2.0. A name the table does not know still falls back to the old substring check. The agent's own `COPYLEFT_LICENSES` list is gone.
Tests: `copyleft_is_found_in_names_ids_and_expressions`, `known_license_names_are_exported_as_spdx_ids` (updated), the `vex_schemas` suite (7 pass). Clippy (`-D warnings`) for core and agent, fmt.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
SPDX export: the licence goes into licenseDeclared, and licenseConcluded is
NOASSERTION. Licences are what the supplier declares; nothing is concluded
without a licence review of our own (decided 2026-10-06, BSI TR-03183-2).
Copyleft check in the SBOM licence summary: each term of the licence's SPDX
form (the shared table from #543) is compared, so "GNU Lesser General Public
License v2.1" or "MIT OR GPL-3.0-only" is flagged. A name the table does not
know is still flagged when it contains a copyleft id, as before.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang
merged commit 6f1172589e into main2026-10-09 13:57:48 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The two follow-ups from #543.
licenseDeclaredholds the licence (an SPDX expression, or NOASSERTION with the text inlicenseComments), andlicenseConcludedis alwaysNOASSERTION. Licences stay declared: nothing is concluded without our own licence review (decided 2026-10-06, BSI TR-03183-2). CycloneDX already marked themacknowledgement: declared.GET /sbom/licensessummary): newcompliance_core::spdx_license::is_copyleftcompares every term of the licence's SPDX form, soGNU Lesser General Public License v2.1,GPL-2.0+andMIT OR GPL-3.0-onlyare flagged. Same licence set as before (GPL, AGPL, LGPL, MPL-2.0) plus LGPL-2.0. A name the table does not know still falls back to the old substring check. The agent's ownCOPYLEFT_LICENSESlist is gone.Tests:
copyleft_is_found_in_names_ids_and_expressions,known_license_names_are_exported_as_spdx_ids(updated), thevex_schemassuite (7 pass). Clippy (-D warnings) for core and agent, fmt.🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p