You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run the demo/*.sh proof scripts on macOS (minos) #218
CI runs the Rust tests on macOS (cargo test (macos-latest)), but not the shell proof scripts in demo/. Those depend on GNU versus BSD tool differences (the earlier stat fix in #201 was one). The sc binary itself is portable; this is a check of the scripts.
To do on the macOS machine
cargo build, then run bash demo/run_demo.sh and bash demo/run_tls_demo.sh, and the other demo/*.sh scripts listed in .claude/skills/sc-cli-reference/SKILL.md.
Each must exit 0 and, where it claims zero residue, print its zero-residue proof.
File an issue per failing script with the output; fix portability (BSD stat, sed -i, mktemp, date, readlink -f) or add the missing fallback.
Optional: add a macOS job that runs the scripts, if they are stable enough to gate on.
Ran all 27 demo/.sh scripts on macOS (Darwin arm64) against main@fddecf3: every script exits 0, and run_demo.sh prints 'ZERO-RESIDUE PROOF: PASSED'. No BSD/GNU portability failures found, so nothing to fix. One caveat: run_demo.sh diffs the whole project tree (including .git and .worktrees) and every scl- entry in $TMPDIR, so it reports failure when anything else (cargo test runs, other worktrees) writes there concurrently; run it on a quiet checkout or with an isolated TMPDIR. Not adding a macOS CI job for the scripts in this pass.
Activity
tonibergholm-codento commentedon Oct 20, 2026
Ran all 27 demo/.sh scripts on macOS (Darwin arm64) against main@fddecf3: every script exits 0, and run_demo.sh prints 'ZERO-RESIDUE PROOF: PASSED'. No BSD/GNU portability failures found, so nothing to fix. One caveat: run_demo.sh diffs the whole project tree (including .git and .worktrees) and every scl- entry in $TMPDIR, so it reports failure when anything else (cargo test runs, other worktrees) writes there concurrently; run it on a quiet checkout or with an isolated TMPDIR. Not adding a macOS CI job for the scripts in this pass.