Files
box/jobs/opm-swarm-harvest.json
2026-10-05 04:52:18 +00:00

23 lines
983 B
JSON

{
"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
}