Soul ID
Soul IDAI AGENTS

⚑ Workflows

Watchdog / Supervisor (monitor and recover)

Continuously monitor agent health and task progress, intervening automatically when failures or stalls are detected.

Bundle files

πŸ“„ORCHESTRATION.mdβ€” Orchestration
1# ORCHESTRATION.md
2
3## Diagram
4
5 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
6 β”‚ Supervisor β”‚
7 β”‚ (heartbeat monitor + progress check) β”‚
8 β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
9 β”‚ β”‚ β”‚
10 v v v
11 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
12 β”‚Worker 1 β”‚ β”‚Worker 2 β”‚ β”‚Worker N β”‚
13 β”‚ [ok] β”‚ β”‚ [ok] β”‚ β”‚ [fail] │──┐
14 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
15 v
16 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
17 β”‚ Recovery β”‚
18 β”‚ Agent β”‚
19 β”‚(resume/redoβ”‚
20 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
21
22## Workflow
23Watchdog / Supervisor (monitor and recover)
24
25## Objective
26Continuously monitor agent health and task progress, intervening automatically when failures or stalls are detected.
27
28## Roles
29- **Supervisor:** monitors heartbeats, progress, and output quality.
30- **Worker agents:** execute assigned tasks and report status.
31- **Recovery agent:** takes over or restarts failed work.
32
33## When to use
34- Long-running or unattended agent workflows.
35- Critical tasks that cannot silently fail.
36- Environments where agents may hang or produce degraded output.
37
38## Protocol
391. Workers register with supervisor and begin tasks.
402. Workers send periodic heartbeats with progress updates.
413. Supervisor checks heartbeat intervals and progress thresholds.
424. On missed heartbeat or stalled progress:
43 - Alert and wait one grace period.
44 - If still unresponsive, trigger recovery agent.
455. Recovery agent resumes from last checkpoint or restarts task.
466. Supervisor logs all interventions.
47
48## Health checks
49- **Heartbeat:** expected every N seconds.
50- **Progress:** must advance past checkpoint within timeout.
51- **Output quality:** spot-check outputs against baseline.
52
53## Rules
54- Supervisor never executes work directly β€” only monitors and delegates.
55- Recovery must be idempotent (safe to retry).
56- All interventions logged with timestamp and reason.
57
58## Deliverables
59- Health log per worker
60- Intervention history
61- Uptime and recovery metrics
62

Lines: 62 | Words: 267

Install

Copy bundle to your OpenClaw workspace.

curl -fsSL https://raw.githubusercontent.com/cerealskill/openclaw-agents/main/install.sh | bash -s workflow watchdog-supervisor EN
Download .tar.gz

Rate this agent

Loading...

Sign in to rate this agent

Includes

  • βœ“ ORCHESTRATION.md

Info

Slug
watchdog-supervisor
Lines
62
Words
267