refactor: package-own long task watchdog entrypoint
This commit is contained in:
17
scripts/run_watchdog_auto_notify.sh
Executable file
17
scripts/run_watchdog_auto_notify.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ROOT="/home/alice/.openclaw/workspace/.worktrees/reporting-governance-plugin"
|
||||
cd "$ROOT"
|
||||
/usr/bin/env node "$ROOT/plugins/reporting-governance/scripts/watchdog_auto_notify_orchestrator.mjs" \
|
||||
--write-state \
|
||||
--state "$ROOT/memory/watchdog-state.json" \
|
||||
--evidence-dir "$ROOT/state/long-task-watchdog" \
|
||||
--event-dir "$ROOT/state/long-task-watchdog-events" \
|
||||
--queue-dir "$ROOT/state/operator-notify-queue" \
|
||||
--spool-dir "$ROOT/state/operator-notify-dispatch-spool" \
|
||||
--receipt-dir "$ROOT/state/operator-notify-bridge-receipts" \
|
||||
--watchdog-script "$ROOT/plugins/reporting-governance/scripts/long_task_watchdog.mjs" \
|
||||
--dispatcher-script "$ROOT/plugins/reporting-governance/scripts/operator_notify_dispatcher.mjs" \
|
||||
--supervisor-script "$ROOT/plugins/reporting-governance/scripts/operator_notify_bridge_supervisor.mjs" \
|
||||
--sender-mode openclaw-cli \
|
||||
>> "$ROOT/state/long-task-watchdog/cron.log" 2>&1
|
||||
Reference in New Issue
Block a user