Dw Launchd Canary
repo: ~/Projects/dw-launchd-canary · 4 commits · 0 in last 24h, 0 in last 7d ·
Skills used
- /npm1
- /npx1
- /homebrew1
- /latest1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
813d587 · 2026-06-17 · canary: running daemon with live PID is OK despite stale LastExitStatus
A KeepAlive daemon (ollama-henry) that is running right now isn't failing just
because launchctl shows a nonzero LastExitStatus from a prior respawn cycle.
Parse the PID and treat a live PID as OK — kills the false-positive that flagged
ollama-henry and signal-exited-but-running daemons as FAILING/KILLED.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0a4edf7 · 2026-06-17 · Add gated-plist-install batcher (Officer Council #5)
Turns the canary's dropped-job list into ONE reviewed copy-paste block:
user-level launchctl bootstrap only, no sudo, read-only generator. Safe jobs
emitted as active lines annotated with their command + schedule; hazardous/
obsolete ones (drain-all-queues, color-cleaner waiting on Gemini cap,
gmc-optout-reminder) held commented under a REVIEW header.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8ab3b3b · 2026-06-17 · dw-launchd-canary: hourly read-only launchd fleet health canary (Officer Council #1+#2)
Catches the two silent-death blind spots above the meta-watchdog: jobs that exit
nonzero every run, and active plists silently UNLOADED. Honest by design — renamed
.DISABLED/.done/.RETIRED plists excluded, health-check exit 1 = OK, signal-killed
daemons = KILLED (not failure), expected_unloaded (drain-all-queues) ignored,
debounced 2 runs, one-time baseline so the pre-existing backlog surfaces once for
the #5 batcher without paging daily. Alerts CNCP + George (https MagicDNS host)
on NEW regressions only; writes data/latest.json for the meta-watchdog.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
File tree
8 files tracked. Click any to browse the source at HEAD.
rendered in 1ms