Add job opm-swarm-harvest via box-ctl
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"agent": "opm",
|
||||
"chain_next": null,
|
||||
"description": "Harvest box swarm results on the opm scope: collect completed/partial results, kill stale swarms, report one summary",
|
||||
"followup": {
|
||||
"escalate": "opm",
|
||||
"expect_reply": true,
|
||||
"nudges": 1,
|
||||
"route": "autonomy-pulse",
|
||||
"timeout": "30m"
|
||||
},
|
||||
"name": "opm-swarm-harvest",
|
||||
"on_failure": "alert",
|
||||
"prompt_template": "Run `box swarm-list`. For each swarm on the opm scope that reached completed or partial status: pull `box swarm-results <swarm-id>` and record a one-line outcome. For swarms older than 2h still pending/partial with no attached agent activity, run `box swarm-kill <swarm-id> --confirm`. Post one concise summary: harvested results, kills, and any swarms left in flight. Do not touch swarms outside the opm scope.",
|
||||
"schedule": "5 * * * *",
|
||||
"sidechat": {
|
||||
"create": true,
|
||||
"name_template": "opm-swarm-harvest-{date}",
|
||||
"reuse_key": "opm-swarm-harvest"
|
||||
},
|
||||
"timeout": 600
|
||||
}
|
||||
Reference in New Issue
Block a user