080. The daemon starts on the last config that did, when an edit is refused

Status: accepted 2026-11-04 by the owner ("keeping a working copy of config makes a lot of sense"); built.

Context

The daemon exits when its config is refused: at load (it does not parse, or Validate refuses it), or when a mesh fails to start from it. Under systemd that is a restart loop with every mesh down, including the one the machine is reached over. Whoever edited the file then needs another way in to fix it.

On 2026-11-04 the owner edited k11's config to move Home Assistant from a service to a LAN host (ADR-068). The daemon did not come back, k11 left the home mesh, and it was reached only over the relay, from the office: it waited until he was home. "We need to figure out a way to prevent bad config killing shrooms."

Services were made non-fatal for the same reason earlier (Validate says nothing optional may stand between a machine and its own mesh), and LAN hosts the same day (ADR-068's note). That covers the optional parts. This covers the rest: any edit at all.

Decision

Consequences