[SPRINT-V1][E] L2-автономия включена (dry_run=false), правила L3+ понижены до L1 по решению владельца

This commit is contained in:
root committed 2026-11-06 00:40:31 +03:00
1 parent e047f216f6
commit 2e7d6f2576
1 file changed
+5 -5
+5 -5
View File
@@ -12,7 +12,7 @@ defaults:
alert_on: give_up # уведомлять только когда сдались
budget_per_hour: 20 # не более 20 действий в час на хост
dedup_window: 1h # одинаковое событие = одно уведомление
dry_run: true # глобально: сначала только «что бы сделал»
dry_run: false # L2 разрешён владельцем 05.11; L3+ понижены до L1
# ── Kill-switch ───────────────────────────────────────────────────
# Создание этого файла мгновенно останавливает все авто-действия.
@@ -59,7 +59,7 @@ rules:
match: "docker.ping fails for 5m"
action: "systemctl restart docker && start_containers_by_dependency"
verify: "docker.ping ok and critical containers up"
level: L3_domain_auto
level: L1_dry_run # понижено: разрешён только L2
cooldown: 30m
- id: exporter-down
@@ -87,20 +87,20 @@ rules:
match: "radarr.queue_stalled for 6h"
action: "restart_qbittorrent() and retry_search()"
verify: "queue.progress > 0"
level: L3_domain_auto
level: L1_dry_run # понижено: разрешён только L2
cooldown: 6h
- id: import-missing
match: "download.completed and not imported for 1h"
action: "trigger_downloaded_movies_scan()"
verify: "movie.hasFile"
level: L3_domain_auto
level: L1_dry_run # понижено: разрешён только L2
- id: cert-expiring
match: "cert.days_left < 14"
action: "certbot_renew()"
verify: "cert.days_left > 30"
level: L3_domain_auto
level: L1_dry_run # понижено: разрешён только L2
cooldown: 24h
# ── Что НИКОГДА не автоматизируется (только L4_confirm) ───────────