Add job auto-work-health-h15 via box-ctl
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "auto-work-health-h15",
|
||||||
|
"description": "Failure rollup: collect FAILs, alert \u2014 hourly",
|
||||||
|
"schedule": "28 * * * *",
|
||||||
|
"agent": "646",
|
||||||
|
"timeout": 600,
|
||||||
|
"prompt_template": "Job ID: {job_id}\nTime: {datetime}\n\nFailure rollup: scan recent job results for FAIL outcomes and summarize.\nRun:\n[TOOL cron.runs {}]\n\nThen:\n[EXEC quality.validate {\"target\": \"status\"}]\n\nEnd with your verdict: OK if all green, otherwise FAIL plus a one-line summary of what failed.",
|
||||||
|
"sidechat": {
|
||||||
|
"create": true,
|
||||||
|
"name_template": "auto-work-health-h15",
|
||||||
|
"reuse_key": "auto-work-health-h15"
|
||||||
|
},
|
||||||
|
"followup": {
|
||||||
|
"escalate": "opm",
|
||||||
|
"expect_reply": true,
|
||||||
|
"nudges": 2,
|
||||||
|
"route": "auto-work-health",
|
||||||
|
"timeout": "30m"
|
||||||
|
},
|
||||||
|
"on_failure": "alert",
|
||||||
|
"chain_next": null
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user