Files
krust/.github/workflows
Erfan YousefiandClaude Opus 4.8 897fd38066 build: add Makefile as the single entry point for dev/CI/release
One make interface that runs the same commands locally and in CI.

- `make validate` = fmt-check -> check -> test -> release build (the pre-PR gate).
- `make ci` (alias) is now what .github/workflows/ci.yml runs; release.yml's
  validate stage runs `make validate` and its per-target build/package runs
  `make package TARGET=<triple>` (byte-identical artifact: krust-<triple>.tar.gz
  containing krust-<triple>/{krust,README.md,LICENSE}).
- Convenience targets: fmt, check, clippy, test, build(-release), run, clean,
  package; lab-{up,load,contexts,crds,churn,down} wrap scripts/scale; and
  bench/bench-contexts/soak/discover/metrics wrap the headless harnesses.
- cargo is resolved robustly (PATH, then a Homebrew keg-only rustup, else
  plain cargo) and its dir is put on PATH so external subcommands (cargo-fmt,
  cargo-clippy) and rustc resolve even when rustup is keg-only.
- dist/ (package output) gitignored. Docs (contributor guide, AGENTS, README)
  point at `make validate`.

Verified locally: make validate green (85 tests), make package produces the
release tarball, cargo resolves with no keg on PATH. CI running `make ci` on
this PR is the cross-environment proof.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 00:00:48 +02:00
..