diff --git a/src/heartbeat.py b/src/heartbeat.py index cc3c63c..895a4e9 100644 --- a/src/heartbeat.py +++ b/src/heartbeat.py @@ -109,6 +109,11 @@ def run_heartbeat(config: dict | None = None) -> str: if not all_results: return "HEARTBEAT_OK" + # Git uncommitted files alone are not an actionable alert — stay silent + non_git = [r for r in all_results if not r.startswith("Git:")] + if not non_git: + return "HEARTBEAT_OK" + return " | ".join(all_results)