mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-15 04:18:44 +00:00
fix(heartbeat): clarify HEARTBEAT_OK decision criteria to suppress "no news" responses
Model was delivering formatted "nothing new" status updates instead of using HEARTBEAT_OK because instructions were ambiguous about what "nothing to deliver" means. Now explicitly states: "A no news summary is NOT worth delivering."
This commit is contained in:
1 parent
da240a5e09
commit
43232c6189
1 file changed
+5
-2
@@ -218,8 +218,11 @@ func (t *Ticker) runOne(ctx context.Context, hb store.AgentHeartbeat) {
|
||||
"- Your response will be delivered to the configured channel as-is.\n"+
|
||||
"- HEARTBEAT_OK suppression: If your response contains the token HEARTBEAT_OK anywhere, "+
|
||||
"the ENTIRE response is suppressed and NOT delivered to the channel.\n"+
|
||||
"- Use HEARTBEAT_OK ONLY when there is nothing to deliver (e.g. monitoring checks all passed, no news).\n"+
|
||||
"- Do NOT include HEARTBEAT_OK if the checklist asks you to send content (jokes, greetings, reports, etc.).",
|
||||
"- Decision criteria for HEARTBEAT_OK:\n"+
|
||||
" - Respond with ONLY \"HEARTBEAT_OK\" (nothing else) when: all checks passed, nothing new or actionable was found, "+
|
||||
"status is unchanged from last run. A \"no news\" summary is NOT worth delivering — use HEARTBEAT_OK instead.\n"+
|
||||
" - Do NOT use HEARTBEAT_OK when: you found new issues, status changes, alerts, errors, "+
|
||||
"or the checklist explicitly asks you to send content every run (jokes, greetings, scheduled reports, etc.).",
|
||||
agentKey, checklistContent,
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user