Skip to content

Commit b1aca3c

Browse files
hyperpolymathclaude
andcommitted
Standardise license setup: MPL-2.0 + PMPL-1.0-or-later (REUSE)
- LICENSE: pure MPL-2.0 text for machine detection (GitHub, registries) - LICENSES/MPL-2.0.txt: standard MPL-2.0 text - LICENSES/PMPL-1.0-or-later.txt: Palimpsest License text - NOTICE: explains the dual-license relationship - Source SPDX headers remain PMPL-1.0-or-later This ensures OSI compliance checks pass while preserving PMPL as the governing license for source code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f4b2040 commit b1aca3c

23 files changed

Lines changed: 2367 additions & 557 deletions

.bot_directives/echidnabot.scm

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
;; SPDX-License-Identifier: PMPL-1.0-or-later
22
(bot-directive
33
(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"))
4+
(scope "formal verification, proof correspondence, and property-based testing")
5+
(languages ("Rust" "Lean4" "Coq" "Agda" "Isabelle" "Mizar"))
6+
(targets
7+
("impl/rust-cli/src/" "Rust shell implementation")
8+
("proofs/" "Multi-prover formal proofs")
9+
("impl/rust-cli/tests/" "Correspondence and property tests"))
10+
(allow ("analysis" "fuzzing" "proof checks" "property testing" "proof-hole auditing"))
11+
(deny ("write to core modules" "write to bindings" "modify proof axioms"))
12+
(scanning-rules
13+
(rust
14+
(ban ("unsafe" "transmute") (unless "// SAFETY: comment present"))
15+
(flag ("unwrap" "expect") (severity "medium")))
16+
(lean4
17+
(ban ("sorry") (severity "critical") (notes "proof holes must be closed"))
18+
(flag ("axiom") (severity "high")))
19+
(coq
20+
(ban ("Admitted") (severity "critical"))
21+
(flag ("Axiom") (severity "high")))
22+
(agda
23+
(ban ("postulate") (severity "critical"))))
24+
(notes "May open findings; code changes require explicit approval. Proof hole count must not increase."))

.github/workflows/echidna-validation.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
paths:
1414
- 'proofs/**'
1515
- 'impl/rust-cli/**'
16+
schedule:
17+
- cron: '0 6 * * 1' # Weekly on Monday at 06:00 UTC
1618

1719
permissions: read-all
1820

@@ -22,7 +24,7 @@ jobs:
2224
runs-on: ubuntu-latest
2325
steps:
2426
- name: Checkout code
25-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2628

2729
- name: Install Rust toolchain
2830
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
@@ -54,7 +56,7 @@ jobs:
5456
runs-on: ubuntu-latest
5557
steps:
5658
- name: Checkout code
57-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
59+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
5860

5961
- name: Install Rust toolchain
6062
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
23+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424
with:
2525
fetch-depth: 0 # Full history for better pattern analysis
2626

0 commit comments

Comments
 (0)