Skip to content

Commit 2554e0e

Browse files
committed
contractiles: add README SPDX header; make no-pmpl probe header-form only
- README.adoc gains its SPDX-License-Identifier: CC-BY-SA-4.0 header (was missing) - no-pmpl-outside-carveout probe now checks head -8 (header-form) and excludes LICENSES/, fixing two false positives (the probe self-matching its own grep string, and the PMPL-1.0-or-later.txt licence text)
1 parent d2ba12b commit 2554e0e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.machine_readable/contractiles/must/Mustfile.a2ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ requirements — CI and pre-commit hooks fail if any check fails.
7070

7171
### no-pmpl-outside-carveout
7272
- description: PMPL appears in no standards-authored header (carve-out = 3 repos only)
73-
- run: test -z "$(git ls-files ':!:consent-aware-http/**' ':!:*palimpsest*' | xargs grep -lm1 'SPDX-License-Identifier: PMPL' 2>/dev/null)"
73+
- run: test -z "$(git ls-files ':!:consent-aware-http/**' ':!:*palimpsest*' ':!:LICENSES/**' | while read -r f; do head -8 "$f" 2>/dev/null | grep -qm1 'SPDX-License-Identifier: PMPL' && echo "$f"; done)"
7474
- severity: critical
75+
- notes: Header-form only (head -8); LICENSES/ text and deep example mentions are not headers.
7576

7677
### policy-no-contradiction
7778
- description: LICENCE-POLICY.adoc and licensing-policy.toml agree (both name CC-BY-SA-4.0)

README.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: CC-BY-SA-4.0
12
= Hyperpolymath Standards
23

34
image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://www.mozilla.org/MPL/2.0/"]

0 commit comments

Comments
 (0)