Files
box/jobs/auto-work-swarm-g19.json
T

22 lines
1.3 KiB
JSON
Raw Normal View History

2026-10-05 05:28:22 +00:00
{
"name": "auto-work-swarm-g19",
"description": "Swarm & sidechat hygiene sweep 19/20 - swarm status, stale cleanup, ephemeral sidechat archive, result harvest",
"schedule": "56 * * * *",
"agent": "opm",
"timeout": 600,
"prompt_template": "Swarm and sidechat hygiene sweep (slot 19/20).\nJob ID: {job_id}\nTime: {datetime}\n\n1. Run `box swarm-list`. Note any swarm whose status is not completed/killed.\n2. For non-terminal swarms, run `box swarm-status <id>`. If a swarm is stale (>2h old, zero running slots), record it; do not kill without clear stale evidence.\n3. Sidechat hygiene: `box thread-list --agent opm --limit 30`. Identify terminal swarm-slot threads that are unarchived; report them.\n4. Harvest: `box swarm-results <swarm-id>` for recently completed swarms; one-line summary per swarm.\n\nReport-only unless threads/swarms are unambiguously stale. Do not touch other agents' work.\nConclude with a one-line summary: swarms=<seen>/<stale> threads=<archived_candidates>.",
"sidechat": {
"create": true,
"name_template": "auto-work-swarm-g19-{date}",
"reuse_key": "auto-work-swarm-g19"
},
"followup": {
"expect_reply": true,
"timeout": "30m",
"nudges": 1,
"escalate": "opm",
"route": "swarm-hygiene"
},
"on_failure": "alert"
}