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>
The on-screen help line drifted from actual behavior and hardcoded default
keys, so it misled operators (especially with a customized keymap).
- Help key hints are now derived from the active keymap (`Keymap::hint`), so they
reflect remapped bindings instead of hardcoded defaults.
- Table pane: removed the bogus `ctrl+d/u page` (paging is detail-only; `ctrl+d`
is delete here) and `gg` (table uses a single `g`); added the bindings that
were missing — namespace cycle, sort, reverse, events, help toggle, clear-filter.
- Detail/Logs panes: advertise `t table` and `esc close` (both worked, unlisted);
clarified `gg/G`, `ctrl+d/u half-page`, `n/N match`, `/ search`.
- Docs reconciled: operator-guide navigation + commands (incl. `:api` / dynamic
resource browse), README scope note for dynamic discovery.
Tests: keymap hint rendering (default + remapped), and per-pane help accuracy
(table excludes paging/gg and includes namespace/sort/delete; detail includes
close/table/edit).
Validation: fmt, check, test (80 passed / 4 ignored), release build all green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- rewrite README for operator-first onboarding with clear goal/approach intro
- expand scope section with concrete supported resources and workflows
- add docs/operator-guide.md for runtime usage, navigation, logs, secrets, and troubleshooting
- add docs/contributor-guide.md for engineering standards, validation, and release responsibilities
- simplify CONTRIBUTING.md into a concise entrypoint that links to the detailed contributor guide
- remove docs/status.md and drop update-status job from release workflow
- standardize workflow display names to Krust / <Pipeline> convention
- ensure main-driven release pipeline always triggers and uses preflight docs-only gating
- verify release artifacts post-publish (linux/mac tarballs, SHA256SUMS, krust.rb)
- enforce semver bump and Cargo.toml version commit before tagging
- sync homebrew tap as part of release pipeline using generated formula from release checksums
- keep standalone Homebrew Tap workflow as manual fallback only
- update README release flow to document asset verification and tap sync
- make Release workflow run from main pushes and manual dispatch
- run validate gate (fmt/check/test/release build) before publishing
- compute semver bump automatically (major: BREAKING/!, minor: feat, patch otherwise)
- bump Cargo package version and push release tag from pipeline
- publish multi-platform artifacts and checksums to GitHub Releases
- add automated docs/status.md update after successful publish
- prevent circular release runs via [skip ci], bot actor guard, and docs/markdown push path ignores
- scope CI workflow to PR/manual to keep release pipeline as single main-path publisher
- add cached pulse metrics keyed by context/namespace/store revision to avoid recomputing heavy counts on every frame
- wire render loop to consume cached pulse metrics and invalidate only when underlying store revision changes
- add regression test for pulse cache reuse/invalidation behavior
- improve release workflow with manual dispatch support, deterministic tag/version resolution, checksum artifact generation, and idempotent release asset publishing
- add Homebrew tap sync workflow that generates and pushes Formula/krust.rb from release SHA256SUMS
- add formula generator script for macOS arm64/amd64 and linux amd64 release tarballs
- update README Homebrew install flow to short tap syntax and ignore .idea in repo
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
- remove dormant drill hierarchy paths from UI hot flow to reduce branching and dead state
- add active watch-plan reconciliation keyed by context+kind+namespace
- keep only active context fully hot with bounded warm-context TTL retention
- add runtime knobs warm_contexts and warm_context_ttl_secs and wire through startup options
- optimize logs rendering: non-wrap mode now renders viewport-only slices (O(visible))
- add versioned joined-log cache to avoid repeated full joins in wrap mode
- keep log memory bounded with existing line/byte caps and preserve search/highlight UX
- retain cached view projection by state revision + request to limit recompute churn
- add ignored perf benchmarks for projector, log viewport rendering, and warm-context selection
- update README runtime config and architecture notes
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