Reference daily canary
Daily smoke test that catches forge regressions BEFORE Justin hits them manually. Runs at 06:00 every morning. Silent on pass; pushes a critical notify on any failure.
Files¶
forge/scripts/forge_canary.py— implementation~/.config/systemd/user/forge-canary.{service,timer}— user-mode systemdforge/logs/canary.log— runtime log
Checks¶
- spawn-canary —
claude -p "ok"boots and replies within 120s. Catches plugin breakage, auth issues, MCP backlog, ABI mismatches. - bot-canary —
forge-lifeos-coordinatorandforge-remote-bridgeservices are active AND have log activity in last 10 min. - reaper-canary — runs the reaper's classification logic in dry-run.
Fails if any session with
bridgeSessionIdset would be classified as orphan (false-positive sentinel).
On any failure: forge_notify.sh critical "Canary failed (N/3)" "<details>".
Why this exists¶
Today's three real failures (coordinator EROFS, context-mode ABI mismatch, reaper false positives) all could've been caught by a smoke test the morning they appeared. Running it at 06:00 means Justin sees breakage in his morning notifications before he tries to use the broken thing.