feat(alert): wire idempotent fleet-alert relay into check loop and stop stale chrome scopes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user