Skip to content

Commit 41481a3

Browse files
hyperpolymathclaude
andcommitted
fix: remove 12 orphaned gitlinks, fix 4 failing CI workflows
Orphaned gitlinks (submodule entries in index with no .gitmodules URL) caused checkout's auth cleanup to crash with "No url found for submodule path" — breaking Scorecard, Secret Scanner, and others. Gitlink fixes: - Remove gitlinks for 9 small directories, track as regular files: deno-ecosystem, devkit-risc-v, idris2-ecosystem, opm-canonicalizer, packages, riscv-guix-buildsys, synapse, well-known-ecosystem, zig-ecosystem - Remove gitlinks for 3 large directories, add to .gitignore: julia-ecosystem (273MB), opam-repository (79MB), package-publishers (2GB) Workflow fixes: - mirror.yml: mkdir -p ~/.radicle/keys before writing key file - workflow-linter.yml: grep ^\s*uses: to skip comments (was matching its own comment lines as "unpinned actions") - workflow-linter.yml: fix SPDX suggestion from AGPL to PMPL - All 4 workflows: fix SPDX from MPL-2.0-or-later to PMPL-1.0-or-later - .gitignore: fix SPDX from AGPL to PMPL Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 987aef5 commit 41481a3

File tree

748 files changed

+93046
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

748 files changed

+93046
-20
lines changed

.github/workflows/mirror.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell
33
name: Mirror to Git Forges
44

@@ -139,6 +139,7 @@ jobs:
139139
140140
- name: Mirror to Radicle
141141
run: |
142+
mkdir -p ~/.radicle/keys
142143
echo "${{ secrets.RADICLE_KEY }}" > ~/.radicle/keys/radicle
143144
chmod 600 ~/.radicle/keys/radicle
144145
rad sync --announce || echo "Radicle sync attempted"

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
name: OSSF Scorecard
33
on:
44
push:

.github/workflows/secret-scanner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# Prevention workflow - scans for hardcoded secrets before they reach main
33
name: Secret Scanner
44

.github/workflows/workflow-linter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# workflow-linter.yml - Validates GitHub workflows against RSR security standards
33
# This workflow can be copied to other repos for consistent enforcement
44
name: Workflow Security Linter
@@ -36,7 +36,7 @@ jobs:
3636
fi
3737
done
3838
if [ $failed -eq 1 ]; then
39-
echo "Add '# SPDX-License-Identifier: AGPL-3.0-or-later' as first line"
39+
echo "Add '# SPDX-License-Identifier: PMPL-1.0-or-later' as first line"
4040
exit 1
4141
fi
4242
echo "All workflows have SPDX headers"
@@ -63,9 +63,9 @@ jobs:
6363
echo "=== Checking Action Pinning ==="
6464
# Find any uses: lines that don't have @SHA format
6565
# Pattern: uses: owner/repo@<40-char-hex>
66-
unpinned=$(grep -rn "uses:" .github/workflows/ | \
66+
unpinned=$(grep -rn "^\s*uses:" .github/workflows/ | \
6767
grep -v "@[a-f0-9]\{40\}" | \
68-
grep -v "uses: \./\|uses: docker://\|uses: actions/github-script" || true)
68+
grep -v "uses: \./\|uses: docker://" || true)
6969
7070
if [ -n "$unpinned" ]; then
7171
echo "ERROR: Found unpinned actions:"

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: AGPL-3.0-or-later
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# RSR-compliant .gitignore
33

44
# OS & Editor
@@ -80,3 +80,8 @@ htmlcov/
8080

8181
# Crash recovery artifacts
8282
ai-cli-crash-capture/
83+
84+
# Large directories (no standalone repos, too big to track)
85+
/julia-ecosystem/
86+
/opam-repository/
87+
/package-publishers/

deno-ecosystem

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
;; .bot_directives — per-bot rules and constraints
3+
;; Media-Type: application/vnd.bot-directives+scm
4+
5+
(bot-directives
6+
(version "1.0")
7+
(notes
8+
"Repo-specific bot constraints."
9+
"Bots must follow these directives in addition to global policies."))
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "echidnabot")
4+
(scope "formal verification and fuzzing")
5+
(allow ("analysis" "fuzzing" "proof checks"))
6+
(deny ("write to core modules" "write to bindings"))
7+
(notes "May open findings; code changes require explicit approval"))
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "finishbot")
4+
(scope "release readiness")
5+
(allow ("release checklists" "docs updates" "metadata fixes"))
6+
(deny ("code changes without approval"))
7+
(notes "Focus on polish, licensing, and packaging"))
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
;; SPDX-License-Identifier: PMPL-1.0-or-later
2+
(bot-directive
3+
(bot "glambot")
4+
(scope "presentation + accessibility")
5+
(allow ("docs" "readme badges" "ui/accessibility suggestions"))
6+
(deny ("logic changes"))
7+
(notes "Edits limited to presentation layers"))

0 commit comments

Comments
 (0)