-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublic-bot-health.json
More file actions
63 lines (63 loc) · 1.58 KB
/
Copy pathpublic-bot-health.json
File metadata and controls
63 lines (63 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"version": "0.1",
"workflows": [
{
"id": "bot-health",
"name": "Bot Health",
"tasks": [
{
"id": "check-bot-health",
"name": "Check Bot Health",
"shell": {
"program": "sh",
"args": ["-lc", "printf 'ALERT: simulated bot health regression\nlatency_ms=250\n'"]
},
"target": {
"session_target": "shell"
},
"schedule": {
"cron": "*/10 * * * *"
},
"output": {
"preview_bytes": 1000,
"offload": "auto",
"retrieve": "on-demand"
},
"delivery": {
"mode": "none"
}
},
{
"id": "diagnose-bot-alert",
"name": "Diagnose Bot Alert",
"prompt": "Review the parent health check output, explain the likely cause, and recommend next steps without making changes.",
"target": {
"session_target": "isolated",
"agent_id": "main"
},
"trigger": {
"parent": "check-bot-health",
"on": "success",
"condition": "contains:ALERT"
},
"intent": {
"mode": "plan",
"read_only": true
},
"budgets": {
"max_fanout": 3,
"max_queued_dispatches": 8
},
"context": {
"retrieval": "recent",
"limit": 3
},
"delivery": {
"mode": "announce",
"to": "@owner_dm"
}
}
]
}
]
}