41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
# Single source of truth for watchdog-b owner-facing policy.
|
|
# Preferred location: ~/.config/openclaw/watchdog-b.env
|
|
# Can also be loaded manually by:
|
|
# WATCHDOG_B_CONFIG_FILE=... ./scripts/watchdog-b/run_watchdog_b.sh
|
|
# WATCHDOG_B_CONFIG_FILE=... ./scripts/watchdog-b/notify_watchdog_b.py --state running
|
|
|
|
# --- delivery / runtime policy ---
|
|
WATCHDOG_B_NOTIFY_DRY_RUN=0
|
|
WATCHDOG_B_RUNNING_REPORT_MODE=enqueue-and-drain
|
|
WATCHDOG_B_RUNNING_REPORT_MIN_INTERVAL_SECONDS=3600
|
|
WATCHDOG_B_OWNER_DELIVERY_MODE=direct-discord
|
|
WATCHDOG_B_OWNER_REPORT_CHANNEL=discord
|
|
WATCHDOG_B_OWNER_REPORT_TARGET=channel:REPLACE_ME
|
|
|
|
# --- non-running escalation policy ---
|
|
# Set this only if the host actually has a valid OpenClaw agent id to nudge.
|
|
# If left unset, stalled/idle paths skip main-agent nudge and can still escalate owner-facing reports.
|
|
# WATCHDOG_B_MAIN_AGENT_ID=main
|
|
# WATCHDOG_B_STALLED_OWNER_MODE=escalate
|
|
# WATCHDOG_B_IDLE_OWNER_MODE=escalate
|
|
# WATCHDOG_B_STALLED_OWNER_ESCALATION_AFTER=2
|
|
# WATCHDOG_B_IDLE_OWNER_ESCALATION_AFTER=2
|
|
# WATCHDOG_B_STALLED_NUDGE_MIN_INTERVAL_SECONDS=900
|
|
# WATCHDOG_B_IDLE_NUDGE_MIN_INTERVAL_SECONDS=1800
|
|
|
|
# --- owner-facing message style ---
|
|
WATCHDOG_B_RUNNING_EMOJI=✅
|
|
WATCHDOG_B_RUNNING_SUMMARY=主程序仍在運行
|
|
WATCHDOG_B_STALLED_EMOJI=⚠️
|
|
WATCHDOG_B_STALLED_SUMMARY=主程序疑似卡住
|
|
WATCHDOG_B_IDLE_EMOJI=🛑
|
|
WATCHDOG_B_IDLE_SUMMARY=主程序目前未運行
|
|
|
|
# Optional overrides for the compact technical line.
|
|
# WATCHDOG_B_RUNNING_PROGRESS_LABEL=running
|
|
# WATCHDOG_B_STALLED_PROGRESS_LABEL=stalled
|
|
# WATCHDOG_B_IDLE_PROGRESS_LABEL=idle
|
|
# WATCHDOG_B_RUNNING_STATUS=normal
|
|
# WATCHDOG_B_STALLED_STATUS=needs-attention
|
|
# WATCHDOG_B_IDLE_STATUS=needs-attention
|