Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# RSR-compliant .gitattributes

* text=auto eol=lf
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/boj-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
name: BoJ Server Build Trigger
on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/casket-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
name: GitHub Pages

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
#
# dependabot-automerge.yml — enable GitHub's native auto-merge on
# Dependabot pull requests that match a declared severity / ecosystem
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dogfood-gate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# dogfood-gate.yml — Hyperpolymath Dogfooding Quality Gate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/governance.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# governance.yml — single wrapper calling the shared estate governance bundle
# in hyperpolymath/standards instead of carrying per-repo copies.
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard-enforcer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Prevention workflow - runs OpenSSF Scorecard and fails on low scores
name: OpenSSF Scorecard Enforcer

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# RSR-compliant .gitignore

# OS & Editor
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/6a2/AGENTIC.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# AGENTIC.a2ml — AI agent constraints and capabilities
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/6a2/ECOSYSTEM.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# ECOSYSTEM.a2ml — Ecosystem position
# Converted from ECOSYSTEM.scm on 2026-03-15

Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/6a2/META.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# META.a2ml — Project meta-information
# Converted from META.scm on 2026-03-15

Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/6a2/NEUROSYM.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# NEUROSYM.a2ml — Neurosymbolic integration metadata
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/6a2/PLAYBOOK.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# PLAYBOOK.a2ml — Operational playbook
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/6a2/STATE.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# STATE.a2ml — Project state checkpoint
# Converted from STATE.scm on 2026-03-15

Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/ADJUST.contractile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; SPDX-License-Identifier: PMPL-1.0-or-later
; SPDX-License-Identifier: MPL-2.0
; ADJUST.contractile — Accessibility invariants for tree-navigator
; "ADJUST" = Accessibility & Digital Justice for Universal Software & Technology
;
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/CLADE.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Clade declaration — part of the gv-clade-index registry
# See: https://github.com/hyperpolymath/gv-clade-index

Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/INTENT.contractile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; SPDX-License-Identifier: PMPL-1.0-or-later
; SPDX-License-Identifier: MPL-2.0
; INTENT.contractile — Purpose and scope for tree-navigator
; Helps LLM/SLM agents understand what this repo IS and IS NOT.
;
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/MUST.contractile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; SPDX-License-Identifier: PMPL-1.0-or-later
; SPDX-License-Identifier: MPL-2.0
; MUST.contractile — Baseline invariants for tree-navigator
; These constraints MUST NOT be violated. K9 validators enforce them.
;
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/TRUST.contractile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; SPDX-License-Identifier: PMPL-1.0-or-later
; SPDX-License-Identifier: MPL-2.0
; TRUST.contractile — Trust boundaries for tree-navigator
; Defines what LLM/SLM agents are trusted to do without asking.
;
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/agent_instructions/README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
= Agent Instructions
:toc: preamble
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/agent_instructions/coverage.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# coverage.a2ml — Session coverage tracking
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/agent_instructions/debt.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# debt.a2ml — Meander debt list
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/agent_instructions/methodology.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# methodology.a2ml — AI agent methodology configuration
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/contractiles/bust/Bustfile.a2ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Bustfile.a2ml — meta-repo bust contractile (breakage / rollback)
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0

Bust {
name: "tree-navigator"
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/contractiles/bust/bust.ncl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Bust — error-handling / failure-recovery runner
#
# Pairs with: Bustfile.a2ml (same directory)
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/contractiles/dust/Dustfile.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Dustfile — Cleanup and Hygiene Contract

[dustfile]
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/contractiles/trust/Trustfile.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Trustfile — Integrity and provenance verification
# Author: Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>

Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/integrations/feedback-o-tron.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Feedback-o-Tron Integration — Autonomous Bug Reporting

[integration]
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/integrations/proven.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Proven Integration — Formally Verified Safety Library

[integration]
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/integrations/verisimdb.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# VeriSimDB Feed — Cross-Repo Analytics Data Store

[integration]
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/integrations/vexometer.a2ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Vexometer Integration — Irritation Surface Analysis

[integration]
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/svc/k9/README.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
= K9 Contractiles
:toc: left
:icons: font
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/svc/k9/examples/ci-config.k9.ncl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
K9!
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Example Yard-level K9 component: CI/CD configuration with validation
# Security Level: Yard (Nickel evaluation, contract validation)
# Signature recommended but not required
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
K9!
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Example Kennel-level K9 component: Project metadata
# Security Level: Kennel (pure data, no execution)
# No signature required
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/svc/k9/examples/setup-repo.k9.ncl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
K9!
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Example Hunt-level K9 component: Repository setup automation
# Security Level: Hunt (full execution with Just recipes)
# ⚠️ SIGNATURE REQUIRED - DO NOT RUN WITHOUT VERIFICATION
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/svc/k9/template-hunt.k9.ncl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
K9!
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# K9 Hunt-level template: Full execution with Just recipes
# Security Level: Hunt (full system access)
# ⚠️ SIGNATURE REQUIRED - Review carefully before use
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/svc/k9/template-kennel.k9.ncl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
K9!
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# K9 Kennel-level template: Pure data configuration
# Security Level: Kennel (data-only, no execution)
# No signature required - safe for any use
Expand Down
2 changes: 1 addition & 1 deletion .machine_readable/svc/k9/template-yard.k9.ncl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
K9!
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# K9 Yard-level template: Configuration with validation
# Security Level: Yard (Nickel evaluation with contracts)
# Signature recommended but not required
Expand Down
2 changes: 1 addition & 1 deletion .well-known/ai.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# ai.txt - AI interaction policy
# See: https://site.spawning.ai/spawning-ai-txt

Expand Down
2 changes: 1 addition & 1 deletion .well-known/humans.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# humanstxt.org

/* TEAM */
Expand Down
2 changes: 1 addition & 1 deletion .well-known/security.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# RFC 9116 - security.txt
# https://securitytxt.org/

Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- SPDX-License-Identifier: PMPL-1.0-or-later -->
<!-- SPDX-License-Identifier: MPL-2.0 -->
# Contributor Covenant Code of Conduct

## Our Pledge
Expand Down
2 changes: 1 addition & 1 deletion EXPLAINME.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
= 🌲 Tree Navigator — Show Me The Receipts
:toc:
:icons: font
Expand Down
2 changes: 1 addition & 1 deletion Mustfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Mustfile - hyperpolymath mandatory checks
# See: https://github.com/hyperpolymath/mustfile

Expand Down
2 changes: 1 addition & 1 deletion PALIMPSEST.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ethical-use, provenance, and lineage requirements.

1. Include the PMPL-1.0 license text in `LICENSE`.
2. Add SPDX headers to source files:
`SPDX-License-Identifier: PMPL-1.0-or-later`
`SPDX-License-Identifier: MPL-2.0`
3. Add a Palimpsest badge to your README (see `assets/badges/` and `embed/license-blocks/`).

== Versioning
Expand Down
2 changes: 1 addition & 1 deletion QUICKSTART-DEV.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
// Template: QUICKSTART-DEV.adoc — clone → build → test → PR
// Replace tree-navigator, {{BUILD_CMD}}, {{TEST_CMD}}, {{LANG_STACK}} with actuals
= tree-navigator — Quick Start for Developers
Expand Down
2 changes: 1 addition & 1 deletion QUICKSTART-MAINTAINER.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
// Template: QUICKSTART-MAINTAINER.adoc — packaging, deploying, and maintaining
// Replace tree-navigator, {{PACKAGE_NAME}}, {{DEPS}} with actuals
= tree-navigator — Quick Start for Platform Maintainers
Expand Down
2 changes: 1 addition & 1 deletion QUICKSTART-USER.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
// Template: QUICKSTART-USER.adoc — 5-minute path to working software
// Replace tree-navigator, Tree Navigator — See README.adoc for details., just run, Tree Navigator started successfully. with actuals
= tree-navigator — Quick Start for Users
Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
= Tree Navigator Roadmap

== Current Status
Expand Down
2 changes: 1 addition & 1 deletion RSR_OUTLINE.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ This template is part of:

== License

SPDX-License-Identifier: PMPL-1.0-or-later-or-later
SPDX-License-Identifier: MPL-2.0-or-later

== Links

Expand Down
2 changes: 1 addition & 1 deletion TOPOLOGY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- SPDX-License-Identifier: PMPL-1.0-or-later -->
<!-- SPDX-License-Identifier: MPL-2.0 -->
<!-- TOPOLOGY.md — Project architecture map and completion dashboard -->
<!-- Last updated: 2026-02-19 -->

Expand Down
2 changes: 1 addition & 1 deletion contractile.just
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Source directory: contractiles
# Re-generate with: contractile gen-just --dir contractiles
#
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0

# === DUST (Recovery & Rollback) ===
# Source: Dustfile.a2ml
Expand Down
2 changes: 1 addition & 1 deletion ffi/zig/build.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// {{PROJECT}} FFI Build Configuration
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0

const std = @import("std");

Expand Down
2 changes: 1 addition & 1 deletion ffi/zig/src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This module implements the C-compatible FFI declared in src/abi/Foreign.idr
// All types and layouts must match the Idris2 ABI definitions.
//
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0

const std = @import("std");

Expand Down
2 changes: 1 addition & 1 deletion ffi/zig/test/integration_test.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// {{PROJECT}} Integration Tests
// SPDX-License-Identifier: PMPL-1.0-or-later
// SPDX-License-Identifier: MPL-2.0
//
// These tests verify that the Zig FFI correctly implements the Idris2 ABI

Expand Down
2 changes: 1 addition & 1 deletion guix.scm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; SPDX-License-Identifier: PMPL-1.0-or-later
; SPDX-License-Identifier: MPL-2.0
;; guix.scm — GNU Guix package definition for tree-navigator
;; Usage: guix shell -f guix.scm

Expand Down
2 changes: 1 addition & 1 deletion hooks/validate-codeql.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Pre-commit hook: Validate CodeQL language matrix matches repo
set -euo pipefail

Expand Down
2 changes: 1 addition & 1 deletion hooks/validate-permissions.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Pre-commit hook: Validate workflow permissions declarations
set -euo pipefail
ERRORS=0
Expand Down
2 changes: 1 addition & 1 deletion hooks/validate-sha-pins.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Pre-commit hook: Validate GitHub Actions are SHA-pinned

set -euo pipefail
Expand Down
4 changes: 2 additions & 2 deletions hooks/validate-spdx.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-License-Identifier: MPL-2.0
# Pre-commit hook: Validate SPDX headers in workflow files

set -euo pipefail
Expand All @@ -13,7 +13,7 @@ for workflow in .github/workflows/*.yml .github/workflows/*.yaml; do
first_line=$(head -n1 "$workflow")
if ! echo "$first_line" | grep -qE "$SPDX_PATTERN"; then
echo "ERROR: Missing SPDX header in $workflow"
echo " First line should be: # SPDX-License-Identifier: PMPL-1.0-or-later"
echo " First line should be: # SPDX-License-Identifier: MPL-2.0"
ERRORS=$((ERRORS + 1))
fi
done
Expand Down
Loading
Loading