Read CONVENTIONS.md before any git operation.
Rust CLI for launching vLLM/SGLang inference containers across DGX Spark clusters via SSH. Docker default. tmux alternative.
Stack: Rust edition 2024. clap, tokio, russh, anyhow, tracing, fluent-i18n.
| Action | Command |
|---|---|
| Build | cargo build |
| Test | cargo test (128 tests) |
| Lint | cargo clippy (-D warnings) |
| Preflight | make check (fmt→clippy→test→≤500 lines) |
| Dry-run | cargo run -- -d serve --recipe <name> |
| CI | gh pr checks (when a PR is open) |
CLI dispatches subcommands: serve, stop, logs, health, doctor, exec, power, tmux, build.
orchestrate/ ties cluster selection, before_serve hooks, docker launch, ssh exec.
config/ loads config.toml + recipes. docker/ owns build, sync, command, compose, mods.
ssh.rs wraps russh for per-node remote execution.
See specs/tech-architecture/tech-stack.md for the full architectural map.
make check MUST pass before every commit. No exceptions.#[allow(...)] attributes. Refactor to fix clippy.Co-authored-by footers. Author solely as the user.feat(...), fix(...), docs(...).sm121 health before stop or power off. The cluster serves live traffic.stop or power off without health + user confirmation.health first.
| Glob | Source of truth |
|---|---|
recipes/**, docker-images/**, host-scripts/** |
AGENTS.md |
src/**, locales/** |
CONVENTIONS.md + specs/ |
| Cluster/recipe/config format questions | AGENTS.md (cluster ops SoT) |
| Dev workflow / planning / lifecycle | specs/ (bigpowers SoT) |
/Volumes/main/projects/git.kilork.org/kilork/sm121-launchergit.kilork.org/kilork/sm121-launcher.gitkilork (from config.toml)~/.pi/agent/npm/node_modules/bigpowers/scripts/
specs/ before writing code.AGENTS.md owns cluster/recipe ops. CONVENTIONS.md owns dev workflow.