-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublic-shell-failure-triage.json
More file actions
64 lines (64 loc) · 1.68 KB
/
Copy pathpublic-shell-failure-triage.json
File metadata and controls
64 lines (64 loc) · 1.68 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
64
{
"version": "0.1",
"workflows": [
{
"id": "shell-failure-triage",
"name": "Shell Failure Triage",
"model_policy": {
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"thinking": "high"
},
"tasks": [
{
"id": "collect-health",
"name": "Collect Health",
"shell": {
"program": "sh",
"args": ["-lc", "printf 'db unreachable\n' >&2; exit 2"]
},
"target": {
"session_target": "shell"
},
"schedule": {
"cron": "*/30 * * * *"
},
"delivery": {
"mode": "none"
},
"on_failure": {
"id": "triage-failure",
"name": "Triage Failure",
"prompt": "Review the parent shell failure, identify the most likely cause, and propose the safest next step. Do not execute changes.",
"target": {
"session_target": "isolated",
"agent_id": "main"
},
"intent": {
"mode": "plan",
"read_only": true
},
"output": {
"preview_bytes": 1200,
"offload": "auto",
"retrieve": "on-demand"
},
"budgets": {
"max_context_items": 7,
"max_fanout": 4,
"max_pending_approvals": 3,
"max_queued_dispatches": 12
},
"context": {
"retrieval": "recent"
},
"delivery": {
"mode": "announce",
"to": "@owner_dm"
}
}
}
]
}
]
}