chore(retention): archive retired jobs [646-opm-watch, 646-pip-sync, 646-sidechat-task, auto-work-queue-f02, auto-work-queue-f06, auto-work-queue-f10, auto-work-queue-f14, auto-work-queue-f18, auto-work-xop-e02, auto-work-xop-e06, auto-work-xop-e10, auto-work-xop-e14, auto-work-xop-e18, mainloop-p1-pilot, mainloop-p2-noswitcher, mainloop-p3-bridge, mainloop-p4-steady]
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "auto-work-queue-f14",
|
||||
"description": "Auto work-queue scavenger (builder 6/10): poll job-list, find manual/pending/stale jobs, check status, nudge/claim, keep chain moving",
|
||||
"agent": "pip",
|
||||
"schedule": "manual",
|
||||
"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 <name>` 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 <agent> <message>`.\n4. If a job failed, run `box job-next <job-id>` 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-f14",
|
||||
"name_template": "auto-work-queue-f14-{date}"
|
||||
},
|
||||
"followup": {
|
||||
"expect_reply": true,
|
||||
"timeout": "30m",
|
||||
"nudges": 1,
|
||||
"escalate": "opm",
|
||||
"route": "work-queue"
|
||||
},
|
||||
"chain_next": null,
|
||||
"on_failure": "alert"
|
||||
}
|
||||
Reference in New Issue
Block a user