a1052f4fd1
The lead already owned the redeploy, but the command classifier refuses a bare kill on the daemon, so in practice every deploy still needed the operator to approve a stop and a start by hand. A single script is the seam that fixes that: the operator allow-lists one auditable command instead of two ad-hoc ones. It also stops the procedure from living only in a checklist people read after things go wrong. It builds before it stops anything, so a failed build never leaves the fleet down; waits for the old process to exit instead of assuming; polls /healthz; and anchors its log checks to a line marker taken before the restart, so old errors cannot be misread as new ones. The check with no log line anywhere in the daemon is the reason --check exists: bridged inherits WORKER_GITEA_TOKEN from the shell that starts it, and starting from a non-login shell empties it. The daemon boots fine, healthz is green, and the failure only appears later as workers that cannot open a PR. --check tests whether the name resolves and never prints the value.