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 .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
name: CodeQL Security Analysis

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
name: OSSF Scorecard
on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/secret-scanner.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
# Prevention workflow - scans for hardcoded secrets before they reach main
name: Secret Scanner

Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CITATION.cff - Citation File Format for echidnabot
# https://citation-file-format.github.io/
# SPDX-License-Identifier: PMPL-1.0 OR LicenseRef-Palimpsest-0.5
# SPDX-License-Identifier: PMPL-1.0-or-later OR LicenseRef-Palimpsest-0.5

cff-version: 1.2.0
title: "echidnabot"
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
# Build stage
FROM docker.io/library/rust:1.83-slim AS builder

Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/Mustfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
# Mustfile - hyperpolymath mandatory checks
# See: https://github.com/hyperpolymath/mustfile

Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/contracts/Token.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
// Copyright (C) 2024 Jonathan D.A. Jewell / Hyperpolymath

pragma solidity ^0.8.19;
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/contracts/TokenEchidnaTest.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
// Copyright (C) 2024 Jonathan D.A. Jewell / Hyperpolymath

pragma solidity ^0.8.19;
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/flake.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
# SPDX-FileCopyrightText: 2025 hyperpolymath
{
description = "ECHIDNABOT - Proof-aware CI bot for theorem verification";
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/hooks/pre-commit-tsjs-blocker.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
# SPDX-License-Identifier: PMPL-1.0-or-later
# Pre-commit hook: block TypeScript/JavaScript and Node configs
set -euo pipefail

Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/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
# SPDX-License-Identifier: PMPL-1.0-or-later
# Pre-commit hook: Validate CodeQL language matrix matches repo
set -euo pipefail

Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/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
# SPDX-License-Identifier: PMPL-1.0-or-later
# Pre-commit hook: Validate workflow permissions declarations
set -euo pipefail
ERRORS=0
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/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
# SPDX-License-Identifier: PMPL-1.0-or-later
# Pre-commit hook: Validate GitHub Actions are SHA-pinned

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

set -euo pipefail

ERRORS=0
SPDX_PATTERN="^# SPDX-License-Identifier:PMPL-1.0
SPDX_PATTERN="^# SPDX-License-Identifier:PMPL-1.0-or-later

for workflow in .github/workflows/*.yml .github/workflows/*.yaml; do
[ -f "$workflow" ] || continue

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
echo " First line should be: # SPDX-License-Identifier: PMPL-1.0-or-later
ERRORS=$((ERRORS + 1))
fi
done
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/packaging/aur/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
# Maintainer: hyperpolymath <packages@hyperpolymath.dev>

pkgname=echidnabot-bin
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/packaging/chocolatey/echidnabot.nuspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- SPDX-License-Identifier: PMPL-1.0 -->
<!-- SPDX-License-Identifier: PMPL-1.0-or-later -->
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>echidnabot</id>
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/packaging/debian/rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/make -f
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later

%:
dh $@
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/packaging/macports/Portfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later

PortSystem 1.0
PortGroup cargo 1.0
Expand Down
4 changes: 2 additions & 2 deletions bots/echidnabot/scripts/echidna-gen.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env -S deno run --allow-read --allow-write
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
// Echidna Test Property Generator
// Generates Echidna test contracts from Solidity source files
//
// Usage: deno run --allow-read --allow-write scripts/echidna-gen.js <contract.sol>

const SPDX_HEADER = `// SPDX-License-Identifier: PMPL-1.0
const SPDX_HEADER = `// SPDX-License-Identifier: PMPL-1.0-or-later
// Generated by echidnabot - Echidna Test Generator
// https://github.com/hyperpolymath/echidnabot
`;
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/src/adapters/bitbucket.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Bitbucket platform adapter (minimal clone support)

use async_trait::async_trait;
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/src/adapters/gitlab.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! GitLab platform adapter (minimal clone support)

use async_trait::async_trait;
Expand Down
2 changes: 1 addition & 1 deletion bots/echidnabot/src/adapters/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Platform adapters for GitHub, GitLab, Bitbucket

use serde::{Deserialize, Serialize};
Expand Down
2 changes: 1 addition & 1 deletion bots/rhodibot/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
[package]
name = "rhodibot-fuzz"
version = "0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion bots/rhodibot/fuzz/fuzz_targets/fuzz_input.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Generic fuzz target for arbitrary input processing

#![no_main]
Expand Down
2 changes: 1 addition & 1 deletion bots/seambot/fuzz/fuzz_targets/fuzz_input.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Generic fuzz target for arbitrary input processing

#![no_main]
Expand Down
2 changes: 1 addition & 1 deletion robot-repo-automaton/.github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
name: CodeQL Security Analysis
on:
push:
Expand Down
2 changes: 1 addition & 1 deletion robot-repo-automaton/.github/workflows/instant-sync.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
# Instant Forge Sync - Triggers propagation to all forges on push/release
name: Instant Sync

Expand Down
2 changes: 1 addition & 1 deletion robot-repo-automaton/.github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
name: Mirror to GitLab and Bitbucket

on:
Expand Down
2 changes: 1 addition & 1 deletion robot-repo-automaton/.github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: PMPL-1.0
# SPDX-License-Identifier: PMPL-1.0-or-later
name: OSSF Scorecard
on:
push:
Expand Down
2 changes: 1 addition & 1 deletion shared-context/src/context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Shared context for coordinating bot executions

use crate::bot::{BotExecution, BotId, BotStatus, Tier};
Expand Down
2 changes: 1 addition & 1 deletion shared-context/src/finding.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Finding representation for cross-bot communication

use crate::bot::BotId;
Expand Down
2 changes: 1 addition & 1 deletion shared-context/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Gitbot Fleet Shared Context Layer
//!
//! This crate provides the coordination infrastructure for the gitbot-fleet,
Expand Down
2 changes: 1 addition & 1 deletion shared-context/src/state.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! State management for session and repository tracking

use crate::bot::BotId;
Expand Down
2 changes: 1 addition & 1 deletion shared-context/src/storage.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Context storage backends

use crate::context::Context;
Expand Down
2 changes: 1 addition & 1 deletion shared-context/src/triangle.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: PMPL-1.0
// SPDX-License-Identifier: PMPL-1.0-or-later
//! Safety Triangle types for the gitbot-fleet remediation pipeline.
//!
//! The Safety Triangle prioritizes remediation actions:
Expand Down
Loading