From 9a2501c97e23b3fa8053553a708fb85cdef4d89e Mon Sep 17 00:00:00 2001 From: box-ctl Date: Mon, 5 Oct 2026 05:40:43 +0000 Subject: [PATCH] Add job pipe-demo-alert via box-ctl --- jobs/pipe-demo-alert.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 jobs/pipe-demo-alert.json diff --git a/jobs/pipe-demo-alert.json b/jobs/pipe-demo-alert.json new file mode 100644 index 0000000..d4d4af2 --- /dev/null +++ b/jobs/pipe-demo-alert.json @@ -0,0 +1,22 @@ +{ + "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 `; 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" +}