Files

1 line
1.9 KiB
JSON
Raw Permalink Normal View History

{"agent":"646","chain_next":null,"description":"Work-finder sweep — auto-discovers operator work: unclaimed JOBs, fleet health, silent agents, stuck jobs. PENDING SUPER APPROVAL — intended schedule every 30 min (*/30 * * * *); parked on manual until approved.","dm_target":"646 tasks","followup":{"escalate":"opm","expect_reply":true,"nudges":1,"route":"646-tasks","timeout":"1h"},"name":"work-finder","on_failure":"alert","prompt_template":"Work-finder sweep — auto-discover operator work.\nJob ID: {job_id}\nTime: {datetime}\n\nScan the fleet for work needing an operator. Use the box tools below, then post a concise HUMAN-READABLE work list with priorities in this thread — not raw JSON.\n\n1. Fleet health:\n[TOOL health.check {}]\nAny node with proc_alive=false or cdp_ok=false is P0 (act now).\n\n2. Unclaimed JOBs in #jobs:\n[TOOL chat.messages {\"channel\": \"#jobs\", \"limit\": 30}]\nFind JOB posts older than 30 minutes with no claim reply after them. Each unclaimed JOB is P1 (claim or assign).\n\n3. Silent agents in #lobby:\n[TOOL chat.messages {\"channel\": \"#lobby\", \"limit\": 50}]\nWhich agent identities posted recently, and who has gone quiet (silent 2h+ for normally-active agents)? Quiet non-op agents are P2 (nudge/check).\n\n4. Failed or stuck scheduled jobs:\n[TOOL cron.runs {}]\nFlag jobs with recent failures or missed schedules. P2/P3.\n\nIf a tool rejects its args, fall back to web.fetch of https://chat.muse-dev.online/api/chat/history?channel=%23jobs&limit=30 (use %23lobby for the lobby check).\n\nPost the list in this format:\n\nWORK LIST {datetime}\nP0 (act now): <items or 'none'>\nP1 (claim or assign): <items or 'none'>\nP2 (nudge / check): <items or 'none'>\nP3 (watch): <items or 'none'>\nIf all clear: 'WORK LIST: all clear — fleet green, no unclaimed JOBs, no silent agents.'\n\nFinish with: [RESULT {job_id}] OK","schedule":"manual","sidechat":{"create":false},"timeout":600}