`homeboy daemon` command reference

Generated from the clap command tree. This page is the complete synopsis, argument, flag, and subcommand surface for this command family.

Concepts, recipes, and contracts are hand-written in docs/commands/daemon.md.

Global flags apply to every command and are documented once in the root command reference.

homeboy daemon

sh
homeboy daemon <COMMAND>

Run the local-only HTTP API daemon

SubcommandSummary
homeboy daemon startStart the local daemon in the background
homeboy daemon ensure-runningReturn the current live daemon or start one when no live daemon exists
homeboy daemon adopt-orphanExplicitly replace one proven-dead daemon lease and reconcile its durable jobs
homeboy daemon reconcile-dead-lease-orphansReconcile an exact PID-less job set after one proven unexpected daemon exit
homeboy daemon recover-missing-child-identityRecover one legacy job with exact PID and Linux start-tick evidence
homeboy daemon reconcile-leaseless-orphansExplicitly reconcile active jobs after proving a missing-lease store has no daemon owner
homeboy daemon recover-missing-lease-stateRecover one exact lease after its daemon state record was lost
homeboy daemon serveRun the local daemon in the foreground
homeboy daemon stopStop the background daemon recorded in the state file
homeboy daemon statusShow daemon state and selected local address
homeboy daemon broker-configRender deployable reverse-runner broker service configuration
homeboy daemon artifact-getFetch artifact bytes through the local daemon byte endpoint

homeboy daemon start

sh
homeboy daemon start [OPTIONS]

Start the local daemon in the background

OptionValueDescription
--addr<ADDR>Local bind address. Defaults to an OS-selected loopback port

homeboy daemon ensure-running

sh
homeboy daemon ensure-running [OPTIONS]

Return the current live daemon or start one when no live daemon exists

OptionValueDescription
--addr<ADDR>no help text
--replacement-operation-id<REPLACEMENT_OPERATION_ID>Controller-generated idempotency key for a replacement operation

homeboy daemon adopt-orphan

sh
homeboy daemon adopt-orphan [OPTIONS]

Explicitly replace one proven-dead daemon lease and reconcile its durable jobs

OptionValueDescription
--lease-id<LEASE_ID>Exact lease ID reported by homeboy daemon status
--confirm-pid-deadflagDeprecated no-op retained for one release; adoption already proves the recorded PID dead under the daemon lifecycle lock
--recover-missing-child-identityflagAccepted migration alias for legacy child recovery. It never mutates jobs
--confirm-untracked-child-dead<CONFIRM_UNTRACKED_CHILD_DEAD>Confirm the one expired PID-less reservation to terminalize before replacement
--addr<ADDR>no help text

homeboy daemon reconcile-dead-lease-orphans

sh
homeboy daemon reconcile-dead-lease-orphans [OPTIONS]

Reconcile an exact PID-less job set after one proven unexpected daemon exit

OptionValueDescription
--lease-id<LEASE_ID>no help text
--job-id<JOB_IDS>Exact, complete active durable-job set to terminalize. The store recomputes the active set and refuses any mismatch, so this is a compare-and-swap over the destructive scope, not a fact assertion
--confirm-pid-deadflagDeprecated no-op retained for one release; recovery already requires persisted unexpected-termination evidence and re-proves the PID dead
--confirm-workload-processes-absentflagRequired. Attests that the workload processes for –job-id were inspected and are absent. Unverifiable by design: this command exists because the daemon died before persisting any child identity, so the store holds no PID to check. Persisted as durable job provenance
--addr<ADDR>no help text

homeboy daemon recover-missing-child-identity

sh
homeboy daemon recover-missing-child-identity [OPTIONS]

Recover one legacy job with exact PID and Linux start-tick evidence

OptionValueDescription
--lease-id<LEASE_ID>no help text
--recorded-daemon-pid<RECORDED_DAEMON_PID>no help text
--recorded-daemon-endpoint<RECORDED_DAEMON_ENDPOINT>no help text
--job-id<JOB_ID>no help text
--child-pid<CHILD_PID>no help text
--child-starttime-ticks<CHILD_STARTTIME_TICKS>no help text

homeboy daemon reconcile-leaseless-orphans

sh
homeboy daemon reconcile-leaseless-orphans [OPTIONS]

Explicitly reconcile active jobs after proving a missing-lease store has no daemon owner

OptionValueDescription
--confirm-no-daemon-ownerflagno help text
--addr<ADDR>no help text
--replacement-operation-id<REPLACEMENT_OPERATION_ID>Controller-generated idempotency key for a replacement operation

homeboy daemon recover-missing-lease-state

sh
homeboy daemon recover-missing-lease-state [OPTIONS]

Recover one exact lease after its daemon state record was lost

OptionValueDescription
--lease-id<LEASE_ID>Exact lease ID captured before the daemon state record was lost
--recorded-pid<RECORDED_PID>Recorded daemon PID captured with the lease ID
--recorded-endpoint<RECORDED_ENDPOINT>Recorded concrete loopback endpoint captured with the lease ID
--confirm-pid-deadflagDeprecated no-op retained for one release; recovery already refuses a running recorded PID
--confirm-control-plane-lostflagDeprecated no-op retained for one release; recovery already requires an absent state record, a lease_missing freshness code, an unreachable daemon, and a failed probe of the recorded endpoint
--addr<ADDR>no help text
--replacement-operation-id<REPLACEMENT_OPERATION_ID>Controller-generated idempotency key for a replacement operation

homeboy daemon serve

sh
homeboy daemon serve [OPTIONS]

Run the local daemon in the foreground

OptionValueDescription
--addr<ADDR>Local bind address. Defaults to an OS-selected loopback port

homeboy daemon stop

sh
homeboy daemon stop [OPTIONS]

Stop the background daemon recorded in the state file

OptionValueDescription
--lease-id<LEASE_ID>Require this exact live daemon lease before stopping
--forceflagDirectly SIGTERM a matching stale or unreachable daemon lease. Requires –lease-id

homeboy daemon status

sh
homeboy daemon status

Show daemon state and selected local address

homeboy daemon broker-config

sh
homeboy daemon broker-config [OPTIONS]

Render deployable reverse-runner broker service configuration

OptionValueDescription
--listen-addr<LISTEN_ADDR>Stable loopback address for the VPS service
--binary-path<BINARY_PATH>Homeboy binary path used by the service unit
--user<USER>System user that runs the broker service
--group<GROUP>System group that runs the broker service
--domain<DOMAIN>Optional public hostname to render disabled Nginx/Caddy examples

homeboy daemon artifact-get

sh
homeboy daemon artifact-get [OPTIONS] <RUN_ID> <ARTIFACT_ID>

Fetch artifact bytes through the local daemon byte endpoint

ArgumentRequiredDescription
<RUN_ID>yesObservation run id that owns the artifact
<ARTIFACT_ID>yesArtifact id/path token from daemon artifact metadata
OptionValueDescription
-o, --output<OUTPUT>Destination file path. Defaults to the artifact id basename
--daemon-url<DAEMON_URL>Daemon base URL. Defaults to the address from homeboy daemon status