chore(kb): notițe youtube mai, fix email tools, update newsletter/anaf-monitor
Adaugă 4 notițe YouTube (llama.cpp, Mario Zechner, bonificatie impozit, AI scaffolding) + notă coaching grok. Actualizează index KB. Fix email_digest și email_forward. Update newsletter cercetasi + cron jobs. ANAF monitor hashes/snapshots/versions la zi. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -96,6 +96,13 @@ def run_heartbeat(config: dict | None = None) -> str:
|
||||
results.append(emb_result)
|
||||
checks["embeddings"] = now.isoformat()
|
||||
|
||||
# Git uncommitted files alone are not an actionable alert — skip Claude too
|
||||
non_git_results = [r for r in results if not r.startswith("Git:")]
|
||||
if not critical and not non_git_results:
|
||||
state["last_run"] = now.isoformat()
|
||||
_save_state(state)
|
||||
return "HEARTBEAT_OK"
|
||||
|
||||
# Claude CLI: run if HEARTBEAT.md has extra instructions
|
||||
claude_result = _run_claude_extra(hb_config, critical + results)
|
||||
if claude_result:
|
||||
@@ -109,11 +116,6 @@ 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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user