Skip to content

Commit 468b7e4

Browse files
fix(baseline): repair main + estate-policy sweep (unblocks #41) (#42)
## Summary Five failing checks on PR #41 (and three on `main` since 2026-05-22) were five distinct root causes. Each fixed at source: | # | Failing check | Root cause | Fix | |---|---|---|---| | 1 | `governance / Language / package anti-pattern policy` | 3 orphan `.res` files (no callers, no rescript.json) | Delete all 3 + the empty `interpreters/rescript/` dir | | 2 | `build` (×2) | `deno lint --config deno.json` → \"No target files found\" (lint.include lists non-existent `mod.ts`) | Delete dead `rescript-deno-ci.yml` workflow | | 3 | `PR (address)` (ClusterFuzzLite) | `fuzz/Cargo.toml` declares `[dependencies.absolute_zero]` but parent has no `[lib]` target | Remove dead dep (fuzz_input.rs imports nothing from parent) | | 4 | `governance / Workflow security linter` | 3 workflows missing top-level `permissions:` | Add `permissions: contents: read` to `language-policy.yml` + `rust-ci.yml` (3rd was the deleted rescript-deno-ci.yml) | | 5 | `Cargo.toml license = \"MIT\"` | Stale | Bump to `MPL-2.0` | ## Estate-policy sweep (per this session's instructions) - **PMPL-1.0 / PMPL-1.0-or-later → MPL-2.0** across 67 files. PMPL isn't a real SPDX identifier and the Palimpsest-MPL framing is retired. README's License badge URL updated to match. - **MPL-2.0-or-later → MPL-2.0** across 18 files (also not a valid SPDX form — MPL-2.0 has no `-or-later` variant). - `.claude/CLAUDE.md` language policy table updated: AffineScript is now primary; ReScript and TypeScript are banned (replacement: AffineScript); MPL-2.0 is the only allowed license. Previous version still said \"ReScript Primary application code\" and \"Convert existing TS to ReScript\". ## What's NOT in this PR (deliberately) - **`examples/javascript/nop.js`** is kept. It's one of 30+ per-language CNO reference implementations (alongside `examples/ada/`, `examples/c/`, `examples/cobol/`, etc.). The whole point is JS-specific runtime behavior; migrating to AffineScript would lose the language comparison. - **`license/PMPL-1.0.txt`** (the old license file) is kept. Removing it would be larger doc cleanup than this PR's scope. - **Branch protection** on main — same gap as `r-g-t-v#89`. No `required_status_checks` block, so red-CI merges are possible. Owner-level `gh api -X PUT` change. Flagged separately; Hypatia PR #316 (BH001) detects this estate-wide. ## Test plan - [x] `cargo build --release` (root crate) — passes - [x] `cd fuzz && cargo check` — passes (was the cflite failure mode) - [x] All three deleted `.res` files had zero in-repo references (`grep -rln`) - [x] Zero `PMPL-1.0` / `MPL-2.0-or-later` refs remain (other than the policy doc itself naming the banned forms) - [x] All workflows still parse (yaml syntax preserved) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7f0b56c commit 468b7e4

81 files changed

Lines changed: 295 additions & 550 deletions

File tree

Some content is hidden

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

.claude/CLAUDE.md

Lines changed: 10 additions & 7 deletions

.clusterfuzzlite/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: PMPL-1.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
FROM gcr.io/oss-fuzz-base/base-builder-rust@sha256:73c1d5648db54100639339d411a5d192cbc8bf413ee91e843a07cf6f0e319dc7
33

44
COPY . $SRC/absolute-zero

.clusterfuzzlite/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#!/bin/bash -eu
2-
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# SPDX-License-Identifier: MPL-2.0
33
cd "$SRC"/absolute-zero
44
cargo +nightly fuzz build
5+
# cargo-fuzz writes binaries to `fuzz/target/<triple>/release/<target>`
6+
# (the fuzz crate's own target dir), not to the workspace root. The
7+
# previous `./target/...` path was a vestige of an earlier layout where
8+
# fuzz/ depended on the parent crate's `[lib]` (since removed).
59
for target in $(cargo +nightly fuzz list); do
6-
cp ./target/x86_64-unknown-linux-gnu/release/$target $OUT/
10+
cp fuzz/target/x86_64-unknown-linux-gnu/release/$target $OUT/
711
done

.clusterfuzzlite/project.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# SPDX-License-Identifier: MPL-2.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
language: rust

.github/FUNDING.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: MPL-2.0
22
# Funding platforms for hyperpolymath projects
33
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository
44

.github/dependabot.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: MPL-2.0
22
version: 2
33
updates:
44
- package-ecosystem: "cargo"

.github/workflows/cflite_batch.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: MPL-2.0
22
name: ClusterFuzzLite batch fuzzing
33
on:
44
schedule:

.github/workflows/cflite_pr.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: MPL-2.0
22
name: ClusterFuzzLite PR fuzzing
33
on:
44
pull_request:

.github/workflows/codeql.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: MPL-2.0
22
name: CodeQL Security Analysis
33

44
on:

.github/workflows/governance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-License-Identifier: PMPL-1.0-or-later
1+
# SPDX-License-Identifier: MPL-2.0
22
# governance.yml — single wrapper calling the shared estate governance bundle
33
# in hyperpolymath/standards instead of carrying per-repo copies.
44
#

0 commit comments

Comments
 (0)