Skip to main content

Module self_update

Module self_update 

Source
Expand description

soma self-update — operator-driven binary self-update (CLI infrastructure).

Thin adapter over the shared soma-self-update transaction crate: run downloads, stages, validates, and installs a new binary over the running executable; recover reconciles pending transaction state after a restart; confirm finalizes an update once the restarted service is healthy. Like doctor and watch, this is process infrastructure, not a service action — it has no MCP or REST parity requirement.

The operator supplies the directive (version, artifact URL, SHA-256) and is responsible for authenticating it — for example against a release page or a signed manifest — before typing it here. A digest fetched from the same server as the artifact proves transit integrity, not publisher identity.

Enums§

SelfUpdateCommand
Parsed soma self-update subcommand.

Functions§

run_self_update
Dispatch a parsed self-update subcommand against the running executable.