Skip to content

Commit 6efcc2b

Browse files
hyperpolymathclaude
andcommitted
fix: address #42 CI follow-ups (cflite, examples/go exemption, drop Jekyll)
Three follow-up issues surfaced when #42's CI ran: 1. **cflite `PR (address)` failure** — `.clusterfuzzlite/build.sh` was `cp ./target/x86_64-unknown-linux-gnu/release/$target $OUT/`, but cargo-fuzz writes binaries to `fuzz/target/<triple>/release/<target>` (the fuzz crate's own target dir). The `./target/...` path was a vestige of an earlier layout where fuzz/ depended on the parent's `[lib]`, since removed. Updated the cp source path. 2. **`governance / Language / package anti-pattern policy`** — surfaced `examples/go/nop.go` as a banned-Go-file violation. The file is a per-language CNO reference (alongside `examples/c/`, `examples/clojure/`, `examples/javascript/nop.js`, ~30 langs total) — the Go-specific runtime characteristics ARE the point of the example. Added a `.hypatia-ignore` entry with that rationale. The repo language policy still bans new Go code; this is reference material. 3. **Jekyll workflow** — `.github/workflows/jekyll-gh-pages.yml` tripped `Workflow Security Linter` (5 unpinned actions) and is estate-banned anyway (Jekyll is being replaced by casket-ssg estate-wide). Deleted the workflow entirely. If/when this repo wants a docs site, add a casket-ssg build/deploy workflow modelled on `hyperpolymath/casket-ssg/.github/workflows/pages.yml`. Note on the Hypatia code-scanning check failure (22 errors / 10 warnings): every alert resolves against files I'm deleting in this PR (rescript-deno-ci.yml, jekyll-gh-pages.yml) or against pre-existing issues on main (examples/ada/balanced_ops.adb has `ada_pragma_suppress`, src/abi/Proofs/DivMod.idr has structural_drift warnings). The PR doesn't add new alerts; it just causes Hypatia to re-scan files in the diff scope. These should clear after merge as main shrinks past the removed files. Out of scope here. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 34c7f60 commit 6efcc2b

3 files changed

Lines changed: 21 additions & 53 deletions

File tree

.clusterfuzzlite/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# 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

.github/workflows/jekyll-gh-pages.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.hypatia-ignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Hypatia rule exemptions for absolute-zero.
2+
#
3+
# Format: `<rule_id>:<file_path_relative_to_repo_root>` (one per line).
4+
# Comments (lines starting with #) and blank lines are ignored.
5+
#
6+
# Adding an entry requires a stated rationale below the line so the
7+
# exemption survives review and audit.
8+
9+
# Per-language CNO reference example. `examples/<lang>/` is a 30-language
10+
# showcase comparing how each language expresses "do absolutely nothing"
11+
# — the Go-specific runtime characteristics (goroutine scheduler init,
12+
# GC startup, runtime.GOMAXPROCS) are the point of the example. Mirrors
13+
# the rationale for keeping `examples/javascript/nop.js` (also a
14+
# per-language reference). The repo language policy still bans new Go
15+
# code; this is reference material, not implementation.
16+
cicd_rules/banned_language_file:examples/go/nop.go

0 commit comments

Comments
 (0)