Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

majordomus serve ensure

Make sure a ready server serves this checkout: start one when there is none or the lease is stale, wait for one that is starting, and report where it stands

What it is

read only

Make sure a ready server serves this checkout: start one when there is none or the lease is stale, wait for one that is starting, and report where it stands

Identity
executable.serve.ensure
Program
executable
Runs
long running
Requires
repositorylayer
No machine surface carries this command: serves until it is stopped; a request/response surface cannot carry it

Where it appears

Command line
majordomus serve ensure
Workflow
just serve-ensure
MCP tool
—
HTTP
—
Declared in
apps/majordomus-cli/src/cli.rs
Capability
—

Arguments

argumentvalues fromrequiredhelp
--port—The port the started server asks for first, without it the one this checkout derives (8741 for the primary checkout); a taken one is replaced by a free one
--idle—The started server stops when no peer has been attached for this many seconds; without it, the policy's declared `server.idle_seconds`, 900 when none is declared
--wait—How long to wait for a server to become ready before reporting what stands
--format—Output shape
--repo—Start the search for the repository root here (default: the current directory)
--discovery—How declarative files are enumerated
--strict—Refuse to proceed when any file of the layer carries an error diagnostic
--share—The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable