fix(dispatch): eliminate noisy SSH signatures from routine job prompts and activate real tool triggers

This commit is contained in:
operator
2026-10-05 04:04:41 +00:00
parent d09e1c4872
commit dc1b4f8ce6
3 changed files with 46 additions and 43 deletions
+4 -3
View File
@@ -11,11 +11,12 @@
},
"name": "box-http-health",
"on_failure": "alert",
"prompt_template": "Box HTTP health check.\nJob ID: {job_id}\nTime: {datetime}\n\nRun the Box HTTP checks on the VM:\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh http\"\n(or run /srv/box/bin/box-health-check.sh http via any VM access you have)\n\nAlso verify the new live Box Console endpoints:\n1. https://box.muse-dev.online/ (Front-Door Console loads, assets box.js and box.css return 200)\n2. https://box.muse-dev.online/api/box/fleet (Returns 200 with live fleet array)\n3. https://box.muse-dev.online/api/box/dm/log (Returns 200 with recent DM log entries)\n\nExpected: all OK. If any FAIL, investigate immediately (check board.service,\nCaddy, recent deploys) and include the failure lines in your reply.\n\nReply with OK or FAIL <one-line summary>.",
"prompt_template": "Box HTTP endpoint health check.\nJob ID: {job_id}\nTime: {datetime}\n\nRun the fleet health check:\n[TOOL health.check {}]\n\nCheck recent scheduled runs:\n[TOOL cron.runs {}]\n\nIf all endpoints and fleet nodes return green, reply with [RESULT {job_id}] OK.\nOtherwise reply with [RESULT {job_id}] FAIL <summary>.",
"schedule": "*/15 * * * *",
"sidechat": {
"create": true,
"name_template": "box-http-health-{datetime}"
"name_template": "box-http-health-{datetime}",
"reuse_key": "box-http-health"
},
"timeout": 600
}
}