← back to Nas Setup
daemon-health: dual-write heartbeat to ~/.claude/skills/backup-daemon-health/data so fleet-health-rollup + meta-watchdog surface the Henry-mirror health on the morning panel (TK-10547)
70a847ec0410ac7c2efb8d53b42def48b54ab8bd · 2026-08-13 22:48:31 -0700 · Steve
Files touched
M scripts/daemon-health.sh
Diff
commit 70a847ec0410ac7c2efb8d53b42def48b54ab8bd
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Aug 13 22:48:31 2026 -0700
daemon-health: dual-write heartbeat to ~/.claude/skills/backup-daemon-health/data so fleet-health-rollup + meta-watchdog surface the Henry-mirror health on the morning panel (TK-10547)
---
scripts/daemon-health.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/daemon-health.sh b/scripts/daemon-health.sh
index acacce7..fea87d8 100755
--- a/scripts/daemon-health.sh
+++ b/scripts/daemon-health.sh
@@ -64,6 +64,10 @@ echo "== overall: $worst =="
# JSON heartbeat (PASS/WARN/FAIL vocab so fleet-health-rollup + meta-watchdog read it right)
printf '%s\n' "${rows[@]}" | jq -s --arg v "$worst" \
'{checked_at:(now|todate),verdict:$v,daemons:.}' > "$OUT"
+# Also publish where the FLEET monitors read it (~/.claude/skills/*/data/latest.json) so the
+# morning fleet-health-rollup panel + dw-canary-meta-watchdog surface the Henry-mirror health.
+ROLLUP_DIR="$HOME/.claude/skills/backup-daemon-health/data"
+[ -d "$ROLLUP_DIR" ] && cp "$OUT" "$ROLLUP_DIR/latest.json" 2>/dev/null || true
# --alert with DE-NAG: only alert on a WORSENING transition (e.g. PASS->FAIL) or a daily re-nag
# while still non-PASS — so an hourly canary can't spam ~24 FAIL emails/day. Matches the fleet
← a0216d5 Add com.steve.backup-daemon-health LaunchAgent (hourly user-
·
back to Nas Setup
·
Option B prep: repoint both backup root-daemon plists at /us 204c335 →