diff --git a/jobs/auto-work-queue-f09.json b/jobs/auto-work-queue-f09.json new file mode 100644 index 0000000..5ad1a07 --- /dev/null +++ b/jobs/auto-work-queue-f09.json @@ -0,0 +1,22 @@ +{ + "name": "auto-work-queue-f09", + "description": "Auto work-queue scavenger (builder 6/10): poll job-list, find manual/pending/stale jobs, check status, nudge/claim, keep chain moving", + "agent": "646", + "schedule": "24 * * * *", + "timeout": 600, + "prompt_template": "Auto work-queue scavenger sweep. Time: {datetime}. Job ID: {job_id}.\n\n1. Run `box job-list` and find jobs with schedule \"manual\" or that look stale/pending/unclaimed.\n2. For each candidate run `box job-status ` to check dispatch/result/chain state.\n3. If a job is unclaimed or stuck pending, claim it: work it yourself if quick, otherwise nudge the owning agent with `box notify `.\n4. If a job failed, run `box job-next ` and keep the chain moving (box->agent->box).\n5. Keep your reply short and end with a one-line summary of what you found and did, starting with OK or FAIL.", + "sidechat": { + "create": true, + "reuse_key": "auto-work-queue-f09", + "name_template": "auto-work-queue-f09-{date}" + }, + "followup": { + "expect_reply": true, + "timeout": "30m", + "nudges": 1, + "escalate": "opm", + "route": "work-queue" + }, + "chain_next": null, + "on_failure": "alert" +}