fix(heartbeat): rewrite prompt to execute tasks instead of reporting

This commit is contained in:
Arthur K. 2026-07-13 00:43:10 +03:00 committed by Xubin Ren
parent 45d1caba1d
commit 053722a2a2

View File

@ -1595,7 +1595,7 @@ def _run_gateway(
prompt = (
_HEARTBEAT_PREAMBLE
+ f"Review the following HEARTBEAT.md and report any active tasks:\n\n{content}"
+ f"You are executing periodic heartbeat tasks. Read the active tasks below, perform each one, and report what you did:\n\n{content}"
)
# Internal check: funnel all output through the post-run gate so the