feat(alert): wire idempotent fleet-alert relay into check loop and stop stale chrome scopes

This commit is contained in:
operator
2026-10-05 17:41:04 +00:00
parent 9e833d0c4b
commit 4f4b8768b6
3 changed files with 321 additions and 0 deletions
+5
View File
@@ -263,3 +263,8 @@ rm -f "$STATE_DIR/.alerts.tmp"
tail -500 "$LOG" > "$LOG.tmp" 2>/dev/null && mv "$LOG.tmp" "$LOG"
log "check complete"
# Relay pending outbox records to #lobby with idempotency gates (posted watermark + content hash TTL)
if [ "$DRY_RUN" -eq 0 ] && [ -x "$BIN/fleet-alert-relay.sh" ]; then
"$BIN/fleet-alert-relay.sh" >> "$LOG" 2>&1 || true
fi