Skip to content

build(just): add just gate — one-command local green-check#45

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/just-gate-local-ci
Jun 18, 2026
Merged

build(just): add just gate — one-command local green-check#45
hyperpolymath merged 1 commit into
mainfrom
claude/just-gate-local-ci

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What

Deliverable #1 from the "continue in-site" discussion: a one-command, billing-independent local green-check. While GitHub-hosted CI is blocked, just gate runs the same checks locally and gives a single authoritative answer.

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):

stage source of truth
rustfmt cargo fmt --all -- --check
clippy cargo clippy --workspace -- -D warnings
test cargo test --workspace
grammar-check Pest consistency (existing target)
verify-harvard Harvard invariant (existing target)
e2e tests/e2e.sh (parse + typecheck + run all examples)
idris2-proofs idris2 --check of all 12 Idris proofs

Stages 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 gate to sit alongside the existing ci (build/test/lint/verify simulation) and check (fast fmt/lint/test pre-commit) without redefining either.

Verified

Ran end-to-end on mainGREEN ✓ (exit 0):

✓ PASS rustfmt   ✓ PASS clippy        ✓ PASS test
✓ PASS grammar-check  ✓ PASS verify-harvard  ✓ PASS e2e
✓ PASS idris2-proofs  ⊘ SKIP a2ml (no local validator)  ⊘ SKIP assail (panic-attack absent)
RESULT: GREEN ✓

(e2e internal tally: 49 pass / 0 fail / 17 intentional-skip.)

Scope

One file (Justfile) + CHANGELOG + session-log. No code/compiler changes.

Context: 007 is a private repo, so hosted CI draws the owner's GitHub Pro included minutes; the current block is a billing-settings state (owner-side). This gate makes "is it green?" answerable without waiting on that.

https://claude.ai/code/session_018CaSgNjNURC7ocsyjYh9We


Generated by Claude Code

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
hyperpolymath marked this pull request as ready for review June 18, 2026 01:53
@hyperpolymath
hyperpolymath merged commit f811489 into main Jun 18, 2026
1 of 24 checks passed
@hyperpolymath
hyperpolymath deleted the claude/just-gate-local-ci branch June 18, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants