Changelog
What changed in each release. Update with muster update.
Added
muster setup --deploy-cmd api="./k8s-deploy.sh api"makesdeploy.shrun your existing deploy script from the project root ("deploy_cmd"→MUSTER_DEPLOY_CMD), while health, rollback and logs keep the stack's hooks. Setup findsdeploy.sh,*-deploy.sh,deploy/*.sh, and Makefile/justfiledeploytargets: the wizard offers them and--scansuggests them (deploy_scriptsin--dry-run --json). (#19)- Optional
"k8s": {"kubeconfig": "~/.kube/config"}, per service or top level. It is exported asKUBECONFIGto hooks and used by muster's own kubectl calls (logs, failure diagnosis, status, rollouts, preflight, doctor, setup scan); an inheritedKUBECONFIGstays the fallback. An unreadable kubeconfig (k3s's root-only/etc/rancher/k3s/k3s.yaml) gets a clear hint, andmuster cloud connectoffers to write a systemd drop-in so muster-agent seesKUBECONFIGtoo. (#18) - Hooks that need sudo: preflight warns before a deploy with no terminal when a hook calls
sudoand sudo would ask for a password.muster explainrecognizessudo: a terminal is required/a password is required/no tty present, and the docs show a narrow/etc/sudoers.d/<project>-deployNOPASSWD rule instead of storing a password. (#28) - Hooks always run from the project root with
MUSTER_PROJECT_DIRexported (the remoteproject_dirfor SSH services).
Changed
muster deployrun from the shell returns to the shell instead of showing "Press any key" and then opening the dashboard;qquits the bash dashboard. (#25)- A rolling deploy whose health check fails is logged
"status":"unhealthy"(with"health":"unhealthy") instead ofok; insights counts it as a failure. Additive to the--jsoncontract. (#21) - Hook approval covers every file under
.muster/hooks/, including shared helpers such as_common.sh,lib/, nested directories and non-.shfiles: changing one needs re-approval before any service deploys, rolls back or restarts.hooks statusmarks them(shared);--jsonadds"shared"and_shared/keys. Existing approvals stay valid; shared files are asked about once. (#29)
Fixed
muster logs <svc> --tail N(used by Fleet Cloud andmuster ask) runs a k8s service's ownlogs.shinstead of calling kubectl itself (--jsonreportssource: "hook"); kubectl is used only when there is no hook or it is the unedited generated one. A failing hook now reports its exit code. (#17)muster hooks status --jsonis about 160× faster (28 s → about 175 ms on a 5-service k8s project), so muster-tui no longer stalls before a deploy. The deploy gate's danger scan also ran for single-service deploys only; it now covers every selected service. (#20)muster explainand the dashboard Next step order a failure against later deploys by position in the event log, so a failure and a fix in the same second are no longer confused. (#21)- A built-in fix from
muster explain --fixor the failure menu re-approves themuster.jsonit changed (only when it was approved just before), so the next deploy doesn't stop for approval. (#22) - "Likely cause" and "Try:" lines wrap at the terminal width (max 80) with a hanging indent, without splitting the suggested command. (#23)
muster setup --updateshows each service's health from the merged muster.json instead of "disabled". (#24)muster cloud connect --yeson servers without systemd or launchd starts muster-agent in the background and waits for it to connect. (#26)- Dev-stack hooks never stop a PID from a stale PID file that belongs to muster or the session running it (possible after a container restart), and a terminal resize no longer makes a running hook look failed when muster uses its own timeout fallback. (#27)
- SSH remote hooks: exported variables and the
cdtoproject_dirwere joined onto one line, so with two or more variables the values were wrong and thecdnever ran.
Added
muster setup --cmd svc="python3 app.py"(repeatable) sets a dev/bare service's start command. It is stored once as"start"in muster.json and exported to hooks asMUSTER_START_CMD, sodeploy.shandrollback.shalways agree (before, each hook kept its ownSTART_CMDcopy and setup could leave it empty). On an existing project--cmdupdates muster.json in place and re-approves it.
Fixed
- Help and docs match the code:
muster fleet --helpno longer saysinitcreates remotes.json (the config lives in~/.muster/fleets/) and listsdeploy --sequential/--rolling;muster doctor --helpcounts its 8 categories (plus Environment);muster auth --helpputslogsin the read scope like the code and docs/ENGINE-API.md. remotes.json / groups.json are documented as legacy. - Installer: when
~/.local/binisn't on PATH it offers (default yes) to add the export to~/.zshrc/~/.bashrc/~/.profilebased on$SHELL(creating~/.profilewhen nothing else exists, never adding it twice); non-interactive installs do it only withMUSTER_MODIFY_PATH=1. muster-tui downloads are verified against the release'schecksums.txt, with a warning when a release has none; sha256 works withsha256sumwhereshasumis missing. muster cloud connecton a server without systemd or launchd (or when the service install fails) startsmuster-agent runin the background (PID/log in~/.muster/) and explains how to keep it running, and it only says the server "shows up under Servers" aftermuster-agent status --connectedsucceeds. It says "server" instead of "machine", andcloud login/statusshow "Team account" (or the team's name when the relay sendsorg_name) instead of the raw org ID.muster statuscounts services whose hooks wait for approval separately ("1 needs approval") instead of as unhealthy, says when the changed file is muster.json, and no longer printsTry: muster logs --tail 50with the service name missing.muster rollbackprinted "Rolling back <svc>..." twice; a failed deploy left the "0/1 Deploying <svc>..." progress line and the live log box on screen (they are now replaced by a red "<svc> failed" bar, like the success bar).- Dev stack: a deploy whose new process dies no longer leaves the app down. If the old version was running, the last successfully deployed commit is restarted from a
git archivesnapshot (your files untouched) and the deploy fails; without a recorded commit the previous command is restarted. Dev rollback now restores the files of the previous successfully deployed commit (branch unchanged, refuses when tracked files have uncommitted changes) instead of just restarting the current code. See docs/deploy/hooks.md. - Setup enables a health check for dev/bare services when it knows the port (TCP on the detected port) instead of
"enabled": false; dev/barehealth.shnow fails when nothing answers on that port (it only checked the PID before) and no port is guessed when the app gives no clue. - Generated hooks
cdto the project root first, somuster status/deploywork from any directory (the devhealth.shread its PID file relative to the current directory). - Bare hooks no longer run
git pull origin mainunconditionally (it failed in repos without a remote): setup enables the per-servicegit_pullwhen the branch tracks a remote, and muster's pull now runs in the project directory instead of the current one. Without a systemd unit named after the service (or without systemd), bare hooks run the start command under a PID file, or fail with one clear message naming the fix. muster setup --scandetects plain apps with no framework or containers (python3 app.py/main.py/server.pywith requirements.txt or pyproject.toml,npm start/node server.js,go run .for a lone main.go) as adevservice with the port read from the source, instead of "Nothing to deploy". Node projects with only astartscript now getnpm start(thedev-script check always matched before), and Django usespython3.
Added
- Blue-green and canary rollouts on plain Kubernetes Deployments, with nothing to install in the cluster: per-service
"strategy",muster rollout status [--watch],muster promote [--to N|--full],muster abort, gates (pod stability +health.sh), version/image/revision onstatus --jsonand deploy events,muster setup --strategy svc=canary. See docs/rollouts.md. muster insights [svc]: per-phase deploy timing (preflight, git pull, build, pod wait, health, rollout), trends, MTTR and ranked speed-up suggestions with estimated time saved;--fixapplies safe fixes. Also shown in doctor (Performance), the dashboard Next step and after an unusually slow deploy. See docs/insights.md.muster ask --provider anthropic|openai|openai-compatible|ollama: bring your own AI. Same tools, approvals and redaction as the hosted assistant, no Fleet Cloud login; keys from the environment or the system keychain (muster settings --global ai.api_key set),ai.providermakes it the default. Ollama runs fully offline.muster ask --server <name>: ask about a fleet server from anywhere (tools run on that server).- Full MCP server (
bin/muster-mcp, MCP 2026-07-28 plus the initialize handshake): 30 tools with schemas and annotations, resources, prompts, progress and cancellation; read-only by default, actions only with--allow-actions.muster mcp install claude|claude-desktop|cursor|vscode,muster mcp doctor. See docs/mcp.md. - Deploy activity reporting to Fleet Cloud when signed in (no logs, env values or hook data; IPs and paths masked). Opt out with
muster settings --global cloud.activity off,"cloud": {"activity": false}orMUSTER_CLOUD_ACTIVITY=0.muster cloud activityandmuster cloud notify test(Muster Pro alerts). See docs/cloud-activity.md. muster fleet test --json,muster fleet logs <server> <svc>,muster fleet restart <server> [svcs],muster fleet history <server>.muster completion bash|zsh|fish(commands, flags, services, fleet servers, envs) andmuster help <command>.- GitHub Action:
uses: Muster-dev/muster@v0deploys, rolls back, restarts or checks services (locally, over SSH withssh-key+known-hosts, or through Fleet Cloud withcloud-token). Grouped logs per service, a job summary table with the likely cause of failures,::errorannotations, and outputs (result,deployed,failed,summary-json,duration). muster ci init github|gitlabwrites a deploy workflow for the project (dry run on pull requests, deploy on main, environment + concurrency);muster ci envlists the secrets it needs;muster ci runis the CI engine for any CI system.- Releases publish
muster-X.Y.Z.tar.gzandchecksums.txt. - Fleet Cloud reads
MUSTER_CLOUD_TOKEN(andMUSTER_CLOUD_RELAY/MUSTER_CLOUD_ORG) from the environment. muster env: config, encrypted secrets and feature flags kept in the repo (.muster/env,muster.env.schema.json).init(imports an existing.env),set(hidden prompt for secrets),get,unset,list,diff,edit,history,check(CI gate),pull,example,keygen,recipient,rekey. Secrets are encrypted per value to each recipient with hybrid X25519 + ML-KEM-768 by the newmuster-crypthelper; removing a recipient rotates the data key. See docs/env.md.muster run [--env E] -- <cmd>: run a command with config, secrets and flags injected; nothing is written to disk.muster flag set|get|list|toggle|unset|reset [--local]: simple feature flags in flagd's format, delivered asMUSTER_FLAG_*env vars andMUSTER_FLAGS_FILE.muster env codegen ts|py|go: zero-dependency typed readers that validate every key at startup and keep secrets out of logs ([REDACTED]).muster env guard install: pre-commit hook that blocks.envfiles, muster keys, unencrypted secrets files and any file containing a secret's value.- Deploy hooks get the selected env in memory (
env.source: "muster"in muster.json, or automatically when there is no.env). Secret values are masked in deploy logs and inmuster ask. - Installer: optional
muster-crypt(prompt, orMUSTER_WITH_CRYPT=1), pinned and checksum-verified.
Changed
- MCP (breaking): the old
muster_*tools (muster_list_services,muster_deploy,muster_write_hook,muster_set_credential, …) are replaced by the new tool set (project_info,status,deploy,logs,history,hooks_status, …). The server no longer writes hooks or credentials; deploys go through hook approvals and default to a dry run. Re-runmuster mcp install <client>. muster --helpis grouped by task; every error suggests the closest command, flag, service or server and prints aTry:line; one symbol set everywhere (✓ ✗ › •); a missing tool prints one install line.- Startup is about 25× faster (one
shasum -cfor the integrity check). - Fleet Cloud requests identify the client (
X-Muster-Client: muster-cli/<version> (<os>; bash <x.y>)); an outdated muster gets "too old for Fleet Cloud — run muster update". MUSTER_DEPLOY_TIMEOUTis exported to every stack's hooks whendeploy_timeoutis set (was Kubernetes only).- Fleet commands refuse unknown servers and groups instead of acting on them.
- On CI without a TTY: colours are off unless
FORCE_COLORis set, failed hooks and health checks produce GitHub annotations (MUSTER_GITHUB_ANNOTATIONS=offto disable), and SSH host keys are checked strictly (MUSTER_SSH_HOSTKEY_CHECK=yes; setaccept-newto opt out). - Service credentials are read from
MUSTER_CRED_<KEY>when set, before the keychain or a prompt. - Global flags (
-q,--verbose, …) after--are passed through to the wrapped command instead of being consumed by muster.
Fixed
muster fleet deploy --parallel(and--sequential/--rolling) crashed with_cfg_strategy: unbound variable.muster fleet group/ungroupdid nothing with the~/.muster/fleets/layout. A group is now a fleet:fleet groupmoves the servers into it (a server belongs to one group at a time).- "Approve and deploy",
--yesandMUSTER_APPROVE_HOOKS=1could approve a hook thatmuster hooks approverefuses as dangerous; every approval path now applies the same dangerous-command check (MUSTER_HOOK_UNSAFE=1still bypasses it). A line matching several patterns is reported once. muster explainwith no recorded failure no longer calls the newest successful deploy "deploy failed": it says there's nothing to explain (--json:reason: "no_failure").muster setup --scanlisted each Kubernetes Deployment twice (manifest name and cluster name); they are merged.- The canary pause menu listed "Promote to 100%" twice when the next step was 100%.
- Parallel
muster flag setcalls (for example from MCP) could lose writes; the env store is now locked around changes. muster settings --globalcould crash; doctor's summary and several no-project hints were wrong.- Build-context detection no longer loops forever when a service has no source directory.
- The integrity-check failure message respects
NO_COLORand non-TTY stderr. - A deploy without a TTY could hang on a password prompt reading an open stdin (SSH password auth). Prompts now refuse to read without a TTY, hooks get
/dev/nullas stdin, andfleet add,fleet setup-userandfleet skill configureno longer read stdin without a terminal. - The credential prompt read from the key list instead of the terminal when a service needed more than one credential.
- Blue-green and canary rollouts on plain Kubernetes Deployments, with nothing to install in the cluster: per-service
Added
muster ask --server <name>: ask the Muster Assistant about a fleet server from any folder. Status, logs, deploy history and hook approvals are read on that server (SSH or Fleet Cloud) and redacted before they leave this computer; deploy, rollback and restart still need your approval. Consent is asked once per server.muster fleet history <server> [svc] [--all] [--json]: a server's deploy and rollback history.
Fixed
muster restart(andfleet restart,rollback --json) waits up to 30 seconds (MUSTER_HEALTH_WAIT) for the service to come up before reporting it unhealthy, instead of checking once right after the restart.
Added
muster fleet logs <server> <service> [--tail N] [--json]: read a server's logs over SSH or Fleet Cloud.muster fleet restart <server> [service...] [--yes] [--json]: restart services on a server (asks first).muster fleet test --json: per-server connectivity results with latency, for muster-tui and scripts.status --jsonandfleet status --jsonreportmuster_version.
Changed
- Fleet output says "server"/"servers" instead of "machine(s)".
muster cloud loginnames the login after this computer and its OS, says "Personal account", and lists the next steps; Fleet Cloud wording matches the dashboard (Servers, Access).fleet deploy --dry-runno longer lists cloud servers as unpaired.
Fixed
muster askretries transient network and server errors instead of ending the conversation.- The
forbiddenscope error in--jsonmode is valid JSON. - Misaligned borders on fleet list, test, status and results boxes.
Added
muster ask: the Muster Assistant (Fleet Cloud). Reads status, logs, history, doctor and hooks, explains what broke, and proposes actions that only run after you approve them. Everything is redacted on your machine before it's sent (lib/core/redact.sh); per-project opt-in in.muster/assistant.json; global kill switchmuster settings --global assistant off;--jsonmode for muster-tui. The deploy failure menu offers "Explain with AI" when you're signed in.muster cloud connect: pair a server with Fleet Cloud using a code and QR (installs or updates muster-agent, runsmuster-agent pair, offers to install it as a service).muster cloud login --qrprints a QR of the login URL whenqrencodeis installed.- Offline failure explanations: 42 rules (
lib/core/hints.sh) turn log lines, exit codes and environment into "Likely cause / Try", with a one-key "Fix: …" entry in the recovery menu when a safe fix exists.muster explain [service|--last|--log FILE] [--json] [--fix]. Reference:docs/troubleshooting.md. - Preflight before every deploy: tools, Docker daemon, kube context/namespace, disk, ports, hook permissions, env vars, git state, stale locks, SSH reachability. Fix it / Continue anyway / Abort on a TTY; skip with
--no-preflight. muster setup --updatere-runs on an existing project, adding new services while keeping your muster.json changes and edited hooks; setup writes atomically (Ctrl+C leaves nothing half-written); health checks are probed before saving.- "Did you mean…" for mistyped commands, flags and services; a "Next step" line on the dashboard; pickers remember your last choice;
muster doctorgroups output into "Needs attention" and "Fine" and--fixcovers every fixable rule. - Engine API for frontends and scripts, documented in
docs/ENGINE-API.md: muster setup --scan --dry-run [--json]: preview what setup would configure (stack, services, health, hook templates, deploy order, warnings) without writing anythingmuster hooks status [--json]: per-file approval state (approved / changed / new / missing), plus muster.json and .envmuster hooks approve --yes [service...] [--json]: approve pending hooks without a promptmuster deploy --stop-on-failure(rest reported asnot_run) and--from <service>to resumemuster rollback <service> --jsonwith the same events as deploymuster restart <service> [--json]: restart.sh hook,kubectl rollout restart,docker compose restartordocker restart, else a clearly announced redeploymuster logs <service> --tail N [--follow] [--json]- k8s failures in
--jsonmode emit adiagnosisevent (pattern, pod, pod status, hint, events, log tail) - richer
status --json(stack, health target, last deploy, lock holder, k8s replicas, checked_at);doctor --jsonmarks checksfixable;history --jsonincludessource fleet list --json/fleet status --jsonreturn one consistent shape for remotes.json and fleet dirs;cloud status --json
Changed
- Breaking for JSON consumers:
fleet list --jsonreturnsmachinesandgroupsas arrays of objects, andfleet status --jsonreturns{"status":[…]}instead of a bare array. muster-tui needs an update to read the new shape.
Fixed
- JSON output escapes tabs and control characters (log lines with tabs or ANSI colors produced invalid JSON)
- Remote deploys/rollbacks failed with exit 127 when GNU
timeoutwas installed (it can't run shell functions) - The curl/wget-pipe-to-shell dangerous-command patterns never matched
setup --scanno longer turns an image name in docker-compose.yml (e.g.nginx:alpineon awebservice) into an extra servicestatus --jsonno longer prints prose into the JSON when a health hook is blockedfleet statuscounted healthy services from a fieldstatus --jsonnever had
Fixed
- One Ctrl+C (or SIGTERM, e.g. cancelling in muster-tui) now cancels a running deploy: the hook and everything it started are stopped, locks released, history records "cancelled", exit code 130. Previously the hook kept running, the lock stayed, and the deploy could be recorded as "ok"
- Per-service
deploy_timeoutis honored for every stack (it only applied to k8s services) in deploy and rollback - A muster.json that isn't valid JSON gets a clear parse error with line/column
- The live log box's bottom border was one column too wide, leaving stray characters
Fixed
- Installer: pairing muster-tui always failed with a misleading "jq may be missing" warning; it now pairs through the installed CLI (or says it connects on first run), and the version line no longer repeats the name
muster doctorno longer warns about a missing.env(it's optional)- Tests check file modes with GNU
statfirst, so the Linux CI job passes
Added
muster cloud login | logout | status: sign in to Fleet Cloud with a browser device code; the CLI token is stored in the system keychain (0600 file fallback) and fleet/group cloud transport uses it automatically- Cloud transport speaks to hardened Fleet Cloud agents (v0.3.0+) with plain
muster …commands: fleet add/test/status/deploy/rollback and group deploy/status work end to end through the relay muster initalias formuster setup- Setup infers health checks from compose ports, Dockerfile
EXPOSE, k8s manifests and well-known infra ports - One-screen quick setup: scan → summary → "Create it" (1 prompt instead of 8 for a typical compose app); per-service questions only under "Customize"
- Deploy summary table (service, result, time, health) and a final
{"event":"summary"}line in--jsonmode - Preflight checks before any hook runs: Docker/Compose running, Kubernetes context reachable
- Hook approval prompt (show diff / approve and deploy / abort);
--yes/MUSTER_APPROVE_HOOKS=1for CI muster deploy api webdeploys several services in the order given; flags may come anywheremuster fleet addcreates the fleet config on first use- muster-tui (the full-screen app) is the recommended default in the installer
Changed
- Hook approvals live in a per-user trust store (
~/.muster/trust/) instead of the repo, so teammates no longer see each other's hooks as "tampered"; old in-repo manifests are imported automatically - Generated hooks are owner-writable (
755);muster hooks lockis opt-in - Generated
muster.jsonno longer contains an absoluterootpath; service names default to their keys muster deploy/rollbackexit 1 when any service fails, is blocked, or fails its health check (also in--jsonand CI)- No ANSI escape codes or spinner frames when output is piped,
NO_COLORis set, orcolor_mode=never - The installer only prompts when a terminal can actually be opened (CI / cloud-init installs work);
MUSTER_YES=1forces non-interactive - The token is passed to
muster-tunnelviaMUSTER_CLOUD_TOKEN, never on the command line - Docs:
muster doctordescribed as 6 diagnostic categories (not "13 checks"); fixed stale doc paths in CLAUDE.md/llms.txt; hook template counts now include thedevstack
Fixed
- Concurrent
--jsoncalls could wipe every API token (shared temp file, no lock) - Editing your own hook made
muster deploysilently skip the service, print "Deploy complete" and exit 0 muster setup --scanprinted a rawjq: error--minimalreported disabled health checks as "unhealthy" (stale shared cache)musterinside an already configured project started first-run onboarding- Cloud setup wizard stored the CLI token in plaintext in
~/.muster/settings.json - Remote
group addsaved a broken project (jq syntax error); rolling fleet deploy called missing functions; a failed fleet/group deploy retried forever without a TTY - Tests could write skills and tokens into the real
~/.muster - Group deploy service picker matched selections by display name, so picking
apiin one project also selected every other project'sapi; selections are now mapped by item index - Group deploy service picker deployed *all* services of a project when none of its services were selected; such projects are now skipped (and the progress total reflects the filtered selection)
- Scanner
_scan_hintrangrepwith no file arguments when no hint files existed, so it read stdin — hangingmuster setup --scan(and the test suite) whenever stdin was an open pipe, or detecting services from piped input - Group remote deploy broke when the deploy identity (e.g. git
user.name) contained a single quote - ShellCheck warnings (
--severity=warning) acrosslib/somake lintpasses in CI make lintran ShellCheck over every file in one process, which was OOM-killed (and CI's ubuntu job cancelled); it now runs one file per invocation
Added
- Per-service deploy locks with team identity (
deploy_name> gituser.name>whoami);--forceoverride; fleet-aware remote locks; dashboard shows[locked by <name>] - Global settings
deploy_nameandservice_lock_timeout - First-run onboarding flow (splash → welcome → setup offer) and setup wizard step indicators
- LED dot-matrix splash animation (
lib/tui/matrix.sh) - Group deploy service picker: choose "All services" or select individual services per project (
checklist_grouped_select) - Group remote deploys auto-detect the remote project directory when none is configured, and forward the host's deploy identity via
MUSTER_DEPLOY_USER - New test files:
test_tui.sh,test_onboarding.sh
Changed
- Group projects are loaded from fleet-dir
project.jsonconfigs - Hooks are invoked as
bash "$hook"(deploy, rollback, status, logs, cleanup, dev) - Remote group/trust commands run with
MUSTER_NO_VERIFY=true; sync-mode projects skip the remote trust gate muster deployrefreshes the build-context overlap cache when stale instead of only reading it
Fixed
- Deploy lock
terminalfield recorded "not a tty" in non-interactive sessions
- Per-service deploy locks with team identity (
Added
- 7 new test files: deploy pipeline, rollback, status, doctor, build context, fleet deploy, dev stack (76+ new assertions)
- All 19 test files now pass (272 total assertions)
- CI: ShellCheck installation in GitHub Actions workflow
- CI: macOS compatibility job for bash 3.2 testing
Added
- Comprehensive test suite: fleet skills, fleet config, fleet crypto, skill lifecycle, skill templates, scanner, integrity (7 new test files, 120+ new tests)
- All 12 test files now pass (196 total assertions)
Fixed
config_services()null byte case pattern bug —$'\0'in case expands to empty string matching all keys, silently skipping every service- Pre-existing
test_config.shfailures (config_services lists api/redis)
Added
- Built-in skill templates: Discord, Slack, Webhook — all with fleet hook support
muster skill create discord/slack/webhookcopies from built-in templates instead of blank stub- Skill create output now lists available built-in templates
Changed
- Updated README.md: fleet skills section, fleet encryption/agents, documentation table, expanded commands table
- Updated FLEET.md: fleet skills section, fleet encryption, fleet skill/agent commands
- Updated docs/skills/skills.md: full fleet-aware Discord example, built-in templates section
- Reorganized docs into feature subfolders (deploy, fleet, skills, security, agent)
Added
- Fleet skill hooks: skills now fire during fleet deploy/rollback operations
- New fleet hooks:
fleet-deploy-start,fleet-deploy-end,fleet-machine-deploy-start,fleet-machine-deploy-end,fleet-rollback-start,fleet-rollback-end - Per-fleet skill configuration via
skills.json(enable/disable skills per fleet, override config) - Fleet env vars for skills:
MUSTER_FLEET_NAME,MUSTER_FLEET_MACHINE,MUSTER_FLEET_HOST,MUSTER_FLEET_STRATEGY,MUSTER_FLEET_MODE muster fleet skill list/enable/disable/configurecommandsrun_fleet_skill_hooks()inlib/skills/manager.sh— fleet-aware skill runner with config overlay
Added
- Fleet encryption: RSA-4096 keypair per fleet for encrypted agent reports
- Hybrid encryption: AES-256-CBC session keys wrapped with RSA-4096 (openssl)
- New
lib/core/fleet_crypto.sh— fleet keygen, encrypt, decrypt, report cache - Agent report encryption: scouts encrypt reports before pushing to HQ
- Setup Step 5 "Deploy scouts" — agent install integrated into fleet setup wizard
- Push + pull fallback:
fleet agent-statusreads local cache, falls back to SSH
Changed
muster fleet keygennow generates both signing and fleet encryption keys- Agent push reports land in
~/.muster/fleets/<fleet>/reports/<host>/ - Agent status displays encryption indicator and report age
Changed
- Fleet setup wizard: SSH config import, remote auto-detection, existing fleet selection
- Stack picker no longer shows duplicate entries when auto-detecting remote stack
Added
- Fleet directory-based config at
~/.muster/fleets/<fleet>/<group>/<project>/ - New
lib/core/fleet_config.sh— foundation API for fleet/group/project CRUD - Auto-migration from legacy
groups.jsonandremotes.jsonto fleet dirs - Polished fleet setup wizard with streamlined 5-step flow
Changed
- Fleet commands now read/write from directory structure instead of flat JSON
- Dashboard fleet panel uses fleet dirs with legacy fallback
- Doctor, deploy, sync, and agent commands support fleet dirs
groups.shdelegates tofleet_config.sh(function signatures preserved)fleet.shconfig CRUD replaced with shim mapping_FP_*to_FM_*
- Fleet directory-based config at
Fixed
- Installer now says "Downloading" instead of "Cloning" for fresh installs
- Minor bug fixes
Added
- App file integrity system — SHA256 manifest of all source files, verified on every launch
muster verifycommand — full file-by-file integrity check (--quickfor signature only,--jsonfor machine output)--no-verifyflag to bypass startup integrity check- Inline bootstrap trust chain — verifies integrity libs themselves before sourcing (zero-dependency openssl + shasum)
- Tamper detection with interactive repair — shows which files changed, offers
git checkout+ manifest regeneration - Doctor integration —
muster doctornow checks app file integrity - Post-install manifest generation — fresh installs get integrity tracking automatically
- Post-update manifest regeneration — updater regenerates manifest after pulling trusted code
- Makefile targets:
make manifest,make manifest-sign,make manifest-verify - Installer now shows version number during clone/update
Changes
- Updated updater and minor bug fixes
- Installer now installs from official releases (not source)
- Downgrade protection when switching from source to release channel
- Source mode warnings for non-production use
- Updates panel in settings with changelog viewer
- Fleet Sync (beta)