build: add a justfile mirroring the CI gates#39
Merged
Conversation
Encodes the exact commands from .github/workflows/ci.yml as `just` recipes so local runs match CI and can't drift: `just fmt`, `clippy` (fresh-isolated target/clippy + -D warnings — the only form that matches the runner), `test`, `headless`, `version-gate`, `deny`, `audit`, with `just ci` running the full set; plus `just fuzz [secs]` (nightly) and `just pqc`. `just --list` shows them all. - README + CHANGELOG note the recipes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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
Adds a
justfilethat encodes the exact gate commands from.github/workflows/ci.ymlasjustrecipes — so local pre-push checks match CI and can't drift, and the CI-exact incantations (which I've been running by hand) are one keystroke.Recipes
just fmt/just fmt-fixjust clippy— CI-exact: fresh-isolatedCARGO_TARGET_DIR=target/clippy+RUSTFLAGS=-D warnings(a warm cache false-greens vs the runner)just test(RUSTFLAGS=-D warnings) /just test-live(--ignored)just headless(CLI without TUI, agent without clipboard)just version-gate(vault --versioncarries the §13.2 block)just deny/just auditjust fuzz [secs](nightly EncString harness;just fuzz 86400= the v0.1 soak) /just pqcjust ci— fmt → clippy → test → headless → version-gate → deny → audit, in orderjust --listshows them allVerification
just --listparses cleanly;just fmtandjust version-gaterun green locally. No Rust changed, so the CI jobs themselves are unaffected (CI invokes the cargo commands directly, notjust). All three tools (cargo-deny/cargo-audit/cargo-fuzz) confirmed installed.This was the last tracked dev-ergonomics follow-up.
🤖 Generated with Claude Code