From b486e4fe3b7ced470dcb1862c861d6277ef0defe Mon Sep 17 00:00:00 2001 From: box-ctl Date: Mon, 5 Oct 2026 06:26:46 +0000 Subject: [PATCH] Update job auto-work-xop-e19 via box-ctl --- jobs/auto-work-xop-e19.json | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/jobs/auto-work-xop-e19.json b/jobs/auto-work-xop-e19.json index 35a0fc0..ba58777 100644 --- a/jobs/auto-work-xop-e19.json +++ b/jobs/auto-work-xop-e19.json @@ -1,14 +1,21 @@ { "name": "auto-work-xop-e19", - "description": "Cross-op fleet watch opm+dev (sync) - auto work finder", "agent": "opm", + "description": "Cross-op fleet watch 646+opm (heartbeat) - auto work finder", "schedule": "56 * * * *", - "timeout": 300, - "prompt_template": "Cross-op fleet watch: opm vs dev (general sync check).\nJob ID: {job_id}\nTime: {datetime}\n\nCheck both ops and compare:\n1. Run `box fleet-status` - compare proc_alive, cdp_ok, latency_ms, queue_depth for opm and dev.\n2. Run `box timer-list` - note any timer active/enabled on one side but missing/disabled on the other.\n3. Verdict: OK (both healthy, in sync), DEGRADED (latency/queue/timer drift), or PARTITION (one side down).\n\nBox CTA: if DEGRADED or PARTITION, run `box notify` with a one-line finding. Otherwise report OK and take no further action.", + "timeout": 600, + "prompt_template": "Cross-op fleet watch: 646 vs opm (heartbeat freshness comparison).\nJob ID: {job_id}\nTime: {datetime}\n\nCheck both ops and compare:\n1. Run `box fleet-status` - compare proc_alive, cdp_ok, latency_ms, queue_depth for 646 and opm.\n2. Run `box timer-list` - note any timer active/enabled on one side but missing/disabled on the other.\n3. Verdict: OK (both healthy, in sync), DEGRADED (latency/queue/timer drift), or PARTITION (one side down).\n\nBox CTA: if DEGRADED or PARTITION, run `box notify` with a one-line finding, then close out with a FAIL result for this job plus the summary. If OK, close out with an OK result for this job: 646+opm in sync.\n\nTools:\n[TOOL health.check {}]\n", "sidechat": { "create": true, - "reuse_key": "auto-work-xop-e19", - "name_template": "auto-work-xop-e19-{date}" + "name_template": "auto-work-xop-e19", + "reuse_key": "auto-work-xop-e19" + }, + "followup": { + "escalate": "opm", + "expect_reply": true, + "nudges": 1, + "route": "xop-watch", + "timeout": "30m" }, "chain_next": null, "on_failure": "alert"