Skip to content

Run the demo/*.sh proof scripts on macOS (minos) #218

Closed

Description

@tonibergholm

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.

Activity

  1. tonibergholm-codento commented on Oct 20, 2026

    @tonibergholm-codento
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions