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>
This commit consolidates the first production-ready baseline for krust, including core runtime behavior, operator UX, safety rails, and project publication assets.\n\nCore runtime and architecture\n- Implement lazy, active-scope watch-plan reconciliation across contexts/kinds/namespaces\n- Keep warm-context retention bounded by TTL for faster context switching\n- Add bounded watch reconnect handling and terminal handling for RBAC-forbidden watchers\n- Keep invalidation-driven rendering with FPS control and bounded log/state paths\n\nOperator UX and workflows\n- Expand k9s-style navigation/command aliases for supported Kubernetes resources\n- Improve pane consistency for table/detail/log overlays and scrolling behavior\n- Add detail viewer search semantics (non-destructive search/highlight) with match navigation\n- Add YAML/JSON detail format toggle and syntax highlighting for both formats\n- Add secret decode pane improvements and format-aware edit/apply behavior\n- Add clipboard copy and dump flows with native backend + OSC52 fallback\n\nSafety and action model\n- Keep readonly enforcement for mutation paths\n- Maintain guarded action behavior and clearer error/status surfacing\n\nDocumentation and open-source readiness\n- Rewrite README for community-facing onboarding and operational clarity\n- Add architecture and performance guides under docs/\n- Add CONTRIBUTING guide and PR template\n- Add GitHub Actions CI pipeline (fmt/check/test/release build)\n- Add GitHub Actions release pipeline for tagged multi-platform artifacts\n- Add Cargo package metadata and repository links\n- Add .gitignore hygiene for macOS Finder artifacts\n\nQuality and verification\n- Bring strict clippy (-D warnings) to clean state for current codebase\n- Validate full required pipeline: fmt, check, test, and release build
This checkpoint captures the latest end-to-end UX and engine improvements for high-scale Kubernetes navigation and operations.
Highlights
- add GenAI-native AGENTS.md operating contract with mandatory fmt/check/test/release pipeline
- require explicit user authorization before commits while preserving agent autonomy for commit boundaries
- define performance-first thinking model for large multi-context, high-resource clusters
- implement command field and richer command handling paths including contexts/resources/container command support
- improve context and namespace selection flows with enter-based selection behavior
- add real-time filtering and command autocomplete refinements
- add Vim-like detail-pane navigation/search motions (/, ?, n/N, gg/G, ctrl+d/u)
- add detail-pane search filtering and visual match highlighting
- upgrade detail/log viewer titles with stateful viewer metadata (mode/search/line/wrap)
- add container picker UX via 'c' key and :c command for pod container targeting
- expand log streaming to aggregate multi-target streams:
* pod -> all containers by default (or selected container override)
* replicaset -> all replica pods
* deployment -> all replica pods via owned ReplicaSets
- prefix aggregated log lines with source identity for fast human parsing
- keep bounded log buffers and reconnect behavior for resilient streaming
- update watch activation to ensure dependent resource kinds are observed when logs require fanout
- update help/status messaging to surface new controls and behavior