Skip to content

feat(cli): canonical lifecycle contract (start/stop/restart/up/down/ps/reset) + v8.5.1454 - #107

Merged
zeekay merged 1 commit into
mainfrom
feat/canonical-lifecycle-contract
Nov 27, 2026
Merged

zeekay merged 1 commit into
mainfrom
feat/canonical-lifecycle-contract

Conversation

@zeekay

@zeekay zeekay commented Nov 27, 2026

Copy link
Copy Markdown
Member

Implements the canonical Hanzo CLI lifecycle contract:\n\n- hanzo start / hanzo stop / hanzo restart manage the local runtime (microVM + k3s + containerd).\n- hanzo up / hanzo down manage workloads (Cloud + apps) on top of a warm runtime.\n- hanzo ps surfaces local runtime, k3s, Cloud, and hanzod status alongside active sandboxes.\n- hanzo reset [--all] explicitly wipes local dev state.\n\nVerified: 470/470 unit tests + cargo clippy --locked --all-targets -- -D warnings (0 warnings).

…/up/down/ps/reset) and release v8.5.1454

- hanzo start: boot local runtime (microVM + k3s + containerd + airgap images) without deploying Cloud.
- hanzo stop: gracefully drain Cloud workloads and shut down the local runtime microVM (leaving hanzod alive).
- hanzo restart: restart the local runtime and restore Cloud if it was previously running.
- hanzo up: implicitly starts runtime if stopped, deploys Deployment+Service on runtime-only k3s, scales warm Cloud back to 1 with zero pulls, or applies overrides in place.
- hanzo down: stops Cloud workloads (replicas=0) while keeping local runtime & image cache warm (--vm/--all delegates to stop).
- hanzo ps (alias on ls) / hanzo up ps: shows live local runtime, k3s, Cloud, and hanzod status.
- hanzo reset [--all]: stops runtime and removes ~/.hanzo/up + ~/.kube/hanzo.yaml (and cached k3s checkpoints with --all).
@zeekay
zeekay merged commit 7262558 into main Nov 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant