UUID-based sidechat reuse for heartbeat\n\n- Add url command to muse-chat-api.py\n- Dispatcher: reuse_key -> thread UUID mapping in job-sidechats.json\n- Capture UUID after first send, reuse on subsequent runs\n- Fixes multi-spawn bug (was matching by auto-generated title)

This commit is contained in:
operator-main
2026-10-04 04:03:28 +00:00
parent a9812cd355
commit 844aa73bd9
3 changed files with 103 additions and 30 deletions
+15 -1
View File
@@ -1 +1,15 @@
{"agent":"opm","chain_next":null,"description":"Heartbeat job - verifies DM system is working every 5 minutes (goes to sidechat)","name":"heartbeat","on_failure":"alert","prompt_template":"Heartbeat check from job scheduler.\nJob ID: {job_id}\nTime: {datetime}\n\nThis is an automated heartbeat. Reply with [RESULT {job_id}] OK to confirm the DM pipeline is healthy.","schedule":"*/5 * * * *","sidechat":{"create":true,"name_template":"heartbeat"},"timeout":300}
{
"agent": "opm",
"chain_next": null,
"description": "Heartbeat job - verifies DM system is working every 5 minutes (goes to sidechat)",
"name": "heartbeat",
"on_failure": "alert",
"prompt_template": "Heartbeat check from job scheduler.\nJob ID: {job_id}\nTime: {datetime}\n\nThis is an automated heartbeat. Reply with [RESULT {job_id}] OK to confirm the DM pipeline is healthy.",
"schedule": "*/5 * * * *",
"sidechat": {
"create": true,
"name_template": "heartbeat",
"reuse_key": "heartbeat-opm"
},
"timeout": 300
}