hephaestus/docs/changelog.d/daemon-self-update-interval.feature.md
Erich Blume 626c796e6c
All checks were successful
Build / validate (pull_request) Successful in 5m45s
feat(heph): bake daemon mode/hub/oidc/self-update-interval into the service
`heph daemon start`/`restart` previously hardcoded `hephd --mode local` and
only wired the bare `--self-update` bool — the poll interval and all spoke/hub
sync config (`--hub-url`, `--http-addr`, `--oidc-*`) could not be set on the
managed service without hand-editing the plist/unit (which a later
start/restart would clobber).

Generate the hephd arg vector from a DaemonConfig and add the corresponding
`heph daemon start/restart` flags: --mode, --hub-url, --http-addr,
--oidc-issuer, --oidc-audience, --oidc-client-id, and
--self-update-interval-secs. Regenerating now reads the existing service file
and preserves any flags not passed (start as well as restart), so a bare
invocation never silently drops baked config.

Closes the "pass through --self-update-interval-secs" and "bake hub/spoke
config into the generated service" backlog tasks.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 13:25:15 -07:00

454 B

heph daemon start/restart can now bake the daemon's full runtime config into the managed service — --mode, --hub-url, --http-addr, --oidc-issuer/--oidc-audience/--oidc-client-id, and --self-update-interval-secs (previously only the bare --self-update bool was wired). Regenerating preserves whatever is already baked into the on-disk plist/unit, so a bare start/restart no longer silently drops spoke/hub or self-update config.