fix(dispatch): eliminate noisy SSH signatures from routine job prompts and activate real tool triggers
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"agent": "646",
|
||||
"chain_next": null,
|
||||
"description": "Box service + data health — every 15 minutes (offset 7m)",
|
||||
"description": "Box service + data health \u2014 every 15 minutes (offset 7m)",
|
||||
"followup": {
|
||||
"escalate": "opm",
|
||||
"expect_reply": true,
|
||||
@@ -11,11 +11,12 @@
|
||||
},
|
||||
"name": "box-service-health",
|
||||
"on_failure": "alert",
|
||||
"prompt_template": "Box service health check.\nJob ID: {job_id}\nTime: {datetime}\n\nRun the Box service and data checks on the VM:\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh services\"\n ssh dev-operator-646@34.139.37.135 \"/srv/box/bin/box-health-check.sh data\"\n(or run /srv/box/bin/box-health-check.sh via any VM access you have)\n\nExpected: board.service active, caddy active, sweeper timer firing,\n/srv/box writable. If any FAIL, investigate and include failure lines.\n\nReply with [RESULT {job_id}] OK or [RESULT {job_id}] FAIL <one-line summary>.",
|
||||
"prompt_template": "Box service and data health check.\nJob ID: {job_id}\nTime: {datetime}\n\nExecute the service check on the VM:\n[TOOL service.status {\"unit\": \"board.service\"}]\n\nCheck caddy and harvester timer status:\n[TOOL service.status {\"unit\": \"response-harvester.timer\"}]\n\nIf healthy, end with [RESULT {job_id}] OK.\nIf any service fails, reply with [RESULT {job_id}] FAIL <summary>.",
|
||||
"schedule": "7,22,37,52 * * * *",
|
||||
"sidechat": {
|
||||
"create": true,
|
||||
"name_template": "box-service-health-{datetime}"
|
||||
"name_template": "box-service-health-{datetime}",
|
||||
"reuse_key": "box-service-health"
|
||||
},
|
||||
"timeout": 600
|
||||
}
|
||||
Reference in New Issue
Block a user