23 lines
1023 B
JSON
23 lines
1023 B
JSON
|
|
{
|
||
|
|
"name": "pipe-demo-alert",
|
||
|
|
"description": "Alert sink for pipe-demo: dispatched when pipe-demo-step1 fails via its on_failure link. Triage and keep the chain moving. (Created 2026-10-05 by opm auto-work-d03; repairs dangling on_failure link.)",
|
||
|
|
"agent": "opm",
|
||
|
|
"schedule": "manual",
|
||
|
|
"timeout": 600,
|
||
|
|
"prompt_template": "PIPE-DEMO FAILURE ALERT. Time: {datetime}. Job ID: {job_id}.\n\npipe-demo-step1 failed and routed here via its on_failure link.\n1. Run `box job-status pipe-demo-step1` to see the failure detail.\n2. Triage: transient -> retry via `box job-next <job-id>`; real bug -> fix or notify; infra-wide -> escalate.\n3. Keep your reply short; end with OK or FAIL plus one line on what you did.",
|
||
|
|
"sidechat": {
|
||
|
|
"create": true,
|
||
|
|
"reuse_key": "pipe-demo-alert",
|
||
|
|
"name_template": "pipe-demo-alert-{date}"
|
||
|
|
},
|
||
|
|
"followup": {
|
||
|
|
"expect_reply": true,
|
||
|
|
"timeout": "30m",
|
||
|
|
"nudges": 1,
|
||
|
|
"escalate": "opm",
|
||
|
|
"route": "alerts"
|
||
|
|
},
|
||
|
|
"chain_next": null,
|
||
|
|
"on_failure": "ignore"
|
||
|
|
}
|