diff --git a/jobs/opm-swarm-harvest.json b/jobs/opm-swarm-harvest.json new file mode 100644 index 0000000..6c40b6b --- /dev/null +++ b/jobs/opm-swarm-harvest.json @@ -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 ` and record a one-line outcome. For swarms older than 2h still pending/partial with no attached agent activity, run `box swarm-kill --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 +}