build(just): add just gate — one-command local green-check#45
Merged
Conversation
A billing-independent way to answer "is it green?" without GitHub Actions — useful while the hosted-runner billing is blocked (007 is a private repo, so CI draws the owner's GitHub Pro included minutes; the gate runs the same checks locally regardless). `just gate` runs every locally-faithful CI stage in sequence, CONTINUES past failures, and prints a per-stage PASS/FAIL/SKIP summary (non-zero exit on any FAIL): rustfmt · clippy · cargo test · grammar-check · verify-harvard · e2e · idris2 --check (all 12 Idris proofs) Stages that need an absent toolchain (idris2) or an external GitHub action (A2ML/K9 validators, security scans) self-SKIP with a notice instead of failing, so it runs anywhere. The rocq canonical-proof-suite (needs Rocq 9) and external manifest/security scans stay CI/nightly-only. Named `gate` to sit alongside the existing `ci` (build/test/lint/verify simulation) and `check` (fast fmt/lint/test pre-commit) without redefining them. Verified GREEN on main (7 PASS, 2 SKIP, 0 FAIL). https://claude.ai/code/session_018CaSgNjNURC7ocsyjYh9We
hyperpolymath
marked this pull request as ready for review
June 18, 2026 01:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Deliverable #1 from the "continue in-site" discussion: a one-command, billing-independent local green-check. While GitHub-hosted CI is blocked,
just gateruns the same checks locally and gives a single authoritative answer.Runs every locally-faithful CI stage in sequence, continues past failures, and prints a per-stage PASS/FAIL/SKIP summary (non-zero exit on any FAIL):
cargo fmt --all -- --checkcargo clippy --workspace -- -D warningscargo test --workspacetests/e2e.sh(parse + typecheck + run all examples)idris2 --checkof all 12 Idris proofsStages needing an absent toolchain (
idris2) or an external GitHub action (A2ML/K9 validators, security scans) self-skip with a notice rather than failing, so it runs anywhere. The rocq canonical-proof-suite (needs Rocq 9) and the external manifest/security scans stay CI/nightly-only — there's no local validator for them in-repo.Named
gateto sit alongside the existingci(build/test/lint/verify simulation) andcheck(fast fmt/lint/test pre-commit) without redefining either.Verified
Ran end-to-end on
main— GREEN ✓ (exit 0):(e2e internal tally: 49 pass / 0 fail / 17 intentional-skip.)
Scope
One file (
Justfile) + CHANGELOG + session-log. No code/compiler changes.https://claude.ai/code/session_018CaSgNjNURC7ocsyjYh9We
Generated by Claude Code